Public Member Functions | |
def | __init__ |
def | close |
def | CreateOutputWindow |
def | flush |
def | OnCloseWindow |
def | SetParent |
def | write |
Public Attributes | |
frame | |
parent | |
pos | |
size | |
text | |
title |
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.
Definition at line 4 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::__init__ | ( | self, | ||
title = "wxPython: stdout/stderr" | ||||
) |
Definition at line 11 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::close | ( | self | ) |
Definition at line 59 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::CreateOutputWindow | ( | self, | ||
st | ||||
) |
Definition at line 23 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::flush | ( | self | ) |
Definition at line 64 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::OnCloseWindow | ( | self, | ||
event | ||||
) |
Definition at line 33 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::SetParent | ( | self, | ||
parent | ||||
) |
Set the window to be used as the popup Frame's parent.
Definition at line 18 of file _app_ex.py.
def src::_app_ex::PyOnDemandOutputWindow::write | ( | self, | ||
text | ||||
) |
Create the output window if needed and write the string to it. If not called in the context of the gui thread then uses CallAfter to do the work there.
Definition at line 41 of file _app_ex.py.
Definition at line 12 of file _app_ex.py.
Definition at line 16 of file _app_ex.py.
Definition at line 14 of file _app_ex.py.
Definition at line 15 of file _app_ex.py.
Definition at line 26 of file _app_ex.py.
Definition at line 13 of file _app_ex.py.