[pygtk] Dialogs !

Prashant Shah elite.mumbai at gmail.com
Mon Mar 17 02:28:27 WST 2008


I have a glade file with a Dialog widget with three buttons that I
added manually (start, stop, cancel). Name of the dialog is dialog1.

How do I get the which buttons have been clicked after running.

self.dialog1.run()

Since I am calling from a glade file I couldnt find any docs on how to
add the button parameter that is present in the normal gtk.Dialog()
widget.

Please help !

Suggestion : There is a heavy lack of docs on pygtk. Do we have a
official wiki where we can add the docs for such things ? I am willing
to contribute it as much as possible.


More information about the pygtk mailing list