Want an advice: How to save/restore the state of GTK widgets




Hello, everyone!

I wonder if there is any recommended/suggested/easy way to save and
restore the state of some of my widgets (text inputs and checkboxes
for now) to/from a file. User can specify some path names, etc., in
my GTK application and I want to give user a chance to save his setup
in $HOME/.apprc file to be read on application startup. Of course I
can do it manually, but would not it be nice to automate this task?

All suggestions are welcome!

Paul

-- 
  ("`-''-/").___..--''"`-._   UNIX *is* user-friendly, he is just very 
   `6_ 6  )   `-.  (     ).`-.__.`) picky about who his friends are...
   (_Y_.)'  ._   )  `._ `. ``-..-'      Paul Bunyk, Research Scientist
 _..`--'_..-_/  /--'_.' ,'art by           (and part-time UN*X sysadm)
(il),-''  (li),'  ((!.-' F. Lee http://pbunyk.physics.sunysb.edu/~paul



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