wx.lib.agw.aui.auibook.TabTextCtrl¶
Control used for in-place edit.
Class Hierarchy¶
Known Superclasses¶
wx.lib.expando.ExpandoTextCtrl
Methods Summary¶
Default class constructor. |
|
Accepts/refuses the changes made by the user. |
|
Finish editing. |
|
Returns the item currently edited. |
|
Handles the |
|
Handles the |
|
Handles the |
|
Suddenly stops the editing. |
Class API¶
- class TabTextCtrl(ExpandoTextCtrl)¶
Control used for in-place edit.
Methods¶
- __init__(self, owner, tab, page_index)¶
Default class constructor. For internal use: do not call it in your code!
- Parameters:
owner – the
AuiNotebook
owning the tab;tab – the actual
AuiTabCtrl
tab;page_index (integer) – the
AuiTabContainer
page index for the tab.
- AcceptChanges(self)¶
Accepts/refuses the changes made by the user.
- Finish(self)¶
Finish editing.
- item(self)¶
Returns the item currently edited.
- OnChar(self, event)¶
Handles the
wx.EVT_CHAR
event forTabTextCtrl
.- Parameters:
event – a
KeyEvent
event to be processed.
- OnKeyUp(self, event)¶
Handles the
wx.EVT_KEY_UP
event forTabTextCtrl
.- Parameters:
event – a
KeyEvent
event to be processed.
- OnKillFocus(self, event)¶
Handles the
wx.EVT_KILL_FOCUS
event forTabTextCtrl
.- Parameters:
event – a
FocusEvent
event to be processed.
- StopEditing(self)¶
Suddenly stops the editing.