A class that can be used for redirecting Python's stdout and stderr
streams. It will do nothing until something is wrriten to the stream at
which point it will create a Frame with a text area and write the text
there.
|
CreateOutputWindow(self,
st) |
|
|
|
OnCloseWindow(self,
event) |
|
|
|
RaiseWhenSeen(self,
trigger)
Trigger is a string or list of strings that will cause the output
window to be raised when that trigger text is written. |
|
|
|
SetParent(self,
parent)
Set the window to be used as the popup Frame's parent. |
|
|
|
__init__(self,
title=' wxPython: stdout/stderr ' ) |
|
|
|
|
|
|
|
|
|
write(self,
text)
Create the output window if needed and write the string to it. |
|
|