.. 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 .. 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
Inheritance diagram for class EditTextCtrl:
| |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.