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