Re: storing and loading configuration



On Mon, 7 Oct 2002 00:22:49 +0200
binas intrak sk (Miroslav Binas) wrote:

hello everybody

i would like to have a configuration to my program and i would like to
save it to a disk to a file and then, when the application will start
again, i would like to read it. is there some function, that can parse
the configuration or i must do the parser myself?

thanx anyway

Hello Mirek

Check the gnome_config routines eg. at:

http://developer.gnome.org/doc/tutorials/gnome-libs/using-the-libgnome-library.html

Though you can do it in GTK - there are a few libs available, the gnome
routines are very easy to use. BTW, they are marked as 'deprecated' for Gnome 2,
but GConf ('the future') is still without manual at the above site.

John



mirek
-- 
e-mail: mirek host sk
icq: 113397932
jabber: mirek jabber sk

prosim, neposielajte mi prilohy vo formatoch .doc a .ppt (power point)
precitajte si http://www.fsf.org/philosophy/no-word-attachments.cs.html
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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