1 | |
---|
2 | <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
3 | <html><head><title>Python: module wxmtxy_pvsetup</title> |
---|
4 | </head><body bgcolor="#f0f0f8"> |
---|
5 | |
---|
6 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
---|
7 | <tr bgcolor="#7799ee"> |
---|
8 | <td valign=bottom> <br> |
---|
9 | <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>wxmtxy_pvsetup</strong></big></big></font></td |
---|
10 | ><td align=right valign=bottom |
---|
11 | ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_pvsetup.py">/home/oxygen18/JEMIAN/Documents/eclipse/usaxs/wxmtxy/trunk/wxmtxy_pvsetup.py</a></font></td></tr></table> |
---|
12 | <p><tt>Provides Python Class: <a href="#PvDialog">PvDialog</a><br> |
---|
13 | <a href="wx._windows.html#Dialog">Dialog</a> to configure the EPICS PVs for an X,Y pair<br> |
---|
14 | <br> |
---|
15 | @version: <br> |
---|
16 | ########### SVN repository information ###################<br> |
---|
17 | # $Date: 2010-06-02 18:14:09 -0500 (Wed, 02 Jun 2010) $<br> |
---|
18 | # $Author: jemian $<br> |
---|
19 | # $Revision: 178 $<br> |
---|
20 | # $URL: https://subversion.xor.aps.anl.gov/bcdaext/wxmtxy/trunk/wxmtxy_pvsetup.py $<br> |
---|
21 | # $Id: wxmtxy_pvsetup.py 178 2010-06-02 23:14:09Z jemian $<br> |
---|
22 | ########### SVN repository information ###################</tt></p> |
---|
23 | <p> |
---|
24 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
---|
25 | <tr bgcolor="#aa55cc"> |
---|
26 | <td colspan=3 valign=bottom> <br> |
---|
27 | <font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> |
---|
28 | |
---|
29 | <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> |
---|
30 | <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="inspect.html">inspect</a><br> |
---|
31 | <a href="os.html">os</a><br> |
---|
32 | </td><td width="25%" valign=top><a href="pprint.html">pprint</a><br> |
---|
33 | <a href="pvConnect.html">pvConnect</a><br> |
---|
34 | </td><td width="25%" valign=top><a href="wx.html">wx</a><br> |
---|
35 | <a href="wxmtxy_axis.html">wxmtxy_axis</a><br> |
---|
36 | </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> |
---|
37 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
---|
38 | <tr bgcolor="#ee77aa"> |
---|
39 | <td colspan=3 valign=bottom> <br> |
---|
40 | <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
---|
41 | |
---|
42 | <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> |
---|
43 | <td width="100%"><dl> |
---|
44 | <dt><font face="helvetica, arial"><a href="wx._windows.html#Dialog">wx._windows.Dialog</a>(<a href="wx._windows.html#TopLevelWindow">wx._windows.TopLevelWindow</a>) |
---|
45 | </font></dt><dd> |
---|
46 | <dl> |
---|
47 | <dt><font face="helvetica, arial"><a href="wxmtxy_pvsetup.html#PvDialog">PvDialog</a> |
---|
48 | </font></dt></dl> |
---|
49 | </dd> |
---|
50 | </dl> |
---|
51 | <p> |
---|
52 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
---|
53 | <tr bgcolor="#ffc8d8"> |
---|
54 | <td colspan=3 valign=bottom> <br> |
---|
55 | <font color="#000000" face="helvetica, arial"><a name="PvDialog">class <strong>PvDialog</strong></a>(<a href="wx._windows.html#Dialog">wx._windows.Dialog</a>)</font></td></tr> |
---|
56 | |
---|
57 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
---|
58 | <td colspan=2><tt><a href="wx._windows.html#Dialog">Dialog</a> to configure the EPICS PVs for an X,Y pair<br> |
---|
59 | <br> |
---|
60 | This code also checks to see if the PV names entered are valid.<br> |
---|
61 | User is expected to press the [enter] key to submit a PV name <br> |
---|
62 | for validation. Background of text entry box will turn green <br> |
---|
63 | to signify that the chosen PV name is valid (has been found).<br> |
---|
64 | The background will be pink for invalid PV strings.<br> |
---|
65 | The background will be grey for PV standard fields in motor records.<br> </tt></td></tr> |
---|
66 | <tr><td> </td> |
---|
67 | <td width="100%"><dl><dt>Method resolution order:</dt> |
---|
68 | <dd><a href="wxmtxy_pvsetup.html#PvDialog">PvDialog</a></dd> |
---|
69 | <dd><a href="wx._windows.html#Dialog">wx._windows.Dialog</a></dd> |
---|
70 | <dd><a href="wx._windows.html#TopLevelWindow">wx._windows.TopLevelWindow</a></dd> |
---|
71 | <dd><a href="wx._core.html#Window">wx._core.Window</a></dd> |
---|
72 | <dd><a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a></dd> |
---|
73 | <dd><a href="wx._core.html#Object">wx._core.Object</a></dd> |
---|
74 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
---|
75 | </dl> |
---|
76 | <hr> |
---|
77 | Methods defined here:<br> |
---|
78 | <dl><dt><a name="PvDialog-GetConfiguration"><strong>GetConfiguration</strong></a>(self)</dt><dd><tt>@return Python dictionary containing the PV info for X & Y axes</tt></dd></dl> |
---|
79 | |
---|
80 | <dl><dt><a name="PvDialog-OnButton_cancelButton"><strong>OnButton_cancelButton</strong></a>(self, event)</dt><dd><tt>Handler for the cancel button.<br> |
---|
81 | The default behavior will handle all that is needed here.<br> |
---|
82 | <br> |
---|
83 | There is no chance to restore the original <br> |
---|
84 | configuration before the dialog returns. The calling <br> |
---|
85 | routine must determine if the result was wx.ID_OK<br> |
---|
86 | before calling dlg.<a href="#PvDialog-GetConfiguration">GetConfiguration</a>().<br> |
---|
87 | <br> |
---|
88 | @param event: wxPython event object</tt></dd></dl> |
---|
89 | |
---|
90 | <dl><dt><a name="PvDialog-OnButton_clear_x_Button"><strong>OnButton_clear_x_Button</strong></a>(self, event)</dt><dd><tt>clear all the fields on the X axis<br> |
---|
91 | @param event: wxPython event object</tt></dd></dl> |
---|
92 | |
---|
93 | <dl><dt><a name="PvDialog-OnButton_clear_y_Button"><strong>OnButton_clear_y_Button</strong></a>(self, event)</dt><dd><tt>clear all the fields on the Y axis<br> |
---|
94 | @param event: wxPython event object</tt></dd></dl> |
---|
95 | |
---|
96 | <dl><dt><a name="PvDialog-OnButton_okButton"><strong>OnButton_okButton</strong></a>(self, event)</dt><dd><tt>Handler for the cancel button.<br> |
---|
97 | The default behavior will handle all that is needed here.<br> |
---|
98 | <br> |
---|
99 | @param event: wxPython event object</tt></dd></dl> |
---|
100 | |
---|
101 | <dl><dt><a name="PvDialog-OnButton_revertButton"><strong>OnButton_revertButton</strong></a>(self, event)</dt><dd><tt>reset all the fields on both axes to original values<br> |
---|
102 | @param event: wxPython event object</tt></dd></dl> |
---|
103 | |
---|
104 | <dl><dt><a name="PvDialog-OnPv_x_descTextEnter"><strong>OnPv_x_descTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
105 | @param event: wxPython event object</tt></dd></dl> |
---|
106 | |
---|
107 | <dl><dt><a name="PvDialog-OnPv_x_dmovTextEnter"><strong>OnPv_x_dmovTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
108 | @param event: wxPython event object</tt></dd></dl> |
---|
109 | |
---|
110 | <dl><dt><a name="PvDialog-OnPv_x_eguTextEnter"><strong>OnPv_x_eguTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
111 | @param event: wxPython event object</tt></dd></dl> |
---|
112 | |
---|
113 | <dl><dt><a name="PvDialog-OnPv_x_rbvTextEnter"><strong>OnPv_x_rbvTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
114 | @param event: wxPython event object</tt></dd></dl> |
---|
115 | |
---|
116 | <dl><dt><a name="PvDialog-OnPv_x_stopTextEnter"><strong>OnPv_x_stopTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
117 | @param event: wxPython event object</tt></dd></dl> |
---|
118 | |
---|
119 | <dl><dt><a name="PvDialog-OnPv_x_valTextEnter"><strong>OnPv_x_valTextEnter</strong></a>(self, event)</dt><dd><tt>set background color and 'isMotorRec' checkbox for X axis<br> |
---|
120 | @param event: wxPython event object</tt></dd></dl> |
---|
121 | |
---|
122 | <dl><dt><a name="PvDialog-OnPv_y_descTextEnter"><strong>OnPv_y_descTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
123 | @param event: wxPython event object</tt></dd></dl> |
---|
124 | |
---|
125 | <dl><dt><a name="PvDialog-OnPv_y_dmovTextEnter"><strong>OnPv_y_dmovTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
126 | @param event: wxPython event object</tt></dd></dl> |
---|
127 | |
---|
128 | <dl><dt><a name="PvDialog-OnPv_y_eguTextEnter"><strong>OnPv_y_eguTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
129 | @param event: wxPython event object</tt></dd></dl> |
---|
130 | |
---|
131 | <dl><dt><a name="PvDialog-OnPv_y_rbvTextEnter"><strong>OnPv_y_rbvTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
132 | @param event: wxPython event object</tt></dd></dl> |
---|
133 | |
---|
134 | <dl><dt><a name="PvDialog-OnPv_y_stopTextEnter"><strong>OnPv_y_stopTextEnter</strong></a>(self, event)</dt><dd><tt>set background color<br> |
---|
135 | @param event: wxPython event object</tt></dd></dl> |
---|
136 | |
---|
137 | <dl><dt><a name="PvDialog-OnPv_y_valTextEnter"><strong>OnPv_y_valTextEnter</strong></a>(self, event)</dt><dd><tt>set background color and 'isMotorRec' checkbox for Y axis<br> |
---|
138 | @param event: wxPython event object</tt></dd></dl> |
---|
139 | |
---|
140 | <dl><dt><a name="PvDialog-SetColor"><strong>SetColor</strong></a>(self, axis, field)</dt><dd><tt>change the background color on the given widgets<br> |
---|
141 | @param axis: [string] "x" or "y"<br> |
---|
142 | @param field: [string] member of wxmtxy_axis.field_list</tt></dd></dl> |
---|
143 | |
---|
144 | <dl><dt><a name="PvDialog-SetConfiguration"><strong>SetConfiguration</strong></a>(self, config)</dt><dd><tt>Set the configuration of the widgets.<br> |
---|
145 | @param config: Python dictionary containing the PV info for X & Y axes</tt></dd></dl> |
---|
146 | |
---|
147 | <dl><dt><a name="PvDialog-__init__"><strong>__init__</strong></a>(self, parent, original_config)</dt><dd><tt>establish the dialog box<br> |
---|
148 | @param parent: widget that owns this class<br> |
---|
149 | @param original_config: Python dictionary with axes configurations</tt></dd></dl> |
---|
150 | |
---|
151 | <dl><dt><a name="PvDialog-__init_names__"><strong>__init_names__</strong></a>(self)</dt><dd><tt>conversion table of widget names<br> |
---|
152 | <br> |
---|
153 | Create a dictionary of names for the widgets by axis.<br> |
---|
154 | This should simplify addressing these widgets internally.</tt></dd></dl> |
---|
155 | |
---|
156 | <hr> |
---|
157 | Methods inherited from <a href="wx._windows.html#Dialog">wx._windows.Dialog</a>:<br> |
---|
158 | <dl><dt><a name="PvDialog-Create"><strong>Create</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Create">Create</a>(self, Window parent, int id=-1, String title=EmptyString, <br> |
---|
159 | Point pos=DefaultPosition, Size size=DefaultSize, <br> |
---|
160 | long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> bool</tt></dd></dl> |
---|
161 | |
---|
162 | <dl><dt><a name="PvDialog-CreateButtonSizer"><strong>CreateButtonSizer</strong></a>(self, flags, *ignored)</dt></dl> |
---|
163 | |
---|
164 | <dl><dt><a name="PvDialog-CreateSeparatedButtonSizer"><strong>CreateSeparatedButtonSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CreateSeparatedButtonSizer">CreateSeparatedButtonSizer</a>(self, long flags) -> Sizer</tt></dd></dl> |
---|
165 | |
---|
166 | <dl><dt><a name="PvDialog-CreateStdDialogButtonSizer"><strong>CreateStdDialogButtonSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CreateStdDialogButtonSizer">CreateStdDialogButtonSizer</a>(self, long flags) -> StdDialogButtonSizer</tt></dd></dl> |
---|
167 | |
---|
168 | <dl><dt><a name="PvDialog-CreateTextSizer"><strong>CreateTextSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CreateTextSizer">CreateTextSizer</a>(self, String message) -> Sizer</tt></dd></dl> |
---|
169 | |
---|
170 | <dl><dt><a name="PvDialog-EndModal"><strong>EndModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-EndModal">EndModal</a>(self, int retCode)</tt></dd></dl> |
---|
171 | |
---|
172 | <dl><dt><a name="PvDialog-GetAffirmativeId"><strong>GetAffirmativeId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetAffirmativeId">GetAffirmativeId</a>(self) -> int</tt></dd></dl> |
---|
173 | |
---|
174 | <dl><dt><a name="PvDialog-GetEscapeId"><strong>GetEscapeId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetEscapeId">GetEscapeId</a>(self) -> int</tt></dd></dl> |
---|
175 | |
---|
176 | <dl><dt><a name="PvDialog-GetReturnCode"><strong>GetReturnCode</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetReturnCode">GetReturnCode</a>(self) -> int</tt></dd></dl> |
---|
177 | |
---|
178 | <dl><dt><a name="PvDialog-IsModal"><strong>IsModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsModal">IsModal</a>(self) -> bool</tt></dd></dl> |
---|
179 | |
---|
180 | <dl><dt><a name="PvDialog-SetAffirmativeId"><strong>SetAffirmativeId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetAffirmativeId">SetAffirmativeId</a>(self, int affirmativeId)</tt></dd></dl> |
---|
181 | |
---|
182 | <dl><dt><a name="PvDialog-SetEscapeId"><strong>SetEscapeId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetEscapeId">SetEscapeId</a>(self, int escapeId)</tt></dd></dl> |
---|
183 | |
---|
184 | <dl><dt><a name="PvDialog-SetReturnCode"><strong>SetReturnCode</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetReturnCode">SetReturnCode</a>(self, int returnCode)</tt></dd></dl> |
---|
185 | |
---|
186 | <dl><dt><a name="PvDialog-ShowModal"><strong>ShowModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ShowModal">ShowModal</a>(self) -> int</tt></dd></dl> |
---|
187 | |
---|
188 | <dl><dt><a name="PvDialog-__repr__"><strong>__repr__</strong></a> = _swig_repr(self)</dt></dl> |
---|
189 | |
---|
190 | <hr> |
---|
191 | Static methods inherited from <a href="wx._windows.html#Dialog">wx._windows.Dialog</a>:<br> |
---|
192 | <dl><dt><a name="PvDialog-GetClassDefaultAttributes"><strong>GetClassDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetClassDefaultAttributes">GetClassDefaultAttributes</a>(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes<br> |
---|
193 | <br> |
---|
194 | Get the default attributes for this class. This is useful if you want<br> |
---|
195 | to use the same font or colour in your own control as in a standard<br> |
---|
196 | control -- which is a much better idea than hard coding specific<br> |
---|
197 | colours or fonts which might look completely out of place on the<br> |
---|
198 | user's system, especially if it uses themes.<br> |
---|
199 | <br> |
---|
200 | The variant parameter is only relevant under Mac currently and is<br> |
---|
201 | ignore under other platforms. Under Mac, it will change the size of<br> |
---|
202 | the returned font. See `wx.Window.SetWindowVariant` for more about<br> |
---|
203 | this.</tt></dd></dl> |
---|
204 | |
---|
205 | <hr> |
---|
206 | Data descriptors inherited from <a href="wx._windows.html#Dialog">wx._windows.Dialog</a>:<br> |
---|
207 | <dl><dt><strong>AffirmativeId</strong></dt> |
---|
208 | <dd><tt>See `GetAffirmativeId` and `SetAffirmativeId`</tt></dd> |
---|
209 | </dl> |
---|
210 | <dl><dt><strong>EscapeId</strong></dt> |
---|
211 | <dd><tt>See `GetEscapeId` and `SetEscapeId`</tt></dd> |
---|
212 | </dl> |
---|
213 | <dl><dt><strong>ReturnCode</strong></dt> |
---|
214 | <dd><tt>See `GetReturnCode` and `SetReturnCode`</tt></dd> |
---|
215 | </dl> |
---|
216 | <dl><dt><strong>thisown</strong></dt> |
---|
217 | <dd><tt>The membership flag</tt></dd> |
---|
218 | </dl> |
---|
219 | <hr> |
---|
220 | Data and other attributes inherited from <a href="wx._windows.html#Dialog">wx._windows.Dialog</a>:<br> |
---|
221 | <dl><dt><strong>ButtonSizerFlags</strong> = 32926</dl> |
---|
222 | |
---|
223 | <hr> |
---|
224 | Methods inherited from <a href="wx._windows.html#TopLevelWindow">wx._windows.TopLevelWindow</a>:<br> |
---|
225 | <dl><dt><a name="PvDialog-CenterOnScreen"><strong>CenterOnScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CenterOnScreen">CenterOnScreen</a>(self, int dir=BOTH)<br> |
---|
226 | <br> |
---|
227 | Center the window on screen</tt></dd></dl> |
---|
228 | |
---|
229 | <dl><dt><a name="PvDialog-CentreOnScreen"><strong>CentreOnScreen</strong></a> = CenterOnScreen(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CenterOnScreen">CenterOnScreen</a>(self, int dir=BOTH)<br> |
---|
230 | <br> |
---|
231 | Center the window on screen</tt></dd></dl> |
---|
232 | |
---|
233 | <dl><dt><a name="PvDialog-EnableCloseButton"><strong>EnableCloseButton</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-EnableCloseButton">EnableCloseButton</a>(self, bool enable) -> bool</tt></dd></dl> |
---|
234 | |
---|
235 | <dl><dt><a name="PvDialog-GetDefaultItem"><strong>GetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetDefaultItem">GetDefaultItem</a>(self) -> Window<br> |
---|
236 | <br> |
---|
237 | Get the default child of this parent, i.e. the one which is activated<br> |
---|
238 | by pressing <Enter> such as the OK button on a wx.<a href="wx._windows.html#Dialog">Dialog</a>.</tt></dd></dl> |
---|
239 | |
---|
240 | <dl><dt><a name="PvDialog-GetIcon"><strong>GetIcon</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetIcon">GetIcon</a>(self) -> Icon</tt></dd></dl> |
---|
241 | |
---|
242 | <dl><dt><a name="PvDialog-GetTitle"><strong>GetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetTitle">GetTitle</a>(self) -> String</tt></dd></dl> |
---|
243 | |
---|
244 | <dl><dt><a name="PvDialog-GetTmpDefaultItem"><strong>GetTmpDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetTmpDefaultItem">GetTmpDefaultItem</a>(self) -> Window<br> |
---|
245 | <br> |
---|
246 | Return the temporary default item, which can be None.</tt></dd></dl> |
---|
247 | |
---|
248 | <dl><dt><a name="PvDialog-Iconize"><strong>Iconize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Iconize">Iconize</a>(self, bool iconize=True)</tt></dd></dl> |
---|
249 | |
---|
250 | <dl><dt><a name="PvDialog-IsActive"><strong>IsActive</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsActive">IsActive</a>(self) -> bool</tt></dd></dl> |
---|
251 | |
---|
252 | <dl><dt><a name="PvDialog-IsAlwaysMaximized"><strong>IsAlwaysMaximized</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsAlwaysMaximized">IsAlwaysMaximized</a>(self) -> bool</tt></dd></dl> |
---|
253 | |
---|
254 | <dl><dt><a name="PvDialog-IsFullScreen"><strong>IsFullScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsFullScreen">IsFullScreen</a>(self) -> bool</tt></dd></dl> |
---|
255 | |
---|
256 | <dl><dt><a name="PvDialog-IsIconized"><strong>IsIconized</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsIconized">IsIconized</a>(self) -> bool</tt></dd></dl> |
---|
257 | |
---|
258 | <dl><dt><a name="PvDialog-IsMaximized"><strong>IsMaximized</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsMaximized">IsMaximized</a>(self) -> bool</tt></dd></dl> |
---|
259 | |
---|
260 | <dl><dt><a name="PvDialog-MacGetMetalAppearance"><strong>MacGetMetalAppearance</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MacGetMetalAppearance">MacGetMetalAppearance</a>(self) -> bool</tt></dd></dl> |
---|
261 | |
---|
262 | <dl><dt><a name="PvDialog-MacGetUnifiedAppearance"><strong>MacGetUnifiedAppearance</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MacGetUnifiedAppearance">MacGetUnifiedAppearance</a>(self) -> bool</tt></dd></dl> |
---|
263 | |
---|
264 | <dl><dt><a name="PvDialog-MacSetMetalAppearance"><strong>MacSetMetalAppearance</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MacSetMetalAppearance">MacSetMetalAppearance</a>(self, bool on)</tt></dd></dl> |
---|
265 | |
---|
266 | <dl><dt><a name="PvDialog-Maximize"><strong>Maximize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Maximize">Maximize</a>(self, bool maximize=True)</tt></dd></dl> |
---|
267 | |
---|
268 | <dl><dt><a name="PvDialog-RequestUserAttention"><strong>RequestUserAttention</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-RequestUserAttention">RequestUserAttention</a>(self, int flags=USER_ATTENTION_INFO)</tt></dd></dl> |
---|
269 | |
---|
270 | <dl><dt><a name="PvDialog-Restore"><strong>Restore</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Restore">Restore</a>(self)</tt></dd></dl> |
---|
271 | |
---|
272 | <dl><dt><a name="PvDialog-SetDefaultItem"><strong>SetDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetDefaultItem">SetDefaultItem</a>(self, Window child) -> Window<br> |
---|
273 | <br> |
---|
274 | Set this child as default, return the old default.</tt></dd></dl> |
---|
275 | |
---|
276 | <dl><dt><a name="PvDialog-SetIcon"><strong>SetIcon</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetIcon">SetIcon</a>(self, Icon icon)</tt></dd></dl> |
---|
277 | |
---|
278 | <dl><dt><a name="PvDialog-SetIcons"><strong>SetIcons</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetIcons">SetIcons</a>(self, wxIconBundle icons)</tt></dd></dl> |
---|
279 | |
---|
280 | <dl><dt><a name="PvDialog-SetShape"><strong>SetShape</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetShape">SetShape</a>(self, Region region) -> bool</tt></dd></dl> |
---|
281 | |
---|
282 | <dl><dt><a name="PvDialog-SetTitle"><strong>SetTitle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetTitle">SetTitle</a>(self, String title)</tt></dd></dl> |
---|
283 | |
---|
284 | <dl><dt><a name="PvDialog-SetTmpDefaultItem"><strong>SetTmpDefaultItem</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetTmpDefaultItem">SetTmpDefaultItem</a>(self, Window win)<br> |
---|
285 | <br> |
---|
286 | Set this child as temporary default</tt></dd></dl> |
---|
287 | |
---|
288 | <dl><dt><a name="PvDialog-ShowFullScreen"><strong>ShowFullScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ShowFullScreen">ShowFullScreen</a>(self, bool show, long style=FULLSCREEN_ALL) -> bool</tt></dd></dl> |
---|
289 | |
---|
290 | <hr> |
---|
291 | Data descriptors inherited from <a href="wx._windows.html#TopLevelWindow">wx._windows.TopLevelWindow</a>:<br> |
---|
292 | <dl><dt><strong>DefaultItem</strong></dt> |
---|
293 | <dd><tt>See `GetDefaultItem` and `SetDefaultItem`</tt></dd> |
---|
294 | </dl> |
---|
295 | <dl><dt><strong>Icon</strong></dt> |
---|
296 | <dd><tt>See `GetIcon` and `SetIcon`</tt></dd> |
---|
297 | </dl> |
---|
298 | <dl><dt><strong>Title</strong></dt> |
---|
299 | <dd><tt>See `GetTitle` and `SetTitle`</tt></dd> |
---|
300 | </dl> |
---|
301 | <dl><dt><strong>TmpDefaultItem</strong></dt> |
---|
302 | <dd><tt>See `GetTmpDefaultItem` and `SetTmpDefaultItem`</tt></dd> |
---|
303 | </dl> |
---|
304 | <hr> |
---|
305 | Methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br> |
---|
306 | <dl><dt><a name="PvDialog-AcceptsFocus"><strong>AcceptsFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-AcceptsFocus">AcceptsFocus</a>(self) -> bool<br> |
---|
307 | <br> |
---|
308 | Can this window have focus?</tt></dd></dl> |
---|
309 | |
---|
310 | <dl><dt><a name="PvDialog-AcceptsFocusFromKeyboard"><strong>AcceptsFocusFromKeyboard</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-AcceptsFocusFromKeyboard">AcceptsFocusFromKeyboard</a>(self) -> bool<br> |
---|
311 | <br> |
---|
312 | Can this window be given focus by keyboard navigation? if not, the<br> |
---|
313 | only way to give it focus (provided it accepts it at all) is to click<br> |
---|
314 | it.</tt></dd></dl> |
---|
315 | |
---|
316 | <dl><dt><a name="PvDialog-AddChild"><strong>AddChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-AddChild">AddChild</a>(self, Window child)<br> |
---|
317 | <br> |
---|
318 | Adds a child window. This is called automatically by window creation<br> |
---|
319 | functions so should not be required by the application programmer.</tt></dd></dl> |
---|
320 | |
---|
321 | <dl><dt><a name="PvDialog-AdjustForLayoutDirection"><strong>AdjustForLayoutDirection</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-AdjustForLayoutDirection">AdjustForLayoutDirection</a>(self, int x, int width, int widthTotal) -> int<br> |
---|
322 | <br> |
---|
323 | Mirror coordinates for RTL layout if this window uses it and if the<br> |
---|
324 | mirroring is not done automatically like Win32.</tt></dd></dl> |
---|
325 | |
---|
326 | <dl><dt><a name="PvDialog-AssociateHandle"><strong>AssociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-AssociateHandle">AssociateHandle</a>(self, long handle)<br> |
---|
327 | <br> |
---|
328 | Associate the window with a new native handle</tt></dd></dl> |
---|
329 | |
---|
330 | <dl><dt><a name="PvDialog-CacheBestSize"><strong>CacheBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CacheBestSize">CacheBestSize</a>(self, Size size)<br> |
---|
331 | <br> |
---|
332 | Cache the best size so it doesn't need to be calculated again, (at least until<br> |
---|
333 | some properties of the window change.)</tt></dd></dl> |
---|
334 | |
---|
335 | <dl><dt><a name="PvDialog-CanSetTransparent"><strong>CanSetTransparent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CanSetTransparent">CanSetTransparent</a>(self) -> bool<br> |
---|
336 | <br> |
---|
337 | Returns ``True`` if the platform supports setting the transparency for<br> |
---|
338 | this window. Note that this method will err on the side of caution,<br> |
---|
339 | so it is possible that this will return ``False`` when it is in fact<br> |
---|
340 | possible to set the transparency.<br> |
---|
341 | <br> |
---|
342 | NOTE: On X-windows systems the X server must have the composite<br> |
---|
343 | extension loaded, and there must be a composite manager program (such<br> |
---|
344 | as xcompmgr) running.</tt></dd></dl> |
---|
345 | |
---|
346 | <dl><dt><a name="PvDialog-CaptureMouse"><strong>CaptureMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CaptureMouse">CaptureMouse</a>(self)<br> |
---|
347 | <br> |
---|
348 | Directs all mouse input to this window. Call wx.Window.ReleaseMouse to<br> |
---|
349 | release the capture.<br> |
---|
350 | <br> |
---|
351 | Note that wxWindows maintains the stack of windows having captured the<br> |
---|
352 | mouse and when the mouse is released the capture returns to the window<br> |
---|
353 | which had had captured it previously and it is only really released if<br> |
---|
354 | there were no previous window. In particular, this means that you must<br> |
---|
355 | release the mouse as many times as you capture it, unless the window<br> |
---|
356 | receives the `wx.MouseCaptureLostEvent` event.<br> |
---|
357 | <br> |
---|
358 | Any application which captures the mouse in the beginning of some<br> |
---|
359 | operation *must* handle `wx.MouseCaptureLostEvent` and cancel this<br> |
---|
360 | operation when it receives the event. The event handler must not<br> |
---|
361 | recapture mouse.</tt></dd></dl> |
---|
362 | |
---|
363 | <dl><dt><a name="PvDialog-Center"><strong>Center</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Center">Center</a>(self, int direction=BOTH)<br> |
---|
364 | <br> |
---|
365 | Centers the window. The parameter specifies the direction for<br> |
---|
366 | cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br> |
---|
367 | also include wx.CENTER_ON_SCREEN flag if you want to center the window<br> |
---|
368 | on the entire screen and not on its parent window. If it is a<br> |
---|
369 | top-level window and has no parent then it will always be centered<br> |
---|
370 | relative to the screen.</tt></dd></dl> |
---|
371 | |
---|
372 | <dl><dt><a name="PvDialog-CenterOnParent"><strong>CenterOnParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br> |
---|
373 | <br> |
---|
374 | Center with respect to the the parent window</tt></dd></dl> |
---|
375 | |
---|
376 | <dl><dt><a name="PvDialog-Centre"><strong>Centre</strong></a> = Center(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Center">Center</a>(self, int direction=BOTH)<br> |
---|
377 | <br> |
---|
378 | Centers the window. The parameter specifies the direction for<br> |
---|
379 | cetering, and may be wx.HORIZONTAL, wx.VERTICAL or wx.BOTH. It may<br> |
---|
380 | also include wx.CENTER_ON_SCREEN flag if you want to center the window<br> |
---|
381 | on the entire screen and not on its parent window. If it is a<br> |
---|
382 | top-level window and has no parent then it will always be centered<br> |
---|
383 | relative to the screen.</tt></dd></dl> |
---|
384 | |
---|
385 | <dl><dt><a name="PvDialog-CentreOnParent"><strong>CentreOnParent</strong></a> = CenterOnParent(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-CenterOnParent">CenterOnParent</a>(self, int dir=BOTH)<br> |
---|
386 | <br> |
---|
387 | Center with respect to the the parent window</tt></dd></dl> |
---|
388 | |
---|
389 | <dl><dt><a name="PvDialog-ClearBackground"><strong>ClearBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ClearBackground">ClearBackground</a>(self)<br> |
---|
390 | <br> |
---|
391 | Clears the window by filling it with the current background<br> |
---|
392 | colour. Does not cause an erase background event to be generated.</tt></dd></dl> |
---|
393 | |
---|
394 | <dl><dt><a name="PvDialog-ClientToScreen"><strong>ClientToScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ClientToScreen">ClientToScreen</a>(self, Point pt) -> Point<br> |
---|
395 | <br> |
---|
396 | Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl> |
---|
397 | |
---|
398 | <dl><dt><a name="PvDialog-ClientToScreenXY"><strong>ClientToScreenXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ClientToScreenXY">ClientToScreenXY</a>(int x, int y) -> (x,y)<br> |
---|
399 | <br> |
---|
400 | Converts to screen coordinates from coordinates relative to this window.</tt></dd></dl> |
---|
401 | |
---|
402 | <dl><dt><a name="PvDialog-Close"><strong>Close</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Close">Close</a>(self, bool force=False) -> bool<br> |
---|
403 | <br> |
---|
404 | This function simply generates a EVT_CLOSE event whose handler usually<br> |
---|
405 | tries to close the window. It doesn't close the window itself,<br> |
---|
406 | however. If force is False (the default) then the window's close<br> |
---|
407 | handler will be allowed to veto the destruction of the window.</tt></dd></dl> |
---|
408 | |
---|
409 | <dl><dt><a name="PvDialog-ConvertDialogPointToPixels"><strong>ConvertDialogPointToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ConvertDialogPointToPixels">ConvertDialogPointToPixels</a>(self, Point pt) -> Point<br> |
---|
410 | <br> |
---|
411 | Converts a point or size from dialog units to pixels. <a href="wx._windows.html#Dialog">Dialog</a> units<br> |
---|
412 | are used for maintaining a dialog's proportions even if the font<br> |
---|
413 | changes. For the x dimension, the dialog units are multiplied by the<br> |
---|
414 | average character width and then divided by 4. For the y dimension,<br> |
---|
415 | the dialog units are multiplied by the average character height and<br> |
---|
416 | then divided by 8.</tt></dd></dl> |
---|
417 | |
---|
418 | <dl><dt><a name="PvDialog-ConvertDialogSizeToPixels"><strong>ConvertDialogSizeToPixels</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ConvertDialogSizeToPixels">ConvertDialogSizeToPixels</a>(self, Size sz) -> Size<br> |
---|
419 | <br> |
---|
420 | Converts a point or size from dialog units to pixels. <a href="wx._windows.html#Dialog">Dialog</a> units<br> |
---|
421 | are used for maintaining a dialog's proportions even if the font<br> |
---|
422 | changes. For the x dimension, the dialog units are multiplied by the<br> |
---|
423 | average character width and then divided by 4. For the y dimension,<br> |
---|
424 | the dialog units are multiplied by the average character height and<br> |
---|
425 | then divided by 8.</tt></dd></dl> |
---|
426 | |
---|
427 | <dl><dt><a name="PvDialog-ConvertPixelPointToDialog"><strong>ConvertPixelPointToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ConvertPixelPointToDialog">ConvertPixelPointToDialog</a>(self, Point pt) -> Point</tt></dd></dl> |
---|
428 | |
---|
429 | <dl><dt><a name="PvDialog-ConvertPixelSizeToDialog"><strong>ConvertPixelSizeToDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ConvertPixelSizeToDialog">ConvertPixelSizeToDialog</a>(self, Size sz) -> Size</tt></dd></dl> |
---|
430 | |
---|
431 | <dl><dt><a name="PvDialog-DLG_PNT"><strong>DLG_PNT</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-DLG_PNT">DLG_PNT</a>(self, Point pt) -> Point<br> |
---|
432 | <br> |
---|
433 | Converts a point or size from dialog units to pixels. <a href="wx._windows.html#Dialog">Dialog</a> units<br> |
---|
434 | are used for maintaining a dialog's proportions even if the font<br> |
---|
435 | changes. For the x dimension, the dialog units are multiplied by the<br> |
---|
436 | average character width and then divided by 4. For the y dimension,<br> |
---|
437 | the dialog units are multiplied by the average character height and<br> |
---|
438 | then divided by 8.</tt></dd></dl> |
---|
439 | |
---|
440 | <dl><dt><a name="PvDialog-DLG_SZE"><strong>DLG_SZE</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-DLG_SZE">DLG_SZE</a>(self, Size sz) -> Size<br> |
---|
441 | <br> |
---|
442 | Converts a point or size from dialog units to pixels. <a href="wx._windows.html#Dialog">Dialog</a> units<br> |
---|
443 | are used for maintaining a dialog's proportions even if the font<br> |
---|
444 | changes. For the x dimension, the dialog units are multiplied by the<br> |
---|
445 | average character width and then divided by 4. For the y dimension,<br> |
---|
446 | the dialog units are multiplied by the average character height and<br> |
---|
447 | then divided by 8.</tt></dd></dl> |
---|
448 | |
---|
449 | <dl><dt><a name="PvDialog-Destroy"><strong>Destroy</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Destroy">Destroy</a>(self) -> bool<br> |
---|
450 | <br> |
---|
451 | Destroys the window safely. Frames and dialogs are not destroyed<br> |
---|
452 | immediately when this function is called -- they are added to a list<br> |
---|
453 | of windows to be deleted on idle time, when all the window's events<br> |
---|
454 | have been processed. This prevents problems with events being sent to<br> |
---|
455 | non-existent windows.<br> |
---|
456 | <br> |
---|
457 | Returns True if the window has either been successfully deleted, or it<br> |
---|
458 | has been added to the list of windows pending real deletion.</tt></dd></dl> |
---|
459 | |
---|
460 | <dl><dt><a name="PvDialog-DestroyChildren"><strong>DestroyChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-DestroyChildren">DestroyChildren</a>(self) -> bool<br> |
---|
461 | <br> |
---|
462 | Destroys all children of a window. Called automatically by the<br> |
---|
463 | destructor.</tt></dd></dl> |
---|
464 | |
---|
465 | <dl><dt><a name="PvDialog-Disable"><strong>Disable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Disable">Disable</a>(self) -> bool<br> |
---|
466 | <br> |
---|
467 | Disables the window, same as <a href="#PvDialog-Enable">Enable</a>(false).</tt></dd></dl> |
---|
468 | |
---|
469 | <dl><dt><a name="PvDialog-DissociateHandle"><strong>DissociateHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-DissociateHandle">DissociateHandle</a>(self)<br> |
---|
470 | <br> |
---|
471 | Dissociate the current native handle from the window</tt></dd></dl> |
---|
472 | |
---|
473 | <dl><dt><a name="PvDialog-DragAcceptFiles"><strong>DragAcceptFiles</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-DragAcceptFiles">DragAcceptFiles</a>(self, bool accept)<br> |
---|
474 | <br> |
---|
475 | Enables or disables eligibility for drop file events, EVT_DROP_FILES.<br> |
---|
476 | Only functional on Windows.</tt></dd></dl> |
---|
477 | |
---|
478 | <dl><dt><a name="PvDialog-Enable"><strong>Enable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Enable">Enable</a>(self, bool enable=True) -> bool<br> |
---|
479 | <br> |
---|
480 | Enable or disable the window for user input. Note that when a parent<br> |
---|
481 | window is disabled, all of its children are disabled as well and they<br> |
---|
482 | are reenabled again when the parent is. Returns true if the window<br> |
---|
483 | has been enabled or disabled, false if nothing was done, i.e. if the<br> |
---|
484 | window had already been in the specified state.</tt></dd></dl> |
---|
485 | |
---|
486 | <dl><dt><a name="PvDialog-FindWindowById"><strong>FindWindowById</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-FindWindowById">FindWindowById</a>(self, long winid) -> Window<br> |
---|
487 | <br> |
---|
488 | Find a child of this window by window ID</tt></dd></dl> |
---|
489 | |
---|
490 | <dl><dt><a name="PvDialog-FindWindowByName"><strong>FindWindowByName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-FindWindowByName">FindWindowByName</a>(self, String name) -> Window<br> |
---|
491 | <br> |
---|
492 | Find a child of this window by name</tt></dd></dl> |
---|
493 | |
---|
494 | <dl><dt><a name="PvDialog-Fit"><strong>Fit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Fit">Fit</a>(self)<br> |
---|
495 | <br> |
---|
496 | Sizes the window so that it fits around its subwindows. This function<br> |
---|
497 | won't do anything if there are no subwindows and will only really work<br> |
---|
498 | correctly if sizers are used for the subwindows layout. Also, if the<br> |
---|
499 | window has exactly one subwindow it is better (faster and the result<br> |
---|
500 | is more precise as Fit adds some margin to account for fuzziness of<br> |
---|
501 | its calculations) to call window.<a href="#PvDialog-SetClientSize">SetClientSize</a>(child.<a href="#PvDialog-GetSize">GetSize</a>())<br> |
---|
502 | instead of calling Fit.</tt></dd></dl> |
---|
503 | |
---|
504 | <dl><dt><a name="PvDialog-FitInside"><strong>FitInside</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-FitInside">FitInside</a>(self)<br> |
---|
505 | <br> |
---|
506 | Similar to Fit, but sizes the interior (virtual) size of a<br> |
---|
507 | window. Mainly useful with scrolled windows to reset scrollbars after<br> |
---|
508 | sizing changes that do not trigger a size event, and/or scrolled<br> |
---|
509 | windows without an interior sizer. This function similarly won't do<br> |
---|
510 | anything if there are no subwindows.</tt></dd></dl> |
---|
511 | |
---|
512 | <dl><dt><a name="PvDialog-Freeze"><strong>Freeze</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Freeze">Freeze</a>(self)<br> |
---|
513 | <br> |
---|
514 | Freezes the window or, in other words, prevents any updates from<br> |
---|
515 | taking place on screen, the window is not redrawn at all. Thaw must be<br> |
---|
516 | called to reenable window redrawing. Calls to Freeze/Thaw may be<br> |
---|
517 | nested, with the actual Thaw being delayed until all the nesting has<br> |
---|
518 | been undone.<br> |
---|
519 | <br> |
---|
520 | This method is useful for visual appearance optimization (for example,<br> |
---|
521 | it is a good idea to use it before inserting large amount of text into<br> |
---|
522 | a wxTextCtrl under wxGTK) but is not implemented on all platforms nor<br> |
---|
523 | for all controls so it is mostly just a hint to wxWindows and not a<br> |
---|
524 | mandatory directive.</tt></dd></dl> |
---|
525 | |
---|
526 | <dl><dt><a name="PvDialog-GetAcceleratorTable"><strong>GetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetAcceleratorTable">GetAcceleratorTable</a>(self) -> AcceleratorTable<br> |
---|
527 | <br> |
---|
528 | Gets the accelerator table for this window.</tt></dd></dl> |
---|
529 | |
---|
530 | <dl><dt><a name="PvDialog-GetAdjustedBestSize"><strong>GetAdjustedBestSize</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt>Use `GetEffectiveMinSize` instead.</tt></dd></dl> |
---|
531 | |
---|
532 | <dl><dt><a name="PvDialog-GetAutoLayout"><strong>GetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetAutoLayout">GetAutoLayout</a>(self) -> bool<br> |
---|
533 | <br> |
---|
534 | Returns the current autoLayout setting</tt></dd></dl> |
---|
535 | |
---|
536 | <dl><dt><a name="PvDialog-GetBackgroundColour"><strong>GetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetBackgroundColour">GetBackgroundColour</a>(self) -> Colour<br> |
---|
537 | <br> |
---|
538 | Returns the background colour of the window.</tt></dd></dl> |
---|
539 | |
---|
540 | <dl><dt><a name="PvDialog-GetBackgroundStyle"><strong>GetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetBackgroundStyle">GetBackgroundStyle</a>(self) -> int<br> |
---|
541 | <br> |
---|
542 | Returns the background style of the window.<br> |
---|
543 | <br> |
---|
544 | :see: `SetBackgroundStyle`</tt></dd></dl> |
---|
545 | |
---|
546 | <dl><dt><a name="PvDialog-GetBestFittingSize"><strong>GetBestFittingSize</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt>Use `GetEffectiveMinSize` instead.</tt></dd></dl> |
---|
547 | |
---|
548 | <dl><dt><a name="PvDialog-GetBestSize"><strong>GetBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetBestSize">GetBestSize</a>(self) -> Size<br> |
---|
549 | <br> |
---|
550 | This function returns the best acceptable minimal size for the<br> |
---|
551 | window, if applicable. For example, for a static text control, it will<br> |
---|
552 | be the minimal size such that the control label is not truncated. For<br> |
---|
553 | windows containing subwindows (suzh aswx.Panel), the size returned by<br> |
---|
554 | this function will be the same as the size the window would have had<br> |
---|
555 | after calling Fit.</tt></dd></dl> |
---|
556 | |
---|
557 | <dl><dt><a name="PvDialog-GetBestSizeTuple"><strong>GetBestSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetBestSizeTuple">GetBestSizeTuple</a>() -> (width, height)<br> |
---|
558 | <br> |
---|
559 | This function returns the best acceptable minimal size for the<br> |
---|
560 | window, if applicable. For example, for a static text control, it will<br> |
---|
561 | be the minimal size such that the control label is not truncated. For<br> |
---|
562 | windows containing subwindows (suzh aswx.Panel), the size returned by<br> |
---|
563 | this function will be the same as the size the window would have had<br> |
---|
564 | after calling Fit.</tt></dd></dl> |
---|
565 | |
---|
566 | <dl><dt><a name="PvDialog-GetBestVirtualSize"><strong>GetBestVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetBestVirtualSize">GetBestVirtualSize</a>(self) -> Size<br> |
---|
567 | <br> |
---|
568 | Return the largest of ClientSize and BestSize (as determined by a<br> |
---|
569 | sizer, interior children, or other means)</tt></dd></dl> |
---|
570 | |
---|
571 | <dl><dt><a name="PvDialog-GetBorder"><strong>GetBorder</strong></a>(*args)</dt><dd><tt><a href="#PvDialog-GetBorder">GetBorder</a>(self, long flags) -> int<br> |
---|
572 | <a href="#PvDialog-GetBorder">GetBorder</a>(self) -> int<br> |
---|
573 | <br> |
---|
574 | Get border for the flags of this window</tt></dd></dl> |
---|
575 | |
---|
576 | <dl><dt><a name="PvDialog-GetCaret"><strong>GetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetCaret">GetCaret</a>(self) -> Caret<br> |
---|
577 | <br> |
---|
578 | Returns the caret associated with the window.</tt></dd></dl> |
---|
579 | |
---|
580 | <dl><dt><a name="PvDialog-GetCharHeight"><strong>GetCharHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetCharHeight">GetCharHeight</a>(self) -> int<br> |
---|
581 | <br> |
---|
582 | Get the (average) character size for the current font.</tt></dd></dl> |
---|
583 | |
---|
584 | <dl><dt><a name="PvDialog-GetCharWidth"><strong>GetCharWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetCharWidth">GetCharWidth</a>(self) -> int<br> |
---|
585 | <br> |
---|
586 | Get the (average) character size for the current font.</tt></dd></dl> |
---|
587 | |
---|
588 | <dl><dt><a name="PvDialog-GetChildren"><strong>GetChildren</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetChildren">GetChildren</a>(self) -> WindowList<br> |
---|
589 | <br> |
---|
590 | Returns an object containing a list of the window's children. The<br> |
---|
591 | object provides a Python sequence-like interface over the internal<br> |
---|
592 | list maintained by the window..</tt></dd></dl> |
---|
593 | |
---|
594 | <dl><dt><a name="PvDialog-GetClientAreaOrigin"><strong>GetClientAreaOrigin</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetClientAreaOrigin">GetClientAreaOrigin</a>(self) -> Point<br> |
---|
595 | <br> |
---|
596 | Get the origin of the client area of the window relative to the<br> |
---|
597 | window's top left corner (the client area may be shifted because of<br> |
---|
598 | the borders, scrollbars, other decorations...)</tt></dd></dl> |
---|
599 | |
---|
600 | <dl><dt><a name="PvDialog-GetClientRect"><strong>GetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetClientRect">GetClientRect</a>(self) -> Rect<br> |
---|
601 | <br> |
---|
602 | Get the client area position and size as a `wx.Rect` object.</tt></dd></dl> |
---|
603 | |
---|
604 | <dl><dt><a name="PvDialog-GetClientSize"><strong>GetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetClientSize">GetClientSize</a>(self) -> Size<br> |
---|
605 | <br> |
---|
606 | This gets the size of the window's 'client area' in pixels. The client<br> |
---|
607 | area is the area which may be drawn on by the programmer, excluding<br> |
---|
608 | title bar, border, scrollbars, etc.</tt></dd></dl> |
---|
609 | |
---|
610 | <dl><dt><a name="PvDialog-GetClientSizeTuple"><strong>GetClientSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetClientSizeTuple">GetClientSizeTuple</a>() -> (width, height)<br> |
---|
611 | <br> |
---|
612 | This gets the size of the window's 'client area' in pixels. The client<br> |
---|
613 | area is the area which may be drawn on by the programmer, excluding<br> |
---|
614 | title bar, border, scrollbars, etc.</tt></dd></dl> |
---|
615 | |
---|
616 | <dl><dt><a name="PvDialog-GetConstraints"><strong>GetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetConstraints">GetConstraints</a>(self) -> LayoutConstraints<br> |
---|
617 | <br> |
---|
618 | Returns a pointer to the window's layout constraints, or None if there<br> |
---|
619 | are none.</tt></dd></dl> |
---|
620 | |
---|
621 | <dl><dt><a name="PvDialog-GetContainingSizer"><strong>GetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetContainingSizer">GetContainingSizer</a>(self) -> Sizer<br> |
---|
622 | <br> |
---|
623 | Return the sizer that this window is a member of, if any, otherwise None.</tt></dd></dl> |
---|
624 | |
---|
625 | <dl><dt><a name="PvDialog-GetCursor"><strong>GetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetCursor">GetCursor</a>(self) -> Cursor<br> |
---|
626 | <br> |
---|
627 | Return the cursor associated with this window.</tt></dd></dl> |
---|
628 | |
---|
629 | <dl><dt><a name="PvDialog-GetDefaultAttributes"><strong>GetDefaultAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetDefaultAttributes">GetDefaultAttributes</a>(self) -> VisualAttributes<br> |
---|
630 | <br> |
---|
631 | Get the default attributes for an instance of this class. This is<br> |
---|
632 | useful if you want to use the same font or colour in your own control<br> |
---|
633 | as in a standard control -- which is a much better idea than hard<br> |
---|
634 | coding specific colours or fonts which might look completely out of<br> |
---|
635 | place on the user's system, especially if it uses themes.</tt></dd></dl> |
---|
636 | |
---|
637 | <dl><dt><a name="PvDialog-GetDropTarget"><strong>GetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetDropTarget">GetDropTarget</a>(self) -> DropTarget<br> |
---|
638 | <br> |
---|
639 | Returns the associated drop target, which may be None.</tt></dd></dl> |
---|
640 | |
---|
641 | <dl><dt><a name="PvDialog-GetEffectiveMinSize"><strong>GetEffectiveMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetEffectiveMinSize">GetEffectiveMinSize</a>(self) -> Size<br> |
---|
642 | <br> |
---|
643 | This function will merge the window's best size into the window's<br> |
---|
644 | minimum size, giving priority to the min size components, and returns<br> |
---|
645 | the results.</tt></dd></dl> |
---|
646 | |
---|
647 | <dl><dt><a name="PvDialog-GetEventHandler"><strong>GetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetEventHandler">GetEventHandler</a>(self) -> EvtHandler<br> |
---|
648 | <br> |
---|
649 | Returns the event handler for this window. By default, the window is<br> |
---|
650 | its own event handler.</tt></dd></dl> |
---|
651 | |
---|
652 | <dl><dt><a name="PvDialog-GetExtraStyle"><strong>GetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetExtraStyle">GetExtraStyle</a>(self) -> long<br> |
---|
653 | <br> |
---|
654 | Returns the extra style bits for the window.</tt></dd></dl> |
---|
655 | |
---|
656 | <dl><dt><a name="PvDialog-GetFont"><strong>GetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetFont">GetFont</a>(self) -> Font<br> |
---|
657 | <br> |
---|
658 | Returns the default font used for this window.</tt></dd></dl> |
---|
659 | |
---|
660 | <dl><dt><a name="PvDialog-GetForegroundColour"><strong>GetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetForegroundColour">GetForegroundColour</a>(self) -> Colour<br> |
---|
661 | <br> |
---|
662 | Returns the foreground colour of the window. The interpretation of<br> |
---|
663 | foreground colour is dependent on the window class; it may be the text<br> |
---|
664 | colour or other colour, or it may not be used at all.</tt></dd></dl> |
---|
665 | |
---|
666 | <dl><dt><a name="PvDialog-GetFullTextExtent"><strong>GetFullTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetFullTextExtent">GetFullTextExtent</a>(String string, Font font=None) -><br> |
---|
667 | (width, height, descent, externalLeading)<br> |
---|
668 | <br> |
---|
669 | Get the width, height, decent and leading of the text using the<br> |
---|
670 | current or specified font.</tt></dd></dl> |
---|
671 | |
---|
672 | <dl><dt><a name="PvDialog-GetGrandParent"><strong>GetGrandParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetGrandParent">GetGrandParent</a>(self) -> Window<br> |
---|
673 | <br> |
---|
674 | Returns the parent of the parent of this window, or None if there<br> |
---|
675 | isn't one.</tt></dd></dl> |
---|
676 | |
---|
677 | <dl><dt><a name="PvDialog-GetGtkWidget"><strong>GetGtkWidget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetGtkWidget">GetGtkWidget</a>(self) -> long<br> |
---|
678 | <br> |
---|
679 | On wxGTK returns a pointer to the GtkWidget for this window as a long<br> |
---|
680 | integer. On the other platforms this method returns zero.</tt></dd></dl> |
---|
681 | |
---|
682 | <dl><dt><a name="PvDialog-GetHandle"><strong>GetHandle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetHandle">GetHandle</a>(self) -> long<br> |
---|
683 | <br> |
---|
684 | Returns the platform-specific handle (as a long integer) of the<br> |
---|
685 | physical window. On wxMSW this is the win32 window handle, on wxGTK<br> |
---|
686 | it is the XWindow ID, and on wxMac it is the ControlRef.</tt></dd></dl> |
---|
687 | |
---|
688 | <dl><dt><a name="PvDialog-GetHelpText"><strong>GetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetHelpText">GetHelpText</a>(self) -> String<br> |
---|
689 | <br> |
---|
690 | Gets the help text to be used as context-sensitive help for this<br> |
---|
691 | window. Note that the text is actually stored by the current<br> |
---|
692 | `wx.HelpProvider` implementation, and not in the window object itself.</tt></dd></dl> |
---|
693 | |
---|
694 | <dl><dt><a name="PvDialog-GetHelpTextAtPoint"><strong>GetHelpTextAtPoint</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetHelpTextAtPoint">GetHelpTextAtPoint</a>(self, Point pt, wxHelpEvent::Origin origin) -> String<br> |
---|
695 | <br> |
---|
696 | Get the help string associated with the given position in this window.<br> |
---|
697 | <br> |
---|
698 | Notice that pt may be invalid if event origin is keyboard or unknown<br> |
---|
699 | and this method should return the global window help text then</tt></dd></dl> |
---|
700 | |
---|
701 | <dl><dt><a name="PvDialog-GetId"><strong>GetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetId">GetId</a>(self) -> int<br> |
---|
702 | <br> |
---|
703 | Returns the identifier of the window. Each window has an integer<br> |
---|
704 | identifier. If the application has not provided one (or the default Id<br> |
---|
705 | -1 is used) then an unique identifier with a negative value will be<br> |
---|
706 | generated.</tt></dd></dl> |
---|
707 | |
---|
708 | <dl><dt><a name="PvDialog-GetLabel"><strong>GetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetLabel">GetLabel</a>(self) -> String<br> |
---|
709 | <br> |
---|
710 | Generic way of getting a label from any window, for identification<br> |
---|
711 | purposes. The interpretation of this function differs from class to<br> |
---|
712 | class. For frames and dialogs, the value returned is the title. For<br> |
---|
713 | buttons or static text controls, it is the button text. This function<br> |
---|
714 | can be useful for meta-programs such as testing tools or special-needs<br> |
---|
715 | access programs)which need to identify windows by name.</tt></dd></dl> |
---|
716 | |
---|
717 | <dl><dt><a name="PvDialog-GetLayoutDirection"><strong>GetLayoutDirection</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetLayoutDirection">GetLayoutDirection</a>(self) -> int<br> |
---|
718 | <br> |
---|
719 | Get the layout direction (LTR or RTL) for this window. Returns<br> |
---|
720 | ``wx.Layout_Default`` if layout direction is not supported.</tt></dd></dl> |
---|
721 | |
---|
722 | <dl><dt><a name="PvDialog-GetMaxHeight"><strong>GetMaxHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetMaxHeight">GetMaxHeight</a>(self) -> int</tt></dd></dl> |
---|
723 | |
---|
724 | <dl><dt><a name="PvDialog-GetMaxSize"><strong>GetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetMaxSize">GetMaxSize</a>(self) -> Size</tt></dd></dl> |
---|
725 | |
---|
726 | <dl><dt><a name="PvDialog-GetMaxWidth"><strong>GetMaxWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetMaxWidth">GetMaxWidth</a>(self) -> int</tt></dd></dl> |
---|
727 | |
---|
728 | <dl><dt><a name="PvDialog-GetMinHeight"><strong>GetMinHeight</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetMinHeight">GetMinHeight</a>(self) -> int</tt></dd></dl> |
---|
729 | |
---|
730 | <dl><dt><a name="PvDialog-GetMinSize"><strong>GetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetMinSize">GetMinSize</a>(self) -> Size</tt></dd></dl> |
---|
731 | |
---|
732 | <dl><dt><a name="PvDialog-GetMinWidth"><strong>GetMinWidth</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetMinWidth">GetMinWidth</a>(self) -> int</tt></dd></dl> |
---|
733 | |
---|
734 | <dl><dt><a name="PvDialog-GetName"><strong>GetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetName">GetName</a>(self) -> String<br> |
---|
735 | <br> |
---|
736 | Returns the windows name. This name is not guaranteed to be unique;<br> |
---|
737 | it is up to the programmer to supply an appropriate name in the window<br> |
---|
738 | constructor or via wx.Window.SetName.</tt></dd></dl> |
---|
739 | |
---|
740 | <dl><dt><a name="PvDialog-GetParent"><strong>GetParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetParent">GetParent</a>(self) -> Window<br> |
---|
741 | <br> |
---|
742 | Returns the parent window of this window, or None if there isn't one.</tt></dd></dl> |
---|
743 | |
---|
744 | <dl><dt><a name="PvDialog-GetPosition"><strong>GetPosition</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetPosition">GetPosition</a>(self) -> Point<br> |
---|
745 | <br> |
---|
746 | Get the window's position. Notice that the position is in client<br> |
---|
747 | coordinates for child windows and screen coordinates for the top level<br> |
---|
748 | ones, use `GetScreenPosition` if you need screen coordinates for all<br> |
---|
749 | kinds of windows.</tt></dd></dl> |
---|
750 | |
---|
751 | <dl><dt><a name="PvDialog-GetPositionTuple"><strong>GetPositionTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetPositionTuple">GetPositionTuple</a>() -> (x,y)<br> |
---|
752 | <br> |
---|
753 | Get the window's position. Notice that the position is in client<br> |
---|
754 | coordinates for child windows and screen coordinates for the top level<br> |
---|
755 | ones, use `GetScreenPosition` if you need screen coordinates for all<br> |
---|
756 | kinds of windows.</tt></dd></dl> |
---|
757 | |
---|
758 | <dl><dt><a name="PvDialog-GetRect"><strong>GetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetRect">GetRect</a>(self) -> Rect<br> |
---|
759 | <br> |
---|
760 | Returns the size and position of the window as a `wx.Rect` object.</tt></dd></dl> |
---|
761 | |
---|
762 | <dl><dt><a name="PvDialog-GetScreenPosition"><strong>GetScreenPosition</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetScreenPosition">GetScreenPosition</a>(self) -> Point<br> |
---|
763 | <br> |
---|
764 | Get the position of the window in screen coordinantes.</tt></dd></dl> |
---|
765 | |
---|
766 | <dl><dt><a name="PvDialog-GetScreenPositionTuple"><strong>GetScreenPositionTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetScreenPositionTuple">GetScreenPositionTuple</a>() -> (x,y)<br> |
---|
767 | <br> |
---|
768 | Get the position of the window in screen coordinantes.</tt></dd></dl> |
---|
769 | |
---|
770 | <dl><dt><a name="PvDialog-GetScreenRect"><strong>GetScreenRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetScreenRect">GetScreenRect</a>(self) -> Rect<br> |
---|
771 | <br> |
---|
772 | Returns the size and position of the window in screen coordinantes as<br> |
---|
773 | a `wx.Rect` object.</tt></dd></dl> |
---|
774 | |
---|
775 | <dl><dt><a name="PvDialog-GetScrollPos"><strong>GetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetScrollPos">GetScrollPos</a>(self, int orientation) -> int<br> |
---|
776 | <br> |
---|
777 | Returns the built-in scrollbar position.</tt></dd></dl> |
---|
778 | |
---|
779 | <dl><dt><a name="PvDialog-GetScrollRange"><strong>GetScrollRange</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetScrollRange">GetScrollRange</a>(self, int orientation) -> int<br> |
---|
780 | <br> |
---|
781 | Returns the built-in scrollbar range.</tt></dd></dl> |
---|
782 | |
---|
783 | <dl><dt><a name="PvDialog-GetScrollThumb"><strong>GetScrollThumb</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetScrollThumb">GetScrollThumb</a>(self, int orientation) -> int<br> |
---|
784 | <br> |
---|
785 | Returns the built-in scrollbar thumb size.</tt></dd></dl> |
---|
786 | |
---|
787 | <dl><dt><a name="PvDialog-GetSize"><strong>GetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetSize">GetSize</a>(self) -> Size<br> |
---|
788 | <br> |
---|
789 | Get the window size.</tt></dd></dl> |
---|
790 | |
---|
791 | <dl><dt><a name="PvDialog-GetSizeTuple"><strong>GetSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetSizeTuple">GetSizeTuple</a>() -> (width, height)<br> |
---|
792 | <br> |
---|
793 | Get the window size.</tt></dd></dl> |
---|
794 | |
---|
795 | <dl><dt><a name="PvDialog-GetSizer"><strong>GetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetSizer">GetSizer</a>(self) -> Sizer<br> |
---|
796 | <br> |
---|
797 | Return the sizer associated with the window by a previous call to<br> |
---|
798 | SetSizer or None if there isn't one.</tt></dd></dl> |
---|
799 | |
---|
800 | <dl><dt><a name="PvDialog-GetTextExtent"><strong>GetTextExtent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetTextExtent">GetTextExtent</a>(String string) -> (width, height)<br> |
---|
801 | <br> |
---|
802 | Get the width and height of the text using the current font.</tt></dd></dl> |
---|
803 | |
---|
804 | <dl><dt><a name="PvDialog-GetThemeEnabled"><strong>GetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetThemeEnabled">GetThemeEnabled</a>(self) -> bool<br> |
---|
805 | <br> |
---|
806 | Return the themeEnabled flag.</tt></dd></dl> |
---|
807 | |
---|
808 | <dl><dt><a name="PvDialog-GetToolTip"><strong>GetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetToolTip">GetToolTip</a>(self) -> ToolTip<br> |
---|
809 | <br> |
---|
810 | get the associated tooltip or None if none</tt></dd></dl> |
---|
811 | |
---|
812 | <dl><dt><a name="PvDialog-GetTopLevelParent"><strong>GetTopLevelParent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetTopLevelParent">GetTopLevelParent</a>(self) -> Window<br> |
---|
813 | <br> |
---|
814 | Returns the first frame or dialog in this window's parental hierarchy.</tt></dd></dl> |
---|
815 | |
---|
816 | <dl><dt><a name="PvDialog-GetUpdateClientRect"><strong>GetUpdateClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetUpdateClientRect">GetUpdateClientRect</a>(self) -> Rect<br> |
---|
817 | <br> |
---|
818 | Get the update rectangle region bounding box in client coords.</tt></dd></dl> |
---|
819 | |
---|
820 | <dl><dt><a name="PvDialog-GetUpdateRegion"><strong>GetUpdateRegion</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetUpdateRegion">GetUpdateRegion</a>(self) -> Region<br> |
---|
821 | <br> |
---|
822 | Returns the region specifying which parts of the window have been<br> |
---|
823 | damaged. Should only be called within an EVT_PAINT handler.</tt></dd></dl> |
---|
824 | |
---|
825 | <dl><dt><a name="PvDialog-GetValidator"><strong>GetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetValidator">GetValidator</a>(self) -> Validator<br> |
---|
826 | <br> |
---|
827 | Returns a pointer to the current validator for the window, or None if<br> |
---|
828 | there is none.</tt></dd></dl> |
---|
829 | |
---|
830 | <dl><dt><a name="PvDialog-GetVirtualSize"><strong>GetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetVirtualSize">GetVirtualSize</a>(self) -> Size<br> |
---|
831 | <br> |
---|
832 | Get the the virtual size of the window in pixels. For most windows<br> |
---|
833 | this is just the client area of the window, but for some like scrolled<br> |
---|
834 | windows it is more or less independent of the screen window size.</tt></dd></dl> |
---|
835 | |
---|
836 | <dl><dt><a name="PvDialog-GetVirtualSizeTuple"><strong>GetVirtualSizeTuple</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetVirtualSizeTuple">GetVirtualSizeTuple</a>() -> (width, height)<br> |
---|
837 | <br> |
---|
838 | Get the the virtual size of the window in pixels. For most windows<br> |
---|
839 | this is just the client area of the window, but for some like scrolled<br> |
---|
840 | windows it is more or less independent of the screen window size.</tt></dd></dl> |
---|
841 | |
---|
842 | <dl><dt><a name="PvDialog-GetWindowBorderSize"><strong>GetWindowBorderSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetWindowBorderSize">GetWindowBorderSize</a>(self) -> Size<br> |
---|
843 | <br> |
---|
844 | Return the size of the left/right and top/bottom borders.</tt></dd></dl> |
---|
845 | |
---|
846 | <dl><dt><a name="PvDialog-GetWindowStyle"><strong>GetWindowStyle</strong></a> = GetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br> |
---|
847 | <br> |
---|
848 | Gets the window style that was passed to the constructor or Create<br> |
---|
849 | method.</tt></dd></dl> |
---|
850 | |
---|
851 | <dl><dt><a name="PvDialog-GetWindowStyleFlag"><strong>GetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetWindowStyleFlag">GetWindowStyleFlag</a>(self) -> long<br> |
---|
852 | <br> |
---|
853 | Gets the window style that was passed to the constructor or Create<br> |
---|
854 | method.</tt></dd></dl> |
---|
855 | |
---|
856 | <dl><dt><a name="PvDialog-GetWindowVariant"><strong>GetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetWindowVariant">GetWindowVariant</a>(self) -> int</tt></dd></dl> |
---|
857 | |
---|
858 | <dl><dt><a name="PvDialog-HasCapture"><strong>HasCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HasCapture">HasCapture</a>(self) -> bool<br> |
---|
859 | <br> |
---|
860 | Returns true if this window has the current mouse capture.</tt></dd></dl> |
---|
861 | |
---|
862 | <dl><dt><a name="PvDialog-HasFlag"><strong>HasFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HasFlag">HasFlag</a>(self, int flag) -> bool<br> |
---|
863 | <br> |
---|
864 | Test if the given style is set for this window.</tt></dd></dl> |
---|
865 | |
---|
866 | <dl><dt><a name="PvDialog-HasMultiplePages"><strong>HasMultiplePages</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HasMultiplePages">HasMultiplePages</a>(self) -> bool</tt></dd></dl> |
---|
867 | |
---|
868 | <dl><dt><a name="PvDialog-HasScrollbar"><strong>HasScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HasScrollbar">HasScrollbar</a>(self, int orient) -> bool<br> |
---|
869 | <br> |
---|
870 | Does the window have the scrollbar for this orientation?</tt></dd></dl> |
---|
871 | |
---|
872 | <dl><dt><a name="PvDialog-HasTransparentBackground"><strong>HasTransparentBackground</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HasTransparentBackground">HasTransparentBackground</a>(self) -> bool<br> |
---|
873 | <br> |
---|
874 | Returns True if this window's background is transparent (as, for<br> |
---|
875 | example, for `wx.StaticText`) and should show the parent window's<br> |
---|
876 | background.<br> |
---|
877 | <br> |
---|
878 | This method is mostly used internally by the library itself and you<br> |
---|
879 | normally shouldn't have to call it. You may, however, have to override<br> |
---|
880 | it in your custom control classes to ensure that background is painted<br> |
---|
881 | correctly.</tt></dd></dl> |
---|
882 | |
---|
883 | <dl><dt><a name="PvDialog-Hide"><strong>Hide</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Hide">Hide</a>(self) -> bool<br> |
---|
884 | <br> |
---|
885 | Equivalent to calling <a href="#PvDialog-Show">Show</a>(False).</tt></dd></dl> |
---|
886 | |
---|
887 | <dl><dt><a name="PvDialog-HitTest"><strong>HitTest</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HitTest">HitTest</a>(self, Point pt) -> int<br> |
---|
888 | <br> |
---|
889 | Test where the given (in client coords) point lies</tt></dd></dl> |
---|
890 | |
---|
891 | <dl><dt><a name="PvDialog-HitTestXY"><strong>HitTestXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-HitTestXY">HitTestXY</a>(self, int x, int y) -> int<br> |
---|
892 | <br> |
---|
893 | Test where the given (in client coords) point lies</tt></dd></dl> |
---|
894 | |
---|
895 | <dl><dt><a name="PvDialog-InheritAttributes"><strong>InheritAttributes</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-InheritAttributes">InheritAttributes</a>(self)<br> |
---|
896 | <br> |
---|
897 | This function is (or should be, in case of custom controls) called<br> |
---|
898 | during window creation to intelligently set up the window visual<br> |
---|
899 | attributes, that is the font and the foreground and background<br> |
---|
900 | colours.<br> |
---|
901 | <br> |
---|
902 | By 'intelligently' the following is meant: by default, all windows use<br> |
---|
903 | their own default attributes. However if some of the parent's<br> |
---|
904 | attributes are explicitly changed (that is, using SetFont and not<br> |
---|
905 | SetOwnFont) and if the corresponding attribute hadn't been<br> |
---|
906 | explicitly set for this window itself, then this window takes the same<br> |
---|
907 | value as used by the parent. In addition, if the window overrides<br> |
---|
908 | ShouldInheritColours to return false, the colours will not be changed<br> |
---|
909 | no matter what and only the font might.<br> |
---|
910 | <br> |
---|
911 | This rather complicated logic is necessary in order to accommodate the<br> |
---|
912 | different usage scenarios. The most common one is when all default<br> |
---|
913 | attributes are used and in this case, nothing should be inherited as<br> |
---|
914 | in modern GUIs different controls use different fonts (and colours)<br> |
---|
915 | than their siblings so they can't inherit the same value from the<br> |
---|
916 | parent. However it was also deemed desirable to allow to simply change<br> |
---|
917 | the attributes of all children at once by just changing the font or<br> |
---|
918 | colour of their common parent, hence in this case we do inherit the<br> |
---|
919 | parents attributes.</tt></dd></dl> |
---|
920 | |
---|
921 | <dl><dt><a name="PvDialog-InheritsBackgroundColour"><strong>InheritsBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-InheritsBackgroundColour">InheritsBackgroundColour</a>(self) -> bool</tt></dd></dl> |
---|
922 | |
---|
923 | <dl><dt><a name="PvDialog-InitDialog"><strong>InitDialog</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-InitDialog">InitDialog</a>(self)<br> |
---|
924 | <br> |
---|
925 | Sends an EVT_INIT_DIALOG event, whose handler usually transfers data<br> |
---|
926 | to the dialog via validators.</tt></dd></dl> |
---|
927 | |
---|
928 | <dl><dt><a name="PvDialog-InvalidateBestSize"><strong>InvalidateBestSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-InvalidateBestSize">InvalidateBestSize</a>(self)<br> |
---|
929 | <br> |
---|
930 | Reset the cached best size value so it will be recalculated the next<br> |
---|
931 | time it is needed.</tt></dd></dl> |
---|
932 | |
---|
933 | <dl><dt><a name="PvDialog-IsBeingDeleted"><strong>IsBeingDeleted</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsBeingDeleted">IsBeingDeleted</a>(self) -> bool<br> |
---|
934 | <br> |
---|
935 | Is the window in the process of being deleted?</tt></dd></dl> |
---|
936 | |
---|
937 | <dl><dt><a name="PvDialog-IsDoubleBuffered"><strong>IsDoubleBuffered</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsDoubleBuffered">IsDoubleBuffered</a>(self) -> bool<br> |
---|
938 | <br> |
---|
939 | Returns ``True`` if the window contents is double-buffered by the<br> |
---|
940 | system, i.e. if any drawing done on the window is really done on a<br> |
---|
941 | temporary backing surface and transferred to the screen all at once<br> |
---|
942 | later.</tt></dd></dl> |
---|
943 | |
---|
944 | <dl><dt><a name="PvDialog-IsEnabled"><strong>IsEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsEnabled">IsEnabled</a>(self) -> bool<br> |
---|
945 | <br> |
---|
946 | Returns true if the window is enabled for input, false otherwise.</tt></dd></dl> |
---|
947 | |
---|
948 | <dl><dt><a name="PvDialog-IsExposed"><strong>IsExposed</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsExposed">IsExposed</a>(self, int x, int y, int w=1, int h=1) -> bool<br> |
---|
949 | <br> |
---|
950 | Returns true if the given point or rectangle area has been exposed<br> |
---|
951 | since the last repaint. Call this in an paint event handler to<br> |
---|
952 | optimize redrawing by only redrawing those areas, which have been<br> |
---|
953 | exposed.</tt></dd></dl> |
---|
954 | |
---|
955 | <dl><dt><a name="PvDialog-IsExposedPoint"><strong>IsExposedPoint</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsExposedPoint">IsExposedPoint</a>(self, Point pt) -> bool<br> |
---|
956 | <br> |
---|
957 | Returns true if the given point or rectangle area has been exposed<br> |
---|
958 | since the last repaint. Call this in an paint event handler to<br> |
---|
959 | optimize redrawing by only redrawing those areas, which have been<br> |
---|
960 | exposed.</tt></dd></dl> |
---|
961 | |
---|
962 | <dl><dt><a name="PvDialog-IsExposedRect"><strong>IsExposedRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsExposedRect">IsExposedRect</a>(self, Rect rect) -> bool<br> |
---|
963 | <br> |
---|
964 | Returns true if the given point or rectangle area has been exposed<br> |
---|
965 | since the last repaint. Call this in an paint event handler to<br> |
---|
966 | optimize redrawing by only redrawing those areas, which have been<br> |
---|
967 | exposed.</tt></dd></dl> |
---|
968 | |
---|
969 | <dl><dt><a name="PvDialog-IsFrozen"><strong>IsFrozen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsFrozen">IsFrozen</a>(self) -> bool<br> |
---|
970 | <br> |
---|
971 | Returns ``True`` if the window has been frozen and not thawed yet.<br> |
---|
972 | <br> |
---|
973 | :see: `Freeze` and `Thaw`</tt></dd></dl> |
---|
974 | |
---|
975 | <dl><dt><a name="PvDialog-IsRetained"><strong>IsRetained</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsRetained">IsRetained</a>(self) -> bool<br> |
---|
976 | <br> |
---|
977 | Returns true if the window is retained, false otherwise. Retained<br> |
---|
978 | windows are only available on X platforms.</tt></dd></dl> |
---|
979 | |
---|
980 | <dl><dt><a name="PvDialog-IsShown"><strong>IsShown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsShown">IsShown</a>(self) -> bool<br> |
---|
981 | <br> |
---|
982 | Returns true if the window is shown, false if it has been hidden.</tt></dd></dl> |
---|
983 | |
---|
984 | <dl><dt><a name="PvDialog-IsShownOnScreen"><strong>IsShownOnScreen</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsShownOnScreen">IsShownOnScreen</a>(self) -> bool<br> |
---|
985 | <br> |
---|
986 | Returns ``True`` if the window is physically visible on the screen,<br> |
---|
987 | i.e. it is shown and all its parents up to the toplevel window are<br> |
---|
988 | shown as well.</tt></dd></dl> |
---|
989 | |
---|
990 | <dl><dt><a name="PvDialog-IsTopLevel"><strong>IsTopLevel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsTopLevel">IsTopLevel</a>(self) -> bool<br> |
---|
991 | <br> |
---|
992 | Returns true if the given window is a top-level one. Currently all<br> |
---|
993 | frames and dialogs are always considered to be top-level windows (even<br> |
---|
994 | if they have a parent window).</tt></dd></dl> |
---|
995 | |
---|
996 | <dl><dt><a name="PvDialog-Layout"><strong>Layout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Layout">Layout</a>(self) -> bool<br> |
---|
997 | <br> |
---|
998 | Invokes the constraint-based layout algorithm or the sizer-based<br> |
---|
999 | algorithm for this window. See SetAutoLayout: when auto layout is on,<br> |
---|
1000 | this function gets called automatically by the default EVT_SIZE<br> |
---|
1001 | handler when the window is resized.</tt></dd></dl> |
---|
1002 | |
---|
1003 | <dl><dt><a name="PvDialog-LineDown"><strong>LineDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-LineDown">LineDown</a>(self) -> bool<br> |
---|
1004 | <br> |
---|
1005 | This is just a wrapper for <a href="#PvDialog-ScrollLines">ScrollLines</a>(1).</tt></dd></dl> |
---|
1006 | |
---|
1007 | <dl><dt><a name="PvDialog-LineUp"><strong>LineUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-LineUp">LineUp</a>(self) -> bool<br> |
---|
1008 | <br> |
---|
1009 | This is just a wrapper for <a href="#PvDialog-ScrollLines">ScrollLines</a>(-1).</tt></dd></dl> |
---|
1010 | |
---|
1011 | <dl><dt><a name="PvDialog-Lower"><strong>Lower</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Lower">Lower</a>(self)<br> |
---|
1012 | <br> |
---|
1013 | Lowers the window to the bottom of the window hierarchy. In current<br> |
---|
1014 | version of wxWidgets this works both for managed and child windows.</tt></dd></dl> |
---|
1015 | |
---|
1016 | <dl><dt><a name="PvDialog-MakeModal"><strong>MakeModal</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MakeModal">MakeModal</a>(self, bool modal=True)<br> |
---|
1017 | <br> |
---|
1018 | Disables all other windows in the application so that the user can<br> |
---|
1019 | only interact with this window. Passing False will reverse this<br> |
---|
1020 | effect.</tt></dd></dl> |
---|
1021 | |
---|
1022 | <dl><dt><a name="PvDialog-Move"><strong>Move</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br> |
---|
1023 | <br> |
---|
1024 | Moves the window to the given position.</tt></dd></dl> |
---|
1025 | |
---|
1026 | <dl><dt><a name="PvDialog-MoveAfterInTabOrder"><strong>MoveAfterInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MoveAfterInTabOrder">MoveAfterInTabOrder</a>(self, Window win)<br> |
---|
1027 | <br> |
---|
1028 | Moves this window in the tab navigation order after the specified<br> |
---|
1029 | sibling window. This means that when the user presses the TAB key on<br> |
---|
1030 | that other window, the focus switches to this window.<br> |
---|
1031 | <br> |
---|
1032 | The default tab order is the same as creation order. This function<br> |
---|
1033 | and `MoveBeforeInTabOrder` allow to change it after creating all the<br> |
---|
1034 | windows.</tt></dd></dl> |
---|
1035 | |
---|
1036 | <dl><dt><a name="PvDialog-MoveBeforeInTabOrder"><strong>MoveBeforeInTabOrder</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MoveBeforeInTabOrder">MoveBeforeInTabOrder</a>(self, Window win)<br> |
---|
1037 | <br> |
---|
1038 | Same as `MoveAfterInTabOrder` except that it inserts this window just<br> |
---|
1039 | before win instead of putting it right after it.</tt></dd></dl> |
---|
1040 | |
---|
1041 | <dl><dt><a name="PvDialog-MoveXY"><strong>MoveXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-MoveXY">MoveXY</a>(self, int x, int y, int flags=SIZE_USE_EXISTING)<br> |
---|
1042 | <br> |
---|
1043 | Moves the window to the given position.</tt></dd></dl> |
---|
1044 | |
---|
1045 | <dl><dt><a name="PvDialog-Navigate"><strong>Navigate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Navigate">Navigate</a>(self, int flags=NavigationKeyEvent.IsForward) -> bool<br> |
---|
1046 | <br> |
---|
1047 | Does keyboard navigation from this window to another, by sending a<br> |
---|
1048 | `wx.NavigationKeyEvent`.</tt></dd></dl> |
---|
1049 | |
---|
1050 | <dl><dt><a name="PvDialog-PageDown"><strong>PageDown</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PageDown">PageDown</a>(self) -> bool<br> |
---|
1051 | <br> |
---|
1052 | This is just a wrapper for <a href="#PvDialog-ScrollPages">ScrollPages</a>(1).</tt></dd></dl> |
---|
1053 | |
---|
1054 | <dl><dt><a name="PvDialog-PageUp"><strong>PageUp</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PageUp">PageUp</a>(self) -> bool<br> |
---|
1055 | <br> |
---|
1056 | This is just a wrapper for <a href="#PvDialog-ScrollPages">ScrollPages</a>(-1).</tt></dd></dl> |
---|
1057 | |
---|
1058 | <dl><dt><a name="PvDialog-PopEventHandler"><strong>PopEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PopEventHandler">PopEventHandler</a>(self, bool deleteHandler=False) -> EvtHandler<br> |
---|
1059 | <br> |
---|
1060 | Removes and returns the top-most event handler on the event handler<br> |
---|
1061 | stack. If deleteHandler is True then the wx.EvtHandler object will be<br> |
---|
1062 | destroyed after it is popped, and ``None`` will be returned instead.</tt></dd></dl> |
---|
1063 | |
---|
1064 | <dl><dt><a name="PvDialog-PopupMenu"><strong>PopupMenu</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PopupMenu">PopupMenu</a>(self, Menu menu, Point pos=DefaultPosition) -> bool<br> |
---|
1065 | <br> |
---|
1066 | Pops up the given menu at the specified coordinates, relative to this window,<br> |
---|
1067 | and returns control when the user has dismissed the menu. If a menu item is<br> |
---|
1068 | selected, the corresponding menu event is generated and will be processed as<br> |
---|
1069 | usual. If the default position is given then the current position of the<br> |
---|
1070 | mouse cursor will be used.</tt></dd></dl> |
---|
1071 | |
---|
1072 | <dl><dt><a name="PvDialog-PopupMenuXY"><strong>PopupMenuXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PopupMenuXY">PopupMenuXY</a>(self, Menu menu, int x=-1, int y=-1) -> bool<br> |
---|
1073 | <br> |
---|
1074 | Pops up the given menu at the specified coordinates, relative to this window,<br> |
---|
1075 | and returns control when the user has dismissed the menu. If a menu item is<br> |
---|
1076 | selected, the corresponding menu event is generated and will be processed as<br> |
---|
1077 | usual. If the default position is given then the current position of the<br> |
---|
1078 | mouse cursor will be used.</tt></dd></dl> |
---|
1079 | |
---|
1080 | <dl><dt><a name="PvDialog-PostCreate"><strong>PostCreate</strong></a>(self, pre)</dt><dd><tt>Phase 3 of the 2-phase create <wink!><br> |
---|
1081 | Call this method after precreating the window with the 2-phase create method.</tt></dd></dl> |
---|
1082 | |
---|
1083 | <dl><dt><a name="PvDialog-PrepareDC"><strong>PrepareDC</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PrepareDC">PrepareDC</a>(self, DC dc)<br> |
---|
1084 | <br> |
---|
1085 | Call this function to prepare the device context for drawing a<br> |
---|
1086 | scrolled image. It sets the device origin according to the current<br> |
---|
1087 | scroll position.</tt></dd></dl> |
---|
1088 | |
---|
1089 | <dl><dt><a name="PvDialog-PushEventHandler"><strong>PushEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PushEventHandler">PushEventHandler</a>(self, EvtHandler handler)<br> |
---|
1090 | <br> |
---|
1091 | Pushes this event handler onto the event handler stack for the window.<br> |
---|
1092 | An event handler is an object that is capable of processing the events<br> |
---|
1093 | sent to a window. (In other words, is able to dispatch the events to a<br> |
---|
1094 | handler function.) By default, the window is its own event handler,<br> |
---|
1095 | but an application may wish to substitute another, for example to<br> |
---|
1096 | allow central implementation of event-handling for a variety of<br> |
---|
1097 | different window classes.<br> |
---|
1098 | <br> |
---|
1099 | wx.Window.PushEventHandler allows an application to set up a chain of<br> |
---|
1100 | event handlers, where an event not handled by one event handler is<br> |
---|
1101 | handed to the next one in the chain. Use `wx.Window.PopEventHandler`<br> |
---|
1102 | to remove the event handler. Ownership of the handler is *not* given<br> |
---|
1103 | to the window, so you should be sure to pop the handler before the<br> |
---|
1104 | window is destroyed and either let PopEventHandler destroy it, or call<br> |
---|
1105 | its Destroy method yourself.</tt></dd></dl> |
---|
1106 | |
---|
1107 | <dl><dt><a name="PvDialog-Raise"><strong>Raise</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Raise">Raise</a>(self)<br> |
---|
1108 | <br> |
---|
1109 | Raises the window to the top of the window hierarchy. In current<br> |
---|
1110 | version of wxWidgets this works both for managed and child windows.</tt></dd></dl> |
---|
1111 | |
---|
1112 | <dl><dt><a name="PvDialog-Refresh"><strong>Refresh</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Refresh">Refresh</a>(self, bool eraseBackground=True, Rect rect=None)<br> |
---|
1113 | <br> |
---|
1114 | Mark the specified rectangle (or the whole window) as "dirty" so it<br> |
---|
1115 | will be repainted. Causes an EVT_PAINT event to be generated and sent<br> |
---|
1116 | to the window.</tt></dd></dl> |
---|
1117 | |
---|
1118 | <dl><dt><a name="PvDialog-RefreshRect"><strong>RefreshRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-RefreshRect">RefreshRect</a>(self, Rect rect, bool eraseBackground=True)<br> |
---|
1119 | <br> |
---|
1120 | Redraws the contents of the given rectangle: the area inside it will<br> |
---|
1121 | be repainted. This is the same as Refresh but has a nicer syntax.</tt></dd></dl> |
---|
1122 | |
---|
1123 | <dl><dt><a name="PvDialog-RegisterHotKey"><strong>RegisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-RegisterHotKey">RegisterHotKey</a>(self, int hotkeyId, int modifiers, int keycode) -> bool<br> |
---|
1124 | <br> |
---|
1125 | Registers a system wide hotkey. Every time the user presses the hotkey<br> |
---|
1126 | registered here, this window will receive a hotkey event. It will<br> |
---|
1127 | receive the event even if the application is in the background and<br> |
---|
1128 | does not have the input focus because the user is working with some<br> |
---|
1129 | other application. To bind an event handler function to this hotkey<br> |
---|
1130 | use EVT_HOTKEY with an id equal to hotkeyId. Returns True if the<br> |
---|
1131 | hotkey was registered successfully.</tt></dd></dl> |
---|
1132 | |
---|
1133 | <dl><dt><a name="PvDialog-ReleaseMouse"><strong>ReleaseMouse</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ReleaseMouse">ReleaseMouse</a>(self)<br> |
---|
1134 | <br> |
---|
1135 | Releases mouse input captured with wx.Window.CaptureMouse.</tt></dd></dl> |
---|
1136 | |
---|
1137 | <dl><dt><a name="PvDialog-RemoveChild"><strong>RemoveChild</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-RemoveChild">RemoveChild</a>(self, Window child)<br> |
---|
1138 | <br> |
---|
1139 | Removes a child window. This is called automatically by window<br> |
---|
1140 | deletion functions so should not be required by the application<br> |
---|
1141 | programmer.</tt></dd></dl> |
---|
1142 | |
---|
1143 | <dl><dt><a name="PvDialog-RemoveEventHandler"><strong>RemoveEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-RemoveEventHandler">RemoveEventHandler</a>(self, EvtHandler handler) -> bool<br> |
---|
1144 | <br> |
---|
1145 | Find the given handler in the event handler chain and remove (but not<br> |
---|
1146 | delete) it from the event handler chain, returns True if it was found<br> |
---|
1147 | and False otherwise (this also results in an assert failure so this<br> |
---|
1148 | function should only be called when the handler is supposed to be<br> |
---|
1149 | there.)</tt></dd></dl> |
---|
1150 | |
---|
1151 | <dl><dt><a name="PvDialog-Reparent"><strong>Reparent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Reparent">Reparent</a>(self, Window newParent) -> bool<br> |
---|
1152 | <br> |
---|
1153 | Reparents the window, i.e the window will be removed from its current<br> |
---|
1154 | parent window (e.g. a non-standard toolbar in a wxFrame) and then<br> |
---|
1155 | re-inserted into another. Available on Windows and GTK. Returns True<br> |
---|
1156 | if the parent was changed, False otherwise (error or newParent ==<br> |
---|
1157 | oldParent)</tt></dd></dl> |
---|
1158 | |
---|
1159 | <dl><dt><a name="PvDialog-ScreenToClient"><strong>ScreenToClient</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ScreenToClient">ScreenToClient</a>(self, Point pt) -> Point<br> |
---|
1160 | <br> |
---|
1161 | Converts from screen to client window coordinates.</tt></dd></dl> |
---|
1162 | |
---|
1163 | <dl><dt><a name="PvDialog-ScreenToClientXY"><strong>ScreenToClientXY</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ScreenToClientXY">ScreenToClientXY</a>(int x, int y) -> (x,y)<br> |
---|
1164 | <br> |
---|
1165 | Converts from screen to client window coordinates.</tt></dd></dl> |
---|
1166 | |
---|
1167 | <dl><dt><a name="PvDialog-ScrollLines"><strong>ScrollLines</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ScrollLines">ScrollLines</a>(self, int lines) -> bool<br> |
---|
1168 | <br> |
---|
1169 | If the platform and window class supports it, scrolls the window by<br> |
---|
1170 | the given number of lines down, if lines is positive, or up if lines<br> |
---|
1171 | is negative. Returns True if the window was scrolled, False if it was<br> |
---|
1172 | already on top/bottom and nothing was done.</tt></dd></dl> |
---|
1173 | |
---|
1174 | <dl><dt><a name="PvDialog-ScrollPages"><strong>ScrollPages</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ScrollPages">ScrollPages</a>(self, int pages) -> bool<br> |
---|
1175 | <br> |
---|
1176 | If the platform and window class supports it, scrolls the window by<br> |
---|
1177 | the given number of pages down, if pages is positive, or up if pages<br> |
---|
1178 | is negative. Returns True if the window was scrolled, False if it was<br> |
---|
1179 | already on top/bottom and nothing was done.</tt></dd></dl> |
---|
1180 | |
---|
1181 | <dl><dt><a name="PvDialog-ScrollWindow"><strong>ScrollWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ScrollWindow">ScrollWindow</a>(self, int dx, int dy, Rect rect=None)<br> |
---|
1182 | <br> |
---|
1183 | Physically scrolls the pixels in the window and move child windows<br> |
---|
1184 | accordingly. Use this function to optimise your scrolling<br> |
---|
1185 | implementations, to minimise the area that must be redrawn. Note that<br> |
---|
1186 | it is rarely required to call this function from a user program.</tt></dd></dl> |
---|
1187 | |
---|
1188 | <dl><dt><a name="PvDialog-SendSizeEvent"><strong>SendSizeEvent</strong></a>(self)</dt></dl> |
---|
1189 | |
---|
1190 | <dl><dt><a name="PvDialog-SetAcceleratorTable"><strong>SetAcceleratorTable</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetAcceleratorTable">SetAcceleratorTable</a>(self, AcceleratorTable accel)<br> |
---|
1191 | <br> |
---|
1192 | Sets the accelerator table for this window.</tt></dd></dl> |
---|
1193 | |
---|
1194 | <dl><dt><a name="PvDialog-SetAutoLayout"><strong>SetAutoLayout</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetAutoLayout">SetAutoLayout</a>(self, bool autoLayout)<br> |
---|
1195 | <br> |
---|
1196 | Determines whether the Layout function will be called automatically<br> |
---|
1197 | when the window is resized. lease note that this only happens for the<br> |
---|
1198 | windows usually used to contain children, namely `wx.Panel` and<br> |
---|
1199 | `wx.TopLevelWindow` (and the classes deriving from them).<br> |
---|
1200 | <br> |
---|
1201 | This method is called implicitly by `SetSizer` but if you use<br> |
---|
1202 | `SetConstraints` you should call it manually or otherwise the window<br> |
---|
1203 | layout won't be correctly updated when its size changes.</tt></dd></dl> |
---|
1204 | |
---|
1205 | <dl><dt><a name="PvDialog-SetBackgroundColour"><strong>SetBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetBackgroundColour">SetBackgroundColour</a>(self, Colour colour) -> bool<br> |
---|
1206 | <br> |
---|
1207 | Sets the background colour of the window. Returns True if the colour<br> |
---|
1208 | was changed. The background colour is usually painted by the default<br> |
---|
1209 | EVT_ERASE_BACKGROUND event handler function under Windows and<br> |
---|
1210 | automatically under GTK. Using `wx.NullColour` will reset the window<br> |
---|
1211 | to the default background colour.<br> |
---|
1212 | <br> |
---|
1213 | Note that setting the background colour may not cause an immediate<br> |
---|
1214 | refresh, so you may wish to call `ClearBackground` or `Refresh` after<br> |
---|
1215 | calling this function.<br> |
---|
1216 | <br> |
---|
1217 | Using this function will disable attempts to use themes for this<br> |
---|
1218 | window, if the system supports them. Use with care since usually the<br> |
---|
1219 | themes represent the appearance chosen by the user to be used for all<br> |
---|
1220 | applications on the system.</tt></dd></dl> |
---|
1221 | |
---|
1222 | <dl><dt><a name="PvDialog-SetBackgroundStyle"><strong>SetBackgroundStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetBackgroundStyle">SetBackgroundStyle</a>(self, int style) -> bool<br> |
---|
1223 | <br> |
---|
1224 | Returns the background style of the window. The background style<br> |
---|
1225 | indicates how the background of the window is drawn.<br> |
---|
1226 | <br> |
---|
1227 | ====================== ========================================<br> |
---|
1228 | wx.BG_STYLE_SYSTEM The background colour or pattern should<br> |
---|
1229 | be determined by the system<br> |
---|
1230 | wx.BG_STYLE_COLOUR The background should be a solid colour<br> |
---|
1231 | wx.BG_STYLE_CUSTOM The background will be implemented by the<br> |
---|
1232 | application.<br> |
---|
1233 | ====================== ========================================<br> |
---|
1234 | <br> |
---|
1235 | On GTK+, use of wx.BG_STYLE_CUSTOM allows the flicker-free drawing of<br> |
---|
1236 | a custom background, such as a tiled bitmap. Currently the style has<br> |
---|
1237 | no effect on other platforms.<br> |
---|
1238 | <br> |
---|
1239 | :see: `GetBackgroundStyle`, `SetBackgroundColour`</tt></dd></dl> |
---|
1240 | |
---|
1241 | <dl><dt><a name="PvDialog-SetBestFittingSize"><strong>SetBestFittingSize</strong></a> = deprecatedWrapper(*args, **kwargs)</dt><dd><tt>Use `SetInitialSize`</tt></dd></dl> |
---|
1242 | |
---|
1243 | <dl><dt><a name="PvDialog-SetCaret"><strong>SetCaret</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetCaret">SetCaret</a>(self, Caret caret)<br> |
---|
1244 | <br> |
---|
1245 | Sets the caret associated with the window.</tt></dd></dl> |
---|
1246 | |
---|
1247 | <dl><dt><a name="PvDialog-SetClientRect"><strong>SetClientRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetClientRect">SetClientRect</a>(self, Rect rect)<br> |
---|
1248 | <br> |
---|
1249 | This sets the size of the window client area in pixels. Using this<br> |
---|
1250 | function to size a window tends to be more device-independent than<br> |
---|
1251 | wx.Window.SetSize, since the application need not worry about what<br> |
---|
1252 | dimensions the border or title bar have when trying to fit the window<br> |
---|
1253 | around panel items, for example.</tt></dd></dl> |
---|
1254 | |
---|
1255 | <dl><dt><a name="PvDialog-SetClientSize"><strong>SetClientSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetClientSize">SetClientSize</a>(self, Size size)<br> |
---|
1256 | <br> |
---|
1257 | This sets the size of the window client area in pixels. Using this<br> |
---|
1258 | function to size a window tends to be more device-independent than<br> |
---|
1259 | wx.Window.SetSize, since the application need not worry about what<br> |
---|
1260 | dimensions the border or title bar have when trying to fit the window<br> |
---|
1261 | around panel items, for example.</tt></dd></dl> |
---|
1262 | |
---|
1263 | <dl><dt><a name="PvDialog-SetClientSizeWH"><strong>SetClientSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetClientSizeWH">SetClientSizeWH</a>(self, int width, int height)<br> |
---|
1264 | <br> |
---|
1265 | This sets the size of the window client area in pixels. Using this<br> |
---|
1266 | function to size a window tends to be more device-independent than<br> |
---|
1267 | wx.Window.SetSize, since the application need not worry about what<br> |
---|
1268 | dimensions the border or title bar have when trying to fit the window<br> |
---|
1269 | around panel items, for example.</tt></dd></dl> |
---|
1270 | |
---|
1271 | <dl><dt><a name="PvDialog-SetConstraints"><strong>SetConstraints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetConstraints">SetConstraints</a>(self, LayoutConstraints constraints)<br> |
---|
1272 | <br> |
---|
1273 | Sets the window to have the given layout constraints. If an existing<br> |
---|
1274 | layout constraints object is already owned by the window, it will be<br> |
---|
1275 | deleted. Pass None to disassociate and delete the window's current<br> |
---|
1276 | constraints.<br> |
---|
1277 | <br> |
---|
1278 | You must call SetAutoLayout to tell a window to use the constraints<br> |
---|
1279 | automatically in its default EVT_SIZE handler; otherwise, you must<br> |
---|
1280 | handle EVT_SIZE yourself and call <a href="#PvDialog-Layout">Layout</a>() explicitly. When setting<br> |
---|
1281 | both a wx.LayoutConstraints and a wx.Sizer, only the sizer will have<br> |
---|
1282 | effect.</tt></dd></dl> |
---|
1283 | |
---|
1284 | <dl><dt><a name="PvDialog-SetContainingSizer"><strong>SetContainingSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetContainingSizer">SetContainingSizer</a>(self, Sizer sizer)<br> |
---|
1285 | <br> |
---|
1286 | This normally does not need to be called by application code. It is<br> |
---|
1287 | called internally when a window is added to a sizer, and is used so<br> |
---|
1288 | the window can remove itself from the sizer when it is destroyed.</tt></dd></dl> |
---|
1289 | |
---|
1290 | <dl><dt><a name="PvDialog-SetCursor"><strong>SetCursor</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetCursor">SetCursor</a>(self, Cursor cursor) -> bool<br> |
---|
1291 | <br> |
---|
1292 | Sets the window's cursor. Notice that the window cursor also sets it<br> |
---|
1293 | for the children of the window implicitly.<br> |
---|
1294 | <br> |
---|
1295 | The cursor may be wx.NullCursor in which case the window cursor will<br> |
---|
1296 | be reset back to default.</tt></dd></dl> |
---|
1297 | |
---|
1298 | <dl><dt><a name="PvDialog-SetDimensions"><strong>SetDimensions</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetDimensions">SetDimensions</a>(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)<br> |
---|
1299 | <br> |
---|
1300 | Sets the position and size of the window in pixels. The sizeFlags<br> |
---|
1301 | parameter indicates the interpretation of the other params if they are<br> |
---|
1302 | equal to -1.<br> |
---|
1303 | <br> |
---|
1304 | ======================== ======================================<br> |
---|
1305 | wx.SIZE_AUTO A -1 indicates that a class-specific<br> |
---|
1306 | default should be used.<br> |
---|
1307 | wx.SIZE_USE_EXISTING Axisting dimensions should be used if<br> |
---|
1308 | -1 values are supplied.<br> |
---|
1309 | wxSIZE_ALLOW_MINUS_ONE Allow dimensions of -1 and less to be<br> |
---|
1310 | interpreted as real dimensions, not<br> |
---|
1311 | default values.<br> |
---|
1312 | ======================== ======================================</tt></dd></dl> |
---|
1313 | |
---|
1314 | <dl><dt><a name="PvDialog-SetDoubleBuffered"><strong>SetDoubleBuffered</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetDoubleBuffered">SetDoubleBuffered</a>(self, bool on)<br> |
---|
1315 | <br> |
---|
1316 | Currently wxGTK2 only.</tt></dd></dl> |
---|
1317 | |
---|
1318 | <dl><dt><a name="PvDialog-SetDropTarget"><strong>SetDropTarget</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetDropTarget">SetDropTarget</a>(self, DropTarget dropTarget)<br> |
---|
1319 | <br> |
---|
1320 | Associates a drop target with this window. If the window already has<br> |
---|
1321 | a drop target, it is deleted.</tt></dd></dl> |
---|
1322 | |
---|
1323 | <dl><dt><a name="PvDialog-SetEventHandler"><strong>SetEventHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetEventHandler">SetEventHandler</a>(self, EvtHandler handler)<br> |
---|
1324 | <br> |
---|
1325 | Sets the event handler for this window. An event handler is an object<br> |
---|
1326 | that is capable of processing the events sent to a window. (In other<br> |
---|
1327 | words, is able to dispatch the events to handler function.) By<br> |
---|
1328 | default, the window is its own event handler, but an application may<br> |
---|
1329 | wish to substitute another, for example to allow central<br> |
---|
1330 | implementation of event-handling for a variety of different window<br> |
---|
1331 | classes.<br> |
---|
1332 | <br> |
---|
1333 | It is usually better to use `wx.Window.PushEventHandler` since this sets<br> |
---|
1334 | up a chain of event handlers, where an event not handled by one event<br> |
---|
1335 | handler is handed off to the next one in the chain.</tt></dd></dl> |
---|
1336 | |
---|
1337 | <dl><dt><a name="PvDialog-SetExtraStyle"><strong>SetExtraStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetExtraStyle">SetExtraStyle</a>(self, long exStyle)<br> |
---|
1338 | <br> |
---|
1339 | Sets the extra style bits for the window. Extra styles are the less<br> |
---|
1340 | often used style bits which can't be set with the constructor or with<br> |
---|
1341 | <a href="#PvDialog-SetWindowStyleFlag">SetWindowStyleFlag</a>()</tt></dd></dl> |
---|
1342 | |
---|
1343 | <dl><dt><a name="PvDialog-SetFocus"><strong>SetFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetFocus">SetFocus</a>(self)<br> |
---|
1344 | <br> |
---|
1345 | Set's the focus to this window, allowing it to receive keyboard input.</tt></dd></dl> |
---|
1346 | |
---|
1347 | <dl><dt><a name="PvDialog-SetFocusFromKbd"><strong>SetFocusFromKbd</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetFocusFromKbd">SetFocusFromKbd</a>(self)<br> |
---|
1348 | <br> |
---|
1349 | Set focus to this window as the result of a keyboard action. Normally<br> |
---|
1350 | only called internally.</tt></dd></dl> |
---|
1351 | |
---|
1352 | <dl><dt><a name="PvDialog-SetFont"><strong>SetFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetFont">SetFont</a>(self, Font font) -> bool<br> |
---|
1353 | <br> |
---|
1354 | Sets the font for this window.</tt></dd></dl> |
---|
1355 | |
---|
1356 | <dl><dt><a name="PvDialog-SetForegroundColour"><strong>SetForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetForegroundColour">SetForegroundColour</a>(self, Colour colour) -> bool<br> |
---|
1357 | <br> |
---|
1358 | Sets the foreground colour of the window. Returns True is the colour<br> |
---|
1359 | was changed. The interpretation of foreground colour is dependent on<br> |
---|
1360 | the window class; it may be the text colour or other colour, or it may<br> |
---|
1361 | not be used at all.</tt></dd></dl> |
---|
1362 | |
---|
1363 | <dl><dt><a name="PvDialog-SetHelpText"><strong>SetHelpText</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetHelpText">SetHelpText</a>(self, String text)<br> |
---|
1364 | <br> |
---|
1365 | Sets the help text to be used as context-sensitive help for this<br> |
---|
1366 | window. Note that the text is actually stored by the current<br> |
---|
1367 | `wx.HelpProvider` implementation, and not in the window object itself.</tt></dd></dl> |
---|
1368 | |
---|
1369 | <dl><dt><a name="PvDialog-SetHelpTextForId"><strong>SetHelpTextForId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetHelpTextForId">SetHelpTextForId</a>(self, String text)<br> |
---|
1370 | <br> |
---|
1371 | Associate this help text with all windows with the same id as this<br> |
---|
1372 | one.</tt></dd></dl> |
---|
1373 | |
---|
1374 | <dl><dt><a name="PvDialog-SetId"><strong>SetId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetId">SetId</a>(self, int winid)<br> |
---|
1375 | <br> |
---|
1376 | Sets the identifier of the window. Each window has an integer<br> |
---|
1377 | identifier. If the application has not provided one, an identifier<br> |
---|
1378 | will be generated. Normally, the identifier should be provided on<br> |
---|
1379 | creation and should not be modified subsequently.</tt></dd></dl> |
---|
1380 | |
---|
1381 | <dl><dt><a name="PvDialog-SetInitialSize"><strong>SetInitialSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetInitialSize">SetInitialSize</a>(self, Size size=DefaultSize)<br> |
---|
1382 | <br> |
---|
1383 | A 'Smart' SetSize that will fill in default size components with the<br> |
---|
1384 | window's *best size* values. Also set's the minsize for use with sizers.</tt></dd></dl> |
---|
1385 | |
---|
1386 | <dl><dt><a name="PvDialog-SetLabel"><strong>SetLabel</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetLabel">SetLabel</a>(self, String label)<br> |
---|
1387 | <br> |
---|
1388 | Set the text which the window shows in its label if applicable.</tt></dd></dl> |
---|
1389 | |
---|
1390 | <dl><dt><a name="PvDialog-SetLayoutDirection"><strong>SetLayoutDirection</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetLayoutDirection">SetLayoutDirection</a>(self, int dir)<br> |
---|
1391 | <br> |
---|
1392 | Set the layout direction (LTR or RTL) for this window.</tt></dd></dl> |
---|
1393 | |
---|
1394 | <dl><dt><a name="PvDialog-SetMaxSize"><strong>SetMaxSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetMaxSize">SetMaxSize</a>(self, Size maxSize)<br> |
---|
1395 | <br> |
---|
1396 | A more convenient method than `SetSizeHints` for setting just the<br> |
---|
1397 | max size.</tt></dd></dl> |
---|
1398 | |
---|
1399 | <dl><dt><a name="PvDialog-SetMinSize"><strong>SetMinSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetMinSize">SetMinSize</a>(self, Size minSize)<br> |
---|
1400 | <br> |
---|
1401 | A more convenient method than `SetSizeHints` for setting just the<br> |
---|
1402 | min size.</tt></dd></dl> |
---|
1403 | |
---|
1404 | <dl><dt><a name="PvDialog-SetName"><strong>SetName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetName">SetName</a>(self, String name)<br> |
---|
1405 | <br> |
---|
1406 | Sets the window's name. The window name is used for ressource setting<br> |
---|
1407 | in X, it is not the same as the window title/label</tt></dd></dl> |
---|
1408 | |
---|
1409 | <dl><dt><a name="PvDialog-SetOwnBackgroundColour"><strong>SetOwnBackgroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetOwnBackgroundColour">SetOwnBackgroundColour</a>(self, Colour colour)</tt></dd></dl> |
---|
1410 | |
---|
1411 | <dl><dt><a name="PvDialog-SetOwnFont"><strong>SetOwnFont</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetOwnFont">SetOwnFont</a>(self, Font font)</tt></dd></dl> |
---|
1412 | |
---|
1413 | <dl><dt><a name="PvDialog-SetOwnForegroundColour"><strong>SetOwnForegroundColour</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetOwnForegroundColour">SetOwnForegroundColour</a>(self, Colour colour)</tt></dd></dl> |
---|
1414 | |
---|
1415 | <dl><dt><a name="PvDialog-SetPosition"><strong>SetPosition</strong></a> = Move(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Move">Move</a>(self, Point pt, int flags=SIZE_USE_EXISTING)<br> |
---|
1416 | <br> |
---|
1417 | Moves the window to the given position.</tt></dd></dl> |
---|
1418 | |
---|
1419 | <dl><dt><a name="PvDialog-SetRect"><strong>SetRect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetRect">SetRect</a>(self, Rect rect, int sizeFlags=SIZE_AUTO)<br> |
---|
1420 | <br> |
---|
1421 | Sets the position and size of the window in pixels using a wx.Rect.</tt></dd></dl> |
---|
1422 | |
---|
1423 | <dl><dt><a name="PvDialog-SetScrollPos"><strong>SetScrollPos</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetScrollPos">SetScrollPos</a>(self, int orientation, int pos, bool refresh=True)<br> |
---|
1424 | <br> |
---|
1425 | Sets the position of one of the built-in scrollbars.</tt></dd></dl> |
---|
1426 | |
---|
1427 | <dl><dt><a name="PvDialog-SetScrollbar"><strong>SetScrollbar</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetScrollbar">SetScrollbar</a>(self, int orientation, int position, int thumbSize, int range, <br> |
---|
1428 | bool refresh=True)<br> |
---|
1429 | <br> |
---|
1430 | Sets the scrollbar properties of a built-in scrollbar.</tt></dd></dl> |
---|
1431 | |
---|
1432 | <dl><dt><a name="PvDialog-SetSize"><strong>SetSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetSize">SetSize</a>(self, Size size)<br> |
---|
1433 | <br> |
---|
1434 | Sets the size of the window in pixels.</tt></dd></dl> |
---|
1435 | |
---|
1436 | <dl><dt><a name="PvDialog-SetSizeHints"><strong>SetSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetSizeHints">SetSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, <br> |
---|
1437 | int incH=-1)<br> |
---|
1438 | <br> |
---|
1439 | Allows specification of minimum and maximum window sizes, and window<br> |
---|
1440 | size increments. If a pair of values is not set (or set to -1), the<br> |
---|
1441 | default values will be used. If this function is called, the user<br> |
---|
1442 | will not be able to size the window outside the given bounds (if it is<br> |
---|
1443 | a top-level window.) Sizers will also inspect the minimum window size<br> |
---|
1444 | and will use that value if set when calculating layout.<br> |
---|
1445 | <br> |
---|
1446 | The resizing increments are only significant under Motif or Xt.</tt></dd></dl> |
---|
1447 | |
---|
1448 | <dl><dt><a name="PvDialog-SetSizeHintsSz"><strong>SetSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetSizeHintsSz">SetSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize, Size incSize=DefaultSize)<br> |
---|
1449 | <br> |
---|
1450 | Allows specification of minimum and maximum window sizes, and window<br> |
---|
1451 | size increments. If a pair of values is not set (or set to -1), the<br> |
---|
1452 | default values will be used. If this function is called, the user<br> |
---|
1453 | will not be able to size the window outside the given bounds (if it is<br> |
---|
1454 | a top-level window.) Sizers will also inspect the minimum window size<br> |
---|
1455 | and will use that value if set when calculating layout.<br> |
---|
1456 | <br> |
---|
1457 | The resizing increments are only significant under Motif or Xt.</tt></dd></dl> |
---|
1458 | |
---|
1459 | <dl><dt><a name="PvDialog-SetSizeWH"><strong>SetSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetSizeWH">SetSizeWH</a>(self, int width, int height)<br> |
---|
1460 | <br> |
---|
1461 | Sets the size of the window in pixels.</tt></dd></dl> |
---|
1462 | |
---|
1463 | <dl><dt><a name="PvDialog-SetSizer"><strong>SetSizer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetSizer">SetSizer</a>(self, Sizer sizer, bool deleteOld=True)<br> |
---|
1464 | <br> |
---|
1465 | Sets the window to have the given layout sizer. The window will then<br> |
---|
1466 | own the object, and will take care of its deletion. If an existing<br> |
---|
1467 | layout sizer object is already owned by the window, it will be deleted<br> |
---|
1468 | if the deleteOld parameter is true. Note that this function will also<br> |
---|
1469 | call SetAutoLayout implicitly with a True parameter if the sizer is<br> |
---|
1470 | non-None, and False otherwise.</tt></dd></dl> |
---|
1471 | |
---|
1472 | <dl><dt><a name="PvDialog-SetSizerAndFit"><strong>SetSizerAndFit</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetSizerAndFit">SetSizerAndFit</a>(self, Sizer sizer, bool deleteOld=True)<br> |
---|
1473 | <br> |
---|
1474 | The same as SetSizer, except it also sets the size hints for the<br> |
---|
1475 | window based on the sizer's minimum size.</tt></dd></dl> |
---|
1476 | |
---|
1477 | <dl><dt><a name="PvDialog-SetThemeEnabled"><strong>SetThemeEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetThemeEnabled">SetThemeEnabled</a>(self, bool enableTheme)<br> |
---|
1478 | <br> |
---|
1479 | This function tells a window if it should use the system's "theme"<br> |
---|
1480 | code to draw the windows' background instead if its own background<br> |
---|
1481 | drawing code. This will only have an effect on platforms that support<br> |
---|
1482 | the notion of themes in user defined windows. One such platform is<br> |
---|
1483 | GTK+ where windows can have (very colourful) backgrounds defined by a<br> |
---|
1484 | user's selected theme.<br> |
---|
1485 | <br> |
---|
1486 | Dialogs, notebook pages and the status bar have this flag set to true<br> |
---|
1487 | by default so that the default look and feel is simulated best.</tt></dd></dl> |
---|
1488 | |
---|
1489 | <dl><dt><a name="PvDialog-SetToolTip"><strong>SetToolTip</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetToolTip">SetToolTip</a>(self, ToolTip tip)<br> |
---|
1490 | <br> |
---|
1491 | Attach a tooltip to the window.</tt></dd></dl> |
---|
1492 | |
---|
1493 | <dl><dt><a name="PvDialog-SetToolTipString"><strong>SetToolTipString</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetToolTipString">SetToolTipString</a>(self, String tip)<br> |
---|
1494 | <br> |
---|
1495 | Attach a tooltip to the window.</tt></dd></dl> |
---|
1496 | |
---|
1497 | <dl><dt><a name="PvDialog-SetTransparent"><strong>SetTransparent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetTransparent">SetTransparent</a>(self, byte alpha) -> bool<br> |
---|
1498 | <br> |
---|
1499 | Attempt to set the transparency of this window to the ``alpha`` value,<br> |
---|
1500 | returns True on success. The ``alpha`` value is an integer in the<br> |
---|
1501 | range of 0 to 255, where 0 is fully transparent and 255 is fully<br> |
---|
1502 | opaque.</tt></dd></dl> |
---|
1503 | |
---|
1504 | <dl><dt><a name="PvDialog-SetValidator"><strong>SetValidator</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetValidator">SetValidator</a>(self, Validator validator)<br> |
---|
1505 | <br> |
---|
1506 | Deletes the current validator (if any) and sets the window validator,<br> |
---|
1507 | having called wx.Validator.Clone to create a new validator of this<br> |
---|
1508 | type.</tt></dd></dl> |
---|
1509 | |
---|
1510 | <dl><dt><a name="PvDialog-SetVirtualSize"><strong>SetVirtualSize</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetVirtualSize">SetVirtualSize</a>(self, Size size)<br> |
---|
1511 | <br> |
---|
1512 | Set the the virtual size of a window in pixels. For most windows this<br> |
---|
1513 | is just the client area of the window, but for some like scrolled<br> |
---|
1514 | windows it is more or less independent of the screen window size.</tt></dd></dl> |
---|
1515 | |
---|
1516 | <dl><dt><a name="PvDialog-SetVirtualSizeHints"><strong>SetVirtualSizeHints</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetVirtualSizeHints">SetVirtualSizeHints</a>(self, int minW, int minH, int maxW=-1, int maxH=-1)<br> |
---|
1517 | <br> |
---|
1518 | Allows specification of minimum and maximum virtual window sizes. If a<br> |
---|
1519 | pair of values is not set (or set to -1), the default values will be<br> |
---|
1520 | used. If this function is called, the user will not be able to size<br> |
---|
1521 | the virtual area of the window outside the given bounds.</tt></dd></dl> |
---|
1522 | |
---|
1523 | <dl><dt><a name="PvDialog-SetVirtualSizeHintsSz"><strong>SetVirtualSizeHintsSz</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetVirtualSizeHintsSz">SetVirtualSizeHintsSz</a>(self, Size minSize, Size maxSize=DefaultSize)<br> |
---|
1524 | <br> |
---|
1525 | Allows specification of minimum and maximum virtual window sizes. If a<br> |
---|
1526 | pair of values is not set (or set to -1), the default values will be<br> |
---|
1527 | used. If this function is called, the user will not be able to size<br> |
---|
1528 | the virtual area of the window outside the given bounds.</tt></dd></dl> |
---|
1529 | |
---|
1530 | <dl><dt><a name="PvDialog-SetVirtualSizeWH"><strong>SetVirtualSizeWH</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetVirtualSizeWH">SetVirtualSizeWH</a>(self, int w, int h)<br> |
---|
1531 | <br> |
---|
1532 | Set the the virtual size of a window in pixels. For most windows this<br> |
---|
1533 | is just the client area of the window, but for some like scrolled<br> |
---|
1534 | windows it is more or less independent of the screen window size.</tt></dd></dl> |
---|
1535 | |
---|
1536 | <dl><dt><a name="PvDialog-SetWindowStyle"><strong>SetWindowStyle</strong></a> = SetWindowStyleFlag(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br> |
---|
1537 | <br> |
---|
1538 | Sets the style of the window. Please note that some styles cannot be<br> |
---|
1539 | changed after the window creation and that <a href="#PvDialog-Refresh">Refresh</a>() might need to be<br> |
---|
1540 | called after changing the others for the change to take place<br> |
---|
1541 | immediately.</tt></dd></dl> |
---|
1542 | |
---|
1543 | <dl><dt><a name="PvDialog-SetWindowStyleFlag"><strong>SetWindowStyleFlag</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetWindowStyleFlag">SetWindowStyleFlag</a>(self, long style)<br> |
---|
1544 | <br> |
---|
1545 | Sets the style of the window. Please note that some styles cannot be<br> |
---|
1546 | changed after the window creation and that <a href="#PvDialog-Refresh">Refresh</a>() might need to be<br> |
---|
1547 | called after changing the others for the change to take place<br> |
---|
1548 | immediately.</tt></dd></dl> |
---|
1549 | |
---|
1550 | <dl><dt><a name="PvDialog-SetWindowVariant"><strong>SetWindowVariant</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetWindowVariant">SetWindowVariant</a>(self, int variant)<br> |
---|
1551 | <br> |
---|
1552 | Sets the variant of the window/font size to use for this window, if<br> |
---|
1553 | the platform supports variants, for example, wxMac.</tt></dd></dl> |
---|
1554 | |
---|
1555 | <dl><dt><a name="PvDialog-ShouldInheritColours"><strong>ShouldInheritColours</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ShouldInheritColours">ShouldInheritColours</a>(self) -> bool<br> |
---|
1556 | <br> |
---|
1557 | Return true from here to allow the colours of this window to be<br> |
---|
1558 | changed by InheritAttributes, returning false forbids inheriting them<br> |
---|
1559 | from the parent window.<br> |
---|
1560 | <br> |
---|
1561 | The base class version returns false, but this method is overridden in<br> |
---|
1562 | wxControl where it returns true.</tt></dd></dl> |
---|
1563 | |
---|
1564 | <dl><dt><a name="PvDialog-Show"><strong>Show</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Show">Show</a>(self, bool show=True) -> bool<br> |
---|
1565 | <br> |
---|
1566 | Shows or hides the window. You may need to call Raise for a top level<br> |
---|
1567 | window if you want to bring it to top, although this is not needed if<br> |
---|
1568 | Show is called immediately after the frame creation. Returns True if<br> |
---|
1569 | the window has been shown or hidden or False if nothing was done<br> |
---|
1570 | because it already was in the requested state.</tt></dd></dl> |
---|
1571 | |
---|
1572 | <dl><dt><a name="PvDialog-Thaw"><strong>Thaw</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Thaw">Thaw</a>(self)<br> |
---|
1573 | <br> |
---|
1574 | Reenables window updating after a previous call to Freeze. Calls to<br> |
---|
1575 | Freeze/Thaw may be nested, so Thaw must be called the same number of<br> |
---|
1576 | times that Freeze was before the window will be updated.</tt></dd></dl> |
---|
1577 | |
---|
1578 | <dl><dt><a name="PvDialog-ToggleWindowStyle"><strong>ToggleWindowStyle</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ToggleWindowStyle">ToggleWindowStyle</a>(self, int flag) -> bool<br> |
---|
1579 | <br> |
---|
1580 | Turn the flag on if it had been turned off before and vice versa,<br> |
---|
1581 | returns True if the flag is turned on by this function call.</tt></dd></dl> |
---|
1582 | |
---|
1583 | <dl><dt><a name="PvDialog-TransferDataFromWindow"><strong>TransferDataFromWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-TransferDataFromWindow">TransferDataFromWindow</a>(self) -> bool<br> |
---|
1584 | <br> |
---|
1585 | Transfers values from child controls to data areas specified by their<br> |
---|
1586 | validators. Returns false if a transfer failed. If the window has<br> |
---|
1587 | wx.WS_EX_VALIDATE_RECURSIVELY extra style flag set, the method will<br> |
---|
1588 | also call <a href="#PvDialog-TransferDataFromWindow">TransferDataFromWindow</a>() of all child windows.</tt></dd></dl> |
---|
1589 | |
---|
1590 | <dl><dt><a name="PvDialog-TransferDataToWindow"><strong>TransferDataToWindow</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-TransferDataToWindow">TransferDataToWindow</a>(self) -> bool<br> |
---|
1591 | <br> |
---|
1592 | Transfers values to child controls from data areas specified by their<br> |
---|
1593 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br> |
---|
1594 | style flag set, the method will also call <a href="#PvDialog-TransferDataToWindow">TransferDataToWindow</a>() of<br> |
---|
1595 | all child windows.</tt></dd></dl> |
---|
1596 | |
---|
1597 | <dl><dt><a name="PvDialog-UnregisterHotKey"><strong>UnregisterHotKey</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-UnregisterHotKey">UnregisterHotKey</a>(self, int hotkeyId) -> bool<br> |
---|
1598 | <br> |
---|
1599 | Unregisters a system wide hotkey.</tt></dd></dl> |
---|
1600 | |
---|
1601 | <dl><dt><a name="PvDialog-Update"><strong>Update</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Update">Update</a>(self)<br> |
---|
1602 | <br> |
---|
1603 | Calling this method immediately repaints the invalidated area of the<br> |
---|
1604 | window instead of waiting for the EVT_PAINT event to happen, (normally<br> |
---|
1605 | this would usually only happen when the flow of control returns to the<br> |
---|
1606 | event loop.) Notice that this function doesn't refresh the window and<br> |
---|
1607 | does nothing if the window has been already repainted. Use `Refresh`<br> |
---|
1608 | first if you want to immediately redraw the window (or some portion of<br> |
---|
1609 | it) unconditionally.</tt></dd></dl> |
---|
1610 | |
---|
1611 | <dl><dt><a name="PvDialog-UpdateWindowUI"><strong>UpdateWindowUI</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-UpdateWindowUI">UpdateWindowUI</a>(self, long flags=UPDATE_UI_NONE)<br> |
---|
1612 | <br> |
---|
1613 | This function sends EVT_UPDATE_UI events to the window. The particular<br> |
---|
1614 | implementation depends on the window; for example a wx.ToolBar will<br> |
---|
1615 | send an update UI event for each toolbar button, and a wx.Frame will<br> |
---|
1616 | send an update UI event for each menubar menu item. You can call this<br> |
---|
1617 | function from your application to ensure that your UI is up-to-date at<br> |
---|
1618 | a particular point in time (as far as your EVT_UPDATE_UI handlers are<br> |
---|
1619 | concerned). This may be necessary if you have called<br> |
---|
1620 | `wx.UpdateUIEvent.SetMode` or `wx.UpdateUIEvent.SetUpdateInterval` to<br> |
---|
1621 | limit the overhead that wxWindows incurs by sending update UI events<br> |
---|
1622 | in idle time.</tt></dd></dl> |
---|
1623 | |
---|
1624 | <dl><dt><a name="PvDialog-UseBgCol"><strong>UseBgCol</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-UseBgCol">UseBgCol</a>(self) -> bool</tt></dd></dl> |
---|
1625 | |
---|
1626 | <dl><dt><a name="PvDialog-Validate"><strong>Validate</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Validate">Validate</a>(self) -> bool<br> |
---|
1627 | <br> |
---|
1628 | Validates the current values of the child controls using their<br> |
---|
1629 | validators. If the window has wx.WS_EX_VALIDATE_RECURSIVELY extra<br> |
---|
1630 | style flag set, the method will also call <a href="#PvDialog-Validate">Validate</a>() of all child<br> |
---|
1631 | windows. Returns false if any of the validations failed.</tt></dd></dl> |
---|
1632 | |
---|
1633 | <dl><dt><a name="PvDialog-WarpPointer"><strong>WarpPointer</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-WarpPointer">WarpPointer</a>(self, int x, int y)<br> |
---|
1634 | <br> |
---|
1635 | Moves the pointer to the given position on the window.<br> |
---|
1636 | <br> |
---|
1637 | NOTE: This function is not supported under Mac because Apple Human<br> |
---|
1638 | Interface Guidelines forbid moving the mouse cursor programmatically.</tt></dd></dl> |
---|
1639 | |
---|
1640 | <hr> |
---|
1641 | Static methods inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br> |
---|
1642 | <dl><dt><a name="PvDialog-FindFocus"><strong>FindFocus</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-FindFocus">FindFocus</a>() -> Window<br> |
---|
1643 | <br> |
---|
1644 | Returns the window or control that currently has the keyboard focus,<br> |
---|
1645 | or None.</tt></dd></dl> |
---|
1646 | |
---|
1647 | <dl><dt><a name="PvDialog-GetCapture"><strong>GetCapture</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetCapture">GetCapture</a>() -> Window<br> |
---|
1648 | <br> |
---|
1649 | Returns the window which currently captures the mouse or None</tt></dd></dl> |
---|
1650 | |
---|
1651 | <dl><dt><a name="PvDialog-NewControlId"><strong>NewControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-NewControlId">NewControlId</a>() -> int<br> |
---|
1652 | <br> |
---|
1653 | Generate a control id for the controls which were not given one.</tt></dd></dl> |
---|
1654 | |
---|
1655 | <dl><dt><a name="PvDialog-NextControlId"><strong>NextControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-NextControlId">NextControlId</a>(int winid) -> int<br> |
---|
1656 | <br> |
---|
1657 | Get the id of the control following the one with the given<br> |
---|
1658 | autogenerated) id</tt></dd></dl> |
---|
1659 | |
---|
1660 | <dl><dt><a name="PvDialog-PrevControlId"><strong>PrevControlId</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-PrevControlId">PrevControlId</a>(int winid) -> int<br> |
---|
1661 | <br> |
---|
1662 | Get the id of the control preceding the one with the given<br> |
---|
1663 | autogenerated) id</tt></dd></dl> |
---|
1664 | |
---|
1665 | <hr> |
---|
1666 | Data descriptors inherited from <a href="wx._core.html#Window">wx._core.Window</a>:<br> |
---|
1667 | <dl><dt><strong>AcceleratorTable</strong></dt> |
---|
1668 | <dd><tt>See `GetAcceleratorTable` and `SetAcceleratorTable`</tt></dd> |
---|
1669 | </dl> |
---|
1670 | <dl><dt><strong>AutoLayout</strong></dt> |
---|
1671 | <dd><tt>See `GetAutoLayout` and `SetAutoLayout`</tt></dd> |
---|
1672 | </dl> |
---|
1673 | <dl><dt><strong>BackgroundColour</strong></dt> |
---|
1674 | <dd><tt>See `GetBackgroundColour` and `SetBackgroundColour`</tt></dd> |
---|
1675 | </dl> |
---|
1676 | <dl><dt><strong>BackgroundStyle</strong></dt> |
---|
1677 | <dd><tt>See `GetBackgroundStyle` and `SetBackgroundStyle`</tt></dd> |
---|
1678 | </dl> |
---|
1679 | <dl><dt><strong>BestSize</strong></dt> |
---|
1680 | <dd><tt>See `GetBestSize`</tt></dd> |
---|
1681 | </dl> |
---|
1682 | <dl><dt><strong>BestVirtualSize</strong></dt> |
---|
1683 | <dd><tt>See `GetBestVirtualSize`</tt></dd> |
---|
1684 | </dl> |
---|
1685 | <dl><dt><strong>Border</strong></dt> |
---|
1686 | <dd><tt>See `GetBorder`</tt></dd> |
---|
1687 | </dl> |
---|
1688 | <dl><dt><strong>Caret</strong></dt> |
---|
1689 | <dd><tt>See `GetCaret` and `SetCaret`</tt></dd> |
---|
1690 | </dl> |
---|
1691 | <dl><dt><strong>CharHeight</strong></dt> |
---|
1692 | <dd><tt>See `GetCharHeight`</tt></dd> |
---|
1693 | </dl> |
---|
1694 | <dl><dt><strong>CharWidth</strong></dt> |
---|
1695 | <dd><tt>See `GetCharWidth`</tt></dd> |
---|
1696 | </dl> |
---|
1697 | <dl><dt><strong>Children</strong></dt> |
---|
1698 | <dd><tt>See `GetChildren`</tt></dd> |
---|
1699 | </dl> |
---|
1700 | <dl><dt><strong>ClientAreaOrigin</strong></dt> |
---|
1701 | <dd><tt>See `GetClientAreaOrigin`</tt></dd> |
---|
1702 | </dl> |
---|
1703 | <dl><dt><strong>ClientRect</strong></dt> |
---|
1704 | <dd><tt>See `GetClientRect` and `SetClientRect`</tt></dd> |
---|
1705 | </dl> |
---|
1706 | <dl><dt><strong>ClientSize</strong></dt> |
---|
1707 | <dd><tt>See `GetClientSize` and `SetClientSize`</tt></dd> |
---|
1708 | </dl> |
---|
1709 | <dl><dt><strong>Constraints</strong></dt> |
---|
1710 | <dd><tt>See `GetConstraints` and `SetConstraints`</tt></dd> |
---|
1711 | </dl> |
---|
1712 | <dl><dt><strong>ContainingSizer</strong></dt> |
---|
1713 | <dd><tt>See `GetContainingSizer` and `SetContainingSizer`</tt></dd> |
---|
1714 | </dl> |
---|
1715 | <dl><dt><strong>Cursor</strong></dt> |
---|
1716 | <dd><tt>See `GetCursor` and `SetCursor`</tt></dd> |
---|
1717 | </dl> |
---|
1718 | <dl><dt><strong>DefaultAttributes</strong></dt> |
---|
1719 | <dd><tt>See `GetDefaultAttributes`</tt></dd> |
---|
1720 | </dl> |
---|
1721 | <dl><dt><strong>DropTarget</strong></dt> |
---|
1722 | <dd><tt>See `GetDropTarget` and `SetDropTarget`</tt></dd> |
---|
1723 | </dl> |
---|
1724 | <dl><dt><strong>EffectiveMinSize</strong></dt> |
---|
1725 | <dd><tt>See `GetEffectiveMinSize`</tt></dd> |
---|
1726 | </dl> |
---|
1727 | <dl><dt><strong>Enabled</strong></dt> |
---|
1728 | <dd><tt>See `IsEnabled` and `Enable`</tt></dd> |
---|
1729 | </dl> |
---|
1730 | <dl><dt><strong>EventHandler</strong></dt> |
---|
1731 | <dd><tt>See `GetEventHandler` and `SetEventHandler`</tt></dd> |
---|
1732 | </dl> |
---|
1733 | <dl><dt><strong>ExtraStyle</strong></dt> |
---|
1734 | <dd><tt>See `GetExtraStyle` and `SetExtraStyle`</tt></dd> |
---|
1735 | </dl> |
---|
1736 | <dl><dt><strong>Font</strong></dt> |
---|
1737 | <dd><tt>See `GetFont` and `SetFont`</tt></dd> |
---|
1738 | </dl> |
---|
1739 | <dl><dt><strong>ForegroundColour</strong></dt> |
---|
1740 | <dd><tt>See `GetForegroundColour` and `SetForegroundColour`</tt></dd> |
---|
1741 | </dl> |
---|
1742 | <dl><dt><strong>GrandParent</strong></dt> |
---|
1743 | <dd><tt>See `GetGrandParent`</tt></dd> |
---|
1744 | </dl> |
---|
1745 | <dl><dt><strong>GtkWidget</strong></dt> |
---|
1746 | <dd><tt>GetGtkWidget(self) -> long<br> |
---|
1747 | <br> |
---|
1748 | On wxGTK returns a pointer to the GtkWidget for this window as a long<br> |
---|
1749 | integer. On the other platforms this method returns zero.</tt></dd> |
---|
1750 | </dl> |
---|
1751 | <dl><dt><strong>Handle</strong></dt> |
---|
1752 | <dd><tt>See `GetHandle`</tt></dd> |
---|
1753 | </dl> |
---|
1754 | <dl><dt><strong>HelpText</strong></dt> |
---|
1755 | <dd><tt>See `GetHelpText` and `SetHelpText`</tt></dd> |
---|
1756 | </dl> |
---|
1757 | <dl><dt><strong>Id</strong></dt> |
---|
1758 | <dd><tt>See `GetId` and `SetId`</tt></dd> |
---|
1759 | </dl> |
---|
1760 | <dl><dt><strong>Label</strong></dt> |
---|
1761 | <dd><tt>See `GetLabel` and `SetLabel`</tt></dd> |
---|
1762 | </dl> |
---|
1763 | <dl><dt><strong>LayoutDirection</strong></dt> |
---|
1764 | <dd><tt>See `GetLayoutDirection` and `SetLayoutDirection`</tt></dd> |
---|
1765 | </dl> |
---|
1766 | <dl><dt><strong>MaxHeight</strong></dt> |
---|
1767 | <dd><tt>See `GetMaxHeight`</tt></dd> |
---|
1768 | </dl> |
---|
1769 | <dl><dt><strong>MaxSize</strong></dt> |
---|
1770 | <dd><tt>See `GetMaxSize` and `SetMaxSize`</tt></dd> |
---|
1771 | </dl> |
---|
1772 | <dl><dt><strong>MaxWidth</strong></dt> |
---|
1773 | <dd><tt>See `GetMaxWidth`</tt></dd> |
---|
1774 | </dl> |
---|
1775 | <dl><dt><strong>MinHeight</strong></dt> |
---|
1776 | <dd><tt>See `GetMinHeight`</tt></dd> |
---|
1777 | </dl> |
---|
1778 | <dl><dt><strong>MinSize</strong></dt> |
---|
1779 | <dd><tt>See `GetMinSize` and `SetMinSize`</tt></dd> |
---|
1780 | </dl> |
---|
1781 | <dl><dt><strong>MinWidth</strong></dt> |
---|
1782 | <dd><tt>See `GetMinWidth`</tt></dd> |
---|
1783 | </dl> |
---|
1784 | <dl><dt><strong>Name</strong></dt> |
---|
1785 | <dd><tt>See `GetName` and `SetName`</tt></dd> |
---|
1786 | </dl> |
---|
1787 | <dl><dt><strong>Parent</strong></dt> |
---|
1788 | <dd><tt>See `GetParent`</tt></dd> |
---|
1789 | </dl> |
---|
1790 | <dl><dt><strong>Position</strong></dt> |
---|
1791 | <dd><tt>See `GetPosition` and `SetPosition`</tt></dd> |
---|
1792 | </dl> |
---|
1793 | <dl><dt><strong>Rect</strong></dt> |
---|
1794 | <dd><tt>See `GetRect` and `SetRect`</tt></dd> |
---|
1795 | </dl> |
---|
1796 | <dl><dt><strong>ScreenPosition</strong></dt> |
---|
1797 | <dd><tt>See `GetScreenPosition`</tt></dd> |
---|
1798 | </dl> |
---|
1799 | <dl><dt><strong>ScreenRect</strong></dt> |
---|
1800 | <dd><tt>See `GetScreenRect`</tt></dd> |
---|
1801 | </dl> |
---|
1802 | <dl><dt><strong>Shown</strong></dt> |
---|
1803 | <dd><tt>See `IsShown` and `Show`</tt></dd> |
---|
1804 | </dl> |
---|
1805 | <dl><dt><strong>Size</strong></dt> |
---|
1806 | <dd><tt>See `GetSize` and `SetSize`</tt></dd> |
---|
1807 | </dl> |
---|
1808 | <dl><dt><strong>Sizer</strong></dt> |
---|
1809 | <dd><tt>See `GetSizer` and `SetSizer`</tt></dd> |
---|
1810 | </dl> |
---|
1811 | <dl><dt><strong>ThemeEnabled</strong></dt> |
---|
1812 | <dd><tt>See `GetThemeEnabled` and `SetThemeEnabled`</tt></dd> |
---|
1813 | </dl> |
---|
1814 | <dl><dt><strong>ToolTip</strong></dt> |
---|
1815 | <dd><tt>See `GetToolTip` and `SetToolTip`</tt></dd> |
---|
1816 | </dl> |
---|
1817 | <dl><dt><strong>TopLevel</strong></dt> |
---|
1818 | <dd><tt>See `IsTopLevel`</tt></dd> |
---|
1819 | </dl> |
---|
1820 | <dl><dt><strong>TopLevelParent</strong></dt> |
---|
1821 | <dd><tt>See `GetTopLevelParent`</tt></dd> |
---|
1822 | </dl> |
---|
1823 | <dl><dt><strong>UpdateClientRect</strong></dt> |
---|
1824 | <dd><tt>See `GetUpdateClientRect`</tt></dd> |
---|
1825 | </dl> |
---|
1826 | <dl><dt><strong>UpdateRegion</strong></dt> |
---|
1827 | <dd><tt>See `GetUpdateRegion`</tt></dd> |
---|
1828 | </dl> |
---|
1829 | <dl><dt><strong>Validator</strong></dt> |
---|
1830 | <dd><tt>See `GetValidator` and `SetValidator`</tt></dd> |
---|
1831 | </dl> |
---|
1832 | <dl><dt><strong>VirtualSize</strong></dt> |
---|
1833 | <dd><tt>See `GetVirtualSize` and `SetVirtualSize`</tt></dd> |
---|
1834 | </dl> |
---|
1835 | <dl><dt><strong>WindowStyle</strong></dt> |
---|
1836 | <dd><tt>See `GetWindowStyle` and `SetWindowStyle`</tt></dd> |
---|
1837 | </dl> |
---|
1838 | <dl><dt><strong>WindowStyleFlag</strong></dt> |
---|
1839 | <dd><tt>See `GetWindowStyleFlag` and `SetWindowStyleFlag`</tt></dd> |
---|
1840 | </dl> |
---|
1841 | <dl><dt><strong>WindowVariant</strong></dt> |
---|
1842 | <dd><tt>See `GetWindowVariant` and `SetWindowVariant`</tt></dd> |
---|
1843 | </dl> |
---|
1844 | <hr> |
---|
1845 | Methods inherited from <a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a>:<br> |
---|
1846 | <dl><dt><a name="PvDialog-AddPendingEvent"><strong>AddPendingEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-AddPendingEvent">AddPendingEvent</a>(self, Event event)</tt></dd></dl> |
---|
1847 | |
---|
1848 | <dl><dt><a name="PvDialog-Bind"><strong>Bind</strong></a>(self, event, handler, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Bind an event to an event handler.<br> |
---|
1849 | <br> |
---|
1850 | :param event: One of the EVT_* objects that specifies the<br> |
---|
1851 | type of event to bind,<br> |
---|
1852 | <br> |
---|
1853 | :param handler: A callable object to be invoked when the<br> |
---|
1854 | event is delivered to self. Pass None to<br> |
---|
1855 | disconnect an event handler.<br> |
---|
1856 | <br> |
---|
1857 | :param source: Sometimes the event originates from a<br> |
---|
1858 | different window than self, but you still<br> |
---|
1859 | want to catch it in self. (For example, a<br> |
---|
1860 | button event delivered to a frame.) By<br> |
---|
1861 | passing the source of the event, the event<br> |
---|
1862 | handling system is able to differentiate<br> |
---|
1863 | between the same event type from different<br> |
---|
1864 | controls.<br> |
---|
1865 | <br> |
---|
1866 | :param id: Used to spcify the event source by ID instead<br> |
---|
1867 | of instance.<br> |
---|
1868 | <br> |
---|
1869 | :param id2: Used when it is desirable to bind a handler<br> |
---|
1870 | to a range of IDs, such as with EVT_MENU_RANGE.</tt></dd></dl> |
---|
1871 | |
---|
1872 | <dl><dt><a name="PvDialog-Connect"><strong>Connect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Connect">Connect</a>(self, int id, int lastId, int eventType, PyObject func)</tt></dd></dl> |
---|
1873 | |
---|
1874 | <dl><dt><a name="PvDialog-Disconnect"><strong>Disconnect</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-Disconnect">Disconnect</a>(self, int id, int lastId=-1, EventType eventType=wxEVT_NULL) -> bool</tt></dd></dl> |
---|
1875 | |
---|
1876 | <dl><dt><a name="PvDialog-GetEvtHandlerEnabled"><strong>GetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetEvtHandlerEnabled">GetEvtHandlerEnabled</a>(self) -> bool</tt></dd></dl> |
---|
1877 | |
---|
1878 | <dl><dt><a name="PvDialog-GetNextHandler"><strong>GetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetNextHandler">GetNextHandler</a>(self) -> EvtHandler</tt></dd></dl> |
---|
1879 | |
---|
1880 | <dl><dt><a name="PvDialog-GetPreviousHandler"><strong>GetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetPreviousHandler">GetPreviousHandler</a>(self) -> EvtHandler</tt></dd></dl> |
---|
1881 | |
---|
1882 | <dl><dt><a name="PvDialog-ProcessEvent"><strong>ProcessEvent</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ProcessEvent">ProcessEvent</a>(self, Event event) -> bool</tt></dd></dl> |
---|
1883 | |
---|
1884 | <dl><dt><a name="PvDialog-ProcessPendingEvents"><strong>ProcessPendingEvents</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-ProcessPendingEvents">ProcessPendingEvents</a>(self)</tt></dd></dl> |
---|
1885 | |
---|
1886 | <dl><dt><a name="PvDialog-SetEvtHandlerEnabled"><strong>SetEvtHandlerEnabled</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetEvtHandlerEnabled">SetEvtHandlerEnabled</a>(self, bool enabled)</tt></dd></dl> |
---|
1887 | |
---|
1888 | <dl><dt><a name="PvDialog-SetNextHandler"><strong>SetNextHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetNextHandler">SetNextHandler</a>(self, EvtHandler handler)</tt></dd></dl> |
---|
1889 | |
---|
1890 | <dl><dt><a name="PvDialog-SetPreviousHandler"><strong>SetPreviousHandler</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-SetPreviousHandler">SetPreviousHandler</a>(self, EvtHandler handler)</tt></dd></dl> |
---|
1891 | |
---|
1892 | <dl><dt><a name="PvDialog-Unbind"><strong>Unbind</strong></a>(self, event, source<font color="#909090">=None</font>, id<font color="#909090">=-1</font>, id2<font color="#909090">=-1</font>)</dt><dd><tt>Disconencts the event handler binding for event from self.<br> |
---|
1893 | Returns True if successful.</tt></dd></dl> |
---|
1894 | |
---|
1895 | <hr> |
---|
1896 | Data descriptors inherited from <a href="wx._core.html#EvtHandler">wx._core.EvtHandler</a>:<br> |
---|
1897 | <dl><dt><strong>EvtHandlerEnabled</strong></dt> |
---|
1898 | <dd><tt>See `GetEvtHandlerEnabled` and `SetEvtHandlerEnabled`</tt></dd> |
---|
1899 | </dl> |
---|
1900 | <dl><dt><strong>NextHandler</strong></dt> |
---|
1901 | <dd><tt>See `GetNextHandler` and `SetNextHandler`</tt></dd> |
---|
1902 | </dl> |
---|
1903 | <dl><dt><strong>PreviousHandler</strong></dt> |
---|
1904 | <dd><tt>See `GetPreviousHandler` and `SetPreviousHandler`</tt></dd> |
---|
1905 | </dl> |
---|
1906 | <hr> |
---|
1907 | Methods inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br> |
---|
1908 | <dl><dt><a name="PvDialog-GetClassName"><strong>GetClassName</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-GetClassName">GetClassName</a>(self) -> String<br> |
---|
1909 | <br> |
---|
1910 | Returns the class name of the C++ class using wxRTTI.</tt></dd></dl> |
---|
1911 | |
---|
1912 | <dl><dt><a name="PvDialog-IsSameAs"><strong>IsSameAs</strong></a>(*args, **kwargs)</dt><dd><tt><a href="#PvDialog-IsSameAs">IsSameAs</a>(self, Object p) -> bool<br> |
---|
1913 | <br> |
---|
1914 | For wx.Objects that use C++ reference counting internally, this method<br> |
---|
1915 | can be used to determine if two objects are referencing the same data<br> |
---|
1916 | object.</tt></dd></dl> |
---|
1917 | |
---|
1918 | <hr> |
---|
1919 | Data descriptors inherited from <a href="wx._core.html#Object">wx._core.Object</a>:<br> |
---|
1920 | <dl><dt><strong>ClassName</strong></dt> |
---|
1921 | <dd><tt>See `GetClassName`</tt></dd> |
---|
1922 | </dl> |
---|
1923 | <dl><dt><strong>__dict__</strong></dt> |
---|
1924 | <dd><tt>dictionary for instance variables (if defined)</tt></dd> |
---|
1925 | </dl> |
---|
1926 | <dl><dt><strong>__weakref__</strong></dt> |
---|
1927 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
---|
1928 | </dl> |
---|
1929 | </td></tr></table></td></tr></table><p> |
---|
1930 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
---|
1931 | <tr bgcolor="#55aa55"> |
---|
1932 | <td colspan=3 valign=bottom> <br> |
---|
1933 | <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
---|
1934 | |
---|
1935 | <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
---|
1936 | <td width="100%"><strong>COLOR_PV_AUTOFILL</strong> = wx.Colour(200, 200, 200, 255)<br> |
---|
1937 | <strong>COLOR_PV_NOT_OK</strong> = wx.Colour(254, 232, 255, 255)<br> |
---|
1938 | <strong>COLOR_PV_OK</strong> = wx.Colour(235, 254, 231, 255)<br> |
---|
1939 | <strong>wxID_PVDIALOG</strong> = 126<br> |
---|
1940 | <strong>wxID_PVDIALOGBUTTON_CANCEL</strong> = 127<br> |
---|
1941 | <strong>wxID_PVDIALOGBUTTON_CLEAR_X</strong> = 128<br> |
---|
1942 | <strong>wxID_PVDIALOGBUTTON_CLEAR_Y</strong> = 129<br> |
---|
1943 | <strong>wxID_PVDIALOGBUTTON_OK</strong> = 130<br> |
---|
1944 | <strong>wxID_PVDIALOGBUTTON_REVERT</strong> = 131<br> |
---|
1945 | <strong>wxID_PVDIALOGCB_IS_MOTOR_X</strong> = 132<br> |
---|
1946 | <strong>wxID_PVDIALOGCB_IS_MOTOR_Y</strong> = 133<br> |
---|
1947 | <strong>wxID_PVDIALOGEPICS_LOGO</strong> = 134<br> |
---|
1948 | <strong>wxID_PVDIALOGLBL_DESC</strong> = 135<br> |
---|
1949 | <strong>wxID_PVDIALOGLBL_DONE</strong> = 136<br> |
---|
1950 | <strong>wxID_PVDIALOGLBL_EGU</strong> = 137<br> |
---|
1951 | <strong>wxID_PVDIALOGLBL_RBV</strong> = 138<br> |
---|
1952 | <strong>wxID_PVDIALOGLBL_STOP</strong> = 139<br> |
---|
1953 | <strong>wxID_PVDIALOGLBL_VAL</strong> = 140<br> |
---|
1954 | <strong>wxID_PVDIALOGPV_X_DESC</strong> = 141<br> |
---|
1955 | <strong>wxID_PVDIALOGPV_X_DMOV</strong> = 142<br> |
---|
1956 | <strong>wxID_PVDIALOGPV_X_EGU</strong> = 143<br> |
---|
1957 | <strong>wxID_PVDIALOGPV_X_RBV</strong> = 144<br> |
---|
1958 | <strong>wxID_PVDIALOGPV_X_STOP</strong> = 145<br> |
---|
1959 | <strong>wxID_PVDIALOGPV_X_VAL</strong> = 146<br> |
---|
1960 | <strong>wxID_PVDIALOGPV_Y_DESC</strong> = 147<br> |
---|
1961 | <strong>wxID_PVDIALOGPV_Y_DMOV</strong> = 148<br> |
---|
1962 | <strong>wxID_PVDIALOGPV_Y_EGU</strong> = 149<br> |
---|
1963 | <strong>wxID_PVDIALOGPV_Y_RBV</strong> = 150<br> |
---|
1964 | <strong>wxID_PVDIALOGPV_Y_STOP</strong> = 151<br> |
---|
1965 | <strong>wxID_PVDIALOGPV_Y_VAL</strong> = 152<br> |
---|
1966 | <strong>wxID_PVDIALOGTITLE</strong> = 153</td></tr></table> |
---|
1967 | </body></html> |
---|