[pygtk] Non-modal dialog?

Marco Antonio Islas Cruz markuz at islascruz.org
Tue May 21 03:54:36 WST 2013


Hi,

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).

Cheers.

On May 20, 2013, at 2:51 PM, Skip Montanaro <skip at pobox.com> wrote:

> 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.
> 
> Thx,
> 
> Skip
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/

Marco Antonio Islas Cruz
markuz at islascruz.org





More information about the pygtk mailing list