Callbacks for windows that return large amounts of data
- From: "Luesley, William" <william luesley amsjv com>
- To: "'gtk-app-devel-list gnome org'" <gtk-app-devel-list gnome org>
- Subject: Callbacks for windows that return large amounts of data
- Date: Fri, 17 Oct 2003 13:32:28 +0100
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]