.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2018 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.agw.hypertreelist .. highlight:: python .. _wx.lib.agw.hypertreelist.EditTextCtrl: ========================================================================================================================================== |phoenix_title| **wx.lib.agw.hypertreelist.EditTextCtrl** ========================================================================================================================================== Text control used for in-place edit. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;"> <img id="toggleBlock-trigger" src="_static/images/closed.png"/> Inheritance diagram for class <strong>EditTextCtrl</strong>: </div> <div id="toggleBlock-summary" style="display:block;"></div> <div id="toggleBlock-content" style="display:none;"> <p class="graphviz"> <center><img src="_static/images/inheritance/wx.lib.agw.hypertreelist.EditTextCtrl_inheritance.png" alt="Inheritance diagram of EditTextCtrl" usemap="#dummy" class="inheritance"/></center> <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script> <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.agw.hypertreelist.EditTextCtrl.html" title="Text control used for in-place edit." alt="" coords="87,469,352,499"/> <area shape="rect" id="node2" href="wx.lib.agw.hypertreelist.EditCtrl.html" title="Base class for controls used for in-place edit." alt="" coords="5,392,241,421"/> <area shape="rect" id="node3" href="wx.TextCtrl.html" title="A text control allows text to be displayed and edited." alt="" coords="266,392,365,421"/> <area shape="rect" id="node4" href="wx.Control.html" title="This is the base class for a control or 'widget'." alt="" coords="206,315,299,344"/> <area shape="rect" id="node5" href="wx.TextEntry.html" title="Common base class for single line text entry fields." alt="" coords="323,315,433,344"/> <area shape="rect" id="node6" href="wx.Window.html" title="wx.Window is the base class for all windows and represents any visible object on screen." alt="" coords="204,237,301,267"/> <area shape="rect" id="node7" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="187,160,318,189"/> <area shape="rect" id="node8" href="wx.EvtHandler.html" title="A class that can handle events from the windowing system." alt="" coords="193,83,312,112"/> <area shape="rect" id="node9" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="147,5,235,35"/> <area shape="rect" id="node10" href="wx.Trackable.html" title="Add-on base class for a trackable object." alt="" coords="260,5,371,35"/> </map> </p> </div> | |super_classes| Known Superclasses ================================== :class:`wx.TextCtrl`, :class:`wx.lib.agw.hypertreelist.EditCtrl` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.agw.hypertreelist.EditTextCtrl.__init__` Default class constructor. :meth:`~wx.lib.agw.hypertreelist.EditTextCtrl.OnChar` Handles the ``wx.EVT_CHAR`` event for :class:`EditTextCtrl`. :meth:`~wx.lib.agw.hypertreelist.EditTextCtrl.OnKeyUp` Handles the ``wx.EVT_KEY_UP`` event for :class:`EditTextCtrl`. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: EditTextCtrl(EditCtrl, wx.TextCtrl) Text control used for in-place edit. .. method:: __init__(self, parent, id=wx.ID_ANY, item=None, column=None, owner=None, value="", pos=wx.DefaultPosition, size=wx.DefaultSize, style=0, validator=wx.DefaultValidator, name="edittextctrl", \*\*kwargs) Default class constructor. For internal use: do not call it in your code! :param `parent`: the window parent. Must not be ``None``; :param `id`: window identifier. A value of -1 indicates a default value; :param `item`: an instance of :class:`TreeListItem`; :param `column`: if not ``None``, an integer specifying the column index. If it is ``None``, the main column index is used; :param `owner`: the window owner, in this case an instance of :class:`TreeListMainWindow`; :param `value`: the initial value in the text control; :param `pos`: the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform; :param `size`: the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform; :param `style`: the window style; :param `validator`: the window validator; :param `name`: the window name. .. method:: OnChar(self, event) Handles the ``wx.EVT_CHAR`` event for :class:`EditTextCtrl`. :param `event`: a :class:`KeyEvent` event to be processed. .. method:: OnKeyUp(self, event) Handles the ``wx.EVT_KEY_UP`` event for :class:`EditTextCtrl`. :param `event`: a :class:`KeyEvent` event to be processed.