Table Of Contents

Previous topic

TabNavigatorProps

Next topic

TabTextCtrl

This Page

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


class_hierarchy Inheritance Diagram

Inheritance diagram for class TabNavigatorWindow

Inheritance diagram of TabNavigatorWindow


super_classes Known Superclasses

Dialog


method_summary Methods Summary

__init__ Default class constructor. Used internally.
CloseDialog Closes the TabNavigatorWindow dialog, setting selection in AuiNotebook.
GetSelectedPage Gets the page index that was selected when the dialog was closed.
OnItemSelected Handles the EVT_LISTBOX_DCLICK event for the ListBox inside TabNavigatorWindow.
OnKeyUp Handles the EVT_KEY_UP for the TabNavigatorWindow.
OnNavigationKey Handles the EVT_NAVIGATION_KEY for the TabNavigatorWindow.
OnPanelEraseBg Handles the EVT_ERASE_BACKGROUND event for TabNavigatorWindow top panel.
OnPanelPaint Handles the EVT_PAINT event for TabNavigatorWindow top panel.
PopulateListControl Populates the TabNavigatorWindow listbox with a list of tabs.

api Class API



class TabNavigatorWindow(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.


Methods



__init__(self, parent, props)

Default class constructor. Used internally.

Parameters:


CloseDialog(self)

Closes the TabNavigatorWindow dialog, setting selection in AuiNotebook.



GetSelectedPage(self)

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



OnItemSelected(self, event)

Handles the EVT_LISTBOX_DCLICK event for the ListBox inside TabNavigatorWindow.

Parameters:event – a ListEvent event to be processed.


OnKeyUp(self, event)

Handles the EVT_KEY_UP for the TabNavigatorWindow.

Parameters:event – a KeyEvent event to be processed.


OnNavigationKey(self, event)

Handles the EVT_NAVIGATION_KEY for the TabNavigatorWindow.

Parameters:event – a NavigationKeyEvent event to be processed.


OnPanelEraseBg(self, event)

Handles the EVT_ERASE_BACKGROUND event for TabNavigatorWindow top panel.

Parameters:event – a EraseEvent event to be processed.

Note

This is intentionally empty, to reduce flicker.



OnPanelPaint(self, event)

Handles the EVT_PAINT event for TabNavigatorWindow top panel.

Parameters:event – a PaintEvent event to be processed.


PopulateListControl(self, book)

Populates the TabNavigatorWindow listbox with a list of tabs.

Parameters:book – the actual AuiNotebook.