Skip to content

Instantly share code, notes, and snippets.

@anaselli
anaselli / YCBTable.py
Created January 19, 2021 15:47
YMGA_CBTable usage python example
#
# Example that shows how to fill a checkboxes table
#
# Copyright information
#
# Author: Angelo Naselli <anaselli@linux.it>
#
# License
#
# This program is free software; you can redistribute it and/or modify
@anaselli
anaselli / libyui.spec
Last active June 20, 2021 19:14
attempt to get a libyui spec for building all
%define major 15
%define libname %mklibname yui %{major}
%define develname %mklibname yui -d
%define libyui_tar_version master
#--------------------------------------------------------
# Package libyui-ncurses
%define yui_ncurses_name libyui-ncurses
@anaselli
anaselli / CheckBoxFrame.cc
Last active July 25, 2021 16:43
Example of Libyui Check Box Frame with AutoEnable property
/*
Copyright (c) 2021 Angelo Naselli <anaselli@linux.it>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@anaselli
anaselli / YImage-test.cc
Created October 17, 2022 16:31
YImagetest createImage()
/*
Copyright (c) 2022 Angelo Naselli <anaselli@linux.it>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: