Ruby Forum Ruby-Gnome 2 > Ruby/GConf2 usage in windows

Posted by Shin guey Wong (sgwong)
on 04.05.2008 16:09
I found that Ruby/GConf2 is interesting and very useful. I had compiled
it and tried on windows and it works well. (At least it can run the
example in the GConf2 tutorial -
http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gconf)

How many ppl use GConf2 when writing Gtk program?

I hope it can include in the next windows installer release.
Is someone working on building the new windows installer release?
Posted by Marc Heiler (shevegen)
on 05.05.2008 11:28
> How many ppl use GConf2 when writing Gtk program?

I dont use it. Reason is I am not sure what to do with it.

With a Gtk Window I know what to do :) but with gconf... it is
just something akin to a registry, for Gnome, isn't it?
Posted by Detlef Reichl (Guest)
on 05.05.2008 20:46
(Received via mailing list)
Am Sonntag, den 04.05.2008, 16:09 +0200 schrieb Shin guey Wong:
> How many ppl use GConf2 when writing Gtk program?

ppl???

detlef
Posted by Shin guey Wong (sgwong)
on 06.05.2008 03:00
Detlef Reichl wrote:
> Am Sonntag, den 04.05.2008, 16:09 +0200 schrieb Shin guey Wong:
>> How many ppl use GConf2 when writing Gtk program?
> 
> ppl???
> 
> detlef

OK, my english is not that good...
may be I should ask 'anyone' use GConf2 in their GTK program...
Posted by Arlen Cuss (Guest)
on 06.05.2008 04:38
(Received via mailing list)
Hi,

On Tue, May 6, 2008 at 4:45 AM, Detlef Reichl <detlef.reichl@gmx.org> 
wrote:

> Am Sonntag, den 04.05.2008, 16:09 +0200 schrieb Shin guey Wong:
> > How many ppl use GConf2 when writing Gtk program?
>
> ppl???
>

It's a colloquial shortening of "people".


> detlef
>

Arlen
Posted by Jan Moren (Guest)
on 06.05.2008 04:43
(Received via mailing list)
tis 2008-05-06 klockan 03:00 +0200 skrev Shin guey Wong:
> Detlef Reichl wrote:
> > Am Sonntag, den 04.05.2008, 16:09 +0200 schrieb Shin guey Wong:
> >> How many ppl use GConf2 when writing Gtk program?
> > 
> > ppl???
> > 
> > detlef
> 
> 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.

--
Jan Morén
Japan:  090-3622 8920
http://janneinosaka.blogspot.com
Posted by Detlef Reichl (Guest)
on 06.05.2008 19:16
(Received via mailing list)
Am Dienstag, den 06.05.2008, 03:00 +0200 schrieb Shin guey Wong:
> Detlef Reichl wrote:
> > Am Sonntag, den 04.05.2008, 16:09 +0200 schrieb Shin guey Wong:
> >> How many ppl use GConf2 when writing Gtk program?
> > 
> > ppl???
> > 
> > detlef
> 
> OK, my english is not that good...

me too ;-)

> may be I should ask 'anyone' use GConf2 in their GTK program...

Yes, I do. It is very handy to store data on per application base.

Many programs use it in this way, that they show only the common
configuration options in the preferences dialog but allow additional
tweeking of many setting via gconf and the gconf editor. So you can keep
your applications simple but give "power users" the possibility to adopt
it better to there needs.

The only thing that is missing for now (agianst the C version) is the
possibility to store lists.

Cheers, detlef