This one I can answer! (and you would have been able to find this
in the archives if you could search them, because it's a "frequently
asked question.)
When you create your app, pass a zero (0) as the parameter to it.
This tells "don't redirect standard out to a window" then all the
messages will be shown on standard out.
Robin Dunn also wrote: (at least once...)
If you decide that you want to keep the stdout window and not construct
your app with (0) then you can force the stdout window to close whenever
you want with something like this:app = wxGetApp()
if app.stdioWindow is not None:
app.stdioWindow.CLose()
app.stdioWindow = None
Will Sadkin
Parlance Corporation
···
-----Original Message-----
From: Eric Walstad [mailto:eric@ericwalstad.com]
Sent: Friday, December 06, 2002 3:20 PM
To: wxPython-users@lists.wxwindows.org
Subject: [wxPython-users] [Newbie] stdout/stderr window - How
do I keep
it open?Here's a silly newbie question that has me stumped: How do I keep the
the wxPython stdout/stderr window displayed after I encounter
an error?It flashes on screen too quickly to see what is on it.
Thank you!
Eric.---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org