.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2020 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.LogTextCtrl:
==========================================================================================================================================
|phoenix_title| **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.
.. seealso:: :ref:`wx.TextCtrl`, `StreamToTextRedirector`
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html

Inheritance diagram for class
LogTextCtrl:
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.LogTextCtrl.__init__` Constructs a log target which sends all the log messages to the given text control.
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.LogTextCtrl(Log)
**Possible constructors**::
LogTextCtrl(pTextCtrl : TextCtrl) -> None
Using these target all the log messages can be redirected to a text
control.
.. method:: __init__(self, pTextCtrl : TextCtrl)
Constructs a log target which sends all the log messages to the given text control.
The `textctrl` parameter cannot be ``None``.
:param `pTextCtrl`:
:type `pTextCtrl`: wx.TextCtrl
:rtype: `None`