AGW Logo

agw_title 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.

hierarchy Inheritance Diagram

Inheritance diagram for: TabNavigatorWindow

Inheritance diagram of TabNavigatorWindow


method_summary Methods Summary

__init__Default class constructor.
CloseDialogCloses the TabNavigatorWindow dialog, setting the new selection in
OnItemSelectedHandles the wx.EVT_LISTBOX_DCLICK for the TabNavigatorWindow.
OnKeyUpHandles the wx.EVT_KEY_UP for the TabNavigatorWindow.
OnNavigationKeyHandles the wx.EVT_NAVIGATION_KEY for the TabNavigatorWindow.
OnPanelEraseBgHandles the wx.EVT_ERASE_BACKGROUND for the TabNavigatorWindow top panel.
OnPanelPaintHandles the wx.EVT_PAINT for the TabNavigatorWindow top panel.
PopulateListControlPopulates the TabNavigatorWindow listbox with a list of tabs.

API Class API

class TabNavigatorWindow(wx.Dialog)[source]

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__(parent=None, icon=None)[source]

Default class constructor. Used internally.

Parameters:


CloseDialog()[source]

Closes the TabNavigatorWindow dialog, setting the new selection in FlatNotebook.



OnItemSelected(event)[source]

Handles the wx.EVT_LISTBOX_DCLICK for the TabNavigatorWindow.

Parameters:event – a wx.ListEvent event to be processed.


OnKeyUp(event)[source]

Handles the wx.EVT_KEY_UP for the TabNavigatorWindow.

Parameters:event – a wx.KeyEvent event to be processed.


OnNavigationKey(event)[source]

Handles the wx.EVT_NAVIGATION_KEY for the TabNavigatorWindow.

Parameters:event – a wx.NavigationKeyEvent event to be processed.


OnPanelEraseBg(event)[source]

Handles the wx.EVT_ERASE_BACKGROUND for the TabNavigatorWindow top panel.

Parameters:event – a wx.EraseEvent event to be processed.

Note

This method is intentionally empty to reduce flicker.



OnPanelPaint(event)[source]

Handles the wx.EVT_PAINT for the TabNavigatorWindow top panel.

Parameters:event – a wx.PaintEvent event to be processed.


PopulateListControl(book)[source]

Populates the TabNavigatorWindow listbox with a list of tabs.

Parameters:book – an instance of FlatNotebook containing the tabs to be displayed in the listbox.
Tree

Table Of Contents

Previous topic

PageInfo

Next topic

flatnotebook functions