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