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.
|
|
8 months ago | |
|---|---|---|
| icons | 8 months ago | |
| source | 8 months ago | |
| .gitignore | 2 years ago | |
| LICENSE | ||
| Makefile | 2 years ago | |
| README.md | ||
| com.ublinux.libublsettingsui-gtk3.svg | ||
| gresource.xml | 8 months ago | |
| libublsettingsui-gtk3-about.glade | 8 months ago | |
| libublsettingsui-gtk3-app-chooser.glade | 8 months ago | |
| libublsettingsui-gtk3-banner.png | ||
| libublsettingsui-gtk3-config-window.glade | 11 months ago | |
| libublsettingsui-gtk3-debugger.glade | 2 years ago | |
| libublsettingsui-gtk3-documentation.glade | 2 years ago | |
| libublsettingsui-gtk3-filechooser.glade | 10 months ago | |
| libublsettingsui-gtk3-saving.glade | 8 months ago | |
| libublsettingsui-gtk3-service-control.glade | 8 months ago | |
| libublsettingsui-gtk3-settings.glade | 1 year ago | |
| libublsettingsui-gtk3.css | ||
| libublsettingsui-gtk3.glade | 11 months ago | |
| libublsettingsui-gtk3.pot | 8 months ago | |
| libublsettingsui-gtk3_ru.po | 8 months 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();