Adjusted Behaviour... Was: storing and recovering settings

2005-03-29 Thread Freddie Unpenstein
> I've done this by having an abstract settings class and two > implementation (GConfSettings and PlainfileSettings). Based on the > configure run that checks if gconf is available or not, the > respective subclass will be used. The plainfile settings can > e.g. use the ini-file routines of glib.

Re: storing and recovering settings

2005-03-29 Thread Claudio Polegato Jr.
Oh, great! I will update my codes to use glib now. -- []'s Claudio Polegato Junior Um peregrino de problemas; Um pergaminho de soluções. Iago Rubio escreveu: On Tue, 2005-03-29 at 04:42 +, Claudio Polegato Jr. wrote: Hi. You can try CIniFile. Home page: http://inifile.sourceforge.net S

Re: storing and recovering settings

2005-03-29 Thread Iago Rubio
On Tue, 2005-03-29 at 04:42 +, Claudio Polegato Jr. wrote: > Hi. > > You can try CIniFile. >Home page: http://inifile.sourceforge.net >Source forge: http://sourceforge.net/projects/inifile/ This functionality is in recent glib >= 2.6 http://developer.gnome.org/doc/API/2.0/glib/glib-

Re: storing and recovering settings

2005-03-28 Thread Claudio Polegato Jr.
Hi. You can try CIniFile. Home page: http://inifile.sourceforge.net Source forge: http://sourceforge.net/projects/inifile/ -- []'s Claudio Um peregrino de problemas; Um pergaminho de soluções. Stefan Kost escreveu: Hi, I've done this by having an abstract settings class and two implementatio

Re: storing and recovering settings

2005-03-28 Thread Stefan Kost
Hi, I've done this by having an abstract settings class and two implementation (GConfSettings and PlainfileSettings). Based on the configure run that checks if gconf is available or not, the respective subclass will be used. The plainfile settings can e.g. use the ini-file routines of glib. Ste

Re: storing and recovering settings

2005-03-28 Thread John Coppens
On Sun, 27 Mar 2005 11:38:08 -0500 Boromir <[EMAIL PROTECTED]> wrote: > Hi > > is there anyway to store and recover settings from an application > that i'm coding with gtk? i know that using gnome libraries i could do > it but i don't want to use gnome,just gtk to reduce memory > consumption..for

Re: storing and recovering settings

2005-03-28 Thread Antonio Gomes
Hi Oskar, why don't you try to write/read these settings in a "pref file". You can use the glib and standard C functions to handle the desired data, defining a format to work in the file, reading and writing them as you want ... usually, applications create a hide file in the "~/" directory (if y

storing and recovering settings

2005-03-27 Thread Boromir
Hi is there anyway to store and recover settings from an application that i'm coding with gtk? i know that using gnome libraries i could do it but i don't want to use gnome,just gtk to reduce memory consumption..for example to store the size of my app's main window so each time i start my program