You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| icons | 2 years ago | |
| source | 2 years ago | |
| .gitignore | 2 years ago | |
| LICENSE | ||
| Makefile | 2 years ago | |
| README.md | 2 years ago | |
| com.ublinux.libublsettingsui-gtk3.svg | 2 years ago | |
| gresource.xml | 2 years ago | |
| libublsettingsui-gtk3-about.glade | 2 years ago | |
| libublsettingsui-gtk3-banner.png | 2 years ago | |
| libublsettingsui-gtk3-debugger.glade | 2 years ago | |
| libublsettingsui-gtk3-documentation.glade | 2 years ago | |
| libublsettingsui-gtk3-filechooser.glade | 2 years ago | |
| libublsettingsui-gtk3-saving.glade | 2 years ago | |
| libublsettingsui-gtk3.css | 2 years ago | |
| libublsettingsui-gtk3.glade | 2 years ago | |
| libublsettingsui-gtk3.pot | 2 years ago | |
| libublsettingsui-gtk3_ru.po | 2 years ago | |
README.md
libublsettingsui-gtk3
Build
In order to build you will need:
- CMake
- C compiler
- libublsettings
- libublsettings-gtk3
- GTK+ 3 & dependencies
Once you have all the necessary dependencies, you can use:
$ make
Installation
After a successful build, just use:
$ sudo make install clean
Uninstallation
After a successful build, just use:
$ sudo make uninstall
Library usage
libublsettingsui-gtk3 provides library:
#include <libublsettingsui-gtk3.h>
libublsettingsui-gtk3
libublsettingsui-gtk3 provides API to use ubl-settings applications shared interface: main window, about dialog, confirmation window, saving window. First of all, you need to connect config structure to standard interface:
_template_config config;
yon_ubl_connect_config(config);
Next step you should initialize all necceccary information for standard interface:
yon_ubl_window_init("Title of util","Description of util",".po file name","path to css file (must be connected as resource)","filename of your util","Version of util","About dialog wiki link");
And finaly you get interface structure:
template_main_window *widgets = yon_ubl_window_setup();