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 selection in AuiNotebook.
GetSelectedPageGets the page index that was selected when the dialog was closed.
OnItemSelectedHandles the wx.EVT_LISTBOX_DCLICK event for the wx.ListBox inside 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 event for TabNavigatorWindow top panel.
OnPanelPaintHandles the wx.EVT_PAINT event for 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, props)[source]

Default class constructor. Used internally.

Parameters:


CloseDialog()[source]

Closes the TabNavigatorWindow dialog, setting selection in AuiNotebook.



GetSelectedPage()[source]

Gets the page index that was selected when the dialog was closed.



OnItemSelected(event)[source]

Handles the wx.EVT_LISTBOX_DCLICK event for the wx.ListBox inside 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 event for TabNavigatorWindow top panel.

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

Note

This is intentionally empty, to reduce flicker.



OnPanelPaint(event)[source]

Handles the wx.EVT_PAINT event for 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 – the actual AuiNotebook.
Tree

Table Of Contents

Previous topic

TabNavigatorProps

Next topic

TabTextCtrl