[pygtk] Dialog buttons
Frédéric
frederic.mantegazza at gbiloba.org
Thu Jun 12 20:16:14 WST 2008
Hello,
This is my first post to this mailing list. I'm pretty new to Gtk/PyGTK;
I mainly switched from Qt to Gtk to develop an application which will
run on Nokia/maemo platform. See:
http://trac.gbiloba.org/papywizard.
Here is my problem. I use glade-3 to make my dialogs. glade automatically
add buttons which close the dialog. In my config dialog, I have 'Ok'
and 'Cancel' buttons. Only 'OK' button has a callback, where I save
config values back to the model. I would like to add a 'Validate'
button with the 2 previous ones, which does the same as 'Ok', but
without closing the dialog.
How can I do that?
Thanks,
More information about the pygtk
mailing list