Callbacks for windows that return large amounts of data



If I create a dialog window which obtains a lot of data form the user in
multiple widgets, what is the best way to get at that data in the associated
callback function?
 
The two thoughts I'd had were either making the widgets required global
(yuck!),  or using gtk_object_set_data to link all the widgets to the parent
widget, and then pass the parent widget as data to the callback.
 
However, neither of these ideas sounds totally correct to me.
 
Finally, if anyone can recommend any programs that have examples of "good"
GTK+ code that I could look over I would be most grateful.
 
 
Thanks in advance for your help, 
 
 
Will Luesley.
 
 



********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************



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