[pygtk] Dialog buttons

Gian Mario Tagliaretti gianmt at gnome.org
Thu Jun 12 21:59:00 WST 2008


On Thu, Jun 12, 2008 at 2:16 PM, Frédéric
<frederic.mantegazza a gbiloba.org> wrote:

> 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?

Reading the reference manual?
http://www.pygtk.org/docs/pygtk/class-gtkdialog.html

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list