File: wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.txt

package info (click to toggle)
wxpython4.0 4.0.7%2Bdfsg-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 210,992 kB
  • sloc: cpp: 888,989; python: 226,808; makefile: 52,078; ansic: 45,837; sh: 3,014; xml: 1,534; javascript: 436; perl: 264
file content (131 lines) | stat: -rw-r--r-- 5,341 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
.. wxPython Phoenix documentation

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

   Copyright: (c) 2011-2018 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 id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
   <img id="toggleBlock-trigger" src="_static/images/closed.png"/>
   Inheritance diagram for class <strong>SwitcherDialog</strong>:
   </div>
   <div id="toggleBlock-summary" style="display:block;"></div>
   <div id="toggleBlock-content" style="display:none;">
   <p class="graphviz">
   <center><img src="_static/images/inheritance/wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog_inheritance.png" alt="Inheritance diagram of SwitcherDialog" usemap="#dummy" class="inheritance"/></center>
   <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
   <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog.html" title="wx.lib.agw.aui.aui_switcherdialog.SwitcherDialog" alt="" coords="5,547,348,576"/> <area shape="rect" id="node2" href="wx.Dialog.html" title="wx.Dialog" alt="" coords="133,469,220,499"/> <area shape="rect" id="node3" href="wx.TopLevelWindow.html" title="wx.TopLevelWindow" alt="" coords="99,392,254,421"/> <area shape="rect" id="node4" href="wx.NonOwnedWindow.html" title="wx.NonOwnedWindow" alt="" coords="93,315,261,344"/> <area shape="rect" id="node5" href="wx.Window.html" title="wx.Window" alt="" coords="128,237,225,267"/> <area shape="rect" id="node6" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="112,160,241,189"/> <area shape="rect" id="node7" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="118,83,235,112"/> <area shape="rect" id="node8" href="wx.Object.html" title="wx.Object" alt="" coords="73,5,160,35"/> <area shape="rect" id="node9" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="185,5,291,35"/> </map> 
   </p>
   </div>

|


|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)