> If I want a dialog to be non-modal, I can't use its run() method, is
> that true? I have a dialog which is defined in Glade to be non-modal,
> but calling its run() method sure makes it seem modal to me.
> pygtk mailing list [hidden email] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/
Op 20-05-13 21:54, Marco Antonio Islas Cruz schreef:
> Using the "run" method makes it block the program flow, if you want a dialog to be non-modal, just use the "show" method (at the end the Dialog is a subclass of gtk.Window).
Note that if you previously used:
response = dialog.run()
to get the response id, this no longer works with the show() method.
You'll have to connect to the dialog "response" event.