[pygtk] Hiding dialogs within hidden windows

Geoff Bache geoff.bache at jeppesen.com
Tue May 8 20:51:55 WST 2007


Hi,

I would like (for testing purposes) to be able to run my PyGTK 
application on Windows without the GUI coming up on the screen.
So I start it with the window hidden (using Python's subprocess module 
and the flag SW_HIDE) which sure enough hides the
main window. Unfortunately all the dialogs that come up still get displayed.

Does anyone have any hints as to what I can do about this, either from 
how I start the application or what I can do inside it? Is there
a way to find out if the main window is hidden? Can I do something 
globally without needing to find and change every dialog in the
whole application?

Regards,
Geoff Bache



More information about the pygtk mailing list