[Setup-tool-hackers] GConf

Hello all,

I finished global GConf stuff.

I added very easy to use wrapper functions around GConf and they are in
files src/common/xst-gconf.[ch]. Every tool saves it's complexity (if
complexity is used) at every complexity change so You don't have to
worry about complexity. To use xst_conf functions, please read
xst-conf.h file and just use them! All functions take XstTool as first
argument and variable name as second. For example:

gint saved_notebook_page = xst_conf_get_integer (tool, "notebook_page");
xst_conf_set_integer (tool, "notebook_page", saved_notebook_page);

Couldn't be any easier!


setup-tool-hackers maillist  -  setup-tool-hackers@helixcode.com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]