I did that but wont work. The return value is always zero !

>print result
>0

The dialog has three button (self.b1, self.b2, self.b3)

How do I get which one was pressed.


On Sun, Mar 16, 2008 at 11:54 PM, Guilherme Polo <[EMAIL PROTECTED]> wrote:
> 2008/3/16, Prashant Shah <[EMAIL PROTECTED]>:
>
> > 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()
>
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to