[pygtk] Dialogs !
Guilherme Polo
ggpolo at gmail.com
Mon Mar 17 03:24:56 WST 2008
2008/3/16, Prashant Shah <elite.mumbai at gmail.com>:
> 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.
result = self.dialog1.run()
>
> 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.
That is not entirely True. I'm almost sure the tutorial mentions how
to check the return from a dialog. I suggest you to read the
documentation available with more care and love.
Also, there is a wiki already: http://live.gnome.org/PyGTK
There is a faq too: http://faq.pygtk.org/index.py?req=index
And there are more documentation available of course, just read them
before telling if they are bad or not.
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
--
-- Guilherme H. Polo Goncalves
More information about the pygtk
mailing list