tis 2008-05-06 klockan 03:00 +0200 skrev Shin guey Wong:
Detlef R. wrote:
Am Sonntag, den 04.05.2008, 16:09 +0200 schrieb Shin guey Wong:
How many ppl use GConf2 when writing Gtk program?
OK, my english is not that good…
may be I should ask ‘anyone’ use GConf2 in their GTK program…
People do, yes. It is a pretty good solution to the problem of storing
and setting preferences. You can store and monitor whatever settings you
want, and whenever a setting changes externally (say, from an external
preferences application or something), you get notified about it in a
nice, clean way. The greatest benefit comes from when your desktop (ie.
Gnome) is using it; you can monitor any global preferences (default
font, for instance), or other applications preferences that concern you
and you’ll get notified the moment they change.
If this sounds kind of like the Windows registry then you’d be correct.
But GConf is the registry done right; the windows registry is a
noncodumented, ad-hoc mess of binary settings. GConf is human-readable,
well organized and encourages documentation about the settings.
If I put it this way: you often need to store your application-specific
settings somehow, and GConf is a pretty simple, clean method of doing
so even if you don’t make use of its more advanced features.
Japan: 090-3622 8920