AGW Logo

agw_title EditTextCtrl

Text control used for in-place edit.

hierarchy Inheritance Diagram

Inheritance diagram for: EditTextCtrl

Inheritance diagram of EditTextCtrl


supclasses Known Superclasses


method_summary Methods Summary

__init__Default class constructor.
OnCharHandles the wx.EVT_CHAR event for EditTextCtrl.
OnKeyUpHandles the wx.EVT_KEY_UP event for EditTextCtrl.

API Class API

class EditTextCtrl(EditCtrl, wx.TextCtrl)[source]

Text control used for in-place edit.



__init__(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)[source]

Default class constructor. For internal use: do not call it in your code!

Parameters:
  • parent – the window parent. Must not be None;
  • id – window identifier. A value of -1 indicates a default value;
  • item – an instance of TreeListItem;
  • column – if not None, an integer specifying the column index. If it is None, the main column index is used;
  • owner – the window owner, in this case an instance of TreeListMainWindow;
  • value – the initial value in the text control;
  • pos – the control position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxPython, depending on platform;
  • size – the control size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxPython, depending on platform;
  • style – the window style;
  • validator – the window validator;
  • name – the window name.


OnChar(event)[source]

Handles the wx.EVT_CHAR event for EditTextCtrl.

Parameters:event – a wx.KeyEvent event to be processed.


OnKeyUp(event)[source]

Handles the wx.EVT_KEY_UP event for EditTextCtrl.

Parameters:event – a wx.KeyEvent event to be processed.

Tree

Table Of Contents

Previous topic

EditCtrl

Next topic

HyperTreeList