Modal window

Thomas t_jaeckle at gmx.de
Tue Jul 4 01:06:34 PDT 2006


Hello!

During some calculations I want to show a window with a message what I'm
actually doing. This window must be modal to prevent other actions on
the GUI and so there should be no chance to kill this window by the
user. Killing should only be done by the software, when the calculations
are finished.
I played with modal dialogs, but as the name says, the ShowModal()
method just returns after a user action, which I don't want.
I also tried to call Show() and SetModal() but the last one seems not to 
exist any more (using wxWidgets 2.6.1.0)

My second try was the wx.ProgressDialog. This could work, but I would
like to prevent the progress bar itself because I can't feed it with 
useful information.

Any ideas how to disable the progress bar only?

Is there any other way to generate a dialog/window/frame with a 
ShowModal method which returns immediately, but the dialog/window/frame 
should stay modal until I call another method?

Thanks

Thomas Jäckle






More information about the wxpython-users mailing list