[82a54b8] | 1 | |
---|
| 2 | |
---|
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 4 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 8 | <head> |
---|
| 9 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 10 | |
---|
| 11 | <title>toolbar — plottools 0.10 documentation</title> |
---|
| 12 | |
---|
| 13 | <link rel="stylesheet" href="../_static/default.css" type="text/css" /> |
---|
| 14 | <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> |
---|
| 15 | |
---|
| 16 | <script type="text/javascript"> |
---|
| 17 | var DOCUMENTATION_OPTIONS = { |
---|
| 18 | URL_ROOT: '../', |
---|
| 19 | VERSION: '0.10', |
---|
| 20 | COLLAPSE_INDEX: false, |
---|
| 21 | FILE_SUFFIX: '.html', |
---|
| 22 | HAS_SOURCE: true |
---|
| 23 | }; |
---|
| 24 | </script> |
---|
| 25 | <script type="text/javascript" src="../_static/jquery.js"></script> |
---|
| 26 | <script type="text/javascript" src="../_static/underscore.js"></script> |
---|
| 27 | <script type="text/javascript" src="../_static/doctools.js"></script> |
---|
| 28 | <link rel="top" title="plottools 0.10 documentation" href="../index.html" /> |
---|
| 29 | <link rel="up" title="Reference" href="index.html" /> |
---|
| 30 | <link rel="next" title="transform" href="transform.html" /> |
---|
| 31 | <link rel="prev" title="PropertyDialog" href="PropertyDialog.html" /> |
---|
| 32 | </head> |
---|
| 33 | <body> |
---|
| 34 | <div class="related"> |
---|
| 35 | <h3>Navigation</h3> |
---|
| 36 | <ul> |
---|
| 37 | <li class="right" style="margin-right: 10px"> |
---|
| 38 | <a href="../genindex.html" title="General Index" |
---|
| 39 | accesskey="I">index</a></li> |
---|
| 40 | <li class="right" > |
---|
| 41 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 42 | >modules</a> |</li> |
---|
| 43 | <li class="right" > |
---|
| 44 | <a href="transform.html" title="transform" |
---|
| 45 | accesskey="N">next</a> |</li> |
---|
| 46 | <li class="right" > |
---|
| 47 | <a href="PropertyDialog.html" title="PropertyDialog" |
---|
| 48 | accesskey="P">previous</a> |</li> |
---|
| 49 | <li><a href="../index.html">plottools 0.10 documentation</a> »</li> |
---|
| 50 | <li><a href="index.html" accesskey="U">Reference</a> »</li> |
---|
| 51 | </ul> |
---|
| 52 | </div> |
---|
| 53 | |
---|
| 54 | <div class="document"> |
---|
| 55 | <div class="documentwrapper"> |
---|
| 56 | <div class="bodywrapper"> |
---|
| 57 | <div class="body"> |
---|
| 58 | |
---|
| 59 | <div class="section" id="toolbar"> |
---|
| 60 | <h1>toolbar<a class="headerlink" href="#toolbar" title="Permalink to this headline">¶</a></h1> |
---|
| 61 | <div class="section" id="danse-common-plottools-toolbar"> |
---|
| 62 | <h2><a class="reference internal" href="#module-danse.common.plottools.toolbar" title="danse.common.plottools.toolbar"><tt class="xref py py-mod docutils literal"><span class="pre">danse.common.plottools.toolbar</span></tt></a><a class="headerlink" href="#danse-common-plottools-toolbar" title="Permalink to this headline">¶</a></h2> |
---|
| 63 | <span class="target" id="module-danse.common.plottools.toolbar"></span><p>this module overwrite matplotlib toolbar</p> |
---|
| 64 | <dl class="class"> |
---|
| 65 | <dt id="danse.common.plottools.toolbar.NavigationToolBar"> |
---|
| 66 | <em class="property">class </em><tt class="descclassname">danse.common.plottools.toolbar.</tt><tt class="descname">NavigationToolBar</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar" title="Permalink to this definition">¶</a></dt> |
---|
| 67 | <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">matplotlib.backends.backend_wxagg.NavigationToolbar2WxAgg</span></tt></p> |
---|
| 68 | <p>Overwrite matplotlib toolbar</p> |
---|
| 69 | <dl class="attribute"> |
---|
| 70 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AcceleratorTable"> |
---|
| 71 | <tt class="descname">AcceleratorTable</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AcceleratorTable" title="Permalink to this definition">¶</a></dt> |
---|
| 72 | <dd><p>See <cite>GetAcceleratorTable</cite> and <cite>SetAcceleratorTable</cite></p> |
---|
| 73 | </dd></dl> |
---|
| 74 | |
---|
| 75 | <dl class="method"> |
---|
| 76 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AcceptsFocus"> |
---|
| 77 | <tt class="descname">AcceptsFocus</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AcceptsFocus" title="Permalink to this definition">¶</a></dt> |
---|
| 78 | <dd><p>Can this window have focus?</p> |
---|
| 79 | </dd></dl> |
---|
| 80 | |
---|
| 81 | <dl class="method"> |
---|
| 82 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AcceptsFocusFromKeyboard"> |
---|
| 83 | <tt class="descname">AcceptsFocusFromKeyboard</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AcceptsFocusFromKeyboard" title="Permalink to this definition">¶</a></dt> |
---|
| 84 | <dd><p>Can this window be given focus by keyboard navigation? if not, the |
---|
| 85 | only way to give it focus (provided it accepts it at all) is to click |
---|
| 86 | it.</p> |
---|
| 87 | </dd></dl> |
---|
| 88 | |
---|
| 89 | <dl class="method"> |
---|
| 90 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddCheckLabelTool"> |
---|
| 91 | <tt class="descname">AddCheckLabelTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddCheckLabelTool" title="Permalink to this definition">¶</a></dt> |
---|
| 92 | <dd><p>Add a check tool, i.e. a tool which can be toggled</p> |
---|
| 93 | </dd></dl> |
---|
| 94 | |
---|
| 95 | <dl class="method"> |
---|
| 96 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddCheckTool"> |
---|
| 97 | <tt class="descname">AddCheckTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddCheckTool" title="Permalink to this definition">¶</a></dt> |
---|
| 98 | <dd><p>Add a check tool, i.e. a tool which can be toggled</p> |
---|
| 99 | </dd></dl> |
---|
| 100 | |
---|
| 101 | <dl class="method"> |
---|
| 102 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddChild"> |
---|
| 103 | <tt class="descname">AddChild</tt><big>(</big><em>self</em>, <em>Window child</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddChild" title="Permalink to this definition">¶</a></dt> |
---|
| 104 | <dd><p>Adds a child window. This is called automatically by window creation |
---|
| 105 | functions so should not be required by the application programmer.</p> |
---|
| 106 | </dd></dl> |
---|
| 107 | |
---|
| 108 | <dl class="method"> |
---|
| 109 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddControl"> |
---|
| 110 | <tt class="descname">AddControl</tt><big>(</big><em>self</em>, <em>Control control</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddControl" title="Permalink to this definition">¶</a></dt> |
---|
| 111 | <dd></dd></dl> |
---|
| 112 | |
---|
| 113 | <dl class="method"> |
---|
| 114 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddLabelTool"> |
---|
| 115 | <tt class="descname">AddLabelTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddLabelTool" title="Permalink to this definition">¶</a></dt> |
---|
| 116 | <dd><p>The full AddTool() function.</p> |
---|
| 117 | <p>If bmpDisabled is wx.NullBitmap, a shadowed version of the normal bitmap |
---|
| 118 | is created and used as the disabled image.</p> |
---|
| 119 | </dd></dl> |
---|
| 120 | |
---|
| 121 | <dl class="method"> |
---|
| 122 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddPendingEvent"> |
---|
| 123 | <tt class="descname">AddPendingEvent</tt><big>(</big><em>self</em>, <em>Event event</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddPendingEvent" title="Permalink to this definition">¶</a></dt> |
---|
| 124 | <dd></dd></dl> |
---|
| 125 | |
---|
| 126 | <dl class="method"> |
---|
| 127 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddRadioLabelTool"> |
---|
| 128 | <tt class="descname">AddRadioLabelTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddRadioLabelTool" title="Permalink to this definition">¶</a></dt> |
---|
| 129 | <dd><p>Add a radio tool, i.e. a tool which can be toggled and releases any |
---|
| 130 | other toggled radio tools in the same group when it happens</p> |
---|
| 131 | </dd></dl> |
---|
| 132 | |
---|
| 133 | <dl class="method"> |
---|
| 134 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddRadioTool"> |
---|
| 135 | <tt class="descname">AddRadioTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddRadioTool" title="Permalink to this definition">¶</a></dt> |
---|
| 136 | <dd><p>Add a radio tool, i.e. a tool which can be toggled and releases any |
---|
| 137 | other toggled radio tools in the same group when it happens</p> |
---|
| 138 | </dd></dl> |
---|
| 139 | |
---|
| 140 | <dl class="method"> |
---|
| 141 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddSeparator"> |
---|
| 142 | <tt class="descname">AddSeparator</tt><big>(</big><em>self</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddSeparator" title="Permalink to this definition">¶</a></dt> |
---|
| 143 | <dd></dd></dl> |
---|
| 144 | |
---|
| 145 | <dl class="method"> |
---|
| 146 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddSimpleTool"> |
---|
| 147 | <tt class="descname">AddSimpleTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddSimpleTool" title="Permalink to this definition">¶</a></dt> |
---|
| 148 | <dd><p>Old style method to add a tool to the toolbar.</p> |
---|
| 149 | </dd></dl> |
---|
| 150 | |
---|
| 151 | <dl class="method"> |
---|
| 152 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddTool"> |
---|
| 153 | <tt class="descname">AddTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddTool" title="Permalink to this definition">¶</a></dt> |
---|
| 154 | <dd><p>Old style method to add a tool to the toolbar.</p> |
---|
| 155 | </dd></dl> |
---|
| 156 | |
---|
| 157 | <dl class="method"> |
---|
| 158 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AddToolItem"> |
---|
| 159 | <tt class="descname">AddToolItem</tt><big>(</big><em>self</em>, <em>ToolBarToolBase tool</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AddToolItem" title="Permalink to this definition">¶</a></dt> |
---|
| 160 | <dd></dd></dl> |
---|
| 161 | |
---|
| 162 | <dl class="method"> |
---|
| 163 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AdjustForLayoutDirection"> |
---|
| 164 | <tt class="descname">AdjustForLayoutDirection</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int width</em>, <em>int widthTotal</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AdjustForLayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
| 165 | <dd><p>Mirror coordinates for RTL layout if this window uses it and if the |
---|
| 166 | mirroring is not done automatically like Win32.</p> |
---|
| 167 | </dd></dl> |
---|
| 168 | |
---|
| 169 | <dl class="attribute"> |
---|
| 170 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Alignment"> |
---|
| 171 | <tt class="descname">Alignment</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Alignment" title="Permalink to this definition">¶</a></dt> |
---|
| 172 | <dd><p>See <cite>GetAlignment</cite></p> |
---|
| 173 | </dd></dl> |
---|
| 174 | |
---|
| 175 | <dl class="method"> |
---|
| 176 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AssociateHandle"> |
---|
| 177 | <tt class="descname">AssociateHandle</tt><big>(</big><em>self</em>, <em>long handle</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AssociateHandle" title="Permalink to this definition">¶</a></dt> |
---|
| 178 | <dd><p>Associate the window with a new native handle</p> |
---|
| 179 | </dd></dl> |
---|
| 180 | |
---|
| 181 | <dl class="attribute"> |
---|
| 182 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.AutoLayout"> |
---|
| 183 | <tt class="descname">AutoLayout</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.AutoLayout" title="Permalink to this definition">¶</a></dt> |
---|
| 184 | <dd><p>See <cite>GetAutoLayout</cite> and <cite>SetAutoLayout</cite></p> |
---|
| 185 | </dd></dl> |
---|
| 186 | |
---|
| 187 | <dl class="attribute"> |
---|
| 188 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.BackgroundColour"> |
---|
| 189 | <tt class="descname">BackgroundColour</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.BackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 190 | <dd><p>See <cite>GetBackgroundColour</cite> and <cite>SetBackgroundColour</cite></p> |
---|
| 191 | </dd></dl> |
---|
| 192 | |
---|
| 193 | <dl class="attribute"> |
---|
| 194 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.BackgroundStyle"> |
---|
| 195 | <tt class="descname">BackgroundStyle</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.BackgroundStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 196 | <dd><p>See <cite>GetBackgroundStyle</cite> and <cite>SetBackgroundStyle</cite></p> |
---|
| 197 | </dd></dl> |
---|
| 198 | |
---|
| 199 | <dl class="attribute"> |
---|
| 200 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.BestSize"> |
---|
| 201 | <tt class="descname">BestSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.BestSize" title="Permalink to this definition">¶</a></dt> |
---|
| 202 | <dd><p>See <cite>GetBestSize</cite></p> |
---|
| 203 | </dd></dl> |
---|
| 204 | |
---|
| 205 | <dl class="attribute"> |
---|
| 206 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.BestVirtualSize"> |
---|
| 207 | <tt class="descname">BestVirtualSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.BestVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
| 208 | <dd><p>See <cite>GetBestVirtualSize</cite></p> |
---|
| 209 | </dd></dl> |
---|
| 210 | |
---|
| 211 | <dl class="method"> |
---|
| 212 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Bind"> |
---|
| 213 | <tt class="descname">Bind</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Bind" title="Permalink to this definition">¶</a></dt> |
---|
| 214 | <dd><p>Bind an event to an event handler.</p> |
---|
| 215 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 216 | <col class="field-name" /> |
---|
| 217 | <col class="field-body" /> |
---|
| 218 | <tbody valign="top"> |
---|
| 219 | <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> |
---|
| 220 | <li><strong>event</strong> – One of the EVT_* objects that specifies the |
---|
| 221 | type of event to bind,</li> |
---|
| 222 | <li><strong>handler</strong> – A callable object to be invoked when the |
---|
| 223 | event is delivered to self. Pass None to |
---|
| 224 | disconnect an event handler.</li> |
---|
| 225 | <li><strong>source</strong> – Sometimes the event originates from a |
---|
| 226 | different window than self, but you still |
---|
| 227 | want to catch it in self. (For example, a |
---|
| 228 | button event delivered to a frame.) By |
---|
| 229 | passing the source of the event, the event |
---|
| 230 | handling system is able to differentiate |
---|
| 231 | between the same event type from different |
---|
| 232 | controls.</li> |
---|
| 233 | <li><strong>id</strong> – Used to spcify the event source by ID instead |
---|
| 234 | of instance.</li> |
---|
| 235 | <li><strong>id2</strong> – Used when it is desirable to bind a handler |
---|
| 236 | to a range of IDs, such as with EVT_MENU_RANGE.</li> |
---|
| 237 | </ul> |
---|
| 238 | </td> |
---|
| 239 | </tr> |
---|
| 240 | </tbody> |
---|
| 241 | </table> |
---|
| 242 | </dd></dl> |
---|
| 243 | |
---|
| 244 | <dl class="attribute"> |
---|
| 245 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Border"> |
---|
| 246 | <tt class="descname">Border</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Border" title="Permalink to this definition">¶</a></dt> |
---|
| 247 | <dd><p>See <cite>GetBorder</cite></p> |
---|
| 248 | </dd></dl> |
---|
| 249 | |
---|
| 250 | <dl class="method"> |
---|
| 251 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CacheBestSize"> |
---|
| 252 | <tt class="descname">CacheBestSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CacheBestSize" title="Permalink to this definition">¶</a></dt> |
---|
| 253 | <dd><p>Cache the best size so it doesn’t need to be calculated again, (at least until |
---|
| 254 | some properties of the window change.)</p> |
---|
| 255 | </dd></dl> |
---|
| 256 | |
---|
| 257 | <dl class="method"> |
---|
| 258 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CanSetTransparent"> |
---|
| 259 | <tt class="descname">CanSetTransparent</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CanSetTransparent" title="Permalink to this definition">¶</a></dt> |
---|
| 260 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the platform supports setting the transparency for |
---|
| 261 | this window. Note that this method will err on the side of caution, |
---|
| 262 | so it is possible that this will return <tt class="docutils literal"><span class="pre">False</span></tt> when it is in fact |
---|
| 263 | possible to set the transparency.</p> |
---|
| 264 | <p>NOTE: On X-windows systems the X server must have the composite |
---|
| 265 | extension loaded, and there must be a composite manager program (such |
---|
| 266 | as xcompmgr) running.</p> |
---|
| 267 | </dd></dl> |
---|
| 268 | |
---|
| 269 | <dl class="method"> |
---|
| 270 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CaptureMouse"> |
---|
| 271 | <tt class="descname">CaptureMouse</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CaptureMouse" title="Permalink to this definition">¶</a></dt> |
---|
| 272 | <dd><p>Directs all mouse input to this window. Call wx.Window.ReleaseMouse to |
---|
| 273 | release the capture.</p> |
---|
| 274 | <p>Note that wxWindows maintains the stack of windows having captured the |
---|
| 275 | mouse and when the mouse is released the capture returns to the window |
---|
| 276 | which had had captured it previously and it is only really released if |
---|
| 277 | there were no previous window. In particular, this means that you must |
---|
| 278 | release the mouse as many times as you capture it, unless the window |
---|
| 279 | receives the <cite>wx.MouseCaptureLostEvent</cite> event.</p> |
---|
| 280 | <p>Any application which captures the mouse in the beginning of some |
---|
| 281 | operation <em>must</em> handle <cite>wx.MouseCaptureLostEvent</cite> and cancel this |
---|
| 282 | operation when it receives the event. The event handler must not |
---|
| 283 | recapture mouse.</p> |
---|
| 284 | </dd></dl> |
---|
| 285 | |
---|
| 286 | <dl class="attribute"> |
---|
| 287 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Caret"> |
---|
| 288 | <tt class="descname">Caret</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Caret" title="Permalink to this definition">¶</a></dt> |
---|
| 289 | <dd><p>See <cite>GetCaret</cite> and <cite>SetCaret</cite></p> |
---|
| 290 | </dd></dl> |
---|
| 291 | |
---|
| 292 | <dl class="method"> |
---|
| 293 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Center"> |
---|
| 294 | <tt class="descname">Center</tt><big>(</big><em>self</em>, <em>int direction=BOTH</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Center" title="Permalink to this definition">¶</a></dt> |
---|
| 295 | <dd><p>Centers the window. The parameter specifies the direction for |
---|
| 296 | centering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may |
---|
| 297 | also include wx.CENTER_ON_SCREEN flag if you want to center the window |
---|
| 298 | on the entire screen and not on its parent window. If it is a |
---|
| 299 | top-level window and has no parent then it will always be centered |
---|
| 300 | relative to the screen.</p> |
---|
| 301 | </dd></dl> |
---|
| 302 | |
---|
| 303 | <dl class="method"> |
---|
| 304 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CenterOnParent"> |
---|
| 305 | <tt class="descname">CenterOnParent</tt><big>(</big><em>self</em>, <em>int dir=BOTH</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CenterOnParent" title="Permalink to this definition">¶</a></dt> |
---|
| 306 | <dd><p>Center with respect to the the parent window</p> |
---|
| 307 | </dd></dl> |
---|
| 308 | |
---|
| 309 | <dl class="method"> |
---|
| 310 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Centre"> |
---|
| 311 | <tt class="descname">Centre</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Centre" title="Permalink to this definition">¶</a></dt> |
---|
| 312 | <dd><p>Center(self, int direction=BOTH)</p> |
---|
| 313 | <p>Centers the window. The parameter specifies the direction for |
---|
| 314 | centering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may |
---|
| 315 | also include wx.CENTER_ON_SCREEN flag if you want to center the window |
---|
| 316 | on the entire screen and not on its parent window. If it is a |
---|
| 317 | top-level window and has no parent then it will always be centered |
---|
| 318 | relative to the screen.</p> |
---|
| 319 | </dd></dl> |
---|
| 320 | |
---|
| 321 | <dl class="method"> |
---|
| 322 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CentreOnParent"> |
---|
| 323 | <tt class="descname">CentreOnParent</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CentreOnParent" title="Permalink to this definition">¶</a></dt> |
---|
| 324 | <dd><p>CenterOnParent(self, int dir=BOTH)</p> |
---|
| 325 | <p>Center with respect to the the parent window</p> |
---|
| 326 | </dd></dl> |
---|
| 327 | |
---|
| 328 | <dl class="attribute"> |
---|
| 329 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CharHeight"> |
---|
| 330 | <tt class="descname">CharHeight</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CharHeight" title="Permalink to this definition">¶</a></dt> |
---|
| 331 | <dd><p>See <cite>GetCharHeight</cite></p> |
---|
| 332 | </dd></dl> |
---|
| 333 | |
---|
| 334 | <dl class="attribute"> |
---|
| 335 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.CharWidth"> |
---|
| 336 | <tt class="descname">CharWidth</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.CharWidth" title="Permalink to this definition">¶</a></dt> |
---|
| 337 | <dd><p>See <cite>GetCharWidth</cite></p> |
---|
| 338 | </dd></dl> |
---|
| 339 | |
---|
| 340 | <dl class="attribute"> |
---|
| 341 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Children"> |
---|
| 342 | <tt class="descname">Children</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Children" title="Permalink to this definition">¶</a></dt> |
---|
| 343 | <dd><p>See <cite>GetChildren</cite></p> |
---|
| 344 | </dd></dl> |
---|
| 345 | |
---|
| 346 | <dl class="attribute"> |
---|
| 347 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClassName"> |
---|
| 348 | <tt class="descname">ClassName</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClassName" title="Permalink to this definition">¶</a></dt> |
---|
| 349 | <dd><p>See <cite>GetClassName</cite></p> |
---|
| 350 | </dd></dl> |
---|
| 351 | |
---|
| 352 | <dl class="method"> |
---|
| 353 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClearBackground"> |
---|
| 354 | <tt class="descname">ClearBackground</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClearBackground" title="Permalink to this definition">¶</a></dt> |
---|
| 355 | <dd><p>Clears the window by filling it with the current background |
---|
| 356 | colour. Does not cause an erase background event to be generated.</p> |
---|
| 357 | </dd></dl> |
---|
| 358 | |
---|
| 359 | <dl class="method"> |
---|
| 360 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClearTools"> |
---|
| 361 | <tt class="descname">ClearTools</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClearTools" title="Permalink to this definition">¶</a></dt> |
---|
| 362 | <dd></dd></dl> |
---|
| 363 | |
---|
| 364 | <dl class="attribute"> |
---|
| 365 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClientAreaOrigin"> |
---|
| 366 | <tt class="descname">ClientAreaOrigin</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClientAreaOrigin" title="Permalink to this definition">¶</a></dt> |
---|
| 367 | <dd><p>See <cite>GetClientAreaOrigin</cite></p> |
---|
| 368 | </dd></dl> |
---|
| 369 | |
---|
| 370 | <dl class="attribute"> |
---|
| 371 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClientRect"> |
---|
| 372 | <tt class="descname">ClientRect</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClientRect" title="Permalink to this definition">¶</a></dt> |
---|
| 373 | <dd><p>See <cite>GetClientRect</cite> and <cite>SetClientRect</cite></p> |
---|
| 374 | </dd></dl> |
---|
| 375 | |
---|
| 376 | <dl class="attribute"> |
---|
| 377 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClientSize"> |
---|
| 378 | <tt class="descname">ClientSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClientSize" title="Permalink to this definition">¶</a></dt> |
---|
| 379 | <dd><p>See <cite>GetClientSize</cite> and <cite>SetClientSize</cite></p> |
---|
| 380 | </dd></dl> |
---|
| 381 | |
---|
| 382 | <dl class="method"> |
---|
| 383 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClientToScreen"> |
---|
| 384 | <tt class="descname">ClientToScreen</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClientToScreen" title="Permalink to this definition">¶</a></dt> |
---|
| 385 | <dd><p>Converts to screen coordinates from coordinates relative to this window.</p> |
---|
| 386 | </dd></dl> |
---|
| 387 | |
---|
| 388 | <dl class="method"> |
---|
| 389 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClientToScreenXY"> |
---|
| 390 | <tt class="descname">ClientToScreenXY</tt><big>(</big><em>int x</em>, <em>int y) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClientToScreenXY" title="Permalink to this definition">¶</a></dt> |
---|
| 391 | <dd><p>Converts to screen coordinates from coordinates relative to this window.</p> |
---|
| 392 | </dd></dl> |
---|
| 393 | |
---|
| 394 | <dl class="method"> |
---|
| 395 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ClientToWindowSize"> |
---|
| 396 | <tt class="descname">ClientToWindowSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ClientToWindowSize" title="Permalink to this definition">¶</a></dt> |
---|
| 397 | <dd></dd></dl> |
---|
| 398 | |
---|
| 399 | <dl class="method"> |
---|
| 400 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Close"> |
---|
| 401 | <tt class="descname">Close</tt><big>(</big><em>self</em>, <em>bool force=False</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Close" title="Permalink to this definition">¶</a></dt> |
---|
| 402 | <dd><p>This function simply generates a EVT_CLOSE event whose handler usually |
---|
| 403 | tries to close the window. It doesn’t close the window itself, |
---|
| 404 | however. If force is False (the default) then the window’s close |
---|
| 405 | handler will be allowed to veto the destruction of the window.</p> |
---|
| 406 | </dd></dl> |
---|
| 407 | |
---|
| 408 | <dl class="method"> |
---|
| 409 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Command"> |
---|
| 410 | <tt class="descname">Command</tt><big>(</big><em>self</em>, <em>CommandEvent event</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Command" title="Permalink to this definition">¶</a></dt> |
---|
| 411 | <dd><p>Simulates the effect of the user issuing a command to the item.</p> |
---|
| 412 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 413 | <col class="field-name" /> |
---|
| 414 | <col class="field-body" /> |
---|
| 415 | <tbody valign="top"> |
---|
| 416 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>wx.CommandEvent</cite></td> |
---|
| 417 | </tr> |
---|
| 418 | </tbody> |
---|
| 419 | </table> |
---|
| 420 | </dd></dl> |
---|
| 421 | |
---|
| 422 | <dl class="method"> |
---|
| 423 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Connect"> |
---|
| 424 | <tt class="descname">Connect</tt><big>(</big><em>self</em>, <em>int id</em>, <em>int lastId</em>, <em>int eventType</em>, <em>PyObject func</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Connect" title="Permalink to this definition">¶</a></dt> |
---|
| 425 | <dd></dd></dl> |
---|
| 426 | |
---|
| 427 | <dl class="attribute"> |
---|
| 428 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Constraints"> |
---|
| 429 | <tt class="descname">Constraints</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Constraints" title="Permalink to this definition">¶</a></dt> |
---|
| 430 | <dd><p>See <cite>GetConstraints</cite> and <cite>SetConstraints</cite></p> |
---|
| 431 | </dd></dl> |
---|
| 432 | |
---|
| 433 | <dl class="attribute"> |
---|
| 434 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ContainingSizer"> |
---|
| 435 | <tt class="descname">ContainingSizer</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ContainingSizer" title="Permalink to this definition">¶</a></dt> |
---|
| 436 | <dd><p>See <cite>GetContainingSizer</cite> and <cite>SetContainingSizer</cite></p> |
---|
| 437 | </dd></dl> |
---|
| 438 | |
---|
| 439 | <dl class="method"> |
---|
| 440 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ConvertDialogPointToPixels"> |
---|
| 441 | <tt class="descname">ConvertDialogPointToPixels</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ConvertDialogPointToPixels" title="Permalink to this definition">¶</a></dt> |
---|
| 442 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
| 443 | are used for maintaining a dialog’s proportions even if the font |
---|
| 444 | changes. For the x dimension, the dialog units are multiplied by the |
---|
| 445 | average character width and then divided by 4. For the y dimension, |
---|
| 446 | the dialog units are multiplied by the average character height and |
---|
| 447 | then divided by 8.</p> |
---|
| 448 | </dd></dl> |
---|
| 449 | |
---|
| 450 | <dl class="method"> |
---|
| 451 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ConvertDialogSizeToPixels"> |
---|
| 452 | <tt class="descname">ConvertDialogSizeToPixels</tt><big>(</big><em>self</em>, <em>Size sz</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ConvertDialogSizeToPixels" title="Permalink to this definition">¶</a></dt> |
---|
| 453 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
| 454 | are used for maintaining a dialog’s proportions even if the font |
---|
| 455 | changes. For the x dimension, the dialog units are multiplied by the |
---|
| 456 | average character width and then divided by 4. For the y dimension, |
---|
| 457 | the dialog units are multiplied by the average character height and |
---|
| 458 | then divided by 8.</p> |
---|
| 459 | </dd></dl> |
---|
| 460 | |
---|
| 461 | <dl class="method"> |
---|
| 462 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ConvertPixelPointToDialog"> |
---|
| 463 | <tt class="descname">ConvertPixelPointToDialog</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ConvertPixelPointToDialog" title="Permalink to this definition">¶</a></dt> |
---|
| 464 | <dd></dd></dl> |
---|
| 465 | |
---|
| 466 | <dl class="method"> |
---|
| 467 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ConvertPixelSizeToDialog"> |
---|
| 468 | <tt class="descname">ConvertPixelSizeToDialog</tt><big>(</big><em>self</em>, <em>Size sz</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ConvertPixelSizeToDialog" title="Permalink to this definition">¶</a></dt> |
---|
| 469 | <dd></dd></dl> |
---|
| 470 | |
---|
| 471 | <dl class="method"> |
---|
| 472 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Create"> |
---|
| 473 | <tt class="descname">Create</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Create" title="Permalink to this definition">¶</a></dt> |
---|
| 474 | <dd><p>Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
---|
| 475 | Size size=DefaultSize, long style=wxNO_BORDER|wxTB_HORIZONTAL, |
---|
| 476 | String name=wxPyToolBarNameStr) -> bool</p> |
---|
| 477 | </dd></dl> |
---|
| 478 | |
---|
| 479 | <dl class="attribute"> |
---|
| 480 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Cursor"> |
---|
| 481 | <tt class="descname">Cursor</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Cursor" title="Permalink to this definition">¶</a></dt> |
---|
| 482 | <dd><p>See <cite>GetCursor</cite> and <cite>SetCursor</cite></p> |
---|
| 483 | </dd></dl> |
---|
| 484 | |
---|
| 485 | <dl class="method"> |
---|
| 486 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DLG_PNT"> |
---|
| 487 | <tt class="descname">DLG_PNT</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DLG_PNT" title="Permalink to this definition">¶</a></dt> |
---|
| 488 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
| 489 | are used for maintaining a dialog’s proportions even if the font |
---|
| 490 | changes. For the x dimension, the dialog units are multiplied by the |
---|
| 491 | average character width and then divided by 4. For the y dimension, |
---|
| 492 | the dialog units are multiplied by the average character height and |
---|
| 493 | then divided by 8.</p> |
---|
| 494 | </dd></dl> |
---|
| 495 | |
---|
| 496 | <dl class="method"> |
---|
| 497 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DLG_SZE"> |
---|
| 498 | <tt class="descname">DLG_SZE</tt><big>(</big><em>self</em>, <em>Size sz</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DLG_SZE" title="Permalink to this definition">¶</a></dt> |
---|
| 499 | <dd><p>Converts a point or size from dialog units to pixels. Dialog units |
---|
| 500 | are used for maintaining a dialog’s proportions even if the font |
---|
| 501 | changes. For the x dimension, the dialog units are multiplied by the |
---|
| 502 | average character width and then divided by 4. For the y dimension, |
---|
| 503 | the dialog units are multiplied by the average character height and |
---|
| 504 | then divided by 8.</p> |
---|
| 505 | </dd></dl> |
---|
| 506 | |
---|
| 507 | <dl class="attribute"> |
---|
| 508 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DefaultAttributes"> |
---|
| 509 | <tt class="descname">DefaultAttributes</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DefaultAttributes" title="Permalink to this definition">¶</a></dt> |
---|
| 510 | <dd><p>See <cite>GetDefaultAttributes</cite></p> |
---|
| 511 | </dd></dl> |
---|
| 512 | |
---|
| 513 | <dl class="method"> |
---|
| 514 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DeleteTool"> |
---|
| 515 | <tt class="descname">DeleteTool</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DeleteTool" title="Permalink to this definition">¶</a></dt> |
---|
| 516 | <dd></dd></dl> |
---|
| 517 | |
---|
| 518 | <dl class="method"> |
---|
| 519 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DeleteToolByPos"> |
---|
| 520 | <tt class="descname">DeleteToolByPos</tt><big>(</big><em>self</em>, <em>size_t pos</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DeleteToolByPos" title="Permalink to this definition">¶</a></dt> |
---|
| 521 | <dd></dd></dl> |
---|
| 522 | |
---|
| 523 | <dl class="method"> |
---|
| 524 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Destroy"> |
---|
| 525 | <tt class="descname">Destroy</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Destroy" title="Permalink to this definition">¶</a></dt> |
---|
| 526 | <dd><p>Destroys the window safely. Frames and dialogs are not destroyed |
---|
| 527 | immediately when this function is called – they are added to a list |
---|
| 528 | of windows to be deleted on idle time, when all the window’s events |
---|
| 529 | have been processed. This prevents problems with events being sent to |
---|
| 530 | non-existent windows.</p> |
---|
| 531 | <p>Returns True if the window has either been successfully deleted, or it |
---|
| 532 | has been added to the list of windows pending real deletion.</p> |
---|
| 533 | </dd></dl> |
---|
| 534 | |
---|
| 535 | <dl class="method"> |
---|
| 536 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DestroyChildren"> |
---|
| 537 | <tt class="descname">DestroyChildren</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DestroyChildren" title="Permalink to this definition">¶</a></dt> |
---|
| 538 | <dd><p>Destroys all children of a window. Called automatically by the |
---|
| 539 | destructor.</p> |
---|
| 540 | </dd></dl> |
---|
| 541 | |
---|
| 542 | <dl class="method"> |
---|
| 543 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Disable"> |
---|
| 544 | <tt class="descname">Disable</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Disable" title="Permalink to this definition">¶</a></dt> |
---|
| 545 | <dd><p>Disables the window, same as Enable(false).</p> |
---|
| 546 | </dd></dl> |
---|
| 547 | |
---|
| 548 | <dl class="method"> |
---|
| 549 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Disconnect"> |
---|
| 550 | <tt class="descname">Disconnect</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Disconnect" title="Permalink to this definition">¶</a></dt> |
---|
| 551 | <dd><p>Disconnect(self, int id, int lastId=-1, EventType eventType=wxEVT_NULL, |
---|
| 552 | PyObject func=None) -> bool</p> |
---|
| 553 | </dd></dl> |
---|
| 554 | |
---|
| 555 | <dl class="method"> |
---|
| 556 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DissociateHandle"> |
---|
| 557 | <tt class="descname">DissociateHandle</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DissociateHandle" title="Permalink to this definition">¶</a></dt> |
---|
| 558 | <dd><p>Dissociate the current native handle from the window</p> |
---|
| 559 | </dd></dl> |
---|
| 560 | |
---|
| 561 | <dl class="method"> |
---|
| 562 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DoAddTool"> |
---|
| 563 | <tt class="descname">DoAddTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DoAddTool" title="Permalink to this definition">¶</a></dt> |
---|
| 564 | <dd><p>DoAddTool(self, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, |
---|
| 565 | int kind=ITEM_NORMAL, String shortHelp=EmptyString, |
---|
| 566 | String longHelp=EmptyString, |
---|
| 567 | PyObject clientData=None) -> ToolBarToolBase</p> |
---|
| 568 | </dd></dl> |
---|
| 569 | |
---|
| 570 | <dl class="method"> |
---|
| 571 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DoInsertTool"> |
---|
| 572 | <tt class="descname">DoInsertTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DoInsertTool" title="Permalink to this definition">¶</a></dt> |
---|
| 573 | <dd><p>DoInsertTool(self, size_t pos, int id, String label, Bitmap bitmap, Bitmap bmpDisabled=wxNullBitmap, |
---|
| 574 | int kind=ITEM_NORMAL, |
---|
| 575 | String shortHelp=EmptyString, String longHelp=EmptyString, |
---|
| 576 | PyObject clientData=None) -> ToolBarToolBase</p> |
---|
| 577 | </dd></dl> |
---|
| 578 | |
---|
| 579 | <dl class="method"> |
---|
| 580 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DragAcceptFiles"> |
---|
| 581 | <tt class="descname">DragAcceptFiles</tt><big>(</big><em>self</em>, <em>bool accept</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DragAcceptFiles" title="Permalink to this definition">¶</a></dt> |
---|
| 582 | <dd><p>Enables or disables eligibility for drop file events, EVT_DROP_FILES.</p> |
---|
| 583 | </dd></dl> |
---|
| 584 | |
---|
| 585 | <dl class="attribute"> |
---|
| 586 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.DropTarget"> |
---|
| 587 | <tt class="descname">DropTarget</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.DropTarget" title="Permalink to this definition">¶</a></dt> |
---|
| 588 | <dd><p>See <cite>GetDropTarget</cite> and <cite>SetDropTarget</cite></p> |
---|
| 589 | </dd></dl> |
---|
| 590 | |
---|
| 591 | <dl class="attribute"> |
---|
| 592 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.EffectiveMinSize"> |
---|
| 593 | <tt class="descname">EffectiveMinSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.EffectiveMinSize" title="Permalink to this definition">¶</a></dt> |
---|
| 594 | <dd><p>See <cite>GetEffectiveMinSize</cite></p> |
---|
| 595 | </dd></dl> |
---|
| 596 | |
---|
| 597 | <dl class="method"> |
---|
| 598 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Enable"> |
---|
| 599 | <tt class="descname">Enable</tt><big>(</big><em>self</em>, <em>bool enable=True</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Enable" title="Permalink to this definition">¶</a></dt> |
---|
| 600 | <dd><p>Enable or disable the window for user input. Note that when a parent |
---|
| 601 | window is disabled, all of its children are disabled as well and they |
---|
| 602 | are reenabled again when the parent is. Returns true if the window |
---|
| 603 | has been enabled or disabled, false if nothing was done, i.e. if the |
---|
| 604 | window had already been in the specified state.</p> |
---|
| 605 | </dd></dl> |
---|
| 606 | |
---|
| 607 | <dl class="method"> |
---|
| 608 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.EnableTool"> |
---|
| 609 | <tt class="descname">EnableTool</tt><big>(</big><em>self</em>, <em>int id</em>, <em>bool enable</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.EnableTool" title="Permalink to this definition">¶</a></dt> |
---|
| 610 | <dd></dd></dl> |
---|
| 611 | |
---|
| 612 | <dl class="attribute"> |
---|
| 613 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Enabled"> |
---|
| 614 | <tt class="descname">Enabled</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Enabled" title="Permalink to this definition">¶</a></dt> |
---|
| 615 | <dd><p>See <cite>IsEnabled</cite> and <cite>Enable</cite></p> |
---|
| 616 | </dd></dl> |
---|
| 617 | |
---|
| 618 | <dl class="attribute"> |
---|
| 619 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.EventHandler"> |
---|
| 620 | <tt class="descname">EventHandler</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.EventHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 621 | <dd><p>See <cite>GetEventHandler</cite> and <cite>SetEventHandler</cite></p> |
---|
| 622 | </dd></dl> |
---|
| 623 | |
---|
| 624 | <dl class="attribute"> |
---|
| 625 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.EvtHandlerEnabled"> |
---|
| 626 | <tt class="descname">EvtHandlerEnabled</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.EvtHandlerEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 627 | <dd><p>See <cite>GetEvtHandlerEnabled</cite> and <cite>SetEvtHandlerEnabled</cite></p> |
---|
| 628 | </dd></dl> |
---|
| 629 | |
---|
| 630 | <dl class="attribute"> |
---|
| 631 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ExtraStyle"> |
---|
| 632 | <tt class="descname">ExtraStyle</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ExtraStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 633 | <dd><p>See <cite>GetExtraStyle</cite> and <cite>SetExtraStyle</cite></p> |
---|
| 634 | </dd></dl> |
---|
| 635 | |
---|
| 636 | <dl class="method"> |
---|
| 637 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindById"> |
---|
| 638 | <tt class="descname">FindById</tt><big>(</big><em>self</em>, <em>int toolid</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindById" title="Permalink to this definition">¶</a></dt> |
---|
| 639 | <dd></dd></dl> |
---|
| 640 | |
---|
| 641 | <dl class="method"> |
---|
| 642 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindControl"> |
---|
| 643 | <tt class="descname">FindControl</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → Control<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindControl" title="Permalink to this definition">¶</a></dt> |
---|
| 644 | <dd></dd></dl> |
---|
| 645 | |
---|
| 646 | <dl class="staticmethod"> |
---|
| 647 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindFocus"> |
---|
| 648 | <em class="property">static </em><tt class="descname">FindFocus</tt><big>(</big><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindFocus" title="Permalink to this definition">¶</a></dt> |
---|
| 649 | <dd><p>Returns the window or control that currently has the keyboard focus, |
---|
| 650 | or None.</p> |
---|
| 651 | </dd></dl> |
---|
| 652 | |
---|
| 653 | <dl class="method"> |
---|
| 654 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindToolForPosition"> |
---|
| 655 | <tt class="descname">FindToolForPosition</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindToolForPosition" title="Permalink to this definition">¶</a></dt> |
---|
| 656 | <dd></dd></dl> |
---|
| 657 | |
---|
| 658 | <dl class="method"> |
---|
| 659 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindWindowById"> |
---|
| 660 | <tt class="descname">FindWindowById</tt><big>(</big><em>self</em>, <em>long winid</em><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindWindowById" title="Permalink to this definition">¶</a></dt> |
---|
| 661 | <dd><p>Find a child of this window by window ID</p> |
---|
| 662 | </dd></dl> |
---|
| 663 | |
---|
| 664 | <dl class="method"> |
---|
| 665 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindWindowByLabel"> |
---|
| 666 | <tt class="descname">FindWindowByLabel</tt><big>(</big><em>self</em>, <em>String label</em><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindWindowByLabel" title="Permalink to this definition">¶</a></dt> |
---|
| 667 | <dd><p>Find a child of this window by label</p> |
---|
| 668 | </dd></dl> |
---|
| 669 | |
---|
| 670 | <dl class="method"> |
---|
| 671 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FindWindowByName"> |
---|
| 672 | <tt class="descname">FindWindowByName</tt><big>(</big><em>self</em>, <em>String name</em><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FindWindowByName" title="Permalink to this definition">¶</a></dt> |
---|
| 673 | <dd><p>Find a child of this window by name</p> |
---|
| 674 | </dd></dl> |
---|
| 675 | |
---|
| 676 | <dl class="method"> |
---|
| 677 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Fit"> |
---|
| 678 | <tt class="descname">Fit</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Fit" title="Permalink to this definition">¶</a></dt> |
---|
| 679 | <dd><p>Sizes the window so that it fits around its subwindows. This function |
---|
| 680 | won’t do anything if there are no subwindows and will only really work |
---|
| 681 | correctly if sizers are used for the subwindows layout. Also, if the |
---|
| 682 | window has exactly one subwindow it is better (faster and the result |
---|
| 683 | is more precise as Fit adds some margin to account for fuzziness of |
---|
| 684 | its calculations) to call window.SetClientSize(child.GetSize()) |
---|
| 685 | instead of calling Fit.</p> |
---|
| 686 | </dd></dl> |
---|
| 687 | |
---|
| 688 | <dl class="method"> |
---|
| 689 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.FitInside"> |
---|
| 690 | <tt class="descname">FitInside</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.FitInside" title="Permalink to this definition">¶</a></dt> |
---|
| 691 | <dd><p>Similar to Fit, but sizes the interior (virtual) size of a |
---|
| 692 | window. Mainly useful with scrolled windows to reset scrollbars after |
---|
| 693 | sizing changes that do not trigger a size event, and/or scrolled |
---|
| 694 | windows without an interior sizer. This function similarly won’t do |
---|
| 695 | anything if there are no subwindows.</p> |
---|
| 696 | </dd></dl> |
---|
| 697 | |
---|
| 698 | <dl class="attribute"> |
---|
| 699 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Font"> |
---|
| 700 | <tt class="descname">Font</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Font" title="Permalink to this definition">¶</a></dt> |
---|
| 701 | <dd><p>See <cite>GetFont</cite> and <cite>SetFont</cite></p> |
---|
| 702 | </dd></dl> |
---|
| 703 | |
---|
| 704 | <dl class="attribute"> |
---|
| 705 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ForegroundColour"> |
---|
| 706 | <tt class="descname">ForegroundColour</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 707 | <dd><p>See <cite>GetForegroundColour</cite> and <cite>SetForegroundColour</cite></p> |
---|
| 708 | </dd></dl> |
---|
| 709 | |
---|
| 710 | <dl class="method"> |
---|
| 711 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Freeze"> |
---|
| 712 | <tt class="descname">Freeze</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Freeze" title="Permalink to this definition">¶</a></dt> |
---|
| 713 | <dd><p>Freezes the window or, in other words, prevents any updates from |
---|
| 714 | taking place on screen, the window is not redrawn at all. Thaw must be |
---|
| 715 | called to reenable window redrawing. Calls to Freeze/Thaw may be |
---|
| 716 | nested, with the actual Thaw being delayed until all the nesting has |
---|
| 717 | been undone.</p> |
---|
| 718 | <p>This method is useful for visual appearance optimization (for example, |
---|
| 719 | it is a good idea to use it before inserting large amount of text into |
---|
| 720 | a wxTextCtrl under wxGTK) but is not implemented on all platforms nor |
---|
| 721 | for all controls so it is mostly just a hint to wxWindows and not a |
---|
| 722 | mandatory directive.</p> |
---|
| 723 | </dd></dl> |
---|
| 724 | |
---|
| 725 | <dl class="method"> |
---|
| 726 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetAcceleratorTable"> |
---|
| 727 | <tt class="descname">GetAcceleratorTable</tt><big>(</big><em>self</em><big>)</big> → AcceleratorTable<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetAcceleratorTable" title="Permalink to this definition">¶</a></dt> |
---|
| 728 | <dd><p>Gets the accelerator table for this window.</p> |
---|
| 729 | </dd></dl> |
---|
| 730 | |
---|
| 731 | <dl class="method"> |
---|
| 732 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetAdjustedBestSize"> |
---|
| 733 | <tt class="descname">GetAdjustedBestSize</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetAdjustedBestSize" title="Permalink to this definition">¶</a></dt> |
---|
| 734 | <dd><p>Use <cite>GetEffectiveMinSize</cite> instead.</p> |
---|
| 735 | </dd></dl> |
---|
| 736 | |
---|
| 737 | <dl class="method"> |
---|
| 738 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetAlignment"> |
---|
| 739 | <tt class="descname">GetAlignment</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetAlignment" title="Permalink to this definition">¶</a></dt> |
---|
| 740 | <dd><p>Get the control alignment (left/right/centre, top/bottom/centre)</p> |
---|
| 741 | </dd></dl> |
---|
| 742 | |
---|
| 743 | <dl class="method"> |
---|
| 744 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetAutoLayout"> |
---|
| 745 | <tt class="descname">GetAutoLayout</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetAutoLayout" title="Permalink to this definition">¶</a></dt> |
---|
| 746 | <dd><p>Returns the current autoLayout setting</p> |
---|
| 747 | </dd></dl> |
---|
| 748 | |
---|
| 749 | <dl class="method"> |
---|
| 750 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBackgroundColour"> |
---|
| 751 | <tt class="descname">GetBackgroundColour</tt><big>(</big><em>self</em><big>)</big> → Colour<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 752 | <dd><p>Returns the background colour of the window.</p> |
---|
| 753 | </dd></dl> |
---|
| 754 | |
---|
| 755 | <dl class="method"> |
---|
| 756 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBackgroundStyle"> |
---|
| 757 | <tt class="descname">GetBackgroundStyle</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBackgroundStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 758 | <dd><p>Returns the background style of the window.</p> |
---|
| 759 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 760 | <col class="field-name" /> |
---|
| 761 | <col class="field-body" /> |
---|
| 762 | <tbody valign="top"> |
---|
| 763 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>SetBackgroundStyle</cite></td> |
---|
| 764 | </tr> |
---|
| 765 | </tbody> |
---|
| 766 | </table> |
---|
| 767 | </dd></dl> |
---|
| 768 | |
---|
| 769 | <dl class="method"> |
---|
| 770 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBestFittingSize"> |
---|
| 771 | <tt class="descname">GetBestFittingSize</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBestFittingSize" title="Permalink to this definition">¶</a></dt> |
---|
| 772 | <dd><p>Use <cite>GetEffectiveMinSize</cite> instead.</p> |
---|
| 773 | </dd></dl> |
---|
| 774 | |
---|
| 775 | <dl class="method"> |
---|
| 776 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBestSize"> |
---|
| 777 | <tt class="descname">GetBestSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBestSize" title="Permalink to this definition">¶</a></dt> |
---|
| 778 | <dd><p>This function returns the best acceptable minimal size for the |
---|
| 779 | window, if applicable. For example, for a static text control, it will |
---|
| 780 | be the minimal size such that the control label is not truncated. For |
---|
| 781 | windows containing subwindows (such as wx.Panel), the size returned by |
---|
| 782 | this function will be the same as the size the window would have had |
---|
| 783 | after calling Fit.</p> |
---|
| 784 | </dd></dl> |
---|
| 785 | |
---|
| 786 | <dl class="method"> |
---|
| 787 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBestSizeTuple"> |
---|
| 788 | <tt class="descname">GetBestSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBestSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
| 789 | <dd><p>This function returns the best acceptable minimal size for the |
---|
| 790 | window, if applicable. For example, for a static text control, it will |
---|
| 791 | be the minimal size such that the control label is not truncated. For |
---|
| 792 | windows containing subwindows (such as wx.Panel), the size returned by |
---|
| 793 | this function will be the same as the size the window would have had |
---|
| 794 | after calling Fit.</p> |
---|
| 795 | </dd></dl> |
---|
| 796 | |
---|
| 797 | <dl class="method"> |
---|
| 798 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBestVirtualSize"> |
---|
| 799 | <tt class="descname">GetBestVirtualSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBestVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
| 800 | <dd><p>Return the largest of ClientSize and BestSize (as determined by a |
---|
| 801 | sizer, interior children, or other means)</p> |
---|
| 802 | </dd></dl> |
---|
| 803 | |
---|
| 804 | <dl class="method"> |
---|
| 805 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetBorder"> |
---|
| 806 | <tt class="descname">GetBorder</tt><big>(</big><em>self</em>, <em>long flags</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetBorder" title="Permalink to this definition">¶</a></dt> |
---|
| 807 | <dd><p>GetBorder(self) -> int</p> |
---|
| 808 | <p>Get border for the flags of this window</p> |
---|
| 809 | </dd></dl> |
---|
| 810 | |
---|
| 811 | <dl class="staticmethod"> |
---|
| 812 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetCapture"> |
---|
| 813 | <em class="property">static </em><tt class="descname">GetCapture</tt><big>(</big><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetCapture" title="Permalink to this definition">¶</a></dt> |
---|
| 814 | <dd><p>Returns the window which currently captures the mouse or None</p> |
---|
| 815 | </dd></dl> |
---|
| 816 | |
---|
| 817 | <dl class="method"> |
---|
| 818 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetCaret"> |
---|
| 819 | <tt class="descname">GetCaret</tt><big>(</big><em>self</em><big>)</big> → Caret<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetCaret" title="Permalink to this definition">¶</a></dt> |
---|
| 820 | <dd><p>Returns the caret associated with the window.</p> |
---|
| 821 | </dd></dl> |
---|
| 822 | |
---|
| 823 | <dl class="method"> |
---|
| 824 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetCharHeight"> |
---|
| 825 | <tt class="descname">GetCharHeight</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetCharHeight" title="Permalink to this definition">¶</a></dt> |
---|
| 826 | <dd><p>Get the (average) character size for the current font.</p> |
---|
| 827 | </dd></dl> |
---|
| 828 | |
---|
| 829 | <dl class="method"> |
---|
| 830 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetCharWidth"> |
---|
| 831 | <tt class="descname">GetCharWidth</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetCharWidth" title="Permalink to this definition">¶</a></dt> |
---|
| 832 | <dd><p>Get the (average) character size for the current font.</p> |
---|
| 833 | </dd></dl> |
---|
| 834 | |
---|
| 835 | <dl class="method"> |
---|
| 836 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetChildren"> |
---|
| 837 | <tt class="descname">GetChildren</tt><big>(</big><em>self</em><big>)</big> → WindowList<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetChildren" title="Permalink to this definition">¶</a></dt> |
---|
| 838 | <dd><p>Returns an object containing a list of the window’s children. The |
---|
| 839 | object provides a Python sequence-like interface over the internal |
---|
| 840 | list maintained by the window..</p> |
---|
| 841 | </dd></dl> |
---|
| 842 | |
---|
| 843 | <dl class="staticmethod"> |
---|
| 844 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetClassDefaultAttributes"> |
---|
| 845 | <em class="property">static </em><tt class="descname">GetClassDefaultAttributes</tt><big>(</big><em>int variant=WINDOW_VARIANT_NORMAL</em><big>)</big> → VisualAttributes<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetClassDefaultAttributes" title="Permalink to this definition">¶</a></dt> |
---|
| 846 | <dd><p>Get the default attributes for this class. This is useful if you want |
---|
| 847 | to use the same font or colour in your own control as in a standard |
---|
| 848 | control – which is a much better idea than hard coding specific |
---|
| 849 | colours or fonts which might look completely out of place on the |
---|
| 850 | user’s system, especially if it uses themes.</p> |
---|
| 851 | <p>The variant parameter is only relevant under Mac currently and is |
---|
| 852 | ignore under other platforms. Under Mac, it will change the size of |
---|
| 853 | the returned font. See <cite>wx.Window.SetWindowVariant</cite> for more about |
---|
| 854 | this.</p> |
---|
| 855 | </dd></dl> |
---|
| 856 | |
---|
| 857 | <dl class="method"> |
---|
| 858 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetClassName"> |
---|
| 859 | <tt class="descname">GetClassName</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetClassName" title="Permalink to this definition">¶</a></dt> |
---|
| 860 | <dd><p>Returns the class name of the C++ class using wxRTTI.</p> |
---|
| 861 | </dd></dl> |
---|
| 862 | |
---|
| 863 | <dl class="method"> |
---|
| 864 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetClientAreaOrigin"> |
---|
| 865 | <tt class="descname">GetClientAreaOrigin</tt><big>(</big><em>self</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetClientAreaOrigin" title="Permalink to this definition">¶</a></dt> |
---|
| 866 | <dd><p>Get the origin of the client area of the window relative to the |
---|
| 867 | window’s top left corner (the client area may be shifted because of |
---|
| 868 | the borders, scrollbars, other decorations...)</p> |
---|
| 869 | </dd></dl> |
---|
| 870 | |
---|
| 871 | <dl class="method"> |
---|
| 872 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetClientRect"> |
---|
| 873 | <tt class="descname">GetClientRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetClientRect" title="Permalink to this definition">¶</a></dt> |
---|
| 874 | <dd><p>Get the client area position and size as a <cite>wx.Rect</cite> object.</p> |
---|
| 875 | </dd></dl> |
---|
| 876 | |
---|
| 877 | <dl class="method"> |
---|
| 878 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetClientSize"> |
---|
| 879 | <tt class="descname">GetClientSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetClientSize" title="Permalink to this definition">¶</a></dt> |
---|
| 880 | <dd><p>This gets the size of the window’s ‘client area’ in pixels. The client |
---|
| 881 | area is the area which may be drawn on by the programmer, excluding |
---|
| 882 | title bar, border, scrollbars, etc.</p> |
---|
| 883 | </dd></dl> |
---|
| 884 | |
---|
| 885 | <dl class="method"> |
---|
| 886 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetClientSizeTuple"> |
---|
| 887 | <tt class="descname">GetClientSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetClientSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
| 888 | <dd><p>This gets the size of the window’s ‘client area’ in pixels. The client |
---|
| 889 | area is the area which may be drawn on by the programmer, excluding |
---|
| 890 | title bar, border, scrollbars, etc.</p> |
---|
| 891 | </dd></dl> |
---|
| 892 | |
---|
| 893 | <dl class="method"> |
---|
| 894 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetConstraints"> |
---|
| 895 | <tt class="descname">GetConstraints</tt><big>(</big><em>self</em><big>)</big> → LayoutConstraints<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetConstraints" title="Permalink to this definition">¶</a></dt> |
---|
| 896 | <dd><p>Returns a pointer to the window’s layout constraints, or None if there |
---|
| 897 | are none.</p> |
---|
| 898 | </dd></dl> |
---|
| 899 | |
---|
| 900 | <dl class="method"> |
---|
| 901 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetContainingSizer"> |
---|
| 902 | <tt class="descname">GetContainingSizer</tt><big>(</big><em>self</em><big>)</big> → Sizer<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetContainingSizer" title="Permalink to this definition">¶</a></dt> |
---|
| 903 | <dd><p>Return the sizer that this window is a member of, if any, otherwise None.</p> |
---|
| 904 | </dd></dl> |
---|
| 905 | |
---|
| 906 | <dl class="method"> |
---|
| 907 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetCursor"> |
---|
| 908 | <tt class="descname">GetCursor</tt><big>(</big><em>self</em><big>)</big> → Cursor<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetCursor" title="Permalink to this definition">¶</a></dt> |
---|
| 909 | <dd><p>Return the cursor associated with this window.</p> |
---|
| 910 | </dd></dl> |
---|
| 911 | |
---|
| 912 | <dl class="method"> |
---|
| 913 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetDefaultAttributes"> |
---|
| 914 | <tt class="descname">GetDefaultAttributes</tt><big>(</big><em>self</em><big>)</big> → VisualAttributes<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetDefaultAttributes" title="Permalink to this definition">¶</a></dt> |
---|
| 915 | <dd><p>Get the default attributes for an instance of this class. This is |
---|
| 916 | useful if you want to use the same font or colour in your own control |
---|
| 917 | as in a standard control – which is a much better idea than hard |
---|
| 918 | coding specific colours or fonts which might look completely out of |
---|
| 919 | place on the user’s system, especially if it uses themes.</p> |
---|
| 920 | </dd></dl> |
---|
| 921 | |
---|
| 922 | <dl class="method"> |
---|
| 923 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetDropTarget"> |
---|
| 924 | <tt class="descname">GetDropTarget</tt><big>(</big><em>self</em><big>)</big> → DropTarget<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetDropTarget" title="Permalink to this definition">¶</a></dt> |
---|
| 925 | <dd><p>Returns the associated drop target, which may be None.</p> |
---|
| 926 | </dd></dl> |
---|
| 927 | |
---|
| 928 | <dl class="method"> |
---|
| 929 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetEffectiveMinSize"> |
---|
| 930 | <tt class="descname">GetEffectiveMinSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetEffectiveMinSize" title="Permalink to this definition">¶</a></dt> |
---|
| 931 | <dd><p>This function will merge the window’s best size into the window’s |
---|
| 932 | minimum size, giving priority to the min size components, and returns |
---|
| 933 | the results.</p> |
---|
| 934 | </dd></dl> |
---|
| 935 | |
---|
| 936 | <dl class="method"> |
---|
| 937 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetEventHandler"> |
---|
| 938 | <tt class="descname">GetEventHandler</tt><big>(</big><em>self</em><big>)</big> → EvtHandler<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 939 | <dd><p>Returns the event handler for this window. By default, the window is |
---|
| 940 | its own event handler.</p> |
---|
| 941 | </dd></dl> |
---|
| 942 | |
---|
| 943 | <dl class="method"> |
---|
| 944 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetEvtHandlerEnabled"> |
---|
| 945 | <tt class="descname">GetEvtHandlerEnabled</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetEvtHandlerEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 946 | <dd></dd></dl> |
---|
| 947 | |
---|
| 948 | <dl class="method"> |
---|
| 949 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetExtraStyle"> |
---|
| 950 | <tt class="descname">GetExtraStyle</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetExtraStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 951 | <dd><p>Returns the extra style bits for the window.</p> |
---|
| 952 | </dd></dl> |
---|
| 953 | |
---|
| 954 | <dl class="method"> |
---|
| 955 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetFont"> |
---|
| 956 | <tt class="descname">GetFont</tt><big>(</big><em>self</em><big>)</big> → Font<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetFont" title="Permalink to this definition">¶</a></dt> |
---|
| 957 | <dd><p>Returns the default font used for this window.</p> |
---|
| 958 | </dd></dl> |
---|
| 959 | |
---|
| 960 | <dl class="method"> |
---|
| 961 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetForegroundColour"> |
---|
| 962 | <tt class="descname">GetForegroundColour</tt><big>(</big><em>self</em><big>)</big> → Colour<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 963 | <dd><p>Returns the foreground colour of the window. The interpretation of |
---|
| 964 | foreground colour is dependent on the window class; it may be the text |
---|
| 965 | colour or other colour, or it may not be used at all.</p> |
---|
| 966 | </dd></dl> |
---|
| 967 | |
---|
| 968 | <dl class="method"> |
---|
| 969 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetFullTextExtent"> |
---|
| 970 | <tt class="descname">GetFullTextExtent</tt><big>(</big><em>String string</em>, <em>Font font=None</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetFullTextExtent" title="Permalink to this definition">¶</a></dt> |
---|
| 971 | <dd><blockquote> |
---|
| 972 | <div>(width, height, descent, externalLeading)</div></blockquote> |
---|
| 973 | <p>Get the width, height, decent and leading of the text using the |
---|
| 974 | current or specified font.</p> |
---|
| 975 | </dd></dl> |
---|
| 976 | |
---|
| 977 | <dl class="method"> |
---|
| 978 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetGrandParent"> |
---|
| 979 | <tt class="descname">GetGrandParent</tt><big>(</big><em>self</em><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetGrandParent" title="Permalink to this definition">¶</a></dt> |
---|
| 980 | <dd><p>Returns the parent of the parent of this window, or None if there |
---|
| 981 | isn’t one.</p> |
---|
| 982 | </dd></dl> |
---|
| 983 | |
---|
| 984 | <dl class="method"> |
---|
| 985 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetGtkWidget"> |
---|
| 986 | <tt class="descname">GetGtkWidget</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetGtkWidget" title="Permalink to this definition">¶</a></dt> |
---|
| 987 | <dd><p>On wxGTK returns a pointer to the GtkWidget for this window as a long |
---|
| 988 | integer. On the other platforms this method returns zero.</p> |
---|
| 989 | </dd></dl> |
---|
| 990 | |
---|
| 991 | <dl class="method"> |
---|
| 992 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetHandle"> |
---|
| 993 | <tt class="descname">GetHandle</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetHandle" title="Permalink to this definition">¶</a></dt> |
---|
| 994 | <dd><p>Returns the platform-specific handle (as a long integer) of the |
---|
| 995 | physical window. On wxMSW this is the win32 window handle, on wxGTK |
---|
| 996 | it is the XWindow ID, and on wxMac it is the ControlRef.</p> |
---|
| 997 | </dd></dl> |
---|
| 998 | |
---|
| 999 | <dl class="method"> |
---|
| 1000 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetHelpText"> |
---|
| 1001 | <tt class="descname">GetHelpText</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetHelpText" title="Permalink to this definition">¶</a></dt> |
---|
| 1002 | <dd><p>Gets the help text to be used as context-sensitive help for this |
---|
| 1003 | window. Note that the text is actually stored by the current |
---|
| 1004 | <cite>wx.HelpProvider</cite> implementation, and not in the window object itself.</p> |
---|
| 1005 | </dd></dl> |
---|
| 1006 | |
---|
| 1007 | <dl class="method"> |
---|
| 1008 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetHelpTextAtPoint"> |
---|
| 1009 | <tt class="descname">GetHelpTextAtPoint</tt><big>(</big><em>self</em>, <em>Point pt</em>, <em>wxHelpEvent::Origin origin</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetHelpTextAtPoint" title="Permalink to this definition">¶</a></dt> |
---|
| 1010 | <dd><p>Get the help string associated with the given position in this window.</p> |
---|
| 1011 | <p>Notice that pt may be invalid if event origin is keyboard or unknown |
---|
| 1012 | and this method should return the global window help text then</p> |
---|
| 1013 | </dd></dl> |
---|
| 1014 | |
---|
| 1015 | <dl class="method"> |
---|
| 1016 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetId"> |
---|
| 1017 | <tt class="descname">GetId</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetId" title="Permalink to this definition">¶</a></dt> |
---|
| 1018 | <dd><p>Returns the identifier of the window. Each window has an integer |
---|
| 1019 | identifier. If the application has not provided one (or the default Id |
---|
| 1020 | -1 is used) then an unique identifier with a negative value will be |
---|
| 1021 | generated.</p> |
---|
| 1022 | </dd></dl> |
---|
| 1023 | |
---|
| 1024 | <dl class="method"> |
---|
| 1025 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetLabel"> |
---|
| 1026 | <tt class="descname">GetLabel</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetLabel" title="Permalink to this definition">¶</a></dt> |
---|
| 1027 | <dd><p>Generic way of getting a label from any window, for identification |
---|
| 1028 | purposes. The interpretation of this function differs from class to |
---|
| 1029 | class. For frames and dialogs, the value returned is the title. For |
---|
| 1030 | buttons or static text controls, it is the button text. This function |
---|
| 1031 | can be useful for meta-programs such as testing tools or special-needs |
---|
| 1032 | access programs)which need to identify windows by name.</p> |
---|
| 1033 | </dd></dl> |
---|
| 1034 | |
---|
| 1035 | <dl class="method"> |
---|
| 1036 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetLabelText"> |
---|
| 1037 | <tt class="descname">GetLabelText</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetLabelText" title="Permalink to this definition">¶</a></dt> |
---|
| 1038 | <dd><p>Get just the text of the label, without mnemonic characters (‘&’)</p> |
---|
| 1039 | </dd></dl> |
---|
| 1040 | |
---|
| 1041 | <dl class="method"> |
---|
| 1042 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetLayoutDirection"> |
---|
| 1043 | <tt class="descname">GetLayoutDirection</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetLayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
| 1044 | <dd><p>Get the layout direction (LTR or RTL) for this window. Returns |
---|
| 1045 | <tt class="docutils literal"><span class="pre">wx.Layout_Default</span></tt> if layout direction is not supported.</p> |
---|
| 1046 | </dd></dl> |
---|
| 1047 | |
---|
| 1048 | <dl class="method"> |
---|
| 1049 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMargins"> |
---|
| 1050 | <tt class="descname">GetMargins</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMargins" title="Permalink to this definition">¶</a></dt> |
---|
| 1051 | <dd></dd></dl> |
---|
| 1052 | |
---|
| 1053 | <dl class="method"> |
---|
| 1054 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMaxCols"> |
---|
| 1055 | <tt class="descname">GetMaxCols</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMaxCols" title="Permalink to this definition">¶</a></dt> |
---|
| 1056 | <dd></dd></dl> |
---|
| 1057 | |
---|
| 1058 | <dl class="method"> |
---|
| 1059 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMaxHeight"> |
---|
| 1060 | <tt class="descname">GetMaxHeight</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMaxHeight" title="Permalink to this definition">¶</a></dt> |
---|
| 1061 | <dd></dd></dl> |
---|
| 1062 | |
---|
| 1063 | <dl class="method"> |
---|
| 1064 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMaxRows"> |
---|
| 1065 | <tt class="descname">GetMaxRows</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMaxRows" title="Permalink to this definition">¶</a></dt> |
---|
| 1066 | <dd></dd></dl> |
---|
| 1067 | |
---|
| 1068 | <dl class="method"> |
---|
| 1069 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMaxSize"> |
---|
| 1070 | <tt class="descname">GetMaxSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMaxSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1071 | <dd></dd></dl> |
---|
| 1072 | |
---|
| 1073 | <dl class="method"> |
---|
| 1074 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMaxWidth"> |
---|
| 1075 | <tt class="descname">GetMaxWidth</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMaxWidth" title="Permalink to this definition">¶</a></dt> |
---|
| 1076 | <dd></dd></dl> |
---|
| 1077 | |
---|
| 1078 | <dl class="method"> |
---|
| 1079 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMinHeight"> |
---|
| 1080 | <tt class="descname">GetMinHeight</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMinHeight" title="Permalink to this definition">¶</a></dt> |
---|
| 1081 | <dd></dd></dl> |
---|
| 1082 | |
---|
| 1083 | <dl class="method"> |
---|
| 1084 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMinSize"> |
---|
| 1085 | <tt class="descname">GetMinSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMinSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1086 | <dd></dd></dl> |
---|
| 1087 | |
---|
| 1088 | <dl class="method"> |
---|
| 1089 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetMinWidth"> |
---|
| 1090 | <tt class="descname">GetMinWidth</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetMinWidth" title="Permalink to this definition">¶</a></dt> |
---|
| 1091 | <dd></dd></dl> |
---|
| 1092 | |
---|
| 1093 | <dl class="method"> |
---|
| 1094 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetName"> |
---|
| 1095 | <tt class="descname">GetName</tt><big>(</big><em>self</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetName" title="Permalink to this definition">¶</a></dt> |
---|
| 1096 | <dd><p>Returns the windows name. This name is not guaranteed to be unique; |
---|
| 1097 | it is up to the programmer to supply an appropriate name in the window |
---|
| 1098 | constructor or via wx.Window.SetName.</p> |
---|
| 1099 | </dd></dl> |
---|
| 1100 | |
---|
| 1101 | <dl class="method"> |
---|
| 1102 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetNextHandler"> |
---|
| 1103 | <tt class="descname">GetNextHandler</tt><big>(</big><em>self</em><big>)</big> → EvtHandler<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetNextHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1104 | <dd></dd></dl> |
---|
| 1105 | |
---|
| 1106 | <dl class="method"> |
---|
| 1107 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetParent"> |
---|
| 1108 | <tt class="descname">GetParent</tt><big>(</big><em>self</em><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetParent" title="Permalink to this definition">¶</a></dt> |
---|
| 1109 | <dd><p>Returns the parent window of this window, or None if there isn’t one.</p> |
---|
| 1110 | </dd></dl> |
---|
| 1111 | |
---|
| 1112 | <dl class="method"> |
---|
| 1113 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetPosition"> |
---|
| 1114 | <tt class="descname">GetPosition</tt><big>(</big><em>self</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetPosition" title="Permalink to this definition">¶</a></dt> |
---|
| 1115 | <dd><p>Get the window’s position. Notice that the position is in client |
---|
| 1116 | coordinates for child windows and screen coordinates for the top level |
---|
| 1117 | ones, use <cite>GetScreenPosition</cite> if you need screen coordinates for all |
---|
| 1118 | kinds of windows.</p> |
---|
| 1119 | </dd></dl> |
---|
| 1120 | |
---|
| 1121 | <dl class="method"> |
---|
| 1122 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetPositionTuple"> |
---|
| 1123 | <tt class="descname">GetPositionTuple</tt><big>(</big><em>) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetPositionTuple" title="Permalink to this definition">¶</a></dt> |
---|
| 1124 | <dd><p>Get the window’s position. Notice that the position is in client |
---|
| 1125 | coordinates for child windows and screen coordinates for the top level |
---|
| 1126 | ones, use <cite>GetScreenPosition</cite> if you need screen coordinates for all |
---|
| 1127 | kinds of windows.</p> |
---|
| 1128 | </dd></dl> |
---|
| 1129 | |
---|
| 1130 | <dl class="method"> |
---|
| 1131 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetPreviousHandler"> |
---|
| 1132 | <tt class="descname">GetPreviousHandler</tt><big>(</big><em>self</em><big>)</big> → EvtHandler<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetPreviousHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1133 | <dd></dd></dl> |
---|
| 1134 | |
---|
| 1135 | <dl class="method"> |
---|
| 1136 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetRect"> |
---|
| 1137 | <tt class="descname">GetRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetRect" title="Permalink to this definition">¶</a></dt> |
---|
| 1138 | <dd><p>Returns the size and position of the window as a <cite>wx.Rect</cite> object.</p> |
---|
| 1139 | </dd></dl> |
---|
| 1140 | |
---|
| 1141 | <dl class="method"> |
---|
| 1142 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetScreenPosition"> |
---|
| 1143 | <tt class="descname">GetScreenPosition</tt><big>(</big><em>self</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetScreenPosition" title="Permalink to this definition">¶</a></dt> |
---|
| 1144 | <dd><p>Get the position of the window in screen coordinantes.</p> |
---|
| 1145 | </dd></dl> |
---|
| 1146 | |
---|
| 1147 | <dl class="method"> |
---|
| 1148 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetScreenPositionTuple"> |
---|
| 1149 | <tt class="descname">GetScreenPositionTuple</tt><big>(</big><em>) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetScreenPositionTuple" title="Permalink to this definition">¶</a></dt> |
---|
| 1150 | <dd><p>Get the position of the window in screen coordinantes.</p> |
---|
| 1151 | </dd></dl> |
---|
| 1152 | |
---|
| 1153 | <dl class="method"> |
---|
| 1154 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetScreenRect"> |
---|
| 1155 | <tt class="descname">GetScreenRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetScreenRect" title="Permalink to this definition">¶</a></dt> |
---|
| 1156 | <dd><p>Returns the size and position of the window in screen coordinantes as |
---|
| 1157 | a <cite>wx.Rect</cite> object.</p> |
---|
| 1158 | </dd></dl> |
---|
| 1159 | |
---|
| 1160 | <dl class="method"> |
---|
| 1161 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetScrollPos"> |
---|
| 1162 | <tt class="descname">GetScrollPos</tt><big>(</big><em>self</em>, <em>int orientation</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetScrollPos" title="Permalink to this definition">¶</a></dt> |
---|
| 1163 | <dd><p>Returns the built-in scrollbar position.</p> |
---|
| 1164 | </dd></dl> |
---|
| 1165 | |
---|
| 1166 | <dl class="method"> |
---|
| 1167 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetScrollRange"> |
---|
| 1168 | <tt class="descname">GetScrollRange</tt><big>(</big><em>self</em>, <em>int orientation</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetScrollRange" title="Permalink to this definition">¶</a></dt> |
---|
| 1169 | <dd><p>Returns the built-in scrollbar range.</p> |
---|
| 1170 | </dd></dl> |
---|
| 1171 | |
---|
| 1172 | <dl class="method"> |
---|
| 1173 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetScrollThumb"> |
---|
| 1174 | <tt class="descname">GetScrollThumb</tt><big>(</big><em>self</em>, <em>int orientation</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetScrollThumb" title="Permalink to this definition">¶</a></dt> |
---|
| 1175 | <dd><p>Returns the built-in scrollbar thumb size.</p> |
---|
| 1176 | </dd></dl> |
---|
| 1177 | |
---|
| 1178 | <dl class="method"> |
---|
| 1179 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetSize"> |
---|
| 1180 | <tt class="descname">GetSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1181 | <dd><p>Get the window size.</p> |
---|
| 1182 | </dd></dl> |
---|
| 1183 | |
---|
| 1184 | <dl class="method"> |
---|
| 1185 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetSizeTuple"> |
---|
| 1186 | <tt class="descname">GetSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
| 1187 | <dd><p>Get the window size.</p> |
---|
| 1188 | </dd></dl> |
---|
| 1189 | |
---|
| 1190 | <dl class="method"> |
---|
| 1191 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetSizer"> |
---|
| 1192 | <tt class="descname">GetSizer</tt><big>(</big><em>self</em><big>)</big> → Sizer<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetSizer" title="Permalink to this definition">¶</a></dt> |
---|
| 1193 | <dd><p>Return the sizer associated with the window by a previous call to |
---|
| 1194 | SetSizer or None if there isn’t one.</p> |
---|
| 1195 | </dd></dl> |
---|
| 1196 | |
---|
| 1197 | <dl class="method"> |
---|
| 1198 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetTextExtent"> |
---|
| 1199 | <tt class="descname">GetTextExtent</tt><big>(</big><em>String string) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetTextExtent" title="Permalink to this definition">¶</a></dt> |
---|
| 1200 | <dd><p>Get the width and height of the text using the current font.</p> |
---|
| 1201 | </dd></dl> |
---|
| 1202 | |
---|
| 1203 | <dl class="method"> |
---|
| 1204 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetThemeEnabled"> |
---|
| 1205 | <tt class="descname">GetThemeEnabled</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetThemeEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 1206 | <dd><p>Return the themeEnabled flag.</p> |
---|
| 1207 | </dd></dl> |
---|
| 1208 | |
---|
| 1209 | <dl class="method"> |
---|
| 1210 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolBitmapSize"> |
---|
| 1211 | <tt class="descname">GetToolBitmapSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolBitmapSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1212 | <dd></dd></dl> |
---|
| 1213 | |
---|
| 1214 | <dl class="method"> |
---|
| 1215 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolClientData"> |
---|
| 1216 | <tt class="descname">GetToolClientData</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → PyObject<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolClientData" title="Permalink to this definition">¶</a></dt> |
---|
| 1217 | <dd></dd></dl> |
---|
| 1218 | |
---|
| 1219 | <dl class="method"> |
---|
| 1220 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolEnabled"> |
---|
| 1221 | <tt class="descname">GetToolEnabled</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 1222 | <dd></dd></dl> |
---|
| 1223 | |
---|
| 1224 | <dl class="method"> |
---|
| 1225 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolLongHelp"> |
---|
| 1226 | <tt class="descname">GetToolLongHelp</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolLongHelp" title="Permalink to this definition">¶</a></dt> |
---|
| 1227 | <dd></dd></dl> |
---|
| 1228 | |
---|
| 1229 | <dl class="method"> |
---|
| 1230 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolMargins"> |
---|
| 1231 | <tt class="descname">GetToolMargins</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolMargins" title="Permalink to this definition">¶</a></dt> |
---|
| 1232 | <dd></dd></dl> |
---|
| 1233 | |
---|
| 1234 | <dl class="method"> |
---|
| 1235 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolPacking"> |
---|
| 1236 | <tt class="descname">GetToolPacking</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolPacking" title="Permalink to this definition">¶</a></dt> |
---|
| 1237 | <dd></dd></dl> |
---|
| 1238 | |
---|
| 1239 | <dl class="method"> |
---|
| 1240 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolPos"> |
---|
| 1241 | <tt class="descname">GetToolPos</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolPos" title="Permalink to this definition">¶</a></dt> |
---|
| 1242 | <dd></dd></dl> |
---|
| 1243 | |
---|
| 1244 | <dl class="method"> |
---|
| 1245 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolSeparation"> |
---|
| 1246 | <tt class="descname">GetToolSeparation</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolSeparation" title="Permalink to this definition">¶</a></dt> |
---|
| 1247 | <dd></dd></dl> |
---|
| 1248 | |
---|
| 1249 | <dl class="method"> |
---|
| 1250 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolShortHelp"> |
---|
| 1251 | <tt class="descname">GetToolShortHelp</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → String<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolShortHelp" title="Permalink to this definition">¶</a></dt> |
---|
| 1252 | <dd></dd></dl> |
---|
| 1253 | |
---|
| 1254 | <dl class="method"> |
---|
| 1255 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolSize"> |
---|
| 1256 | <tt class="descname">GetToolSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1257 | <dd></dd></dl> |
---|
| 1258 | |
---|
| 1259 | <dl class="method"> |
---|
| 1260 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolState"> |
---|
| 1261 | <tt class="descname">GetToolState</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolState" title="Permalink to this definition">¶</a></dt> |
---|
| 1262 | <dd></dd></dl> |
---|
| 1263 | |
---|
| 1264 | <dl class="method"> |
---|
| 1265 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolTip"> |
---|
| 1266 | <tt class="descname">GetToolTip</tt><big>(</big><em>self</em><big>)</big> → ToolTip<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolTip" title="Permalink to this definition">¶</a></dt> |
---|
| 1267 | <dd><p>get the associated tooltip or None if none</p> |
---|
| 1268 | </dd></dl> |
---|
| 1269 | |
---|
| 1270 | <dl class="method"> |
---|
| 1271 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetToolsCount"> |
---|
| 1272 | <tt class="descname">GetToolsCount</tt><big>(</big><em>self</em><big>)</big> → size_t<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetToolsCount" title="Permalink to this definition">¶</a></dt> |
---|
| 1273 | <dd></dd></dl> |
---|
| 1274 | |
---|
| 1275 | <dl class="method"> |
---|
| 1276 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetTopLevelParent"> |
---|
| 1277 | <tt class="descname">GetTopLevelParent</tt><big>(</big><em>self</em><big>)</big> → Window<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetTopLevelParent" title="Permalink to this definition">¶</a></dt> |
---|
| 1278 | <dd><p>Returns the first frame or dialog in this window’s parental hierarchy.</p> |
---|
| 1279 | </dd></dl> |
---|
| 1280 | |
---|
| 1281 | <dl class="method"> |
---|
| 1282 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetUpdateClientRect"> |
---|
| 1283 | <tt class="descname">GetUpdateClientRect</tt><big>(</big><em>self</em><big>)</big> → Rect<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetUpdateClientRect" title="Permalink to this definition">¶</a></dt> |
---|
| 1284 | <dd><p>Get the update rectangle region bounding box in client coords.</p> |
---|
| 1285 | </dd></dl> |
---|
| 1286 | |
---|
| 1287 | <dl class="method"> |
---|
| 1288 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetUpdateRegion"> |
---|
| 1289 | <tt class="descname">GetUpdateRegion</tt><big>(</big><em>self</em><big>)</big> → Region<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetUpdateRegion" title="Permalink to this definition">¶</a></dt> |
---|
| 1290 | <dd><p>Returns the region specifying which parts of the window have been |
---|
| 1291 | damaged. Should only be called within an EVT_PAINT handler.</p> |
---|
| 1292 | </dd></dl> |
---|
| 1293 | |
---|
| 1294 | <dl class="method"> |
---|
| 1295 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetValidator"> |
---|
| 1296 | <tt class="descname">GetValidator</tt><big>(</big><em>self</em><big>)</big> → Validator<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetValidator" title="Permalink to this definition">¶</a></dt> |
---|
| 1297 | <dd><p>Returns a pointer to the current validator for the window, or None if |
---|
| 1298 | there is none.</p> |
---|
| 1299 | </dd></dl> |
---|
| 1300 | |
---|
| 1301 | <dl class="method"> |
---|
| 1302 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetVirtualSize"> |
---|
| 1303 | <tt class="descname">GetVirtualSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1304 | <dd><p>Get the the virtual size of the window in pixels. For most windows |
---|
| 1305 | this is just the client area of the window, but for some like scrolled |
---|
| 1306 | windows it is more or less independent of the screen window size.</p> |
---|
| 1307 | </dd></dl> |
---|
| 1308 | |
---|
| 1309 | <dl class="method"> |
---|
| 1310 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetVirtualSizeTuple"> |
---|
| 1311 | <tt class="descname">GetVirtualSizeTuple</tt><big>(</big><em>) -> (width</em>, <em>height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetVirtualSizeTuple" title="Permalink to this definition">¶</a></dt> |
---|
| 1312 | <dd><p>Get the the virtual size of the window in pixels. For most windows |
---|
| 1313 | this is just the client area of the window, but for some like scrolled |
---|
| 1314 | windows it is more or less independent of the screen window size.</p> |
---|
| 1315 | </dd></dl> |
---|
| 1316 | |
---|
| 1317 | <dl class="method"> |
---|
| 1318 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetWindowBorderSize"> |
---|
| 1319 | <tt class="descname">GetWindowBorderSize</tt><big>(</big><em>self</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetWindowBorderSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1320 | <dd><p>Return the size of the left/right and top/bottom borders.</p> |
---|
| 1321 | </dd></dl> |
---|
| 1322 | |
---|
| 1323 | <dl class="method"> |
---|
| 1324 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetWindowStyle"> |
---|
| 1325 | <tt class="descname">GetWindowStyle</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetWindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 1326 | <dd><p>GetWindowStyleFlag(self) -> long</p> |
---|
| 1327 | <p>Gets the window style that was passed to the constructor or Create |
---|
| 1328 | method.</p> |
---|
| 1329 | </dd></dl> |
---|
| 1330 | |
---|
| 1331 | <dl class="method"> |
---|
| 1332 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetWindowStyleFlag"> |
---|
| 1333 | <tt class="descname">GetWindowStyleFlag</tt><big>(</big><em>self</em><big>)</big> → long<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetWindowStyleFlag" title="Permalink to this definition">¶</a></dt> |
---|
| 1334 | <dd><p>Gets the window style that was passed to the constructor or Create |
---|
| 1335 | method.</p> |
---|
| 1336 | </dd></dl> |
---|
| 1337 | |
---|
| 1338 | <dl class="method"> |
---|
| 1339 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GetWindowVariant"> |
---|
| 1340 | <tt class="descname">GetWindowVariant</tt><big>(</big><em>self</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GetWindowVariant" title="Permalink to this definition">¶</a></dt> |
---|
| 1341 | <dd></dd></dl> |
---|
| 1342 | |
---|
| 1343 | <dl class="attribute"> |
---|
| 1344 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GrandParent"> |
---|
| 1345 | <tt class="descname">GrandParent</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GrandParent" title="Permalink to this definition">¶</a></dt> |
---|
| 1346 | <dd><p>See <cite>GetGrandParent</cite></p> |
---|
| 1347 | </dd></dl> |
---|
| 1348 | |
---|
| 1349 | <dl class="attribute"> |
---|
| 1350 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.GtkWidget"> |
---|
| 1351 | <tt class="descname">GtkWidget</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.GtkWidget" title="Permalink to this definition">¶</a></dt> |
---|
| 1352 | <dd><p>GetGtkWidget(self) -> long</p> |
---|
| 1353 | <p>On wxGTK returns a pointer to the GtkWidget for this window as a long |
---|
| 1354 | integer. On the other platforms this method returns zero.</p> |
---|
| 1355 | </dd></dl> |
---|
| 1356 | |
---|
| 1357 | <dl class="attribute"> |
---|
| 1358 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Handle"> |
---|
| 1359 | <tt class="descname">Handle</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Handle" title="Permalink to this definition">¶</a></dt> |
---|
| 1360 | <dd><p>See <cite>GetHandle</cite></p> |
---|
| 1361 | </dd></dl> |
---|
| 1362 | |
---|
| 1363 | <dl class="method"> |
---|
| 1364 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HasCapture"> |
---|
| 1365 | <tt class="descname">HasCapture</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HasCapture" title="Permalink to this definition">¶</a></dt> |
---|
| 1366 | <dd><p>Returns true if this window has the current mouse capture.</p> |
---|
| 1367 | </dd></dl> |
---|
| 1368 | |
---|
| 1369 | <dl class="method"> |
---|
| 1370 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HasFlag"> |
---|
| 1371 | <tt class="descname">HasFlag</tt><big>(</big><em>self</em>, <em>int flag</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HasFlag" title="Permalink to this definition">¶</a></dt> |
---|
| 1372 | <dd><p>Test if the given style is set for this window.</p> |
---|
| 1373 | </dd></dl> |
---|
| 1374 | |
---|
| 1375 | <dl class="method"> |
---|
| 1376 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HasMultiplePages"> |
---|
| 1377 | <tt class="descname">HasMultiplePages</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HasMultiplePages" title="Permalink to this definition">¶</a></dt> |
---|
| 1378 | <dd></dd></dl> |
---|
| 1379 | |
---|
| 1380 | <dl class="method"> |
---|
| 1381 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HasScrollbar"> |
---|
| 1382 | <tt class="descname">HasScrollbar</tt><big>(</big><em>self</em>, <em>int orient</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HasScrollbar" title="Permalink to this definition">¶</a></dt> |
---|
| 1383 | <dd><p>Does the window have the scrollbar for this orientation?</p> |
---|
| 1384 | </dd></dl> |
---|
| 1385 | |
---|
| 1386 | <dl class="method"> |
---|
| 1387 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HasTransparentBackground"> |
---|
| 1388 | <tt class="descname">HasTransparentBackground</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HasTransparentBackground" title="Permalink to this definition">¶</a></dt> |
---|
| 1389 | <dd><p>Returns True if this window’s background is transparent (as, for |
---|
| 1390 | example, for <cite>wx.StaticText</cite>) and should show the parent window’s |
---|
| 1391 | background.</p> |
---|
| 1392 | <p>This method is mostly used internally by the library itself and you |
---|
| 1393 | normally shouldn’t have to call it. You may, however, have to override |
---|
| 1394 | it in your custom control classes to ensure that background is painted |
---|
| 1395 | correctly.</p> |
---|
| 1396 | </dd></dl> |
---|
| 1397 | |
---|
| 1398 | <dl class="attribute"> |
---|
| 1399 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HelpText"> |
---|
| 1400 | <tt class="descname">HelpText</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HelpText" title="Permalink to this definition">¶</a></dt> |
---|
| 1401 | <dd><p>See <cite>GetHelpText</cite> and <cite>SetHelpText</cite></p> |
---|
| 1402 | </dd></dl> |
---|
| 1403 | |
---|
| 1404 | <dl class="method"> |
---|
| 1405 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Hide"> |
---|
| 1406 | <tt class="descname">Hide</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Hide" title="Permalink to this definition">¶</a></dt> |
---|
| 1407 | <dd><p>Equivalent to calling Show(False).</p> |
---|
| 1408 | </dd></dl> |
---|
| 1409 | |
---|
| 1410 | <dl class="method"> |
---|
| 1411 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HitTest"> |
---|
| 1412 | <tt class="descname">HitTest</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HitTest" title="Permalink to this definition">¶</a></dt> |
---|
| 1413 | <dd><p>Test where the given (in client coords) point lies</p> |
---|
| 1414 | </dd></dl> |
---|
| 1415 | |
---|
| 1416 | <dl class="method"> |
---|
| 1417 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.HitTestXY"> |
---|
| 1418 | <tt class="descname">HitTestXY</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.HitTestXY" title="Permalink to this definition">¶</a></dt> |
---|
| 1419 | <dd><p>Test where the given (in client coords) point lies</p> |
---|
| 1420 | </dd></dl> |
---|
| 1421 | |
---|
| 1422 | <dl class="attribute"> |
---|
| 1423 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Id"> |
---|
| 1424 | <tt class="descname">Id</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Id" title="Permalink to this definition">¶</a></dt> |
---|
| 1425 | <dd><p>See <cite>GetId</cite> and <cite>SetId</cite></p> |
---|
| 1426 | </dd></dl> |
---|
| 1427 | |
---|
| 1428 | <dl class="method"> |
---|
| 1429 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InheritAttributes"> |
---|
| 1430 | <tt class="descname">InheritAttributes</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InheritAttributes" title="Permalink to this definition">¶</a></dt> |
---|
| 1431 | <dd><p>This function is (or should be, in case of custom controls) called |
---|
| 1432 | during window creation to intelligently set up the window visual |
---|
| 1433 | attributes, that is the font and the foreground and background |
---|
| 1434 | colours.</p> |
---|
| 1435 | <p>By ‘intelligently’ the following is meant: by default, all windows use |
---|
| 1436 | their own default attributes. However if some of the parent’s |
---|
| 1437 | attributes are explicitly changed (that is, using SetFont and not |
---|
| 1438 | SetOwnFont) and if the corresponding attribute hadn’t been |
---|
| 1439 | explicitly set for this window itself, then this window takes the same |
---|
| 1440 | value as used by the parent. In addition, if the window overrides |
---|
| 1441 | ShouldInheritColours to return false, the colours will not be changed |
---|
| 1442 | no matter what and only the font might.</p> |
---|
| 1443 | <p>This rather complicated logic is necessary in order to accommodate the |
---|
| 1444 | different usage scenarios. The most common one is when all default |
---|
| 1445 | attributes are used and in this case, nothing should be inherited as |
---|
| 1446 | in modern GUIs different controls use different fonts (and colours) |
---|
| 1447 | than their siblings so they can’t inherit the same value from the |
---|
| 1448 | parent. However it was also deemed desirable to allow to simply change |
---|
| 1449 | the attributes of all children at once by just changing the font or |
---|
| 1450 | colour of their common parent, hence in this case we do inherit the |
---|
| 1451 | parents attributes.</p> |
---|
| 1452 | </dd></dl> |
---|
| 1453 | |
---|
| 1454 | <dl class="method"> |
---|
| 1455 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InheritsBackgroundColour"> |
---|
| 1456 | <tt class="descname">InheritsBackgroundColour</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InheritsBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 1457 | <dd></dd></dl> |
---|
| 1458 | |
---|
| 1459 | <dl class="method"> |
---|
| 1460 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InitDialog"> |
---|
| 1461 | <tt class="descname">InitDialog</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InitDialog" title="Permalink to this definition">¶</a></dt> |
---|
| 1462 | <dd><p>Sends an EVT_INIT_DIALOG event, whose handler usually transfers data |
---|
| 1463 | to the dialog via validators.</p> |
---|
| 1464 | </dd></dl> |
---|
| 1465 | |
---|
| 1466 | <dl class="method"> |
---|
| 1467 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InsertControl"> |
---|
| 1468 | <tt class="descname">InsertControl</tt><big>(</big><em>self</em>, <em>size_t pos</em>, <em>Control control</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InsertControl" title="Permalink to this definition">¶</a></dt> |
---|
| 1469 | <dd></dd></dl> |
---|
| 1470 | |
---|
| 1471 | <dl class="method"> |
---|
| 1472 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InsertLabelTool"> |
---|
| 1473 | <tt class="descname">InsertLabelTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InsertLabelTool" title="Permalink to this definition">¶</a></dt> |
---|
| 1474 | <dd><p>Insert the new tool at the given position, if pos == GetToolsCount(), it |
---|
| 1475 | is equivalent to AddTool()</p> |
---|
| 1476 | </dd></dl> |
---|
| 1477 | |
---|
| 1478 | <dl class="method"> |
---|
| 1479 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InsertSeparator"> |
---|
| 1480 | <tt class="descname">InsertSeparator</tt><big>(</big><em>self</em>, <em>size_t pos</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InsertSeparator" title="Permalink to this definition">¶</a></dt> |
---|
| 1481 | <dd></dd></dl> |
---|
| 1482 | |
---|
| 1483 | <dl class="method"> |
---|
| 1484 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InsertSimpleTool"> |
---|
| 1485 | <tt class="descname">InsertSimpleTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InsertSimpleTool" title="Permalink to this definition">¶</a></dt> |
---|
| 1486 | <dd><p>Old style method to insert a tool in the toolbar.</p> |
---|
| 1487 | </dd></dl> |
---|
| 1488 | |
---|
| 1489 | <dl class="method"> |
---|
| 1490 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InsertTool"> |
---|
| 1491 | <tt class="descname">InsertTool</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InsertTool" title="Permalink to this definition">¶</a></dt> |
---|
| 1492 | <dd><p>Old style method to insert a tool in the toolbar.</p> |
---|
| 1493 | </dd></dl> |
---|
| 1494 | |
---|
| 1495 | <dl class="method"> |
---|
| 1496 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InsertToolItem"> |
---|
| 1497 | <tt class="descname">InsertToolItem</tt><big>(</big><em>self</em>, <em>size_t pos</em>, <em>ToolBarToolBase tool</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InsertToolItem" title="Permalink to this definition">¶</a></dt> |
---|
| 1498 | <dd></dd></dl> |
---|
| 1499 | |
---|
| 1500 | <dl class="method"> |
---|
| 1501 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.InvalidateBestSize"> |
---|
| 1502 | <tt class="descname">InvalidateBestSize</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.InvalidateBestSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1503 | <dd><p>Reset the cached best size value so it will be recalculated the next |
---|
| 1504 | time it is needed.</p> |
---|
| 1505 | </dd></dl> |
---|
| 1506 | |
---|
| 1507 | <dl class="method"> |
---|
| 1508 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsBeingDeleted"> |
---|
| 1509 | <tt class="descname">IsBeingDeleted</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsBeingDeleted" title="Permalink to this definition">¶</a></dt> |
---|
| 1510 | <dd><p>Is the window in the process of being deleted?</p> |
---|
| 1511 | </dd></dl> |
---|
| 1512 | |
---|
| 1513 | <dl class="method"> |
---|
| 1514 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsDoubleBuffered"> |
---|
| 1515 | <tt class="descname">IsDoubleBuffered</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsDoubleBuffered" title="Permalink to this definition">¶</a></dt> |
---|
| 1516 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the window contents is double-buffered by the |
---|
| 1517 | system, i.e. if any drawing done on the window is really done on a |
---|
| 1518 | temporary backing surface and transferred to the screen all at once |
---|
| 1519 | later.</p> |
---|
| 1520 | </dd></dl> |
---|
| 1521 | |
---|
| 1522 | <dl class="method"> |
---|
| 1523 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsEnabled"> |
---|
| 1524 | <tt class="descname">IsEnabled</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 1525 | <dd><p>Returns true if the window is enabled for input, false otherwise.</p> |
---|
| 1526 | </dd></dl> |
---|
| 1527 | |
---|
| 1528 | <dl class="method"> |
---|
| 1529 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsExposed"> |
---|
| 1530 | <tt class="descname">IsExposed</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em>, <em>int w=1</em>, <em>int h=1</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsExposed" title="Permalink to this definition">¶</a></dt> |
---|
| 1531 | <dd><p>Returns true if the given point or rectangle area has been exposed |
---|
| 1532 | since the last repaint. Call this in an paint event handler to |
---|
| 1533 | optimize redrawing by only redrawing those areas, which have been |
---|
| 1534 | exposed.</p> |
---|
| 1535 | </dd></dl> |
---|
| 1536 | |
---|
| 1537 | <dl class="method"> |
---|
| 1538 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsExposedPoint"> |
---|
| 1539 | <tt class="descname">IsExposedPoint</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsExposedPoint" title="Permalink to this definition">¶</a></dt> |
---|
| 1540 | <dd><p>Returns true if the given point or rectangle area has been exposed |
---|
| 1541 | since the last repaint. Call this in an paint event handler to |
---|
| 1542 | optimize redrawing by only redrawing those areas, which have been |
---|
| 1543 | exposed.</p> |
---|
| 1544 | </dd></dl> |
---|
| 1545 | |
---|
| 1546 | <dl class="method"> |
---|
| 1547 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsExposedRect"> |
---|
| 1548 | <tt class="descname">IsExposedRect</tt><big>(</big><em>self</em>, <em>Rect rect</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsExposedRect" title="Permalink to this definition">¶</a></dt> |
---|
| 1549 | <dd><p>Returns true if the given point or rectangle area has been exposed |
---|
| 1550 | since the last repaint. Call this in an paint event handler to |
---|
| 1551 | optimize redrawing by only redrawing those areas, which have been |
---|
| 1552 | exposed.</p> |
---|
| 1553 | </dd></dl> |
---|
| 1554 | |
---|
| 1555 | <dl class="method"> |
---|
| 1556 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsFrozen"> |
---|
| 1557 | <tt class="descname">IsFrozen</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsFrozen" title="Permalink to this definition">¶</a></dt> |
---|
| 1558 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the window has been frozen and not thawed yet.</p> |
---|
| 1559 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 1560 | <col class="field-name" /> |
---|
| 1561 | <col class="field-body" /> |
---|
| 1562 | <tbody valign="top"> |
---|
| 1563 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>Freeze</cite> and <cite>Thaw</cite></td> |
---|
| 1564 | </tr> |
---|
| 1565 | </tbody> |
---|
| 1566 | </table> |
---|
| 1567 | </dd></dl> |
---|
| 1568 | |
---|
| 1569 | <dl class="method"> |
---|
| 1570 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsRetained"> |
---|
| 1571 | <tt class="descname">IsRetained</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsRetained" title="Permalink to this definition">¶</a></dt> |
---|
| 1572 | <dd><p>Returns true if the window is retained, false otherwise. Retained |
---|
| 1573 | windows are only available on X platforms.</p> |
---|
| 1574 | </dd></dl> |
---|
| 1575 | |
---|
| 1576 | <dl class="method"> |
---|
| 1577 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsSameAs"> |
---|
| 1578 | <tt class="descname">IsSameAs</tt><big>(</big><em>self</em>, <em>Object p</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsSameAs" title="Permalink to this definition">¶</a></dt> |
---|
| 1579 | <dd><p>For wx.Objects that use C++ reference counting internally, this method |
---|
| 1580 | can be used to determine if two objects are referencing the same data |
---|
| 1581 | object.</p> |
---|
| 1582 | </dd></dl> |
---|
| 1583 | |
---|
| 1584 | <dl class="method"> |
---|
| 1585 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsShown"> |
---|
| 1586 | <tt class="descname">IsShown</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsShown" title="Permalink to this definition">¶</a></dt> |
---|
| 1587 | <dd><p>Returns true if the window is shown, false if it has been hidden.</p> |
---|
| 1588 | </dd></dl> |
---|
| 1589 | |
---|
| 1590 | <dl class="method"> |
---|
| 1591 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsShownOnScreen"> |
---|
| 1592 | <tt class="descname">IsShownOnScreen</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsShownOnScreen" title="Permalink to this definition">¶</a></dt> |
---|
| 1593 | <dd><p>Returns <tt class="docutils literal"><span class="pre">True</span></tt> if the window is physically visible on the screen, |
---|
| 1594 | i.e. it is shown and all its parents up to the toplevel window are |
---|
| 1595 | shown as well.</p> |
---|
| 1596 | </dd></dl> |
---|
| 1597 | |
---|
| 1598 | <dl class="method"> |
---|
| 1599 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsTopLevel"> |
---|
| 1600 | <tt class="descname">IsTopLevel</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsTopLevel" title="Permalink to this definition">¶</a></dt> |
---|
| 1601 | <dd><p>Returns true if the given window is a top-level one. Currently all |
---|
| 1602 | frames and dialogs are always considered to be top-level windows (even |
---|
| 1603 | if they have a parent window).</p> |
---|
| 1604 | </dd></dl> |
---|
| 1605 | |
---|
| 1606 | <dl class="method"> |
---|
| 1607 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.IsVertical"> |
---|
| 1608 | <tt class="descname">IsVertical</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.IsVertical" title="Permalink to this definition">¶</a></dt> |
---|
| 1609 | <dd></dd></dl> |
---|
| 1610 | |
---|
| 1611 | <dl class="attribute"> |
---|
| 1612 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Label"> |
---|
| 1613 | <tt class="descname">Label</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Label" title="Permalink to this definition">¶</a></dt> |
---|
| 1614 | <dd><p>See <cite>GetLabel</cite> and <cite>SetLabel</cite></p> |
---|
| 1615 | </dd></dl> |
---|
| 1616 | |
---|
| 1617 | <dl class="attribute"> |
---|
| 1618 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.LabelText"> |
---|
| 1619 | <tt class="descname">LabelText</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.LabelText" title="Permalink to this definition">¶</a></dt> |
---|
| 1620 | <dd><p>See <cite>GetLabelText</cite></p> |
---|
| 1621 | </dd></dl> |
---|
| 1622 | |
---|
| 1623 | <dl class="method"> |
---|
| 1624 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Layout"> |
---|
| 1625 | <tt class="descname">Layout</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Layout" title="Permalink to this definition">¶</a></dt> |
---|
| 1626 | <dd><p>Invokes the constraint-based layout algorithm or the sizer-based |
---|
| 1627 | algorithm for this window. See SetAutoLayout: when auto layout is on, |
---|
| 1628 | this function gets called automatically by the default EVT_SIZE |
---|
| 1629 | handler when the window is resized.</p> |
---|
| 1630 | </dd></dl> |
---|
| 1631 | |
---|
| 1632 | <dl class="attribute"> |
---|
| 1633 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.LayoutDirection"> |
---|
| 1634 | <tt class="descname">LayoutDirection</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.LayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
| 1635 | <dd><p>See <cite>GetLayoutDirection</cite> and <cite>SetLayoutDirection</cite></p> |
---|
| 1636 | </dd></dl> |
---|
| 1637 | |
---|
| 1638 | <dl class="method"> |
---|
| 1639 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.LineDown"> |
---|
| 1640 | <tt class="descname">LineDown</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.LineDown" title="Permalink to this definition">¶</a></dt> |
---|
| 1641 | <dd><p>This is just a wrapper for ScrollLines(1).</p> |
---|
| 1642 | </dd></dl> |
---|
| 1643 | |
---|
| 1644 | <dl class="method"> |
---|
| 1645 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.LineUp"> |
---|
| 1646 | <tt class="descname">LineUp</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.LineUp" title="Permalink to this definition">¶</a></dt> |
---|
| 1647 | <dd><p>This is just a wrapper for ScrollLines(-1).</p> |
---|
| 1648 | </dd></dl> |
---|
| 1649 | |
---|
| 1650 | <dl class="method"> |
---|
| 1651 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Lower"> |
---|
| 1652 | <tt class="descname">Lower</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Lower" title="Permalink to this definition">¶</a></dt> |
---|
| 1653 | <dd><p>Lowers the window to the bottom of the window hierarchy. In current |
---|
| 1654 | version of wxWidgets this works both for managed and child windows.</p> |
---|
| 1655 | </dd></dl> |
---|
| 1656 | |
---|
| 1657 | <dl class="method"> |
---|
| 1658 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MakeModal"> |
---|
| 1659 | <tt class="descname">MakeModal</tt><big>(</big><em>self</em>, <em>bool modal=True</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MakeModal" title="Permalink to this definition">¶</a></dt> |
---|
| 1660 | <dd><p>Disables all other windows in the application so that the user can |
---|
| 1661 | only interact with this window. Passing False will reverse this |
---|
| 1662 | effect.</p> |
---|
| 1663 | </dd></dl> |
---|
| 1664 | |
---|
| 1665 | <dl class="attribute"> |
---|
| 1666 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Margins"> |
---|
| 1667 | <tt class="descname">Margins</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Margins" title="Permalink to this definition">¶</a></dt> |
---|
| 1668 | <dd><p>See <cite>GetMargins</cite> and <cite>SetMargins</cite></p> |
---|
| 1669 | </dd></dl> |
---|
| 1670 | |
---|
| 1671 | <dl class="attribute"> |
---|
| 1672 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MaxCols"> |
---|
| 1673 | <tt class="descname">MaxCols</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MaxCols" title="Permalink to this definition">¶</a></dt> |
---|
| 1674 | <dd><p>See <cite>GetMaxCols</cite></p> |
---|
| 1675 | </dd></dl> |
---|
| 1676 | |
---|
| 1677 | <dl class="attribute"> |
---|
| 1678 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MaxHeight"> |
---|
| 1679 | <tt class="descname">MaxHeight</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MaxHeight" title="Permalink to this definition">¶</a></dt> |
---|
| 1680 | <dd><p>See <cite>GetMaxHeight</cite></p> |
---|
| 1681 | </dd></dl> |
---|
| 1682 | |
---|
| 1683 | <dl class="attribute"> |
---|
| 1684 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MaxRows"> |
---|
| 1685 | <tt class="descname">MaxRows</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MaxRows" title="Permalink to this definition">¶</a></dt> |
---|
| 1686 | <dd><p>See <cite>GetMaxRows</cite></p> |
---|
| 1687 | </dd></dl> |
---|
| 1688 | |
---|
| 1689 | <dl class="attribute"> |
---|
| 1690 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MaxSize"> |
---|
| 1691 | <tt class="descname">MaxSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MaxSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1692 | <dd><p>See <cite>GetMaxSize</cite> and <cite>SetMaxSize</cite></p> |
---|
| 1693 | </dd></dl> |
---|
| 1694 | |
---|
| 1695 | <dl class="attribute"> |
---|
| 1696 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MaxWidth"> |
---|
| 1697 | <tt class="descname">MaxWidth</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MaxWidth" title="Permalink to this definition">¶</a></dt> |
---|
| 1698 | <dd><p>See <cite>GetMaxWidth</cite></p> |
---|
| 1699 | </dd></dl> |
---|
| 1700 | |
---|
| 1701 | <dl class="attribute"> |
---|
| 1702 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MinHeight"> |
---|
| 1703 | <tt class="descname">MinHeight</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MinHeight" title="Permalink to this definition">¶</a></dt> |
---|
| 1704 | <dd><p>See <cite>GetMinHeight</cite></p> |
---|
| 1705 | </dd></dl> |
---|
| 1706 | |
---|
| 1707 | <dl class="attribute"> |
---|
| 1708 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MinSize"> |
---|
| 1709 | <tt class="descname">MinSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MinSize" title="Permalink to this definition">¶</a></dt> |
---|
| 1710 | <dd><p>See <cite>GetMinSize</cite> and <cite>SetMinSize</cite></p> |
---|
| 1711 | </dd></dl> |
---|
| 1712 | |
---|
| 1713 | <dl class="attribute"> |
---|
| 1714 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MinWidth"> |
---|
| 1715 | <tt class="descname">MinWidth</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MinWidth" title="Permalink to this definition">¶</a></dt> |
---|
| 1716 | <dd><p>See <cite>GetMinWidth</cite></p> |
---|
| 1717 | </dd></dl> |
---|
| 1718 | |
---|
| 1719 | <dl class="method"> |
---|
| 1720 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Move"> |
---|
| 1721 | <tt class="descname">Move</tt><big>(</big><em>self</em>, <em>Point pt</em>, <em>int flags=SIZE_USE_EXISTING</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Move" title="Permalink to this definition">¶</a></dt> |
---|
| 1722 | <dd><p>Moves the window to the given position.</p> |
---|
| 1723 | </dd></dl> |
---|
| 1724 | |
---|
| 1725 | <dl class="method"> |
---|
| 1726 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MoveAfterInTabOrder"> |
---|
| 1727 | <tt class="descname">MoveAfterInTabOrder</tt><big>(</big><em>self</em>, <em>Window win</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MoveAfterInTabOrder" title="Permalink to this definition">¶</a></dt> |
---|
| 1728 | <dd><p>Moves this window in the tab navigation order after the specified |
---|
| 1729 | sibling window. This means that when the user presses the TAB key on |
---|
| 1730 | that other window, the focus switches to this window.</p> |
---|
| 1731 | <p>The default tab order is the same as creation order. This function |
---|
| 1732 | and <cite>MoveBeforeInTabOrder</cite> allow to change it after creating all the |
---|
| 1733 | windows.</p> |
---|
| 1734 | </dd></dl> |
---|
| 1735 | |
---|
| 1736 | <dl class="method"> |
---|
| 1737 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MoveBeforeInTabOrder"> |
---|
| 1738 | <tt class="descname">MoveBeforeInTabOrder</tt><big>(</big><em>self</em>, <em>Window win</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MoveBeforeInTabOrder" title="Permalink to this definition">¶</a></dt> |
---|
| 1739 | <dd><p>Same as <cite>MoveAfterInTabOrder</cite> except that it inserts this window just |
---|
| 1740 | before win instead of putting it right after it.</p> |
---|
| 1741 | </dd></dl> |
---|
| 1742 | |
---|
| 1743 | <dl class="method"> |
---|
| 1744 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.MoveXY"> |
---|
| 1745 | <tt class="descname">MoveXY</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em>, <em>int flags=SIZE_USE_EXISTING</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.MoveXY" title="Permalink to this definition">¶</a></dt> |
---|
| 1746 | <dd><p>Moves the window to the given position.</p> |
---|
| 1747 | </dd></dl> |
---|
| 1748 | |
---|
| 1749 | <dl class="attribute"> |
---|
| 1750 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Name"> |
---|
| 1751 | <tt class="descname">Name</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Name" title="Permalink to this definition">¶</a></dt> |
---|
| 1752 | <dd><p>See <cite>GetName</cite> and <cite>SetName</cite></p> |
---|
| 1753 | </dd></dl> |
---|
| 1754 | |
---|
| 1755 | <dl class="method"> |
---|
| 1756 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Navigate"> |
---|
| 1757 | <tt class="descname">Navigate</tt><big>(</big><em>self</em>, <em>int flags=NavigationKeyEvent.IsForward</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Navigate" title="Permalink to this definition">¶</a></dt> |
---|
| 1758 | <dd><p>Does keyboard navigation from this window to another, by sending a |
---|
| 1759 | <cite>wx.NavigationKeyEvent</cite>.</p> |
---|
| 1760 | </dd></dl> |
---|
| 1761 | |
---|
| 1762 | <dl class="staticmethod"> |
---|
| 1763 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.NewControlId"> |
---|
| 1764 | <em class="property">static </em><tt class="descname">NewControlId</tt><big>(</big><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.NewControlId" title="Permalink to this definition">¶</a></dt> |
---|
| 1765 | <dd><p>Generate a control id for the controls which were not given one.</p> |
---|
| 1766 | </dd></dl> |
---|
| 1767 | |
---|
| 1768 | <dl class="staticmethod"> |
---|
| 1769 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.NextControlId"> |
---|
| 1770 | <em class="property">static </em><tt class="descname">NextControlId</tt><big>(</big><em>int winid</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.NextControlId" title="Permalink to this definition">¶</a></dt> |
---|
| 1771 | <dd><p>Get the id of the control following the one with the given |
---|
| 1772 | autogenerated) id</p> |
---|
| 1773 | </dd></dl> |
---|
| 1774 | |
---|
| 1775 | <dl class="attribute"> |
---|
| 1776 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.NextHandler"> |
---|
| 1777 | <tt class="descname">NextHandler</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.NextHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1778 | <dd><p>See <cite>GetNextHandler</cite> and <cite>SetNextHandler</cite></p> |
---|
| 1779 | </dd></dl> |
---|
| 1780 | |
---|
| 1781 | <dl class="method"> |
---|
| 1782 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.OnPaint"> |
---|
| 1783 | <tt class="descname">OnPaint</tt><big>(</big><em>self</em>, <em>PaintEvent event</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.OnPaint" title="Permalink to this definition">¶</a></dt> |
---|
| 1784 | <dd></dd></dl> |
---|
| 1785 | |
---|
| 1786 | <dl class="method"> |
---|
| 1787 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PageDown"> |
---|
| 1788 | <tt class="descname">PageDown</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PageDown" title="Permalink to this definition">¶</a></dt> |
---|
| 1789 | <dd><p>This is just a wrapper for ScrollPages(1).</p> |
---|
| 1790 | </dd></dl> |
---|
| 1791 | |
---|
| 1792 | <dl class="method"> |
---|
| 1793 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PageUp"> |
---|
| 1794 | <tt class="descname">PageUp</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PageUp" title="Permalink to this definition">¶</a></dt> |
---|
| 1795 | <dd><p>This is just a wrapper for ScrollPages(-1).</p> |
---|
| 1796 | </dd></dl> |
---|
| 1797 | |
---|
| 1798 | <dl class="attribute"> |
---|
| 1799 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Parent"> |
---|
| 1800 | <tt class="descname">Parent</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Parent" title="Permalink to this definition">¶</a></dt> |
---|
| 1801 | <dd><p>See <cite>GetParent</cite></p> |
---|
| 1802 | </dd></dl> |
---|
| 1803 | |
---|
| 1804 | <dl class="method"> |
---|
| 1805 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PopEventHandler"> |
---|
| 1806 | <tt class="descname">PopEventHandler</tt><big>(</big><em>self</em>, <em>bool deleteHandler=False</em><big>)</big> → EvtHandler<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PopEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1807 | <dd><p>Removes and returns the top-most event handler on the event handler |
---|
| 1808 | stack. If deleteHandler is True then the wx.EvtHandler object will be |
---|
| 1809 | destroyed after it is popped, and <tt class="docutils literal"><span class="pre">None</span></tt> will be returned instead.</p> |
---|
| 1810 | </dd></dl> |
---|
| 1811 | |
---|
| 1812 | <dl class="method"> |
---|
| 1813 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PopupMenu"> |
---|
| 1814 | <tt class="descname">PopupMenu</tt><big>(</big><em>self</em>, <em>Menu menu</em>, <em>Point pos=DefaultPosition</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PopupMenu" title="Permalink to this definition">¶</a></dt> |
---|
| 1815 | <dd><p>Pops up the given menu at the specified coordinates, relative to this window, |
---|
| 1816 | and returns control when the user has dismissed the menu. If a menu item is |
---|
| 1817 | selected, the corresponding menu event is generated and will be processed as |
---|
| 1818 | usual. If the default position is given then the current position of the |
---|
| 1819 | mouse cursor will be used.</p> |
---|
| 1820 | </dd></dl> |
---|
| 1821 | |
---|
| 1822 | <dl class="method"> |
---|
| 1823 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PopupMenuXY"> |
---|
| 1824 | <tt class="descname">PopupMenuXY</tt><big>(</big><em>self</em>, <em>Menu menu</em>, <em>int x=-1</em>, <em>int y=-1</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PopupMenuXY" title="Permalink to this definition">¶</a></dt> |
---|
| 1825 | <dd><p>Pops up the given menu at the specified coordinates, relative to this window, |
---|
| 1826 | and returns control when the user has dismissed the menu. If a menu item is |
---|
| 1827 | selected, the corresponding menu event is generated and will be processed as |
---|
| 1828 | usual. If the default position is given then the current position of the |
---|
| 1829 | mouse cursor will be used.</p> |
---|
| 1830 | </dd></dl> |
---|
| 1831 | |
---|
| 1832 | <dl class="attribute"> |
---|
| 1833 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Position"> |
---|
| 1834 | <tt class="descname">Position</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Position" title="Permalink to this definition">¶</a></dt> |
---|
| 1835 | <dd><p>See <cite>GetPosition</cite> and <cite>SetPosition</cite></p> |
---|
| 1836 | </dd></dl> |
---|
| 1837 | |
---|
| 1838 | <dl class="method"> |
---|
| 1839 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PostCreate"> |
---|
| 1840 | <tt class="descname">PostCreate</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PostCreate" title="Permalink to this definition">¶</a></dt> |
---|
| 1841 | <dd><p>Phase 3 of the 2-phase create <wink!> |
---|
| 1842 | Call this method after precreating the window with the 2-phase create method.</p> |
---|
| 1843 | </dd></dl> |
---|
| 1844 | |
---|
| 1845 | <dl class="method"> |
---|
| 1846 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PrepareDC"> |
---|
| 1847 | <tt class="descname">PrepareDC</tt><big>(</big><em>self</em>, <em>DC dc</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PrepareDC" title="Permalink to this definition">¶</a></dt> |
---|
| 1848 | <dd><p>Call this function to prepare the device context for drawing a |
---|
| 1849 | scrolled image. It sets the device origin according to the current |
---|
| 1850 | scroll position.</p> |
---|
| 1851 | </dd></dl> |
---|
| 1852 | |
---|
| 1853 | <dl class="staticmethod"> |
---|
| 1854 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PrevControlId"> |
---|
| 1855 | <em class="property">static </em><tt class="descname">PrevControlId</tt><big>(</big><em>int winid</em><big>)</big> → int<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PrevControlId" title="Permalink to this definition">¶</a></dt> |
---|
| 1856 | <dd><p>Get the id of the control preceding the one with the given |
---|
| 1857 | autogenerated) id</p> |
---|
| 1858 | </dd></dl> |
---|
| 1859 | |
---|
| 1860 | <dl class="attribute"> |
---|
| 1861 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PreviousHandler"> |
---|
| 1862 | <tt class="descname">PreviousHandler</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PreviousHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1863 | <dd><p>See <cite>GetPreviousHandler</cite> and <cite>SetPreviousHandler</cite></p> |
---|
| 1864 | </dd></dl> |
---|
| 1865 | |
---|
| 1866 | <dl class="method"> |
---|
| 1867 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ProcessEvent"> |
---|
| 1868 | <tt class="descname">ProcessEvent</tt><big>(</big><em>self</em>, <em>Event event</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ProcessEvent" title="Permalink to this definition">¶</a></dt> |
---|
| 1869 | <dd></dd></dl> |
---|
| 1870 | |
---|
| 1871 | <dl class="method"> |
---|
| 1872 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ProcessPendingEvents"> |
---|
| 1873 | <tt class="descname">ProcessPendingEvents</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ProcessPendingEvents" title="Permalink to this definition">¶</a></dt> |
---|
| 1874 | <dd></dd></dl> |
---|
| 1875 | |
---|
| 1876 | <dl class="method"> |
---|
| 1877 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.PushEventHandler"> |
---|
| 1878 | <tt class="descname">PushEventHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.PushEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1879 | <dd><p>Pushes this event handler onto the event handler stack for the window. |
---|
| 1880 | An event handler is an object that is capable of processing the events |
---|
| 1881 | sent to a window. (In other words, is able to dispatch the events to a |
---|
| 1882 | handler function.) By default, the window is its own event handler, |
---|
| 1883 | but an application may wish to substitute another, for example to |
---|
| 1884 | allow central implementation of event-handling for a variety of |
---|
| 1885 | different window classes.</p> |
---|
| 1886 | <p>wx.Window.PushEventHandler allows an application to set up a chain of |
---|
| 1887 | event handlers, where an event not handled by one event handler is |
---|
| 1888 | handed to the next one in the chain. Use <cite>wx.Window.PopEventHandler</cite> |
---|
| 1889 | to remove the event handler. Ownership of the handler is <em>not</em> given |
---|
| 1890 | to the window, so you should be sure to pop the handler before the |
---|
| 1891 | window is destroyed and either let PopEventHandler destroy it, or call |
---|
| 1892 | its Destroy method yourself.</p> |
---|
| 1893 | </dd></dl> |
---|
| 1894 | |
---|
| 1895 | <dl class="method"> |
---|
| 1896 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Raise"> |
---|
| 1897 | <tt class="descname">Raise</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Raise" title="Permalink to this definition">¶</a></dt> |
---|
| 1898 | <dd><p>Raises the window to the top of the window hierarchy. In current |
---|
| 1899 | version of wxWidgets this works both for managed and child windows.</p> |
---|
| 1900 | </dd></dl> |
---|
| 1901 | |
---|
| 1902 | <dl class="method"> |
---|
| 1903 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Realize"> |
---|
| 1904 | <tt class="descname">Realize</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Realize" title="Permalink to this definition">¶</a></dt> |
---|
| 1905 | <dd></dd></dl> |
---|
| 1906 | |
---|
| 1907 | <dl class="attribute"> |
---|
| 1908 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Rect"> |
---|
| 1909 | <tt class="descname">Rect</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Rect" title="Permalink to this definition">¶</a></dt> |
---|
| 1910 | <dd><p>See <cite>GetRect</cite> and <cite>SetRect</cite></p> |
---|
| 1911 | </dd></dl> |
---|
| 1912 | |
---|
| 1913 | <dl class="method"> |
---|
| 1914 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Refresh"> |
---|
| 1915 | <tt class="descname">Refresh</tt><big>(</big><em>self</em>, <em>bool eraseBackground=True</em>, <em>Rect rect=None</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Refresh" title="Permalink to this definition">¶</a></dt> |
---|
| 1916 | <dd><p>Mark the specified rectangle (or the whole window) as “dirty” so it |
---|
| 1917 | will be repainted. Causes an EVT_PAINT event to be generated and sent |
---|
| 1918 | to the window.</p> |
---|
| 1919 | </dd></dl> |
---|
| 1920 | |
---|
| 1921 | <dl class="method"> |
---|
| 1922 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.RefreshRect"> |
---|
| 1923 | <tt class="descname">RefreshRect</tt><big>(</big><em>self</em>, <em>Rect rect</em>, <em>bool eraseBackground=True</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.RefreshRect" title="Permalink to this definition">¶</a></dt> |
---|
| 1924 | <dd><p>Redraws the contents of the given rectangle: the area inside it will |
---|
| 1925 | be repainted. This is the same as Refresh but has a nicer syntax.</p> |
---|
| 1926 | </dd></dl> |
---|
| 1927 | |
---|
| 1928 | <dl class="method"> |
---|
| 1929 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.RegisterHotKey"> |
---|
| 1930 | <tt class="descname">RegisterHotKey</tt><big>(</big><em>self</em>, <em>int hotkeyId</em>, <em>int modifiers</em>, <em>int keycode</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.RegisterHotKey" title="Permalink to this definition">¶</a></dt> |
---|
| 1931 | <dd><p>Registers a system wide hotkey. Every time the user presses the hotkey |
---|
| 1932 | registered here, this window will receive a hotkey event. It will |
---|
| 1933 | receive the event even if the application is in the background and |
---|
| 1934 | does not have the input focus because the user is working with some |
---|
| 1935 | other application. To bind an event handler function to this hotkey |
---|
| 1936 | use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the |
---|
| 1937 | hotkey was registered successfully.</p> |
---|
| 1938 | </dd></dl> |
---|
| 1939 | |
---|
| 1940 | <dl class="method"> |
---|
| 1941 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ReleaseMouse"> |
---|
| 1942 | <tt class="descname">ReleaseMouse</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ReleaseMouse" title="Permalink to this definition">¶</a></dt> |
---|
| 1943 | <dd><p>Releases mouse input captured with wx.Window.CaptureMouse.</p> |
---|
| 1944 | </dd></dl> |
---|
| 1945 | |
---|
| 1946 | <dl class="method"> |
---|
| 1947 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.RemoveChild"> |
---|
| 1948 | <tt class="descname">RemoveChild</tt><big>(</big><em>self</em>, <em>Window child</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.RemoveChild" title="Permalink to this definition">¶</a></dt> |
---|
| 1949 | <dd><p>Removes a child window. This is called automatically by window |
---|
| 1950 | deletion functions so should not be required by the application |
---|
| 1951 | programmer.</p> |
---|
| 1952 | </dd></dl> |
---|
| 1953 | |
---|
| 1954 | <dl class="method"> |
---|
| 1955 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.RemoveEventHandler"> |
---|
| 1956 | <tt class="descname">RemoveEventHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.RemoveEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 1957 | <dd><p>Find the given handler in the event handler chain and remove (but not |
---|
| 1958 | delete) it from the event handler chain, returns True if it was found |
---|
| 1959 | and False otherwise (this also results in an assert failure so this |
---|
| 1960 | function should only be called when the handler is supposed to be |
---|
| 1961 | there.)</p> |
---|
| 1962 | </dd></dl> |
---|
| 1963 | |
---|
| 1964 | <dl class="method"> |
---|
| 1965 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.RemoveTool"> |
---|
| 1966 | <tt class="descname">RemoveTool</tt><big>(</big><em>self</em>, <em>int id</em><big>)</big> → ToolBarToolBase<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.RemoveTool" title="Permalink to this definition">¶</a></dt> |
---|
| 1967 | <dd></dd></dl> |
---|
| 1968 | |
---|
| 1969 | <dl class="method"> |
---|
| 1970 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Reparent"> |
---|
| 1971 | <tt class="descname">Reparent</tt><big>(</big><em>self</em>, <em>Window newParent</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Reparent" title="Permalink to this definition">¶</a></dt> |
---|
| 1972 | <dd><p>Reparents the window, i.e the window will be removed from its current |
---|
| 1973 | parent window (e.g. a non-standard toolbar in a wxFrame) and then |
---|
| 1974 | re-inserted into another. Available on Windows and GTK. Returns True |
---|
| 1975 | if the parent was changed, False otherwise (error or newParent == |
---|
| 1976 | oldParent)</p> |
---|
| 1977 | </dd></dl> |
---|
| 1978 | |
---|
| 1979 | <dl class="attribute"> |
---|
| 1980 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScreenPosition"> |
---|
| 1981 | <tt class="descname">ScreenPosition</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScreenPosition" title="Permalink to this definition">¶</a></dt> |
---|
| 1982 | <dd><p>See <cite>GetScreenPosition</cite></p> |
---|
| 1983 | </dd></dl> |
---|
| 1984 | |
---|
| 1985 | <dl class="attribute"> |
---|
| 1986 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScreenRect"> |
---|
| 1987 | <tt class="descname">ScreenRect</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScreenRect" title="Permalink to this definition">¶</a></dt> |
---|
| 1988 | <dd><p>See <cite>GetScreenRect</cite></p> |
---|
| 1989 | </dd></dl> |
---|
| 1990 | |
---|
| 1991 | <dl class="method"> |
---|
| 1992 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScreenToClient"> |
---|
| 1993 | <tt class="descname">ScreenToClient</tt><big>(</big><em>self</em>, <em>Point pt</em><big>)</big> → Point<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScreenToClient" title="Permalink to this definition">¶</a></dt> |
---|
| 1994 | <dd><p>Converts from screen to client window coordinates.</p> |
---|
| 1995 | </dd></dl> |
---|
| 1996 | |
---|
| 1997 | <dl class="method"> |
---|
| 1998 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScreenToClientXY"> |
---|
| 1999 | <tt class="descname">ScreenToClientXY</tt><big>(</big><em>int x</em>, <em>int y) -> (x</em>, <em>y</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScreenToClientXY" title="Permalink to this definition">¶</a></dt> |
---|
| 2000 | <dd><p>Converts from screen to client window coordinates.</p> |
---|
| 2001 | </dd></dl> |
---|
| 2002 | |
---|
| 2003 | <dl class="method"> |
---|
| 2004 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScrollLines"> |
---|
| 2005 | <tt class="descname">ScrollLines</tt><big>(</big><em>self</em>, <em>int lines</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScrollLines" title="Permalink to this definition">¶</a></dt> |
---|
| 2006 | <dd><p>If the platform and window class supports it, scrolls the window by |
---|
| 2007 | the given number of lines down, if lines is positive, or up if lines |
---|
| 2008 | is negative. Returns True if the window was scrolled, False if it was |
---|
| 2009 | already on top/bottom and nothing was done.</p> |
---|
| 2010 | </dd></dl> |
---|
| 2011 | |
---|
| 2012 | <dl class="method"> |
---|
| 2013 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScrollPages"> |
---|
| 2014 | <tt class="descname">ScrollPages</tt><big>(</big><em>self</em>, <em>int pages</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScrollPages" title="Permalink to this definition">¶</a></dt> |
---|
| 2015 | <dd><p>If the platform and window class supports it, scrolls the window by |
---|
| 2016 | the given number of pages down, if pages is positive, or up if pages |
---|
| 2017 | is negative. Returns True if the window was scrolled, False if it was |
---|
| 2018 | already on top/bottom and nothing was done.</p> |
---|
| 2019 | </dd></dl> |
---|
| 2020 | |
---|
| 2021 | <dl class="method"> |
---|
| 2022 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ScrollWindow"> |
---|
| 2023 | <tt class="descname">ScrollWindow</tt><big>(</big><em>self</em>, <em>int dx</em>, <em>int dy</em>, <em>Rect rect=None</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ScrollWindow" title="Permalink to this definition">¶</a></dt> |
---|
| 2024 | <dd><p>Physically scrolls the pixels in the window and move child windows |
---|
| 2025 | accordingly. Use this function to optimise your scrolling |
---|
| 2026 | implementations, to minimise the area that must be redrawn. Note that |
---|
| 2027 | it is rarely required to call this function from a user program.</p> |
---|
| 2028 | </dd></dl> |
---|
| 2029 | |
---|
| 2030 | <dl class="method"> |
---|
| 2031 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SendSizeEvent"> |
---|
| 2032 | <tt class="descname">SendSizeEvent</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SendSizeEvent" title="Permalink to this definition">¶</a></dt> |
---|
| 2033 | <dd></dd></dl> |
---|
| 2034 | |
---|
| 2035 | <dl class="method"> |
---|
| 2036 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetAcceleratorTable"> |
---|
| 2037 | <tt class="descname">SetAcceleratorTable</tt><big>(</big><em>self</em>, <em>AcceleratorTable accel</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetAcceleratorTable" title="Permalink to this definition">¶</a></dt> |
---|
| 2038 | <dd><p>Sets the accelerator table for this window.</p> |
---|
| 2039 | </dd></dl> |
---|
| 2040 | |
---|
| 2041 | <dl class="method"> |
---|
| 2042 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetAutoLayout"> |
---|
| 2043 | <tt class="descname">SetAutoLayout</tt><big>(</big><em>self</em>, <em>bool autoLayout</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetAutoLayout" title="Permalink to this definition">¶</a></dt> |
---|
| 2044 | <dd><p>Determines whether the Layout function will be called automatically |
---|
| 2045 | when the window is resized. lease note that this only happens for the |
---|
| 2046 | windows usually used to contain children, namely <cite>wx.Panel</cite> and |
---|
| 2047 | <cite>wx.TopLevelWindow</cite> (and the classes deriving from them).</p> |
---|
| 2048 | <p>This method is called implicitly by <cite>SetSizer</cite> but if you use |
---|
| 2049 | <cite>SetConstraints</cite> you should call it manually or otherwise the window |
---|
| 2050 | layout won’t be correctly updated when its size changes.</p> |
---|
| 2051 | </dd></dl> |
---|
| 2052 | |
---|
| 2053 | <dl class="method"> |
---|
| 2054 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetBackgroundColour"> |
---|
| 2055 | <tt class="descname">SetBackgroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 2056 | <dd><p>Sets the background colour of the window. Returns True if the colour |
---|
| 2057 | was changed. The background colour is usually painted by the default |
---|
| 2058 | EVT_ERASE_BACKGROUND event handler function under Windows and |
---|
| 2059 | automatically under GTK. Using <cite>wx.NullColour</cite> will reset the window |
---|
| 2060 | to the default background colour.</p> |
---|
| 2061 | <p>Note that setting the background colour may not cause an immediate |
---|
| 2062 | refresh, so you may wish to call <cite>ClearBackground</cite> or <cite>Refresh</cite> after |
---|
| 2063 | calling this function.</p> |
---|
| 2064 | <p>Using this function will disable attempts to use themes for this |
---|
| 2065 | window, if the system supports them. Use with care since usually the |
---|
| 2066 | themes represent the appearance chosen by the user to be used for all |
---|
| 2067 | applications on the system.</p> |
---|
| 2068 | </dd></dl> |
---|
| 2069 | |
---|
| 2070 | <dl class="method"> |
---|
| 2071 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetBackgroundStyle"> |
---|
| 2072 | <tt class="descname">SetBackgroundStyle</tt><big>(</big><em>self</em>, <em>int style</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetBackgroundStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 2073 | <dd><p>Returns the background style of the window. The background style |
---|
| 2074 | indicates how the background of the window is drawn.</p> |
---|
| 2075 | <blockquote> |
---|
| 2076 | <div><table border="1" class="docutils"> |
---|
| 2077 | <colgroup> |
---|
| 2078 | <col width="35%" /> |
---|
| 2079 | <col width="65%" /> |
---|
| 2080 | </colgroup> |
---|
| 2081 | <tbody valign="top"> |
---|
| 2082 | <tr class="row-odd"><td>wx.BG_STYLE_SYSTEM</td> |
---|
| 2083 | <td>The background colour or pattern should |
---|
| 2084 | be determined by the system</td> |
---|
| 2085 | </tr> |
---|
| 2086 | <tr class="row-even"><td>wx.BG_STYLE_COLOUR</td> |
---|
| 2087 | <td>The background should be a solid colour</td> |
---|
| 2088 | </tr> |
---|
| 2089 | <tr class="row-odd"><td>wx.BG_STYLE_CUSTOM</td> |
---|
| 2090 | <td>The background will be implemented by the |
---|
| 2091 | application.</td> |
---|
| 2092 | </tr> |
---|
| 2093 | </tbody> |
---|
| 2094 | </table> |
---|
| 2095 | </div></blockquote> |
---|
| 2096 | <p>On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of |
---|
| 2097 | a custom background, such as a tiled bitmap. Currently the style has |
---|
| 2098 | no effect on other platforms.</p> |
---|
| 2099 | <table class="docutils field-list" frame="void" rules="none"> |
---|
| 2100 | <col class="field-name" /> |
---|
| 2101 | <col class="field-body" /> |
---|
| 2102 | <tbody valign="top"> |
---|
| 2103 | <tr class="field-odd field"><th class="field-name">See :</th><td class="field-body"><cite>GetBackgroundStyle</cite>, <cite>SetBackgroundColour</cite></td> |
---|
| 2104 | </tr> |
---|
| 2105 | </tbody> |
---|
| 2106 | </table> |
---|
| 2107 | </dd></dl> |
---|
| 2108 | |
---|
| 2109 | <dl class="method"> |
---|
| 2110 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetBestFittingSize"> |
---|
| 2111 | <tt class="descname">SetBestFittingSize</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetBestFittingSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2112 | <dd><p>Use <cite>SetInitialSize</cite></p> |
---|
| 2113 | </dd></dl> |
---|
| 2114 | |
---|
| 2115 | <dl class="method"> |
---|
| 2116 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetCaret"> |
---|
| 2117 | <tt class="descname">SetCaret</tt><big>(</big><em>self</em>, <em>Caret caret</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetCaret" title="Permalink to this definition">¶</a></dt> |
---|
| 2118 | <dd><p>Sets the caret associated with the window.</p> |
---|
| 2119 | </dd></dl> |
---|
| 2120 | |
---|
| 2121 | <dl class="method"> |
---|
| 2122 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetClientRect"> |
---|
| 2123 | <tt class="descname">SetClientRect</tt><big>(</big><em>self</em>, <em>Rect rect</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetClientRect" title="Permalink to this definition">¶</a></dt> |
---|
| 2124 | <dd><p>This sets the size of the window client area in pixels. Using this |
---|
| 2125 | function to size a window tends to be more device-independent than |
---|
| 2126 | wx.Window.SetSize, since the application need not worry about what |
---|
| 2127 | dimensions the border or title bar have when trying to fit the window |
---|
| 2128 | around panel items, for example.</p> |
---|
| 2129 | </dd></dl> |
---|
| 2130 | |
---|
| 2131 | <dl class="method"> |
---|
| 2132 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetClientSize"> |
---|
| 2133 | <tt class="descname">SetClientSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetClientSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2134 | <dd><p>This sets the size of the window client area in pixels. Using this |
---|
| 2135 | function to size a window tends to be more device-independent than |
---|
| 2136 | wx.Window.SetSize, since the application need not worry about what |
---|
| 2137 | dimensions the border or title bar have when trying to fit the window |
---|
| 2138 | around panel items, for example.</p> |
---|
| 2139 | </dd></dl> |
---|
| 2140 | |
---|
| 2141 | <dl class="method"> |
---|
| 2142 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetClientSizeWH"> |
---|
| 2143 | <tt class="descname">SetClientSizeWH</tt><big>(</big><em>self</em>, <em>int width</em>, <em>int height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetClientSizeWH" title="Permalink to this definition">¶</a></dt> |
---|
| 2144 | <dd><p>This sets the size of the window client area in pixels. Using this |
---|
| 2145 | function to size a window tends to be more device-independent than |
---|
| 2146 | wx.Window.SetSize, since the application need not worry about what |
---|
| 2147 | dimensions the border or title bar have when trying to fit the window |
---|
| 2148 | around panel items, for example.</p> |
---|
| 2149 | </dd></dl> |
---|
| 2150 | |
---|
| 2151 | <dl class="method"> |
---|
| 2152 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetConstraints"> |
---|
| 2153 | <tt class="descname">SetConstraints</tt><big>(</big><em>self</em>, <em>LayoutConstraints constraints</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetConstraints" title="Permalink to this definition">¶</a></dt> |
---|
| 2154 | <dd><p>Sets the window to have the given layout constraints. If an existing |
---|
| 2155 | layout constraints object is already owned by the window, it will be |
---|
| 2156 | deleted. Pass None to disassociate and delete the window’s current |
---|
| 2157 | constraints.</p> |
---|
| 2158 | <p>You must call SetAutoLayout to tell a window to use the constraints |
---|
| 2159 | automatically in its default EVT_SIZE handler; otherwise, you must |
---|
| 2160 | handle EVT_SIZE yourself and call Layout() explicitly. When setting |
---|
| 2161 | both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have |
---|
| 2162 | effect.</p> |
---|
| 2163 | </dd></dl> |
---|
| 2164 | |
---|
| 2165 | <dl class="method"> |
---|
| 2166 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetContainingSizer"> |
---|
| 2167 | <tt class="descname">SetContainingSizer</tt><big>(</big><em>self</em>, <em>Sizer sizer</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetContainingSizer" title="Permalink to this definition">¶</a></dt> |
---|
| 2168 | <dd><p>This normally does not need to be called by application code. It is |
---|
| 2169 | called internally when a window is added to a sizer, and is used so |
---|
| 2170 | the window can remove itself from the sizer when it is destroyed.</p> |
---|
| 2171 | </dd></dl> |
---|
| 2172 | |
---|
| 2173 | <dl class="method"> |
---|
| 2174 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetCursor"> |
---|
| 2175 | <tt class="descname">SetCursor</tt><big>(</big><em>self</em>, <em>Cursor cursor</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetCursor" title="Permalink to this definition">¶</a></dt> |
---|
| 2176 | <dd><p>Sets the window’s cursor. Notice that the window cursor also sets it |
---|
| 2177 | for the children of the window implicitly.</p> |
---|
| 2178 | <p>The cursor may be wx.NullCursor in which case the window cursor will |
---|
| 2179 | be reset back to default.</p> |
---|
| 2180 | </dd></dl> |
---|
| 2181 | |
---|
| 2182 | <dl class="method"> |
---|
| 2183 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetDimensions"> |
---|
| 2184 | <tt class="descname">SetDimensions</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em>, <em>int width</em>, <em>int height</em>, <em>int sizeFlags=SIZE_AUTO</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetDimensions" title="Permalink to this definition">¶</a></dt> |
---|
| 2185 | <dd><p>Sets the position and size of the window in pixels. The sizeFlags |
---|
| 2186 | parameter indicates the interpretation of the other params if they are |
---|
| 2187 | equal to -1.</p> |
---|
| 2188 | <blockquote> |
---|
| 2189 | <div><table border="1" class="docutils"> |
---|
| 2190 | <colgroup> |
---|
| 2191 | <col width="39%" /> |
---|
| 2192 | <col width="61%" /> |
---|
| 2193 | </colgroup> |
---|
| 2194 | <tbody valign="top"> |
---|
| 2195 | <tr class="row-odd"><td>wx.SIZE_AUTO</td> |
---|
| 2196 | <td>A -1 indicates that a class-specific |
---|
| 2197 | default should be used.</td> |
---|
| 2198 | </tr> |
---|
| 2199 | <tr class="row-even"><td>wx.SIZE_USE_EXISTING</td> |
---|
| 2200 | <td>Existing dimensions should be used if |
---|
| 2201 | -1 values are supplied.</td> |
---|
| 2202 | </tr> |
---|
| 2203 | <tr class="row-odd"><td>wxSIZE_ALLOW_MINUS_ONE</td> |
---|
| 2204 | <td>Allow dimensions of -1 and less to be |
---|
| 2205 | interpreted as real dimensions, not |
---|
| 2206 | default values.</td> |
---|
| 2207 | </tr> |
---|
| 2208 | </tbody> |
---|
| 2209 | </table> |
---|
| 2210 | </div></blockquote> |
---|
| 2211 | </dd></dl> |
---|
| 2212 | |
---|
| 2213 | <dl class="method"> |
---|
| 2214 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetDoubleBuffered"> |
---|
| 2215 | <tt class="descname">SetDoubleBuffered</tt><big>(</big><em>self</em>, <em>bool on</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetDoubleBuffered" title="Permalink to this definition">¶</a></dt> |
---|
| 2216 | <dd><p>Put the native window into double buffered or composited mode.</p> |
---|
| 2217 | </dd></dl> |
---|
| 2218 | |
---|
| 2219 | <dl class="method"> |
---|
| 2220 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetDropTarget"> |
---|
| 2221 | <tt class="descname">SetDropTarget</tt><big>(</big><em>self</em>, <em>DropTarget dropTarget</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetDropTarget" title="Permalink to this definition">¶</a></dt> |
---|
| 2222 | <dd><p>Associates a drop target with this window. If the window already has |
---|
| 2223 | a drop target, it is deleted.</p> |
---|
| 2224 | </dd></dl> |
---|
| 2225 | |
---|
| 2226 | <dl class="method"> |
---|
| 2227 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetEventHandler"> |
---|
| 2228 | <tt class="descname">SetEventHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetEventHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 2229 | <dd><p>Sets the event handler for this window. An event handler is an object |
---|
| 2230 | that is capable of processing the events sent to a window. (In other |
---|
| 2231 | words, is able to dispatch the events to handler function.) By |
---|
| 2232 | default, the window is its own event handler, but an application may |
---|
| 2233 | wish to substitute another, for example to allow central |
---|
| 2234 | implementation of event-handling for a variety of different window |
---|
| 2235 | classes.</p> |
---|
| 2236 | <p>It is usually better to use <cite>wx.Window.PushEventHandler</cite> since this sets |
---|
| 2237 | up a chain of event handlers, where an event not handled by one event |
---|
| 2238 | handler is handed off to the next one in the chain.</p> |
---|
| 2239 | </dd></dl> |
---|
| 2240 | |
---|
| 2241 | <dl class="method"> |
---|
| 2242 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetEvtHandlerEnabled"> |
---|
| 2243 | <tt class="descname">SetEvtHandlerEnabled</tt><big>(</big><em>self</em>, <em>bool enabled</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetEvtHandlerEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 2244 | <dd></dd></dl> |
---|
| 2245 | |
---|
| 2246 | <dl class="method"> |
---|
| 2247 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetExtraStyle"> |
---|
| 2248 | <tt class="descname">SetExtraStyle</tt><big>(</big><em>self</em>, <em>long exStyle</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetExtraStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 2249 | <dd><p>Sets the extra style bits for the window. Extra styles are the less |
---|
| 2250 | often used style bits which can’t be set with the constructor or with |
---|
| 2251 | SetWindowStyleFlag()</p> |
---|
| 2252 | </dd></dl> |
---|
| 2253 | |
---|
| 2254 | <dl class="method"> |
---|
| 2255 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetFocus"> |
---|
| 2256 | <tt class="descname">SetFocus</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetFocus" title="Permalink to this definition">¶</a></dt> |
---|
| 2257 | <dd><p>Set’s the focus to this window, allowing it to receive keyboard input.</p> |
---|
| 2258 | </dd></dl> |
---|
| 2259 | |
---|
| 2260 | <dl class="method"> |
---|
| 2261 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetFocusFromKbd"> |
---|
| 2262 | <tt class="descname">SetFocusFromKbd</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetFocusFromKbd" title="Permalink to this definition">¶</a></dt> |
---|
| 2263 | <dd><p>Set focus to this window as the result of a keyboard action. Normally |
---|
| 2264 | only called internally.</p> |
---|
| 2265 | </dd></dl> |
---|
| 2266 | |
---|
| 2267 | <dl class="method"> |
---|
| 2268 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetFont"> |
---|
| 2269 | <tt class="descname">SetFont</tt><big>(</big><em>self</em>, <em>Font font</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetFont" title="Permalink to this definition">¶</a></dt> |
---|
| 2270 | <dd><p>Sets the font for this window.</p> |
---|
| 2271 | </dd></dl> |
---|
| 2272 | |
---|
| 2273 | <dl class="method"> |
---|
| 2274 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetForegroundColour"> |
---|
| 2275 | <tt class="descname">SetForegroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 2276 | <dd><p>Sets the foreground colour of the window. Returns True is the colour |
---|
| 2277 | was changed. The interpretation of foreground colour is dependent on |
---|
| 2278 | the window class; it may be the text colour or other colour, or it may |
---|
| 2279 | not be used at all.</p> |
---|
| 2280 | </dd></dl> |
---|
| 2281 | |
---|
| 2282 | <dl class="method"> |
---|
| 2283 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetHelpText"> |
---|
| 2284 | <tt class="descname">SetHelpText</tt><big>(</big><em>self</em>, <em>String text</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetHelpText" title="Permalink to this definition">¶</a></dt> |
---|
| 2285 | <dd><p>Sets the help text to be used as context-sensitive help for this |
---|
| 2286 | window. Note that the text is actually stored by the current |
---|
| 2287 | <cite>wx.HelpProvider</cite> implementation, and not in the window object itself.</p> |
---|
| 2288 | </dd></dl> |
---|
| 2289 | |
---|
| 2290 | <dl class="method"> |
---|
| 2291 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetHelpTextForId"> |
---|
| 2292 | <tt class="descname">SetHelpTextForId</tt><big>(</big><em>self</em>, <em>String text</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetHelpTextForId" title="Permalink to this definition">¶</a></dt> |
---|
| 2293 | <dd><p>Associate this help text with all windows with the same id as this |
---|
| 2294 | one.</p> |
---|
| 2295 | </dd></dl> |
---|
| 2296 | |
---|
| 2297 | <dl class="method"> |
---|
| 2298 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetId"> |
---|
| 2299 | <tt class="descname">SetId</tt><big>(</big><em>self</em>, <em>int winid</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetId" title="Permalink to this definition">¶</a></dt> |
---|
| 2300 | <dd><p>Sets the identifier of the window. Each window has an integer |
---|
| 2301 | identifier. If the application has not provided one, an identifier |
---|
| 2302 | will be generated. Normally, the identifier should be provided on |
---|
| 2303 | creation and should not be modified subsequently.</p> |
---|
| 2304 | </dd></dl> |
---|
| 2305 | |
---|
| 2306 | <dl class="method"> |
---|
| 2307 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetInitialSize"> |
---|
| 2308 | <tt class="descname">SetInitialSize</tt><big>(</big><em>self</em>, <em>Size size=DefaultSize</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetInitialSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2309 | <dd><p>A ‘Smart’ SetSize that will fill in default size components with the |
---|
| 2310 | window’s <em>best size</em> values. Also set’s the minsize for use with sizers.</p> |
---|
| 2311 | </dd></dl> |
---|
| 2312 | |
---|
| 2313 | <dl class="method"> |
---|
| 2314 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetLabel"> |
---|
| 2315 | <tt class="descname">SetLabel</tt><big>(</big><em>self</em>, <em>String label</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetLabel" title="Permalink to this definition">¶</a></dt> |
---|
| 2316 | <dd><p>Set the text which the window shows in its label if applicable.</p> |
---|
| 2317 | </dd></dl> |
---|
| 2318 | |
---|
| 2319 | <dl class="method"> |
---|
| 2320 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetLayoutDirection"> |
---|
| 2321 | <tt class="descname">SetLayoutDirection</tt><big>(</big><em>self</em>, <em>int dir</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetLayoutDirection" title="Permalink to this definition">¶</a></dt> |
---|
| 2322 | <dd><p>Set the layout direction (LTR or RTL) for this window.</p> |
---|
| 2323 | </dd></dl> |
---|
| 2324 | |
---|
| 2325 | <dl class="method"> |
---|
| 2326 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetMargins"> |
---|
| 2327 | <tt class="descname">SetMargins</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetMargins" title="Permalink to this definition">¶</a></dt> |
---|
| 2328 | <dd></dd></dl> |
---|
| 2329 | |
---|
| 2330 | <dl class="method"> |
---|
| 2331 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetMarginsXY"> |
---|
| 2332 | <tt class="descname">SetMarginsXY</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetMarginsXY" title="Permalink to this definition">¶</a></dt> |
---|
| 2333 | <dd></dd></dl> |
---|
| 2334 | |
---|
| 2335 | <dl class="method"> |
---|
| 2336 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetMaxRowsCols"> |
---|
| 2337 | <tt class="descname">SetMaxRowsCols</tt><big>(</big><em>self</em>, <em>int rows</em>, <em>int cols</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetMaxRowsCols" title="Permalink to this definition">¶</a></dt> |
---|
| 2338 | <dd></dd></dl> |
---|
| 2339 | |
---|
| 2340 | <dl class="method"> |
---|
| 2341 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetMaxSize"> |
---|
| 2342 | <tt class="descname">SetMaxSize</tt><big>(</big><em>self</em>, <em>Size maxSize</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetMaxSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2343 | <dd><p>A more convenient method than <cite>SetSizeHints</cite> for setting just the |
---|
| 2344 | max size.</p> |
---|
| 2345 | </dd></dl> |
---|
| 2346 | |
---|
| 2347 | <dl class="method"> |
---|
| 2348 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetMinSize"> |
---|
| 2349 | <tt class="descname">SetMinSize</tt><big>(</big><em>self</em>, <em>Size minSize</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetMinSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2350 | <dd><p>A more convenient method than <cite>SetSizeHints</cite> for setting just the |
---|
| 2351 | min size.</p> |
---|
| 2352 | </dd></dl> |
---|
| 2353 | |
---|
| 2354 | <dl class="method"> |
---|
| 2355 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetName"> |
---|
| 2356 | <tt class="descname">SetName</tt><big>(</big><em>self</em>, <em>String name</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetName" title="Permalink to this definition">¶</a></dt> |
---|
| 2357 | <dd><p>Sets the window’s name. The window name is used for ressource setting |
---|
| 2358 | in X, it is not the same as the window title/label</p> |
---|
| 2359 | </dd></dl> |
---|
| 2360 | |
---|
| 2361 | <dl class="method"> |
---|
| 2362 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetNextHandler"> |
---|
| 2363 | <tt class="descname">SetNextHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetNextHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 2364 | <dd></dd></dl> |
---|
| 2365 | |
---|
| 2366 | <dl class="method"> |
---|
| 2367 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetOwnBackgroundColour"> |
---|
| 2368 | <tt class="descname">SetOwnBackgroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetOwnBackgroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 2369 | <dd></dd></dl> |
---|
| 2370 | |
---|
| 2371 | <dl class="method"> |
---|
| 2372 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetOwnFont"> |
---|
| 2373 | <tt class="descname">SetOwnFont</tt><big>(</big><em>self</em>, <em>Font font</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetOwnFont" title="Permalink to this definition">¶</a></dt> |
---|
| 2374 | <dd></dd></dl> |
---|
| 2375 | |
---|
| 2376 | <dl class="method"> |
---|
| 2377 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetOwnForegroundColour"> |
---|
| 2378 | <tt class="descname">SetOwnForegroundColour</tt><big>(</big><em>self</em>, <em>Colour colour</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetOwnForegroundColour" title="Permalink to this definition">¶</a></dt> |
---|
| 2379 | <dd></dd></dl> |
---|
| 2380 | |
---|
| 2381 | <dl class="method"> |
---|
| 2382 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetPosition"> |
---|
| 2383 | <tt class="descname">SetPosition</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetPosition" title="Permalink to this definition">¶</a></dt> |
---|
| 2384 | <dd><p>Move(self, Point pt, int flags=SIZE_USE_EXISTING)</p> |
---|
| 2385 | <p>Moves the window to the given position.</p> |
---|
| 2386 | </dd></dl> |
---|
| 2387 | |
---|
| 2388 | <dl class="method"> |
---|
| 2389 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetPreviousHandler"> |
---|
| 2390 | <tt class="descname">SetPreviousHandler</tt><big>(</big><em>self</em>, <em>EvtHandler handler</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetPreviousHandler" title="Permalink to this definition">¶</a></dt> |
---|
| 2391 | <dd></dd></dl> |
---|
| 2392 | |
---|
| 2393 | <dl class="method"> |
---|
| 2394 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetRect"> |
---|
| 2395 | <tt class="descname">SetRect</tt><big>(</big><em>self</em>, <em>Rect rect</em>, <em>int sizeFlags=SIZE_AUTO</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetRect" title="Permalink to this definition">¶</a></dt> |
---|
| 2396 | <dd><p>Sets the position and size of the window in pixels using a wx.Rect.</p> |
---|
| 2397 | </dd></dl> |
---|
| 2398 | |
---|
| 2399 | <dl class="method"> |
---|
| 2400 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetRows"> |
---|
| 2401 | <tt class="descname">SetRows</tt><big>(</big><em>self</em>, <em>int nRows</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetRows" title="Permalink to this definition">¶</a></dt> |
---|
| 2402 | <dd></dd></dl> |
---|
| 2403 | |
---|
| 2404 | <dl class="method"> |
---|
| 2405 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetScrollPos"> |
---|
| 2406 | <tt class="descname">SetScrollPos</tt><big>(</big><em>self</em>, <em>int orientation</em>, <em>int pos</em>, <em>bool refresh=True</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetScrollPos" title="Permalink to this definition">¶</a></dt> |
---|
| 2407 | <dd><p>Sets the position of one of the built-in scrollbars.</p> |
---|
| 2408 | </dd></dl> |
---|
| 2409 | |
---|
| 2410 | <dl class="method"> |
---|
| 2411 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetScrollbar"> |
---|
| 2412 | <tt class="descname">SetScrollbar</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetScrollbar" title="Permalink to this definition">¶</a></dt> |
---|
| 2413 | <dd><dl class="docutils"> |
---|
| 2414 | <dt>SetScrollbar(self, int orientation, int position, int thumbSize, int range, </dt> |
---|
| 2415 | <dd>bool refresh=True)</dd> |
---|
| 2416 | </dl> |
---|
| 2417 | <p>Sets the scrollbar properties of a built-in scrollbar.</p> |
---|
| 2418 | </dd></dl> |
---|
| 2419 | |
---|
| 2420 | <dl class="method"> |
---|
| 2421 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetSize"> |
---|
| 2422 | <tt class="descname">SetSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2423 | <dd><p>Sets the size of the window in pixels.</p> |
---|
| 2424 | </dd></dl> |
---|
| 2425 | |
---|
| 2426 | <dl class="method"> |
---|
| 2427 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetSizeHints"> |
---|
| 2428 | <tt class="descname">SetSizeHints</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetSizeHints" title="Permalink to this definition">¶</a></dt> |
---|
| 2429 | <dd><dl class="docutils"> |
---|
| 2430 | <dt>SetSizeHints(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, </dt> |
---|
| 2431 | <dd>int incH=-1)</dd> |
---|
| 2432 | </dl> |
---|
| 2433 | <p>Allows specification of minimum and maximum window sizes, and window |
---|
| 2434 | size increments. If a pair of values is not set (or set to -1), the |
---|
| 2435 | default values will be used. If this function is called, the user |
---|
| 2436 | will not be able to size the window outside the given bounds (if it is |
---|
| 2437 | a top-level window.) Sizers will also inspect the minimum window size |
---|
| 2438 | and will use that value if set when calculating layout.</p> |
---|
| 2439 | <p>The resizing increments are only significant under Motif or Xt.</p> |
---|
| 2440 | </dd></dl> |
---|
| 2441 | |
---|
| 2442 | <dl class="method"> |
---|
| 2443 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetSizeHintsSz"> |
---|
| 2444 | <tt class="descname">SetSizeHintsSz</tt><big>(</big><em>self</em>, <em>Size minSize</em>, <em>Size maxSize=DefaultSize</em>, <em>Size incSize=DefaultSize</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetSizeHintsSz" title="Permalink to this definition">¶</a></dt> |
---|
| 2445 | <dd><p>Allows specification of minimum and maximum window sizes, and window |
---|
| 2446 | size increments. If a pair of values is not set (or set to -1), the |
---|
| 2447 | default values will be used. If this function is called, the user |
---|
| 2448 | will not be able to size the window outside the given bounds (if it is |
---|
| 2449 | a top-level window.) Sizers will also inspect the minimum window size |
---|
| 2450 | and will use that value if set when calculating layout.</p> |
---|
| 2451 | <p>The resizing increments are only significant under Motif or Xt.</p> |
---|
| 2452 | </dd></dl> |
---|
| 2453 | |
---|
| 2454 | <dl class="method"> |
---|
| 2455 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetSizeWH"> |
---|
| 2456 | <tt class="descname">SetSizeWH</tt><big>(</big><em>self</em>, <em>int width</em>, <em>int height</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetSizeWH" title="Permalink to this definition">¶</a></dt> |
---|
| 2457 | <dd><p>Sets the size of the window in pixels.</p> |
---|
| 2458 | </dd></dl> |
---|
| 2459 | |
---|
| 2460 | <dl class="method"> |
---|
| 2461 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetSizer"> |
---|
| 2462 | <tt class="descname">SetSizer</tt><big>(</big><em>self</em>, <em>Sizer sizer</em>, <em>bool deleteOld=True</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetSizer" title="Permalink to this definition">¶</a></dt> |
---|
| 2463 | <dd><p>Sets the window to have the given layout sizer. The window will then |
---|
| 2464 | own the object, and will take care of its deletion. If an existing |
---|
| 2465 | layout sizer object is already owned by the window, it will be deleted |
---|
| 2466 | if the deleteOld parameter is true. Note that this function will also |
---|
| 2467 | call SetAutoLayout implicitly with a True parameter if the sizer is |
---|
| 2468 | non-None, and False otherwise.</p> |
---|
| 2469 | </dd></dl> |
---|
| 2470 | |
---|
| 2471 | <dl class="method"> |
---|
| 2472 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetSizerAndFit"> |
---|
| 2473 | <tt class="descname">SetSizerAndFit</tt><big>(</big><em>self</em>, <em>Sizer sizer</em>, <em>bool deleteOld=True</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetSizerAndFit" title="Permalink to this definition">¶</a></dt> |
---|
| 2474 | <dd><p>The same as SetSizer, except it also sets the size hints for the |
---|
| 2475 | window based on the sizer’s minimum size.</p> |
---|
| 2476 | </dd></dl> |
---|
| 2477 | |
---|
| 2478 | <dl class="method"> |
---|
| 2479 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetThemeEnabled"> |
---|
| 2480 | <tt class="descname">SetThemeEnabled</tt><big>(</big><em>self</em>, <em>bool enableTheme</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetThemeEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 2481 | <dd><dl class="docutils"> |
---|
| 2482 | <dt>This function tells a window if it should use the system’s “theme”</dt> |
---|
| 2483 | <dd>code to draw the windows’ background instead if its own background |
---|
| 2484 | drawing code. This will only have an effect on platforms that support |
---|
| 2485 | the notion of themes in user defined windows. One such platform is |
---|
| 2486 | GTK+ where windows can have (very colourful) backgrounds defined by a |
---|
| 2487 | user’s selected theme.</dd> |
---|
| 2488 | </dl> |
---|
| 2489 | <p>Dialogs, notebook pages and the status bar have this flag set to true |
---|
| 2490 | by default so that the default look and feel is simulated best.</p> |
---|
| 2491 | </dd></dl> |
---|
| 2492 | |
---|
| 2493 | <dl class="method"> |
---|
| 2494 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToggle"> |
---|
| 2495 | <tt class="descname">SetToggle</tt><big>(</big><em>self</em>, <em>int id</em>, <em>bool toggle</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToggle" title="Permalink to this definition">¶</a></dt> |
---|
| 2496 | <dd></dd></dl> |
---|
| 2497 | |
---|
| 2498 | <dl class="method"> |
---|
| 2499 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolBitmapSize"> |
---|
| 2500 | <tt class="descname">SetToolBitmapSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolBitmapSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2501 | <dd></dd></dl> |
---|
| 2502 | |
---|
| 2503 | <dl class="method"> |
---|
| 2504 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolClientData"> |
---|
| 2505 | <tt class="descname">SetToolClientData</tt><big>(</big><em>self</em>, <em>int id</em>, <em>PyObject clientData</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolClientData" title="Permalink to this definition">¶</a></dt> |
---|
| 2506 | <dd></dd></dl> |
---|
| 2507 | |
---|
| 2508 | <dl class="method"> |
---|
| 2509 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolDisabledBitmap"> |
---|
| 2510 | <tt class="descname">SetToolDisabledBitmap</tt><big>(</big><em>self</em>, <em>int id</em>, <em>Bitmap bitmap</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolDisabledBitmap" title="Permalink to this definition">¶</a></dt> |
---|
| 2511 | <dd></dd></dl> |
---|
| 2512 | |
---|
| 2513 | <dl class="method"> |
---|
| 2514 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolLongHelp"> |
---|
| 2515 | <tt class="descname">SetToolLongHelp</tt><big>(</big><em>self</em>, <em>int id</em>, <em>String helpString</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolLongHelp" title="Permalink to this definition">¶</a></dt> |
---|
| 2516 | <dd></dd></dl> |
---|
| 2517 | |
---|
| 2518 | <dl class="method"> |
---|
| 2519 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolNormalBitmap"> |
---|
| 2520 | <tt class="descname">SetToolNormalBitmap</tt><big>(</big><em>self</em>, <em>int id</em>, <em>Bitmap bitmap</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolNormalBitmap" title="Permalink to this definition">¶</a></dt> |
---|
| 2521 | <dd></dd></dl> |
---|
| 2522 | |
---|
| 2523 | <dl class="method"> |
---|
| 2524 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolPacking"> |
---|
| 2525 | <tt class="descname">SetToolPacking</tt><big>(</big><em>self</em>, <em>int packing</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolPacking" title="Permalink to this definition">¶</a></dt> |
---|
| 2526 | <dd></dd></dl> |
---|
| 2527 | |
---|
| 2528 | <dl class="method"> |
---|
| 2529 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolSeparation"> |
---|
| 2530 | <tt class="descname">SetToolSeparation</tt><big>(</big><em>self</em>, <em>int separation</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolSeparation" title="Permalink to this definition">¶</a></dt> |
---|
| 2531 | <dd></dd></dl> |
---|
| 2532 | |
---|
| 2533 | <dl class="method"> |
---|
| 2534 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolShortHelp"> |
---|
| 2535 | <tt class="descname">SetToolShortHelp</tt><big>(</big><em>self</em>, <em>int id</em>, <em>String helpString</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolShortHelp" title="Permalink to this definition">¶</a></dt> |
---|
| 2536 | <dd></dd></dl> |
---|
| 2537 | |
---|
| 2538 | <dl class="method"> |
---|
| 2539 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolTip"> |
---|
| 2540 | <tt class="descname">SetToolTip</tt><big>(</big><em>self</em>, <em>ToolTip tip</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolTip" title="Permalink to this definition">¶</a></dt> |
---|
| 2541 | <dd><p>Attach a tooltip to the window.</p> |
---|
| 2542 | </dd></dl> |
---|
| 2543 | |
---|
| 2544 | <dl class="method"> |
---|
| 2545 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetToolTipString"> |
---|
| 2546 | <tt class="descname">SetToolTipString</tt><big>(</big><em>self</em>, <em>String tip</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetToolTipString" title="Permalink to this definition">¶</a></dt> |
---|
| 2547 | <dd><p>Attach a tooltip to the window.</p> |
---|
| 2548 | </dd></dl> |
---|
| 2549 | |
---|
| 2550 | <dl class="method"> |
---|
| 2551 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetTransparent"> |
---|
| 2552 | <tt class="descname">SetTransparent</tt><big>(</big><em>self</em>, <em>byte alpha</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetTransparent" title="Permalink to this definition">¶</a></dt> |
---|
| 2553 | <dd><p>Attempt to set the transparency of this window to the <tt class="docutils literal"><span class="pre">alpha</span></tt> value, |
---|
| 2554 | returns True on success. The <tt class="docutils literal"><span class="pre">alpha</span></tt> value is an integer in the |
---|
| 2555 | range of 0 to 255, where 0 is fully transparent and 255 is fully |
---|
| 2556 | opaque.</p> |
---|
| 2557 | </dd></dl> |
---|
| 2558 | |
---|
| 2559 | <dl class="method"> |
---|
| 2560 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetValidator"> |
---|
| 2561 | <tt class="descname">SetValidator</tt><big>(</big><em>self</em>, <em>Validator validator</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetValidator" title="Permalink to this definition">¶</a></dt> |
---|
| 2562 | <dd><p>Deletes the current validator (if any) and sets the window validator, |
---|
| 2563 | having called wx.Validator.Clone to create a new validator of this |
---|
| 2564 | type.</p> |
---|
| 2565 | </dd></dl> |
---|
| 2566 | |
---|
| 2567 | <dl class="method"> |
---|
| 2568 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSize"> |
---|
| 2569 | <tt class="descname">SetVirtualSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2570 | <dd><p>Set the the virtual size of a window in pixels. For most windows this |
---|
| 2571 | is just the client area of the window, but for some like scrolled |
---|
| 2572 | windows it is more or less independent of the screen window size.</p> |
---|
| 2573 | </dd></dl> |
---|
| 2574 | |
---|
| 2575 | <dl class="method"> |
---|
| 2576 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSizeHints"> |
---|
| 2577 | <tt class="descname">SetVirtualSizeHints</tt><big>(</big><em>self</em>, <em>int minW</em>, <em>int minH</em>, <em>int maxW=-1</em>, <em>int maxH=-1</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSizeHints" title="Permalink to this definition">¶</a></dt> |
---|
| 2578 | <dd><p>Allows specification of minimum and maximum virtual window sizes. If a |
---|
| 2579 | pair of values is not set (or set to -1), the default values will be |
---|
| 2580 | used. If this function is called, the user will not be able to size |
---|
| 2581 | the virtual area of the window outside the given bounds.</p> |
---|
| 2582 | </dd></dl> |
---|
| 2583 | |
---|
| 2584 | <dl class="method"> |
---|
| 2585 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSizeHintsSz"> |
---|
| 2586 | <tt class="descname">SetVirtualSizeHintsSz</tt><big>(</big><em>self</em>, <em>Size minSize</em>, <em>Size maxSize=DefaultSize</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSizeHintsSz" title="Permalink to this definition">¶</a></dt> |
---|
| 2587 | <dd><p>Allows specification of minimum and maximum virtual window sizes. If a |
---|
| 2588 | pair of values is not set (or set to -1), the default values will be |
---|
| 2589 | used. If this function is called, the user will not be able to size |
---|
| 2590 | the virtual area of the window outside the given bounds.</p> |
---|
| 2591 | </dd></dl> |
---|
| 2592 | |
---|
| 2593 | <dl class="method"> |
---|
| 2594 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSizeWH"> |
---|
| 2595 | <tt class="descname">SetVirtualSizeWH</tt><big>(</big><em>self</em>, <em>int w</em>, <em>int h</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetVirtualSizeWH" title="Permalink to this definition">¶</a></dt> |
---|
| 2596 | <dd><p>Set the the virtual size of a window in pixels. For most windows this |
---|
| 2597 | is just the client area of the window, but for some like scrolled |
---|
| 2598 | windows it is more or less independent of the screen window size.</p> |
---|
| 2599 | </dd></dl> |
---|
| 2600 | |
---|
| 2601 | <dl class="method"> |
---|
| 2602 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetWindowStyle"> |
---|
| 2603 | <tt class="descname">SetWindowStyle</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetWindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 2604 | <dd><p>SetWindowStyleFlag(self, long style)</p> |
---|
| 2605 | <p>Sets the style of the window. Please note that some styles cannot be |
---|
| 2606 | changed after the window creation and that Refresh() might need to be |
---|
| 2607 | called after changing the others for the change to take place |
---|
| 2608 | immediately.</p> |
---|
| 2609 | </dd></dl> |
---|
| 2610 | |
---|
| 2611 | <dl class="method"> |
---|
| 2612 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetWindowStyleFlag"> |
---|
| 2613 | <tt class="descname">SetWindowStyleFlag</tt><big>(</big><em>self</em>, <em>long style</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetWindowStyleFlag" title="Permalink to this definition">¶</a></dt> |
---|
| 2614 | <dd><p>Sets the style of the window. Please note that some styles cannot be |
---|
| 2615 | changed after the window creation and that Refresh() might need to be |
---|
| 2616 | called after changing the others for the change to take place |
---|
| 2617 | immediately.</p> |
---|
| 2618 | </dd></dl> |
---|
| 2619 | |
---|
| 2620 | <dl class="method"> |
---|
| 2621 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.SetWindowVariant"> |
---|
| 2622 | <tt class="descname">SetWindowVariant</tt><big>(</big><em>self</em>, <em>int variant</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.SetWindowVariant" title="Permalink to this definition">¶</a></dt> |
---|
| 2623 | <dd><p>Sets the variant of the window/font size to use for this window, if |
---|
| 2624 | the platform supports variants, for example, wxMac.</p> |
---|
| 2625 | </dd></dl> |
---|
| 2626 | |
---|
| 2627 | <dl class="method"> |
---|
| 2628 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ShouldInheritColours"> |
---|
| 2629 | <tt class="descname">ShouldInheritColours</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ShouldInheritColours" title="Permalink to this definition">¶</a></dt> |
---|
| 2630 | <dd><p>Return true from here to allow the colours of this window to be |
---|
| 2631 | changed by InheritAttributes, returning false forbids inheriting them |
---|
| 2632 | from the parent window.</p> |
---|
| 2633 | <p>The base class version returns false, but this method is overridden in |
---|
| 2634 | wxControl where it returns true.</p> |
---|
| 2635 | </dd></dl> |
---|
| 2636 | |
---|
| 2637 | <dl class="method"> |
---|
| 2638 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Show"> |
---|
| 2639 | <tt class="descname">Show</tt><big>(</big><em>self</em>, <em>bool show=True</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Show" title="Permalink to this definition">¶</a></dt> |
---|
| 2640 | <dd><p>Shows or hides the window. You may need to call Raise for a top level |
---|
| 2641 | window if you want to bring it to top, although this is not needed if |
---|
| 2642 | Show is called immediately after the frame creation. Returns True if |
---|
| 2643 | the window has been shown or hidden or False if nothing was done |
---|
| 2644 | because it already was in the requested state.</p> |
---|
| 2645 | </dd></dl> |
---|
| 2646 | |
---|
| 2647 | <dl class="attribute"> |
---|
| 2648 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Shown"> |
---|
| 2649 | <tt class="descname">Shown</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Shown" title="Permalink to this definition">¶</a></dt> |
---|
| 2650 | <dd><p>See <cite>IsShown</cite> and <cite>Show</cite></p> |
---|
| 2651 | </dd></dl> |
---|
| 2652 | |
---|
| 2653 | <dl class="attribute"> |
---|
| 2654 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Size"> |
---|
| 2655 | <tt class="descname">Size</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Size" title="Permalink to this definition">¶</a></dt> |
---|
| 2656 | <dd><p>See <cite>GetSize</cite> and <cite>SetSize</cite></p> |
---|
| 2657 | </dd></dl> |
---|
| 2658 | |
---|
| 2659 | <dl class="attribute"> |
---|
| 2660 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Sizer"> |
---|
| 2661 | <tt class="descname">Sizer</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Sizer" title="Permalink to this definition">¶</a></dt> |
---|
| 2662 | <dd><p>See <cite>GetSizer</cite> and <cite>SetSizer</cite></p> |
---|
| 2663 | </dd></dl> |
---|
| 2664 | |
---|
| 2665 | <dl class="method"> |
---|
| 2666 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Thaw"> |
---|
| 2667 | <tt class="descname">Thaw</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Thaw" title="Permalink to this definition">¶</a></dt> |
---|
| 2668 | <dd><p>Reenables window updating after a previous call to Freeze. Calls to |
---|
| 2669 | Freeze/Thaw may be nested, so Thaw must be called the same number of |
---|
| 2670 | times that Freeze was before the window will be updated.</p> |
---|
| 2671 | </dd></dl> |
---|
| 2672 | |
---|
| 2673 | <dl class="attribute"> |
---|
| 2674 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ThemeEnabled"> |
---|
| 2675 | <tt class="descname">ThemeEnabled</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ThemeEnabled" title="Permalink to this definition">¶</a></dt> |
---|
| 2676 | <dd><p>See <cite>GetThemeEnabled</cite> and <cite>SetThemeEnabled</cite></p> |
---|
| 2677 | </dd></dl> |
---|
| 2678 | |
---|
| 2679 | <dl class="method"> |
---|
| 2680 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToggleTool"> |
---|
| 2681 | <tt class="descname">ToggleTool</tt><big>(</big><em>self</em>, <em>int id</em>, <em>bool toggle</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToggleTool" title="Permalink to this definition">¶</a></dt> |
---|
| 2682 | <dd></dd></dl> |
---|
| 2683 | |
---|
| 2684 | <dl class="method"> |
---|
| 2685 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToggleWindowStyle"> |
---|
| 2686 | <tt class="descname">ToggleWindowStyle</tt><big>(</big><em>self</em>, <em>int flag</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToggleWindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 2687 | <dd><p>Turn the flag on if it had been turned off before and vice versa, |
---|
| 2688 | returns True if the flag is turned on by this function call.</p> |
---|
| 2689 | </dd></dl> |
---|
| 2690 | |
---|
| 2691 | <dl class="attribute"> |
---|
| 2692 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolBitmapSize"> |
---|
| 2693 | <tt class="descname">ToolBitmapSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolBitmapSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2694 | <dd><p>See <cite>GetToolBitmapSize</cite> and <cite>SetToolBitmapSize</cite></p> |
---|
| 2695 | </dd></dl> |
---|
| 2696 | |
---|
| 2697 | <dl class="attribute"> |
---|
| 2698 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolMargins"> |
---|
| 2699 | <tt class="descname">ToolMargins</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolMargins" title="Permalink to this definition">¶</a></dt> |
---|
| 2700 | <dd><p>See <cite>GetToolMargins</cite></p> |
---|
| 2701 | </dd></dl> |
---|
| 2702 | |
---|
| 2703 | <dl class="attribute"> |
---|
| 2704 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolPacking"> |
---|
| 2705 | <tt class="descname">ToolPacking</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolPacking" title="Permalink to this definition">¶</a></dt> |
---|
| 2706 | <dd><p>See <cite>GetToolPacking</cite> and <cite>SetToolPacking</cite></p> |
---|
| 2707 | </dd></dl> |
---|
| 2708 | |
---|
| 2709 | <dl class="attribute"> |
---|
| 2710 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolSeparation"> |
---|
| 2711 | <tt class="descname">ToolSeparation</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolSeparation" title="Permalink to this definition">¶</a></dt> |
---|
| 2712 | <dd><p>See <cite>GetToolSeparation</cite> and <cite>SetToolSeparation</cite></p> |
---|
| 2713 | </dd></dl> |
---|
| 2714 | |
---|
| 2715 | <dl class="attribute"> |
---|
| 2716 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolSize"> |
---|
| 2717 | <tt class="descname">ToolSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2718 | <dd><p>See <cite>GetToolSize</cite></p> |
---|
| 2719 | </dd></dl> |
---|
| 2720 | |
---|
| 2721 | <dl class="attribute"> |
---|
| 2722 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolTip"> |
---|
| 2723 | <tt class="descname">ToolTip</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolTip" title="Permalink to this definition">¶</a></dt> |
---|
| 2724 | <dd><p>See <cite>GetToolTip</cite> and <cite>SetToolTip</cite></p> |
---|
| 2725 | </dd></dl> |
---|
| 2726 | |
---|
| 2727 | <dl class="attribute"> |
---|
| 2728 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.ToolsCount"> |
---|
| 2729 | <tt class="descname">ToolsCount</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.ToolsCount" title="Permalink to this definition">¶</a></dt> |
---|
| 2730 | <dd><p>See <cite>GetToolsCount</cite></p> |
---|
| 2731 | </dd></dl> |
---|
| 2732 | |
---|
| 2733 | <dl class="attribute"> |
---|
| 2734 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.TopLevel"> |
---|
| 2735 | <tt class="descname">TopLevel</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.TopLevel" title="Permalink to this definition">¶</a></dt> |
---|
| 2736 | <dd><p>See <cite>IsTopLevel</cite></p> |
---|
| 2737 | </dd></dl> |
---|
| 2738 | |
---|
| 2739 | <dl class="attribute"> |
---|
| 2740 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.TopLevelParent"> |
---|
| 2741 | <tt class="descname">TopLevelParent</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.TopLevelParent" title="Permalink to this definition">¶</a></dt> |
---|
| 2742 | <dd><p>See <cite>GetTopLevelParent</cite></p> |
---|
| 2743 | </dd></dl> |
---|
| 2744 | |
---|
| 2745 | <dl class="method"> |
---|
| 2746 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.TransferDataFromWindow"> |
---|
| 2747 | <tt class="descname">TransferDataFromWindow</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.TransferDataFromWindow" title="Permalink to this definition">¶</a></dt> |
---|
| 2748 | <dd><p>Transfers values from child controls to data areas specified by their |
---|
| 2749 | validators. Returns false if a transfer failed. If the window has |
---|
| 2750 | wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will |
---|
| 2751 | also call TransferDataFromWindow() of all child windows.</p> |
---|
| 2752 | </dd></dl> |
---|
| 2753 | |
---|
| 2754 | <dl class="method"> |
---|
| 2755 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.TransferDataToWindow"> |
---|
| 2756 | <tt class="descname">TransferDataToWindow</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.TransferDataToWindow" title="Permalink to this definition">¶</a></dt> |
---|
| 2757 | <dd><p>Transfers values to child controls from data areas specified by their |
---|
| 2758 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra |
---|
| 2759 | style flag set, the method will also call TransferDataToWindow() of |
---|
| 2760 | all child windows.</p> |
---|
| 2761 | </dd></dl> |
---|
| 2762 | |
---|
| 2763 | <dl class="method"> |
---|
| 2764 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Unbind"> |
---|
| 2765 | <tt class="descname">Unbind</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Unbind" title="Permalink to this definition">¶</a></dt> |
---|
| 2766 | <dd><p>Disconnects the event handler binding for event from self. |
---|
| 2767 | Returns True if successful.</p> |
---|
| 2768 | </dd></dl> |
---|
| 2769 | |
---|
| 2770 | <dl class="method"> |
---|
| 2771 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.UnregisterHotKey"> |
---|
| 2772 | <tt class="descname">UnregisterHotKey</tt><big>(</big><em>self</em>, <em>int hotkeyId</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.UnregisterHotKey" title="Permalink to this definition">¶</a></dt> |
---|
| 2773 | <dd><p>Unregisters a system wide hotkey.</p> |
---|
| 2774 | </dd></dl> |
---|
| 2775 | |
---|
| 2776 | <dl class="method"> |
---|
| 2777 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Update"> |
---|
| 2778 | <tt class="descname">Update</tt><big>(</big><em>self</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Update" title="Permalink to this definition">¶</a></dt> |
---|
| 2779 | <dd><p>Calling this method immediately repaints the invalidated area of the |
---|
| 2780 | window instead of waiting for the EVT_PAINT event to happen, (normally |
---|
| 2781 | this would usually only happen when the flow of control returns to the |
---|
| 2782 | event loop.) Notice that this function doesn’t refresh the window and |
---|
| 2783 | does nothing if the window has been already repainted. Use <cite>Refresh</cite> |
---|
| 2784 | first if you want to immediately redraw the window (or some portion of |
---|
| 2785 | it) unconditionally.</p> |
---|
| 2786 | </dd></dl> |
---|
| 2787 | |
---|
| 2788 | <dl class="attribute"> |
---|
| 2789 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.UpdateClientRect"> |
---|
| 2790 | <tt class="descname">UpdateClientRect</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.UpdateClientRect" title="Permalink to this definition">¶</a></dt> |
---|
| 2791 | <dd><p>See <cite>GetUpdateClientRect</cite></p> |
---|
| 2792 | </dd></dl> |
---|
| 2793 | |
---|
| 2794 | <dl class="attribute"> |
---|
| 2795 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.UpdateRegion"> |
---|
| 2796 | <tt class="descname">UpdateRegion</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.UpdateRegion" title="Permalink to this definition">¶</a></dt> |
---|
| 2797 | <dd><p>See <cite>GetUpdateRegion</cite></p> |
---|
| 2798 | </dd></dl> |
---|
| 2799 | |
---|
| 2800 | <dl class="method"> |
---|
| 2801 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.UpdateWindowUI"> |
---|
| 2802 | <tt class="descname">UpdateWindowUI</tt><big>(</big><em>self</em>, <em>long flags=UPDATE_UI_NONE</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.UpdateWindowUI" title="Permalink to this definition">¶</a></dt> |
---|
| 2803 | <dd><p>This function sends EVT_UPDATE_UI events to the window. The particular |
---|
| 2804 | implementation depends on the window; for example a wx.ToolBar will |
---|
| 2805 | send an update UI event for each toolbar button, and a wx.Frame will |
---|
| 2806 | send an update UI event for each menubar menu item. You can call this |
---|
| 2807 | function from your application to ensure that your UI is up-to-date at |
---|
| 2808 | a particular point in time (as far as your EVT_UPDATE_UI handlers are |
---|
| 2809 | concerned). This may be necessary if you have called |
---|
| 2810 | <cite>wx.UpdateUIEvent.SetMode</cite> or <cite>wx.UpdateUIEvent.SetUpdateInterval</cite> to |
---|
| 2811 | limit the overhead that wxWindows incurs by sending update UI events |
---|
| 2812 | in idle time.</p> |
---|
| 2813 | </dd></dl> |
---|
| 2814 | |
---|
| 2815 | <dl class="method"> |
---|
| 2816 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.UseBgCol"> |
---|
| 2817 | <tt class="descname">UseBgCol</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.UseBgCol" title="Permalink to this definition">¶</a></dt> |
---|
| 2818 | <dd></dd></dl> |
---|
| 2819 | |
---|
| 2820 | <dl class="method"> |
---|
| 2821 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Validate"> |
---|
| 2822 | <tt class="descname">Validate</tt><big>(</big><em>self</em><big>)</big> → bool<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Validate" title="Permalink to this definition">¶</a></dt> |
---|
| 2823 | <dd><p>Validates the current values of the child controls using their |
---|
| 2824 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra |
---|
| 2825 | style flag set, the method will also call Validate() of all child |
---|
| 2826 | windows. Returns false if any of the validations failed.</p> |
---|
| 2827 | </dd></dl> |
---|
| 2828 | |
---|
| 2829 | <dl class="attribute"> |
---|
| 2830 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.Validator"> |
---|
| 2831 | <tt class="descname">Validator</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.Validator" title="Permalink to this definition">¶</a></dt> |
---|
| 2832 | <dd><p>See <cite>GetValidator</cite> and <cite>SetValidator</cite></p> |
---|
| 2833 | </dd></dl> |
---|
| 2834 | |
---|
| 2835 | <dl class="attribute"> |
---|
| 2836 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.VirtualSize"> |
---|
| 2837 | <tt class="descname">VirtualSize</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.VirtualSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2838 | <dd><p>See <cite>GetVirtualSize</cite> and <cite>SetVirtualSize</cite></p> |
---|
| 2839 | </dd></dl> |
---|
| 2840 | |
---|
| 2841 | <dl class="method"> |
---|
| 2842 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.WarpPointer"> |
---|
| 2843 | <tt class="descname">WarpPointer</tt><big>(</big><em>self</em>, <em>int x</em>, <em>int y</em><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.WarpPointer" title="Permalink to this definition">¶</a></dt> |
---|
| 2844 | <dd><p>Moves the pointer to the given position on the window.</p> |
---|
| 2845 | <p>NOTE: This function is not supported under Mac because Apple Human |
---|
| 2846 | Interface Guidelines forbid moving the mouse cursor programmatically.</p> |
---|
| 2847 | </dd></dl> |
---|
| 2848 | |
---|
| 2849 | <dl class="attribute"> |
---|
| 2850 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.WindowStyle"> |
---|
| 2851 | <tt class="descname">WindowStyle</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.WindowStyle" title="Permalink to this definition">¶</a></dt> |
---|
| 2852 | <dd><p>See <cite>GetWindowStyle</cite> and <cite>SetWindowStyle</cite></p> |
---|
| 2853 | </dd></dl> |
---|
| 2854 | |
---|
| 2855 | <dl class="attribute"> |
---|
| 2856 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.WindowStyleFlag"> |
---|
| 2857 | <tt class="descname">WindowStyleFlag</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.WindowStyleFlag" title="Permalink to this definition">¶</a></dt> |
---|
| 2858 | <dd><p>See <cite>GetWindowStyleFlag</cite> and <cite>SetWindowStyleFlag</cite></p> |
---|
| 2859 | </dd></dl> |
---|
| 2860 | |
---|
| 2861 | <dl class="method"> |
---|
| 2862 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.WindowToClientSize"> |
---|
| 2863 | <tt class="descname">WindowToClientSize</tt><big>(</big><em>self</em>, <em>Size size</em><big>)</big> → Size<a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.WindowToClientSize" title="Permalink to this definition">¶</a></dt> |
---|
| 2864 | <dd></dd></dl> |
---|
| 2865 | |
---|
| 2866 | <dl class="attribute"> |
---|
| 2867 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.WindowVariant"> |
---|
| 2868 | <tt class="descname">WindowVariant</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.WindowVariant" title="Permalink to this definition">¶</a></dt> |
---|
| 2869 | <dd><p>See <cite>GetWindowVariant</cite> and <cite>SetWindowVariant</cite></p> |
---|
| 2870 | </dd></dl> |
---|
| 2871 | |
---|
| 2872 | <dl class="method"> |
---|
| 2873 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.add_option"> |
---|
| 2874 | <tt class="descname">add_option</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.add_option" title="Permalink to this definition">¶</a></dt> |
---|
| 2875 | <dd><p>add item to the toolbar</p> |
---|
| 2876 | </dd></dl> |
---|
| 2877 | |
---|
| 2878 | <dl class="method"> |
---|
| 2879 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.back"> |
---|
| 2880 | <tt class="descname">back</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.back" title="Permalink to this definition">¶</a></dt> |
---|
| 2881 | <dd><p>move back up the view lim stack</p> |
---|
| 2882 | </dd></dl> |
---|
| 2883 | |
---|
| 2884 | <dl class="method"> |
---|
| 2885 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.configure_subplot"> |
---|
| 2886 | <tt class="descname">configure_subplot</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.configure_subplot" title="Permalink to this definition">¶</a></dt> |
---|
| 2887 | <dd></dd></dl> |
---|
| 2888 | |
---|
| 2889 | <dl class="method"> |
---|
| 2890 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.delete_option"> |
---|
| 2891 | <tt class="descname">delete_option</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.delete_option" title="Permalink to this definition">¶</a></dt> |
---|
| 2892 | <dd><p>remove default toolbar item</p> |
---|
| 2893 | </dd></dl> |
---|
| 2894 | |
---|
| 2895 | <dl class="method"> |
---|
| 2896 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.drag_pan"> |
---|
| 2897 | <tt class="descname">drag_pan</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.drag_pan" title="Permalink to this definition">¶</a></dt> |
---|
| 2898 | <dd><p>the drag callback in pan/zoom mode</p> |
---|
| 2899 | </dd></dl> |
---|
| 2900 | |
---|
| 2901 | <dl class="method"> |
---|
| 2902 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.draw"> |
---|
| 2903 | <tt class="descname">draw</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.draw" title="Permalink to this definition">¶</a></dt> |
---|
| 2904 | <dd><p>redraw the canvases, update the locators</p> |
---|
| 2905 | </dd></dl> |
---|
| 2906 | |
---|
| 2907 | <dl class="method"> |
---|
| 2908 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.draw_rubberband"> |
---|
| 2909 | <tt class="descname">draw_rubberband</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.draw_rubberband" title="Permalink to this definition">¶</a></dt> |
---|
| 2910 | <dd><p>adapted from <a class="reference external" href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189744">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/189744</a></p> |
---|
| 2911 | </dd></dl> |
---|
| 2912 | |
---|
| 2913 | <dl class="method"> |
---|
| 2914 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.dynamic_update"> |
---|
| 2915 | <tt class="descname">dynamic_update</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.dynamic_update" title="Permalink to this definition">¶</a></dt> |
---|
| 2916 | <dd></dd></dl> |
---|
| 2917 | |
---|
| 2918 | <dl class="method"> |
---|
| 2919 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.forward"> |
---|
| 2920 | <tt class="descname">forward</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.forward" title="Permalink to this definition">¶</a></dt> |
---|
| 2921 | <dd><p>move forward in the view lim stack</p> |
---|
| 2922 | </dd></dl> |
---|
| 2923 | |
---|
| 2924 | <dl class="method"> |
---|
| 2925 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.get_canvas"> |
---|
| 2926 | <tt class="descname">get_canvas</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.get_canvas" title="Permalink to this definition">¶</a></dt> |
---|
| 2927 | <dd></dd></dl> |
---|
| 2928 | |
---|
| 2929 | <dl class="method"> |
---|
| 2930 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.home"> |
---|
| 2931 | <tt class="descname">home</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.home" title="Permalink to this definition">¶</a></dt> |
---|
| 2932 | <dd><p>restore the original view</p> |
---|
| 2933 | </dd></dl> |
---|
| 2934 | |
---|
| 2935 | <dl class="method"> |
---|
| 2936 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.mouse_move"> |
---|
| 2937 | <tt class="descname">mouse_move</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.mouse_move" title="Permalink to this definition">¶</a></dt> |
---|
| 2938 | <dd></dd></dl> |
---|
| 2939 | |
---|
| 2940 | <dl class="method"> |
---|
| 2941 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.on_menu"> |
---|
| 2942 | <tt class="descname">on_menu</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.on_menu" title="Permalink to this definition">¶</a></dt> |
---|
| 2943 | <dd><p>activate reset</p> |
---|
| 2944 | </dd></dl> |
---|
| 2945 | |
---|
| 2946 | <dl class="method"> |
---|
| 2947 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.on_print"> |
---|
| 2948 | <tt class="descname">on_print</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.on_print" title="Permalink to this definition">¶</a></dt> |
---|
| 2949 | <dd><p>activate print</p> |
---|
| 2950 | </dd></dl> |
---|
| 2951 | |
---|
| 2952 | <dl class="method"> |
---|
| 2953 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.on_reset"> |
---|
| 2954 | <tt class="descname">on_reset</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.on_reset" title="Permalink to this definition">¶</a></dt> |
---|
| 2955 | <dd><p>activate reset</p> |
---|
| 2956 | </dd></dl> |
---|
| 2957 | |
---|
| 2958 | <dl class="method"> |
---|
| 2959 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.pan"> |
---|
| 2960 | <tt class="descname">pan</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.pan" title="Permalink to this definition">¶</a></dt> |
---|
| 2961 | <dd></dd></dl> |
---|
| 2962 | |
---|
| 2963 | <dl class="method"> |
---|
| 2964 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.press"> |
---|
| 2965 | <tt class="descname">press</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.press" title="Permalink to this definition">¶</a></dt> |
---|
| 2966 | <dd><p>this will be called whenver a mouse button is pressed</p> |
---|
| 2967 | </dd></dl> |
---|
| 2968 | |
---|
| 2969 | <dl class="method"> |
---|
| 2970 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.press_pan"> |
---|
| 2971 | <tt class="descname">press_pan</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.press_pan" title="Permalink to this definition">¶</a></dt> |
---|
| 2972 | <dd><p>the press mouse button in pan/zoom mode callback</p> |
---|
| 2973 | </dd></dl> |
---|
| 2974 | |
---|
| 2975 | <dl class="method"> |
---|
| 2976 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.press_zoom"> |
---|
| 2977 | <tt class="descname">press_zoom</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.press_zoom" title="Permalink to this definition">¶</a></dt> |
---|
| 2978 | <dd><p>the press mouse button in zoom to rect mode callback</p> |
---|
| 2979 | </dd></dl> |
---|
| 2980 | |
---|
| 2981 | <dl class="method"> |
---|
| 2982 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.push_current"> |
---|
| 2983 | <tt class="descname">push_current</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.push_current" title="Permalink to this definition">¶</a></dt> |
---|
| 2984 | <dd><p>push the current view limits and position onto the stack</p> |
---|
| 2985 | </dd></dl> |
---|
| 2986 | |
---|
| 2987 | <dl class="method"> |
---|
| 2988 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.release"> |
---|
| 2989 | <tt class="descname">release</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.release" title="Permalink to this definition">¶</a></dt> |
---|
| 2990 | <dd></dd></dl> |
---|
| 2991 | |
---|
| 2992 | <dl class="method"> |
---|
| 2993 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.release_pan"> |
---|
| 2994 | <tt class="descname">release_pan</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.release_pan" title="Permalink to this definition">¶</a></dt> |
---|
| 2995 | <dd><p>the release mouse button callback in pan/zoom mode</p> |
---|
| 2996 | </dd></dl> |
---|
| 2997 | |
---|
| 2998 | <dl class="method"> |
---|
| 2999 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.release_zoom"> |
---|
| 3000 | <tt class="descname">release_zoom</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.release_zoom" title="Permalink to this definition">¶</a></dt> |
---|
| 3001 | <dd><p>the release mouse button callback in zoom to rect mode</p> |
---|
| 3002 | </dd></dl> |
---|
| 3003 | |
---|
| 3004 | <dl class="method"> |
---|
| 3005 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.save"> |
---|
| 3006 | <tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.save" title="Permalink to this definition">¶</a></dt> |
---|
| 3007 | <dd></dd></dl> |
---|
| 3008 | |
---|
| 3009 | <dl class="method"> |
---|
| 3010 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.save_figure"> |
---|
| 3011 | <tt class="descname">save_figure</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.save_figure" title="Permalink to this definition">¶</a></dt> |
---|
| 3012 | <dd><p>save the current figure</p> |
---|
| 3013 | </dd></dl> |
---|
| 3014 | |
---|
| 3015 | <dl class="method"> |
---|
| 3016 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.set_cursor"> |
---|
| 3017 | <tt class="descname">set_cursor</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.set_cursor" title="Permalink to this definition">¶</a></dt> |
---|
| 3018 | <dd></dd></dl> |
---|
| 3019 | |
---|
| 3020 | <dl class="method"> |
---|
| 3021 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.set_history_buttons"> |
---|
| 3022 | <tt class="descname">set_history_buttons</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.set_history_buttons" title="Permalink to this definition">¶</a></dt> |
---|
| 3023 | <dd></dd></dl> |
---|
| 3024 | |
---|
| 3025 | <dl class="method"> |
---|
| 3026 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.set_message"> |
---|
| 3027 | <tt class="descname">set_message</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.set_message" title="Permalink to this definition">¶</a></dt> |
---|
| 3028 | <dd></dd></dl> |
---|
| 3029 | |
---|
| 3030 | <dl class="method"> |
---|
| 3031 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.set_status_bar"> |
---|
| 3032 | <tt class="descname">set_status_bar</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.set_status_bar" title="Permalink to this definition">¶</a></dt> |
---|
| 3033 | <dd></dd></dl> |
---|
| 3034 | |
---|
| 3035 | <dl class="attribute"> |
---|
| 3036 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.thisown"> |
---|
| 3037 | <tt class="descname">thisown</tt><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.thisown" title="Permalink to this definition">¶</a></dt> |
---|
| 3038 | <dd><p>The membership flag</p> |
---|
| 3039 | </dd></dl> |
---|
| 3040 | |
---|
| 3041 | <dl class="method"> |
---|
| 3042 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.update"> |
---|
| 3043 | <tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.update" title="Permalink to this definition">¶</a></dt> |
---|
| 3044 | <dd><p>reset the axes stack</p> |
---|
| 3045 | </dd></dl> |
---|
| 3046 | |
---|
| 3047 | <dl class="method"> |
---|
| 3048 | <dt id="danse.common.plottools.toolbar.NavigationToolBar.zoom"> |
---|
| 3049 | <tt class="descname">zoom</tt><big>(</big><big>)</big><a class="headerlink" href="#danse.common.plottools.toolbar.NavigationToolBar.zoom" title="Permalink to this definition">¶</a></dt> |
---|
| 3050 | <dd></dd></dl> |
---|
| 3051 | |
---|
| 3052 | </dd></dl> |
---|
| 3053 | |
---|
| 3054 | </div> |
---|
| 3055 | </div> |
---|
| 3056 | |
---|
| 3057 | |
---|
| 3058 | </div> |
---|
| 3059 | </div> |
---|
| 3060 | </div> |
---|
| 3061 | <div class="sphinxsidebar"> |
---|
| 3062 | <div class="sphinxsidebarwrapper"> |
---|
| 3063 | <h3><a href="../index.html">Table Of Contents</a></h3> |
---|
| 3064 | <ul> |
---|
| 3065 | <li><a class="reference internal" href="#">toolbar</a><ul> |
---|
| 3066 | <li><a class="reference internal" href="#danse-common-plottools-toolbar"><tt class="docutils literal"><span class="pre">danse.common.plottools.toolbar</span></tt></a></li> |
---|
| 3067 | </ul> |
---|
| 3068 | </li> |
---|
| 3069 | </ul> |
---|
| 3070 | |
---|
| 3071 | <h4>Previous topic</h4> |
---|
| 3072 | <p class="topless"><a href="PropertyDialog.html" |
---|
| 3073 | title="previous chapter">PropertyDialog</a></p> |
---|
| 3074 | <h4>Next topic</h4> |
---|
| 3075 | <p class="topless"><a href="transform.html" |
---|
| 3076 | title="next chapter">transform</a></p> |
---|
| 3077 | <h3>This Page</h3> |
---|
| 3078 | <ul class="this-page-menu"> |
---|
| 3079 | <li><a href="../_sources/api/toolbar.txt" |
---|
| 3080 | rel="nofollow">Show Source</a></li> |
---|
| 3081 | </ul> |
---|
| 3082 | <div id="searchbox" style="display: none"> |
---|
| 3083 | <h3>Quick search</h3> |
---|
| 3084 | <form class="search" action="../search.html" method="get"> |
---|
| 3085 | <input type="text" name="q" /> |
---|
| 3086 | <input type="submit" value="Go" /> |
---|
| 3087 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 3088 | <input type="hidden" name="area" value="default" /> |
---|
| 3089 | </form> |
---|
| 3090 | <p class="searchtip" style="font-size: 90%"> |
---|
| 3091 | Enter search terms or a module, class or function name. |
---|
| 3092 | </p> |
---|
| 3093 | </div> |
---|
| 3094 | <script type="text/javascript">$('#searchbox').show(0);</script> |
---|
| 3095 | </div> |
---|
| 3096 | </div> |
---|
| 3097 | <div class="clearer"></div> |
---|
| 3098 | </div> |
---|
| 3099 | <div class="related"> |
---|
| 3100 | <h3>Navigation</h3> |
---|
| 3101 | <ul> |
---|
| 3102 | <li class="right" style="margin-right: 10px"> |
---|
| 3103 | <a href="../genindex.html" title="General Index" |
---|
| 3104 | >index</a></li> |
---|
| 3105 | <li class="right" > |
---|
| 3106 | <a href="../py-modindex.html" title="Python Module Index" |
---|
| 3107 | >modules</a> |</li> |
---|
| 3108 | <li class="right" > |
---|
| 3109 | <a href="transform.html" title="transform" |
---|
| 3110 | >next</a> |</li> |
---|
| 3111 | <li class="right" > |
---|
| 3112 | <a href="PropertyDialog.html" title="PropertyDialog" |
---|
| 3113 | >previous</a> |</li> |
---|
| 3114 | <li><a href="../index.html">plottools 0.10 documentation</a> »</li> |
---|
| 3115 | <li><a href="index.html" >Reference</a> »</li> |
---|
| 3116 | </ul> |
---|
| 3117 | </div> |
---|
| 3118 | <div class="footer"> |
---|
| 3119 | © Copyright 2010, sans/reflectometry group. |
---|
| 3120 | Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. |
---|
| 3121 | </div> |
---|
| 3122 | </body> |
---|
| 3123 | </html> |
---|