tabbable_textctrl
Multiline wx.TextCtrl that allows tabbing to the next or previous control.
Classes:
|
Multiline |
-
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
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. Seewx.TextCtrl
. Default0
.validator (
Validator
) – Window validator. Defaultwx.DefaultValidator
.name (
AnyStr
) – Window name. Defaultb'text'
.
Methods:
on_char
(event)Event handler for key being pressed, to allow for navigating between controls with TAB.