.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.agw.aui.aui_switcherdialog

.. highlight:: python



.. _wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog:

==========================================================================================================================================
|phoenix_title|  **wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog**
==========================================================================================================================================

SwitcherDialog shows a :class:`Dialog` with a list of panes and tabs for the user to choose.
``Ctrl`` + ``Tab`` cycles through them.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>SwitcherDialog</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog_inheritance.svg" alt="Inheritance diagram of SwitcherDialog" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.html" title="SwitcherDialog shows a Dialog with a list of panes and tabs for the user to choose." alt="" coords="5,543,385,572"/> <area shape="rect" id="node2" href="wx.Dialog.html" title="A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the screen." alt="" coords="145,466,245,495"/> <area shape="rect" id="node3" href="wx.TopLevelWindow.html" title="wx.TopLevelWindow  is a common base class for wx.Dialog  and wx.Frame." alt="" coords="107,389,283,418"/> <area shape="rect" id="node4" href="wx.NonOwnedWindow.html" title="Common base class for all non-child windows." alt="" coords="99,313,291,341"/> <area shape="rect" id="node5" href="wx.Window.html" title="wx.Window  is the base class for all windows and represents any visible object on screen." alt="" coords="140,236,251,265"/> <area shape="rect" id="node6" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="121,159,269,188"/> <area shape="rect" id="node7" href="wx.EvtHandler.html" title="A class that can handle events from the windowing system." alt="" coords="129,82,262,111"/> <area shape="rect" id="node8" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="79,5,178,34"/> <area shape="rect" id="node9" href="wx.Trackable.html" title="Add-on base class for a trackable object." alt="" coords="202,5,325,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|super_classes| Known Superclasses
==================================

:class:`wx.Dialog`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.__init__`               Default class constructor.
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.ColourToHexString`      
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.GetExtraNavigationKey`  
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.GetModifierKey`         
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.GetSelection`           
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.OnActivate`             
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.OnCloseWindow`          
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.OnPaint`                
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.OnSelectItem`           
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.SetBorderColour`        
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.SetExtraNavigationKey`  
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.SetModifierKey`         
:meth:`~wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.ShowDescription`        
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: SwitcherDialog(wx.Dialog)

   SwitcherDialog shows a :class:`Dialog` with a list of panes and tabs for the user to choose.
   ``Ctrl`` + ``Tab`` cycles through them.

   .. method:: __init__(self, items, parent, aui_manager, id=wx.ID_ANY, title=_("Pane Switcher"), pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.STAY_ON_TOP|wx.DIALOG_NO_PARENT|wx.BORDER_SIMPLE)

      Default class constructor. 


   .. method:: ColourToHexString(self, col)


   .. method:: GetExtraNavigationKey(self)


   .. method:: GetModifierKey(self)


   .. method:: GetSelection(self)


   .. method:: OnActivate(self, event)


   .. method:: OnCloseWindow(self, event)


   .. method:: OnPaint(self, event)


   .. method:: OnSelectItem(self, event)


   .. method:: SetBorderColour(self, colour)


   .. method:: SetExtraNavigationKey(self, keyCode)


   .. method:: SetModifierKey(self, modifierKey)


   .. method:: ShowDescription(self, i)


