Making a Preference Window



Does anyone know how to save a modification to GTK program as a Glade
Project?  The reason I want to do this is so the next time the program
is run it starts in a certain state.

For example, one of the things I'd like to do is add a preference window
to my GTK program.  I can design the preference window in Glade and call
it with glade_xml_new() and then glade_parser_parse_file().  After all
options are selected I'd like to save them as a .glade file and use that
one the next time or revert to the original.

I think I need to use the GladeProject and GladeWidget libraries, but
not sure if this is what I want or how to use them.

Is this the correct approach or are there better ways?

Thanks in advance.

Dave



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