tabbable_textctrl

Multiline wx.TextCtrl that allows tabbing to the next or previous control.

Classes:

TabbableTextCtrl(parent[, id, value, pos, …])

Multiline wx.TextCtrl that allows tabbing to the next or previous control.

class TabbableTextCtrl(parent, id=-1, value='', pos=(-1, -1), size=(-1, -1), style=0, validator=<wx.Validator object>, name=b'text')[source]

Bases: TextCtrl

Multiline wx.TextCtrl that allows tabbing to the next or previous control.

Parameters
  • parent (Window) – Parent window. Should not be None.

  • id (int) – Control identifier. A value of -1 denotes a default value. Default -1.

  • value (str) – Default text value. Default ''.

  • pos (Point) – Text control position. Default (-1, -1).

  • size (Size) – Text control size. Default (-1, -1).

  • style (int) – Window style. See wx.TextCtrl. Default 0.

  • validator (Validator) – Window validator. Default wx.DefaultValidator.

  • name (AnyStr) – Window name. Default b'text'.

Methods:

on_char(event)

Event handler for key being pressed, to allow for navigating between controls with TAB.

static on_char(event)[source]

Event handler for key being pressed, to allow for navigating between controls with TAB.