wx.LogTextCtrl¶
Using these target all the log messages can be redirected to a text control.
The text control must have been created with TE_MULTILINE
style by the caller previously.
See also
wx.TextCtrl, StreamToTextRedirector
Class Hierarchy¶
Methods Summary¶
Constructs a log target which sends all the log messages to the given text control. |
Class API¶
- class wx.LogTextCtrl(Log)¶
Possible constructors:
LogTextCtrl(pTextCtrl) -> None
Using these target all the log messages can be redirected to a text control.
Methods¶
- __init__(self, pTextCtrl)¶
Constructs a log target which sends all the log messages to the given text control.
The textctrl parameter cannot be
None
.- Parameters:
pTextCtrl (wx.TextCtrl)
- Return type:
None