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.
Default class constructor. |
|
Closes the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Handles the |
|
Populates the |
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
+ Tab
on Windows.
__init__
(self, parent=None, icon=None)¶Default class constructor. Used internally.
parent – the TabNavigatorWindow
parent window;
icon – a valid wx.Bitmap
object representing the icon to be displayed
in the TabNavigatorWindow
.
CloseDialog
(self)¶Closes the TabNavigatorWindow
dialog, setting the new selection in
FlatNotebook
.
OnItemSelected
(self, event)¶Handles the wx.EVT_LISTBOX_DCLICK
for the TabNavigatorWindow
.
event – a ListEvent
event to be processed.
OnKeyUp
(self, event)¶Handles the wx.EVT_KEY_UP
for the TabNavigatorWindow
.
event – a KeyEvent
event to be processed.
OnNavigationKey
(self, event)¶Handles the wx.EVT_NAVIGATION_KEY
for the TabNavigatorWindow
.
event – a NavigationKeyEvent
event to be processed.
OnPanelEraseBg
(self, event)¶Handles the wx.EVT_ERASE_BACKGROUND
for the TabNavigatorWindow
top panel.
event – a EraseEvent
event to be processed.
Note
This method is intentionally empty to reduce flicker.
OnPanelPaint
(self, event)¶Handles the wx.EVT_PAINT
for the TabNavigatorWindow
top panel.
event – a PaintEvent
event to be processed.
PopulateListControl
(self, book)¶Populates the TabNavigatorWindow
listbox with a list of tabs.
book – an instance of FlatNotebook
containing the tabs to be
displayed in the listbox.