wx.lib.agw.flatnotebook.TabNavigatorWindow¶
This class is used to create a modal dialog that enables Smart Tabbing,
similar to what you would get by hitting Alt + Tab on Windows.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Default class constructor. |
|
Closes the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Populates the |
Class API¶
- class TabNavigatorWindow(wx.Dialog)¶
This class is used to create a modal dialog that enables Smart Tabbing, similar to what you would get by hitting
Alt+Tabon Windows.
Methods¶
- __init__(self, parent=None, icon=None)¶
Default class constructor. Used internally.
- Parameters:
parent – the
TabNavigatorWindowparent window;icon – a valid
wx.Bitmapobject representing the icon to be displayed in theTabNavigatorWindow.
- CloseDialog(self)¶
Closes the
TabNavigatorWindowdialog, setting the new selection inFlatNotebook.
- OnItemSelected(self, event)¶
Handles the
wx.EVT_LISTBOX_DCLICKfor theTabNavigatorWindow.- Parameters:
event – a
ListEventevent to be processed.
- OnKeyUp(self, event)¶
Handles the
wx.EVT_KEY_UPfor theTabNavigatorWindow.- Parameters:
event – a
KeyEventevent to be processed.
- OnNavigationKey(self, event)¶
Handles the
wx.EVT_NAVIGATION_KEYfor theTabNavigatorWindow.- Parameters:
event – a
NavigationKeyEventevent to be processed.
- OnPanelEraseBg(self, event)¶
Handles the
wx.EVT_ERASE_BACKGROUNDfor theTabNavigatorWindowtop panel.- Parameters:
event – a
EraseEventevent to be processed.
Note
This method is intentionally empty to reduce flicker.
- OnPanelPaint(self, event)¶
Handles the
wx.EVT_PAINTfor theTabNavigatorWindowtop panel.- Parameters:
event – a
PaintEventevent to be processed.
- PopulateListControl(self, book)¶
Populates the
TabNavigatorWindowlistbox with a list of tabs.- Parameters:
book – an instance of
FlatNotebookcontaining the tabs to be displayed in the listbox.