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.
 
 
 
Go to file
Ivan Dmitrievich Yartsev 497d5e677b
Descriptions has been updated
2 years ago
source Descriptions has been updated 2 years ago
ubl-utils Descriptions has been updated 2 years ago
.gitignore Changed gitignore 2 years ago
LICENSE init 2 years ago
Makefile Lib update 2 years ago
README.md Descriptions has been updated 2 years ago
com.ublinux.ublsettings-ui.checked.svg Rename 2 years ago
com.ublinux.ublsettings-ui.policy Rename 2 years ago
com.ublinux.ublsettings-ui.svg Rename 2 years ago
com.ublinux.ublsettings-ui.warning.svg Rename 2 years ago
gresource.xml 1.0 Library version 2 years ago
ublsettings-ui-about.glade 1.0 Library version 2 years ago
ublsettings-ui-banner.png Rename 2 years ago
ublsettings-ui-documentation.glade 1.0 Library version 2 years ago
ublsettings-ui-save-confirmation.glade 1.0 Library version 2 years ago
ublsettings-ui.css Rename 2 years ago
ublsettings-ui.desktop Rename 2 years ago
ublsettings-ui.glade 1.0 Library version 2 years ago
ublsettings-ui.pot 1.0 Library version 2 years ago
ublsettings-ui_ru.po 1.0 Library version 2 years ago

README.md

libublsettings-ui

ubl-settings-logging

Выполнить

Build

In order to build ubl-settings-logging you will need:

  • CMake
  • C compiler
  • GTK+ 3 & dependencies
  • webkit2gtk (optional)
  • vte-2.91

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

Libublsettings-ui provides 2 libraries:

    #include <ublsettings-ui.h>
    #include <ubl-utils.h>

ublsettings-ui

Ublsettings-ui provides API to use ubl-settings- applications shared interface: main window, about dialog, confirmation 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();

ubl-utils

Ubl-utils provides various utility functions used in ubl-settings- applications. They are divided into sections as: Dictionary functions yon_dictionary; String functions yon_char; String array functions yon_char_parsed; UBL misc functions yon_ubl Parsing functions File manipulating functions yon_file UBconfig manipulation functions yon_config Terminal functions yon_launch GTK functions yon_gtk and yon_ubl_gtk GTK VTE functions yon_terminal GTK Webkit functions yon_ubl_browser GTK window configuration manipulation and saving functions yon_window_config GTK status line renderer functions yon_ubl_status