[pygtk] Blocking codes

Thierry Lam lam at pcigeomatics.com
Sat Mar 11 02:21:06 WST 2006


Let's say I have the following gui codes:


Popup_window1()

Popup_window2()


Both of the above will start 2 popup windows back to back. Is there a
way to block the code at Popup_window1() until a button is pressed in
that window. Once that button is pressed, then I want the
Popup_window2() to start.


An implementation which is similar to gtk.FileChooserDialog.run() is
what I want.


Thanks
Thierry



More information about the pygtk mailing list