]>
Commit | Line | Data |
---|---|---|
e6056257 RD |
1 | # This file was created automatically by SWIG. |
2 | import controlsc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from windows import * | |
7 | ||
8 | from gdi import * | |
9 | ||
40699168 RD |
10 | from fonts import * |
11 | ||
e6056257 RD |
12 | from clip_dnd import * |
13 | ||
14 | from events import * | |
15 | import wx | |
16 | class wxControlPtr(wxWindowPtr): | |
17 | def __init__(self,this): | |
18 | self.this = this | |
19 | self.thisown = 0 | |
20 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 21 | val = controlsc.wxControl_Create(self, *_args, **_kwargs) |
e6056257 RD |
22 | return val |
23 | def Command(self, *_args, **_kwargs): | |
d84a9306 | 24 | val = controlsc.wxControl_Command(self, *_args, **_kwargs) |
e6056257 RD |
25 | return val |
26 | def GetLabel(self, *_args, **_kwargs): | |
d84a9306 | 27 | val = controlsc.wxControl_GetLabel(self, *_args, **_kwargs) |
e6056257 RD |
28 | return val |
29 | def SetLabel(self, *_args, **_kwargs): | |
d84a9306 | 30 | val = controlsc.wxControl_SetLabel(self, *_args, **_kwargs) |
e6056257 RD |
31 | return val |
32 | def __repr__(self): | |
d84a9306 | 33 | return "<%s.%s instance; proxy of C++ wxControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
34 | class wxControl(wxControlPtr): |
35 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 36 | self.this = controlsc.new_wxControl(*_args,**_kwargs) |
e6056257 RD |
37 | self.thisown = 1 |
38 | self._setOORInfo(self) | |
39 | ||
40 | ||
41 | ||
42 | def wxPreControl(*_args,**_kwargs): | |
d84a9306 | 43 | val = wxControlPtr(controlsc.new_wxPreControl(*_args,**_kwargs)) |
e6056257 RD |
44 | val.thisown = 1 |
45 | val._setOORInfo(val) | |
46 | return val | |
47 | ||
48 | ||
49 | class wxControlWithItemsPtr(wxControlPtr): | |
50 | def __init__(self,this): | |
51 | self.this = this | |
52 | self.thisown = 0 | |
53 | def Delete(self, *_args, **_kwargs): | |
d84a9306 | 54 | val = controlsc.wxControlWithItems_Delete(self, *_args, **_kwargs) |
e6056257 RD |
55 | return val |
56 | def GetCount(self, *_args, **_kwargs): | |
d84a9306 | 57 | val = controlsc.wxControlWithItems_GetCount(self, *_args, **_kwargs) |
e6056257 RD |
58 | return val |
59 | def GetString(self, *_args, **_kwargs): | |
d84a9306 | 60 | val = controlsc.wxControlWithItems_GetString(self, *_args, **_kwargs) |
e6056257 RD |
61 | return val |
62 | def SetString(self, *_args, **_kwargs): | |
d84a9306 | 63 | val = controlsc.wxControlWithItems_SetString(self, *_args, **_kwargs) |
e6056257 RD |
64 | return val |
65 | def FindString(self, *_args, **_kwargs): | |
d84a9306 | 66 | val = controlsc.wxControlWithItems_FindString(self, *_args, **_kwargs) |
e6056257 RD |
67 | return val |
68 | def Select(self, *_args, **_kwargs): | |
d84a9306 | 69 | val = controlsc.wxControlWithItems_Select(self, *_args, **_kwargs) |
e6056257 RD |
70 | return val |
71 | def GetSelection(self, *_args, **_kwargs): | |
d84a9306 | 72 | val = controlsc.wxControlWithItems_GetSelection(self, *_args, **_kwargs) |
e6056257 RD |
73 | return val |
74 | def GetStringSelection(self, *_args, **_kwargs): | |
d84a9306 | 75 | val = controlsc.wxControlWithItems_GetStringSelection(self, *_args, **_kwargs) |
e6056257 RD |
76 | return val |
77 | def Append(self, *_args, **_kwargs): | |
d84a9306 | 78 | val = controlsc.wxControlWithItems_Append(self, *_args, **_kwargs) |
e6056257 RD |
79 | return val |
80 | def GetClientData(self, *_args, **_kwargs): | |
d84a9306 | 81 | val = controlsc.wxControlWithItems_GetClientData(self, *_args, **_kwargs) |
e6056257 RD |
82 | return val |
83 | def SetClientData(self, *_args, **_kwargs): | |
d84a9306 | 84 | val = controlsc.wxControlWithItems_SetClientData(self, *_args, **_kwargs) |
e6056257 | 85 | return val |
ca31b3da | 86 | def AppendItems(self, *_args, **_kwargs): |
d84a9306 | 87 | val = controlsc.wxControlWithItems_AppendItems(self, *_args, **_kwargs) |
ca31b3da | 88 | return val |
e6056257 | 89 | def __repr__(self): |
d84a9306 | 90 | return "<%s.%s instance; proxy of C++ wxControlWithItems instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
91 | Number = GetCount |
92 | class wxControlWithItems(wxControlWithItemsPtr): | |
93 | def __init__(self,this): | |
94 | self.this = this | |
95 | ||
96 | ||
97 | ||
98 | ||
99 | class wxButtonPtr(wxControlPtr): | |
100 | def __init__(self,this): | |
101 | self.this = this | |
102 | self.thisown = 0 | |
103 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 104 | val = controlsc.wxButton_Create(self, *_args, **_kwargs) |
e6056257 RD |
105 | return val |
106 | def SetDefault(self, *_args, **_kwargs): | |
d84a9306 | 107 | val = controlsc.wxButton_SetDefault(self, *_args, **_kwargs) |
e6056257 RD |
108 | return val |
109 | def SetBackgroundColour(self, *_args, **_kwargs): | |
d84a9306 | 110 | val = controlsc.wxButton_SetBackgroundColour(self, *_args, **_kwargs) |
e6056257 RD |
111 | return val |
112 | def SetForegroundColour(self, *_args, **_kwargs): | |
d84a9306 | 113 | val = controlsc.wxButton_SetForegroundColour(self, *_args, **_kwargs) |
e6056257 RD |
114 | return val |
115 | def __repr__(self): | |
d84a9306 | 116 | return "<%s.%s instance; proxy of C++ wxButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
117 | class wxButton(wxButtonPtr): |
118 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 119 | self.this = controlsc.new_wxButton(*_args,**_kwargs) |
e6056257 RD |
120 | self.thisown = 1 |
121 | self._setOORInfo(self) | |
122 | ||
123 | ||
124 | ||
125 | def wxPreButton(*_args,**_kwargs): | |
d84a9306 | 126 | val = wxButtonPtr(controlsc.new_wxPreButton(*_args,**_kwargs)) |
e6056257 RD |
127 | val.thisown = 1 |
128 | val._setOORInfo(val) | |
129 | return val | |
130 | ||
131 | ||
132 | class wxBitmapButtonPtr(wxButtonPtr): | |
133 | def __init__(self,this): | |
134 | self.this = this | |
135 | self.thisown = 0 | |
136 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 137 | val = controlsc.wxBitmapButton_Create(self, *_args, **_kwargs) |
e6056257 RD |
138 | return val |
139 | def GetBitmapLabel(self, *_args, **_kwargs): | |
d84a9306 | 140 | val = controlsc.wxBitmapButton_GetBitmapLabel(self, *_args, **_kwargs) |
00360d46 | 141 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
e6056257 RD |
142 | return val |
143 | def GetBitmapDisabled(self, *_args, **_kwargs): | |
d84a9306 | 144 | val = controlsc.wxBitmapButton_GetBitmapDisabled(self, *_args, **_kwargs) |
00360d46 | 145 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
e6056257 RD |
146 | return val |
147 | def GetBitmapFocus(self, *_args, **_kwargs): | |
d84a9306 | 148 | val = controlsc.wxBitmapButton_GetBitmapFocus(self, *_args, **_kwargs) |
00360d46 | 149 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
e6056257 RD |
150 | return val |
151 | def GetBitmapSelected(self, *_args, **_kwargs): | |
d84a9306 | 152 | val = controlsc.wxBitmapButton_GetBitmapSelected(self, *_args, **_kwargs) |
00360d46 | 153 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
e6056257 RD |
154 | return val |
155 | def SetBitmapDisabled(self, *_args, **_kwargs): | |
d84a9306 | 156 | val = controlsc.wxBitmapButton_SetBitmapDisabled(self, *_args, **_kwargs) |
e6056257 RD |
157 | return val |
158 | def SetBitmapFocus(self, *_args, **_kwargs): | |
d84a9306 | 159 | val = controlsc.wxBitmapButton_SetBitmapFocus(self, *_args, **_kwargs) |
e6056257 RD |
160 | return val |
161 | def SetBitmapSelected(self, *_args, **_kwargs): | |
d84a9306 | 162 | val = controlsc.wxBitmapButton_SetBitmapSelected(self, *_args, **_kwargs) |
e6056257 RD |
163 | return val |
164 | def SetBitmapLabel(self, *_args, **_kwargs): | |
d84a9306 | 165 | val = controlsc.wxBitmapButton_SetBitmapLabel(self, *_args, **_kwargs) |
e6056257 RD |
166 | return val |
167 | def SetMargins(self, *_args, **_kwargs): | |
d84a9306 | 168 | val = controlsc.wxBitmapButton_SetMargins(self, *_args, **_kwargs) |
e6056257 RD |
169 | return val |
170 | def GetMarginX(self, *_args, **_kwargs): | |
d84a9306 | 171 | val = controlsc.wxBitmapButton_GetMarginX(self, *_args, **_kwargs) |
e6056257 RD |
172 | return val |
173 | def GetMarginY(self, *_args, **_kwargs): | |
d84a9306 | 174 | val = controlsc.wxBitmapButton_GetMarginY(self, *_args, **_kwargs) |
e6056257 RD |
175 | return val |
176 | def __repr__(self): | |
d84a9306 | 177 | return "<%s.%s instance; proxy of C++ wxBitmapButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
178 | class wxBitmapButton(wxBitmapButtonPtr): |
179 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 180 | self.this = controlsc.new_wxBitmapButton(*_args,**_kwargs) |
e6056257 RD |
181 | self.thisown = 1 |
182 | self._setOORInfo(self) | |
183 | ||
184 | ||
185 | ||
186 | def wxPreBitmapButton(*_args,**_kwargs): | |
d84a9306 | 187 | val = wxBitmapButtonPtr(controlsc.new_wxPreBitmapButton(*_args,**_kwargs)) |
e6056257 RD |
188 | val.thisown = 1 |
189 | val._setOORInfo(val) | |
190 | return val | |
191 | ||
192 | ||
193 | class wxCheckBoxPtr(wxControlPtr): | |
194 | def __init__(self,this): | |
195 | self.this = this | |
196 | self.thisown = 0 | |
197 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 198 | val = controlsc.wxCheckBox_Create(self, *_args, **_kwargs) |
e6056257 RD |
199 | return val |
200 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 201 | val = controlsc.wxCheckBox_GetValue(self, *_args, **_kwargs) |
e6056257 | 202 | return val |
7108497a | 203 | def IsChecked(self, *_args, **_kwargs): |
d84a9306 | 204 | val = controlsc.wxCheckBox_IsChecked(self, *_args, **_kwargs) |
7108497a | 205 | return val |
e6056257 | 206 | def SetValue(self, *_args, **_kwargs): |
d84a9306 | 207 | val = controlsc.wxCheckBox_SetValue(self, *_args, **_kwargs) |
e6056257 | 208 | return val |
b7d681eb RD |
209 | def Get3StateValue(self, *_args, **_kwargs): |
210 | val = controlsc.wxCheckBox_Get3StateValue(self, *_args, **_kwargs) | |
211 | return val | |
212 | def Set3StateValue(self, *_args, **_kwargs): | |
213 | val = controlsc.wxCheckBox_Set3StateValue(self, *_args, **_kwargs) | |
214 | return val | |
215 | def Is3State(self, *_args, **_kwargs): | |
216 | val = controlsc.wxCheckBox_Is3State(self, *_args, **_kwargs) | |
217 | return val | |
218 | def Is3rdStateAllowedForUser(self, *_args, **_kwargs): | |
219 | val = controlsc.wxCheckBox_Is3rdStateAllowedForUser(self, *_args, **_kwargs) | |
220 | return val | |
e6056257 | 221 | def __repr__(self): |
d84a9306 | 222 | return "<%s.%s instance; proxy of C++ wxCheckBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
223 | class wxCheckBox(wxCheckBoxPtr): |
224 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 225 | self.this = controlsc.new_wxCheckBox(*_args,**_kwargs) |
e6056257 RD |
226 | self.thisown = 1 |
227 | self._setOORInfo(self) | |
228 | ||
229 | ||
230 | ||
231 | def wxPreCheckBox(*_args,**_kwargs): | |
d84a9306 | 232 | val = wxCheckBoxPtr(controlsc.new_wxPreCheckBox(*_args,**_kwargs)) |
e6056257 RD |
233 | val.thisown = 1 |
234 | val._setOORInfo(val) | |
235 | return val | |
236 | ||
237 | ||
238 | class wxChoicePtr(wxControlWithItemsPtr): | |
239 | def __init__(self,this): | |
240 | self.this = this | |
241 | self.thisown = 0 | |
242 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 243 | val = controlsc.wxChoice_Create(self, *_args, **_kwargs) |
e6056257 RD |
244 | return val |
245 | def Clear(self, *_args, **_kwargs): | |
d84a9306 | 246 | val = controlsc.wxChoice_Clear(self, *_args, **_kwargs) |
e6056257 RD |
247 | return val |
248 | def GetColumns(self, *_args, **_kwargs): | |
d84a9306 | 249 | val = controlsc.wxChoice_GetColumns(self, *_args, **_kwargs) |
e6056257 RD |
250 | return val |
251 | def SetColumns(self, *_args, **_kwargs): | |
d84a9306 | 252 | val = controlsc.wxChoice_SetColumns(self, *_args, **_kwargs) |
e6056257 RD |
253 | return val |
254 | def SetSelection(self, *_args, **_kwargs): | |
d84a9306 | 255 | val = controlsc.wxChoice_SetSelection(self, *_args, **_kwargs) |
e6056257 RD |
256 | return val |
257 | def SetStringSelection(self, *_args, **_kwargs): | |
d84a9306 | 258 | val = controlsc.wxChoice_SetStringSelection(self, *_args, **_kwargs) |
e6056257 RD |
259 | return val |
260 | def SetString(self, *_args, **_kwargs): | |
d84a9306 | 261 | val = controlsc.wxChoice_SetString(self, *_args, **_kwargs) |
e6056257 RD |
262 | return val |
263 | def __repr__(self): | |
d84a9306 | 264 | return "<%s.%s instance; proxy of C++ wxChoice instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
265 | |
266 | Select = SetSelection | |
267 | ||
268 | class wxChoice(wxChoicePtr): | |
269 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 270 | self.this = controlsc.new_wxChoice(*_args,**_kwargs) |
e6056257 RD |
271 | self.thisown = 1 |
272 | self._setOORInfo(self) | |
273 | ||
274 | ||
275 | ||
276 | def wxPreChoice(*_args,**_kwargs): | |
d84a9306 | 277 | val = wxChoicePtr(controlsc.new_wxPreChoice(*_args,**_kwargs)) |
e6056257 RD |
278 | val.thisown = 1 |
279 | val._setOORInfo(val) | |
280 | return val | |
281 | ||
282 | ||
d84a9306 | 283 | class wxComboBoxPtr(wxControlPtr): |
e6056257 RD |
284 | def __init__(self,this): |
285 | self.this = this | |
286 | self.thisown = 0 | |
287 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 288 | val = controlsc.wxComboBox_Create(self, *_args, **_kwargs) |
e6056257 RD |
289 | return val |
290 | def Copy(self, *_args, **_kwargs): | |
d84a9306 | 291 | val = controlsc.wxComboBox_Copy(self, *_args, **_kwargs) |
e6056257 RD |
292 | return val |
293 | def Cut(self, *_args, **_kwargs): | |
d84a9306 | 294 | val = controlsc.wxComboBox_Cut(self, *_args, **_kwargs) |
e6056257 RD |
295 | return val |
296 | def GetInsertionPoint(self, *_args, **_kwargs): | |
d84a9306 | 297 | val = controlsc.wxComboBox_GetInsertionPoint(self, *_args, **_kwargs) |
e6056257 RD |
298 | return val |
299 | def GetLastPosition(self, *_args, **_kwargs): | |
d84a9306 | 300 | val = controlsc.wxComboBox_GetLastPosition(self, *_args, **_kwargs) |
e6056257 RD |
301 | return val |
302 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 303 | val = controlsc.wxComboBox_GetValue(self, *_args, **_kwargs) |
e6056257 RD |
304 | return val |
305 | def Paste(self, *_args, **_kwargs): | |
d84a9306 | 306 | val = controlsc.wxComboBox_Paste(self, *_args, **_kwargs) |
e6056257 RD |
307 | return val |
308 | def Replace(self, *_args, **_kwargs): | |
d84a9306 | 309 | val = controlsc.wxComboBox_Replace(self, *_args, **_kwargs) |
e6056257 RD |
310 | return val |
311 | def Remove(self, *_args, **_kwargs): | |
d84a9306 | 312 | val = controlsc.wxComboBox_Remove(self, *_args, **_kwargs) |
e6056257 RD |
313 | return val |
314 | def SetInsertionPoint(self, *_args, **_kwargs): | |
d84a9306 | 315 | val = controlsc.wxComboBox_SetInsertionPoint(self, *_args, **_kwargs) |
e6056257 RD |
316 | return val |
317 | def SetInsertionPointEnd(self, *_args, **_kwargs): | |
d84a9306 | 318 | val = controlsc.wxComboBox_SetInsertionPointEnd(self, *_args, **_kwargs) |
e6056257 RD |
319 | return val |
320 | def SetSelection(self, *_args, **_kwargs): | |
d84a9306 | 321 | val = controlsc.wxComboBox_SetSelection(self, *_args, **_kwargs) |
e6056257 RD |
322 | return val |
323 | def SetMark(self, *_args, **_kwargs): | |
d84a9306 | 324 | val = controlsc.wxComboBox_SetMark(self, *_args, **_kwargs) |
e6056257 RD |
325 | return val |
326 | def SetValue(self, *_args, **_kwargs): | |
d84a9306 | 327 | val = controlsc.wxComboBox_SetValue(self, *_args, **_kwargs) |
e6056257 RD |
328 | return val |
329 | def SetEditable(self, *_args, **_kwargs): | |
d84a9306 RD |
330 | val = controlsc.wxComboBox_SetEditable(self, *_args, **_kwargs) |
331 | return val | |
332 | def Clear(self, *_args, **_kwargs): | |
333 | val = controlsc.wxComboBox_Clear(self, *_args, **_kwargs) | |
334 | return val | |
335 | def Delete(self, *_args, **_kwargs): | |
336 | val = controlsc.wxComboBox_Delete(self, *_args, **_kwargs) | |
337 | return val | |
338 | def GetCount(self, *_args, **_kwargs): | |
339 | val = controlsc.wxComboBox_GetCount(self, *_args, **_kwargs) | |
340 | return val | |
341 | def GetString(self, *_args, **_kwargs): | |
342 | val = controlsc.wxComboBox_GetString(self, *_args, **_kwargs) | |
343 | return val | |
344 | def FindString(self, *_args, **_kwargs): | |
345 | val = controlsc.wxComboBox_FindString(self, *_args, **_kwargs) | |
346 | return val | |
347 | def GetSelection(self, *_args, **_kwargs): | |
348 | val = controlsc.wxComboBox_GetSelection(self, *_args, **_kwargs) | |
349 | return val | |
350 | def GetStringSelection(self, *_args, **_kwargs): | |
351 | val = controlsc.wxComboBox_GetStringSelection(self, *_args, **_kwargs) | |
352 | return val | |
353 | def Append(self, *_args, **_kwargs): | |
354 | val = controlsc.wxComboBox_Append(self, *_args, **_kwargs) | |
355 | return val | |
356 | def GetClientData(self, *_args, **_kwargs): | |
357 | val = controlsc.wxComboBox_GetClientData(self, *_args, **_kwargs) | |
358 | return val | |
359 | def SetClientData(self, *_args, **_kwargs): | |
360 | val = controlsc.wxComboBox_SetClientData(self, *_args, **_kwargs) | |
e6056257 RD |
361 | return val |
362 | def __repr__(self): | |
d84a9306 RD |
363 | return "<%s.%s instance; proxy of C++ wxComboBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
364 | Number = GetCount | |
365 | Select = SetSelection | |
e6056257 RD |
366 | class wxComboBox(wxComboBoxPtr): |
367 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 368 | self.this = controlsc.new_wxComboBox(*_args,**_kwargs) |
e6056257 RD |
369 | self.thisown = 1 |
370 | self._setOORInfo(self) | |
371 | ||
372 | ||
373 | ||
374 | def wxPreComboBox(*_args,**_kwargs): | |
d84a9306 | 375 | val = wxComboBoxPtr(controlsc.new_wxPreComboBox(*_args,**_kwargs)) |
e6056257 RD |
376 | val.thisown = 1 |
377 | val._setOORInfo(val) | |
378 | return val | |
379 | ||
380 | ||
381 | class wxGaugePtr(wxControlPtr): | |
382 | def __init__(self,this): | |
383 | self.this = this | |
384 | self.thisown = 0 | |
385 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 386 | val = controlsc.wxGauge_Create(self, *_args, **_kwargs) |
e6056257 RD |
387 | return val |
388 | def GetBezelFace(self, *_args, **_kwargs): | |
d84a9306 | 389 | val = controlsc.wxGauge_GetBezelFace(self, *_args, **_kwargs) |
e6056257 RD |
390 | return val |
391 | def GetRange(self, *_args, **_kwargs): | |
d84a9306 | 392 | val = controlsc.wxGauge_GetRange(self, *_args, **_kwargs) |
e6056257 RD |
393 | return val |
394 | def GetShadowWidth(self, *_args, **_kwargs): | |
d84a9306 | 395 | val = controlsc.wxGauge_GetShadowWidth(self, *_args, **_kwargs) |
e6056257 RD |
396 | return val |
397 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 398 | val = controlsc.wxGauge_GetValue(self, *_args, **_kwargs) |
e6056257 | 399 | return val |
b7d681eb RD |
400 | def IsVertical(self, *_args, **_kwargs): |
401 | val = controlsc.wxGauge_IsVertical(self, *_args, **_kwargs) | |
402 | return val | |
e6056257 | 403 | def SetBezelFace(self, *_args, **_kwargs): |
d84a9306 | 404 | val = controlsc.wxGauge_SetBezelFace(self, *_args, **_kwargs) |
e6056257 RD |
405 | return val |
406 | def SetRange(self, *_args, **_kwargs): | |
d84a9306 | 407 | val = controlsc.wxGauge_SetRange(self, *_args, **_kwargs) |
e6056257 RD |
408 | return val |
409 | def SetShadowWidth(self, *_args, **_kwargs): | |
d84a9306 | 410 | val = controlsc.wxGauge_SetShadowWidth(self, *_args, **_kwargs) |
e6056257 RD |
411 | return val |
412 | def SetValue(self, *_args, **_kwargs): | |
d84a9306 | 413 | val = controlsc.wxGauge_SetValue(self, *_args, **_kwargs) |
e6056257 RD |
414 | return val |
415 | def __repr__(self): | |
d84a9306 | 416 | return "<%s.%s instance; proxy of C++ wxGauge instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
417 | class wxGauge(wxGaugePtr): |
418 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 419 | self.this = controlsc.new_wxGauge(*_args,**_kwargs) |
e6056257 RD |
420 | self.thisown = 1 |
421 | self._setOORInfo(self) | |
422 | ||
423 | ||
424 | ||
425 | def wxPreGauge(*_args,**_kwargs): | |
d84a9306 | 426 | val = wxGaugePtr(controlsc.new_wxPreGauge(*_args,**_kwargs)) |
e6056257 RD |
427 | val.thisown = 1 |
428 | val._setOORInfo(val) | |
429 | return val | |
430 | ||
431 | ||
432 | class wxStaticBoxPtr(wxControlPtr): | |
433 | def __init__(self,this): | |
434 | self.this = this | |
435 | self.thisown = 0 | |
436 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 437 | val = controlsc.wxStaticBox_Create(self, *_args, **_kwargs) |
e6056257 RD |
438 | return val |
439 | def __repr__(self): | |
d84a9306 | 440 | return "<%s.%s instance; proxy of C++ wxStaticBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
441 | class wxStaticBox(wxStaticBoxPtr): |
442 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 443 | self.this = controlsc.new_wxStaticBox(*_args,**_kwargs) |
e6056257 RD |
444 | self.thisown = 1 |
445 | self._setOORInfo(self) | |
446 | ||
447 | ||
448 | ||
449 | def wxPreStaticBox(*_args,**_kwargs): | |
d84a9306 | 450 | val = wxStaticBoxPtr(controlsc.new_wxPreStaticBox(*_args,**_kwargs)) |
e6056257 RD |
451 | val.thisown = 1 |
452 | val._setOORInfo(val) | |
453 | return val | |
454 | ||
455 | ||
456 | class wxStaticLinePtr(wxControlPtr): | |
457 | def __init__(self,this): | |
458 | self.this = this | |
459 | self.thisown = 0 | |
460 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 461 | val = controlsc.wxStaticLine_Create(self, *_args, **_kwargs) |
e6056257 RD |
462 | return val |
463 | def __repr__(self): | |
d84a9306 | 464 | return "<%s.%s instance; proxy of C++ wxStaticLine instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
465 | class wxStaticLine(wxStaticLinePtr): |
466 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 467 | self.this = controlsc.new_wxStaticLine(*_args,**_kwargs) |
e6056257 RD |
468 | self.thisown = 1 |
469 | self._setOORInfo(self) | |
470 | ||
471 | ||
472 | ||
473 | def wxPreStaticLine(*_args,**_kwargs): | |
d84a9306 | 474 | val = wxStaticLinePtr(controlsc.new_wxPreStaticLine(*_args,**_kwargs)) |
e6056257 RD |
475 | val.thisown = 1 |
476 | val._setOORInfo(val) | |
477 | return val | |
478 | ||
479 | ||
480 | class wxStaticTextPtr(wxControlPtr): | |
481 | def __init__(self,this): | |
482 | self.this = this | |
483 | self.thisown = 0 | |
484 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 485 | val = controlsc.wxStaticText_Create(self, *_args, **_kwargs) |
e6056257 RD |
486 | return val |
487 | def GetLabel(self, *_args, **_kwargs): | |
d84a9306 | 488 | val = controlsc.wxStaticText_GetLabel(self, *_args, **_kwargs) |
e6056257 RD |
489 | return val |
490 | def SetLabel(self, *_args, **_kwargs): | |
d84a9306 | 491 | val = controlsc.wxStaticText_SetLabel(self, *_args, **_kwargs) |
e6056257 RD |
492 | return val |
493 | def __repr__(self): | |
d84a9306 | 494 | return "<%s.%s instance; proxy of C++ wxStaticText instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
495 | class wxStaticText(wxStaticTextPtr): |
496 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 497 | self.this = controlsc.new_wxStaticText(*_args,**_kwargs) |
e6056257 RD |
498 | self.thisown = 1 |
499 | self._setOORInfo(self) | |
500 | ||
501 | ||
502 | ||
503 | def wxPreStaticText(*_args,**_kwargs): | |
d84a9306 | 504 | val = wxStaticTextPtr(controlsc.new_wxPreStaticText(*_args,**_kwargs)) |
e6056257 RD |
505 | val.thisown = 1 |
506 | val._setOORInfo(val) | |
507 | return val | |
508 | ||
509 | ||
510 | class wxListBoxPtr(wxControlWithItemsPtr): | |
511 | def __init__(self,this): | |
512 | self.this = this | |
513 | self.thisown = 0 | |
514 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 515 | val = controlsc.wxListBox_Create(self, *_args, **_kwargs) |
e6056257 RD |
516 | return val |
517 | def Clear(self, *_args, **_kwargs): | |
d84a9306 | 518 | val = controlsc.wxListBox_Clear(self, *_args, **_kwargs) |
e6056257 RD |
519 | return val |
520 | def Deselect(self, *_args, **_kwargs): | |
d84a9306 | 521 | val = controlsc.wxListBox_Deselect(self, *_args, **_kwargs) |
e6056257 RD |
522 | return val |
523 | def GetSelections(self, *_args, **_kwargs): | |
d84a9306 | 524 | val = controlsc.wxListBox_GetSelections(self, *_args, **_kwargs) |
e6056257 RD |
525 | return val |
526 | def InsertItems(self, *_args, **_kwargs): | |
d84a9306 | 527 | val = controlsc.wxListBox_InsertItems(self, *_args, **_kwargs) |
e6056257 RD |
528 | return val |
529 | def IsSelected(self, *_args, **_kwargs): | |
d84a9306 | 530 | val = controlsc.wxListBox_IsSelected(self, *_args, **_kwargs) |
e6056257 RD |
531 | return val |
532 | def Selected(self, *_args, **_kwargs): | |
d84a9306 | 533 | val = controlsc.wxListBox_Selected(self, *_args, **_kwargs) |
e6056257 RD |
534 | return val |
535 | def Set(self, *_args, **_kwargs): | |
d84a9306 | 536 | val = controlsc.wxListBox_Set(self, *_args, **_kwargs) |
e6056257 RD |
537 | return val |
538 | def SetFirstItem(self, *_args, **_kwargs): | |
d84a9306 | 539 | val = controlsc.wxListBox_SetFirstItem(self, *_args, **_kwargs) |
e6056257 RD |
540 | return val |
541 | def SetFirstItemStr(self, *_args, **_kwargs): | |
d84a9306 | 542 | val = controlsc.wxListBox_SetFirstItemStr(self, *_args, **_kwargs) |
e6056257 RD |
543 | return val |
544 | def SetSelection(self, *_args, **_kwargs): | |
d84a9306 | 545 | val = controlsc.wxListBox_SetSelection(self, *_args, **_kwargs) |
e6056257 RD |
546 | return val |
547 | def SetString(self, *_args, **_kwargs): | |
d84a9306 | 548 | val = controlsc.wxListBox_SetString(self, *_args, **_kwargs) |
e6056257 RD |
549 | return val |
550 | def SetStringSelection(self, *_args, **_kwargs): | |
d84a9306 | 551 | val = controlsc.wxListBox_SetStringSelection(self, *_args, **_kwargs) |
e6056257 RD |
552 | return val |
553 | def __repr__(self): | |
d84a9306 | 554 | return "<%s.%s instance; proxy of C++ wxListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
555 | class wxListBox(wxListBoxPtr): |
556 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 557 | self.this = controlsc.new_wxListBox(*_args,**_kwargs) |
e6056257 RD |
558 | self.thisown = 1 |
559 | self._setOORInfo(self) | |
560 | ||
561 | ||
562 | ||
563 | def wxPreListBox(*_args,**_kwargs): | |
d84a9306 | 564 | val = wxListBoxPtr(controlsc.new_wxPreListBox(*_args,**_kwargs)) |
e6056257 RD |
565 | val.thisown = 1 |
566 | val._setOORInfo(val) | |
567 | return val | |
568 | ||
569 | ||
570 | class wxCheckListBoxPtr(wxListBoxPtr): | |
571 | def __init__(self,this): | |
572 | self.this = this | |
573 | self.thisown = 0 | |
574 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 575 | val = controlsc.wxCheckListBox_Create(self, *_args, **_kwargs) |
e6056257 RD |
576 | return val |
577 | def IsChecked(self, *_args, **_kwargs): | |
d84a9306 | 578 | val = controlsc.wxCheckListBox_IsChecked(self, *_args, **_kwargs) |
e6056257 RD |
579 | return val |
580 | def Check(self, *_args, **_kwargs): | |
d84a9306 | 581 | val = controlsc.wxCheckListBox_Check(self, *_args, **_kwargs) |
e6056257 RD |
582 | return val |
583 | def InsertItems(self, *_args, **_kwargs): | |
d84a9306 | 584 | val = controlsc.wxCheckListBox_InsertItems(self, *_args, **_kwargs) |
e6056257 | 585 | return val |
3e1f6ec4 | 586 | def HitTest(self, *_args, **_kwargs): |
d84a9306 | 587 | val = controlsc.wxCheckListBox_HitTest(self, *_args, **_kwargs) |
3e1f6ec4 RD |
588 | return val |
589 | def HitTestXY(self, *_args, **_kwargs): | |
d84a9306 | 590 | val = controlsc.wxCheckListBox_HitTestXY(self, *_args, **_kwargs) |
3e1f6ec4 | 591 | return val |
e6056257 | 592 | def __repr__(self): |
d84a9306 | 593 | return "<%s.%s instance; proxy of C++ wxCheckListBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
594 | class wxCheckListBox(wxCheckListBoxPtr): |
595 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 596 | self.this = controlsc.new_wxCheckListBox(*_args,**_kwargs) |
e6056257 RD |
597 | self.thisown = 1 |
598 | self._setOORInfo(self) | |
599 | ||
600 | ||
601 | ||
602 | def wxPreCheckListBox(*_args,**_kwargs): | |
d84a9306 | 603 | val = wxCheckListBoxPtr(controlsc.new_wxPreCheckListBox(*_args,**_kwargs)) |
e6056257 RD |
604 | val.thisown = 1 |
605 | val._setOORInfo(val) | |
606 | return val | |
607 | ||
608 | ||
609 | class wxTextAttrPtr : | |
610 | def __init__(self,this): | |
611 | self.this = this | |
612 | self.thisown = 0 | |
7108497a RD |
613 | def __del__(self, delfunc=controlsc.delete_wxTextAttr): |
614 | if self.thisown == 1: | |
615 | try: | |
616 | delfunc(self) | |
617 | except: | |
618 | pass | |
d84a9306 RD |
619 | def Init(self, *_args, **_kwargs): |
620 | val = controlsc.wxTextAttr_Init(self, *_args, **_kwargs) | |
621 | return val | |
e6056257 | 622 | def SetTextColour(self, *_args, **_kwargs): |
d84a9306 | 623 | val = controlsc.wxTextAttr_SetTextColour(self, *_args, **_kwargs) |
e6056257 RD |
624 | return val |
625 | def SetBackgroundColour(self, *_args, **_kwargs): | |
d84a9306 | 626 | val = controlsc.wxTextAttr_SetBackgroundColour(self, *_args, **_kwargs) |
e6056257 RD |
627 | return val |
628 | def SetFont(self, *_args, **_kwargs): | |
d84a9306 RD |
629 | val = controlsc.wxTextAttr_SetFont(self, *_args, **_kwargs) |
630 | return val | |
631 | def SetAlignment(self, *_args, **_kwargs): | |
632 | val = controlsc.wxTextAttr_SetAlignment(self, *_args, **_kwargs) | |
633 | return val | |
634 | def SetTabs(self, *_args, **_kwargs): | |
635 | val = controlsc.wxTextAttr_SetTabs(self, *_args, **_kwargs) | |
636 | return val | |
637 | def SetLeftIndent(self, *_args, **_kwargs): | |
638 | val = controlsc.wxTextAttr_SetLeftIndent(self, *_args, **_kwargs) | |
639 | return val | |
640 | def SetRightIndent(self, *_args, **_kwargs): | |
641 | val = controlsc.wxTextAttr_SetRightIndent(self, *_args, **_kwargs) | |
642 | return val | |
643 | def SetFlags(self, *_args, **_kwargs): | |
644 | val = controlsc.wxTextAttr_SetFlags(self, *_args, **_kwargs) | |
e6056257 RD |
645 | return val |
646 | def HasTextColour(self, *_args, **_kwargs): | |
d84a9306 | 647 | val = controlsc.wxTextAttr_HasTextColour(self, *_args, **_kwargs) |
e6056257 RD |
648 | return val |
649 | def HasBackgroundColour(self, *_args, **_kwargs): | |
d84a9306 | 650 | val = controlsc.wxTextAttr_HasBackgroundColour(self, *_args, **_kwargs) |
e6056257 RD |
651 | return val |
652 | def HasFont(self, *_args, **_kwargs): | |
d84a9306 RD |
653 | val = controlsc.wxTextAttr_HasFont(self, *_args, **_kwargs) |
654 | return val | |
655 | def HasAlignment(self, *_args, **_kwargs): | |
656 | val = controlsc.wxTextAttr_HasAlignment(self, *_args, **_kwargs) | |
657 | return val | |
658 | def HasTabs(self, *_args, **_kwargs): | |
659 | val = controlsc.wxTextAttr_HasTabs(self, *_args, **_kwargs) | |
660 | return val | |
661 | def HasLeftIndent(self, *_args, **_kwargs): | |
662 | val = controlsc.wxTextAttr_HasLeftIndent(self, *_args, **_kwargs) | |
663 | return val | |
664 | def HasRightIndent(self, *_args, **_kwargs): | |
665 | val = controlsc.wxTextAttr_HasRightIndent(self, *_args, **_kwargs) | |
666 | return val | |
667 | def HasFlag(self, *_args, **_kwargs): | |
668 | val = controlsc.wxTextAttr_HasFlag(self, *_args, **_kwargs) | |
e6056257 RD |
669 | return val |
670 | def GetTextColour(self, *_args, **_kwargs): | |
d84a9306 | 671 | val = controlsc.wxTextAttr_GetTextColour(self, *_args, **_kwargs) |
00360d46 | 672 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
e6056257 RD |
673 | return val |
674 | def GetBackgroundColour(self, *_args, **_kwargs): | |
d84a9306 | 675 | val = controlsc.wxTextAttr_GetBackgroundColour(self, *_args, **_kwargs) |
00360d46 | 676 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
e6056257 RD |
677 | return val |
678 | def GetFont(self, *_args, **_kwargs): | |
d84a9306 | 679 | val = controlsc.wxTextAttr_GetFont(self, *_args, **_kwargs) |
00360d46 | 680 | if val: val = wxFontPtr(val) ; val.thisown = 1 |
e6056257 | 681 | return val |
d84a9306 RD |
682 | def GetAlignment(self, *_args, **_kwargs): |
683 | val = controlsc.wxTextAttr_GetAlignment(self, *_args, **_kwargs) | |
684 | return val | |
685 | def GetTabs(self, *_args, **_kwargs): | |
686 | val = controlsc.wxTextAttr_GetTabs(self, *_args, **_kwargs) | |
687 | return val | |
688 | def GetLeftIndent(self, *_args, **_kwargs): | |
689 | val = controlsc.wxTextAttr_GetLeftIndent(self, *_args, **_kwargs) | |
690 | return val | |
691 | def GetRightIndent(self, *_args, **_kwargs): | |
692 | val = controlsc.wxTextAttr_GetRightIndent(self, *_args, **_kwargs) | |
693 | return val | |
694 | def GetFlags(self, *_args, **_kwargs): | |
695 | val = controlsc.wxTextAttr_GetFlags(self, *_args, **_kwargs) | |
696 | return val | |
742fc581 | 697 | def IsDefault(self, *_args, **_kwargs): |
d84a9306 | 698 | val = controlsc.wxTextAttr_IsDefault(self, *_args, **_kwargs) |
742fc581 | 699 | return val |
e6056257 | 700 | def __repr__(self): |
d84a9306 | 701 | return "<%s.%s instance; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
702 | class wxTextAttr(wxTextAttrPtr): |
703 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 704 | self.this = controlsc.new_wxTextAttr(*_args,**_kwargs) |
e6056257 RD |
705 | self.thisown = 1 |
706 | ||
707 | ||
708 | ||
709 | ||
710 | class wxTextCtrlPtr(wxControlPtr): | |
711 | def __init__(self,this): | |
712 | self.this = this | |
713 | self.thisown = 0 | |
714 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 715 | val = controlsc.wxTextCtrl_Create(self, *_args, **_kwargs) |
e6056257 | 716 | return val |
742fc581 | 717 | def GetValue(self, *_args, **_kwargs): |
d84a9306 | 718 | val = controlsc.wxTextCtrl_GetValue(self, *_args, **_kwargs) |
e6056257 | 719 | return val |
742fc581 | 720 | def SetValue(self, *_args, **_kwargs): |
d84a9306 | 721 | val = controlsc.wxTextCtrl_SetValue(self, *_args, **_kwargs) |
e6056257 | 722 | return val |
d1e76a37 | 723 | def GetRange(self, *_args, **_kwargs): |
d84a9306 | 724 | val = controlsc.wxTextCtrl_GetRange(self, *_args, **_kwargs) |
d1e76a37 | 725 | return val |
e6056257 | 726 | def GetLineLength(self, *_args, **_kwargs): |
d84a9306 | 727 | val = controlsc.wxTextCtrl_GetLineLength(self, *_args, **_kwargs) |
e6056257 RD |
728 | return val |
729 | def GetLineText(self, *_args, **_kwargs): | |
d84a9306 | 730 | val = controlsc.wxTextCtrl_GetLineText(self, *_args, **_kwargs) |
e6056257 RD |
731 | return val |
732 | def GetNumberOfLines(self, *_args, **_kwargs): | |
d84a9306 | 733 | val = controlsc.wxTextCtrl_GetNumberOfLines(self, *_args, **_kwargs) |
e6056257 | 734 | return val |
e6056257 | 735 | def IsModified(self, *_args, **_kwargs): |
d84a9306 | 736 | val = controlsc.wxTextCtrl_IsModified(self, *_args, **_kwargs) |
e6056257 | 737 | return val |
742fc581 | 738 | def IsEditable(self, *_args, **_kwargs): |
d84a9306 | 739 | val = controlsc.wxTextCtrl_IsEditable(self, *_args, **_kwargs) |
e6056257 | 740 | return val |
742fc581 | 741 | def GetSelection(self, *_args, **_kwargs): |
d84a9306 | 742 | val = controlsc.wxTextCtrl_GetSelection(self, *_args, **_kwargs) |
e6056257 | 743 | return val |
742fc581 | 744 | def GetStringSelection(self, *_args, **_kwargs): |
d84a9306 | 745 | val = controlsc.wxTextCtrl_GetStringSelection(self, *_args, **_kwargs) |
e6056257 | 746 | return val |
742fc581 | 747 | def Clear(self, *_args, **_kwargs): |
d84a9306 | 748 | val = controlsc.wxTextCtrl_Clear(self, *_args, **_kwargs) |
e6056257 RD |
749 | return val |
750 | def Replace(self, *_args, **_kwargs): | |
d84a9306 | 751 | val = controlsc.wxTextCtrl_Replace(self, *_args, **_kwargs) |
e6056257 | 752 | return val |
742fc581 | 753 | def Remove(self, *_args, **_kwargs): |
d84a9306 | 754 | val = controlsc.wxTextCtrl_Remove(self, *_args, **_kwargs) |
e6056257 | 755 | return val |
742fc581 | 756 | def LoadFile(self, *_args, **_kwargs): |
d84a9306 | 757 | val = controlsc.wxTextCtrl_LoadFile(self, *_args, **_kwargs) |
e6056257 | 758 | return val |
742fc581 | 759 | def SaveFile(self, *_args, **_kwargs): |
d84a9306 | 760 | val = controlsc.wxTextCtrl_SaveFile(self, *_args, **_kwargs) |
e6056257 | 761 | return val |
b7d681eb RD |
762 | def MarkDirty(self, *_args, **_kwargs): |
763 | val = controlsc.wxTextCtrl_MarkDirty(self, *_args, **_kwargs) | |
764 | return val | |
742fc581 | 765 | def DiscardEdits(self, *_args, **_kwargs): |
d84a9306 | 766 | val = controlsc.wxTextCtrl_DiscardEdits(self, *_args, **_kwargs) |
e6056257 | 767 | return val |
742fc581 | 768 | def SetMaxLength(self, *_args, **_kwargs): |
d84a9306 | 769 | val = controlsc.wxTextCtrl_SetMaxLength(self, *_args, **_kwargs) |
e6056257 RD |
770 | return val |
771 | def WriteText(self, *_args, **_kwargs): | |
d84a9306 | 772 | val = controlsc.wxTextCtrl_WriteText(self, *_args, **_kwargs) |
e6056257 RD |
773 | return val |
774 | def AppendText(self, *_args, **_kwargs): | |
d84a9306 | 775 | val = controlsc.wxTextCtrl_AppendText(self, *_args, **_kwargs) |
e6056257 | 776 | return val |
59988cd0 | 777 | def EmulateKeyPress(self, *_args, **_kwargs): |
d84a9306 | 778 | val = controlsc.wxTextCtrl_EmulateKeyPress(self, *_args, **_kwargs) |
59988cd0 | 779 | return val |
742fc581 | 780 | def SetStyle(self, *_args, **_kwargs): |
d84a9306 | 781 | val = controlsc.wxTextCtrl_SetStyle(self, *_args, **_kwargs) |
742fc581 RD |
782 | return val |
783 | def SetDefaultStyle(self, *_args, **_kwargs): | |
d84a9306 | 784 | val = controlsc.wxTextCtrl_SetDefaultStyle(self, *_args, **_kwargs) |
742fc581 RD |
785 | return val |
786 | def GetDefaultStyle(self, *_args, **_kwargs): | |
d84a9306 | 787 | val = controlsc.wxTextCtrl_GetDefaultStyle(self, *_args, **_kwargs) |
742fc581 RD |
788 | if val: val = wxTextAttrPtr(val) |
789 | return val | |
d84a9306 RD |
790 | def GetStyle(self, *_args, **_kwargs): |
791 | val = controlsc.wxTextCtrl_GetStyle(self, *_args, **_kwargs) | |
792 | return val | |
e6056257 | 793 | def XYToPosition(self, *_args, **_kwargs): |
d84a9306 | 794 | val = controlsc.wxTextCtrl_XYToPosition(self, *_args, **_kwargs) |
e6056257 | 795 | return val |
742fc581 | 796 | def PositionToXY(self, *_args, **_kwargs): |
d84a9306 | 797 | val = controlsc.wxTextCtrl_PositionToXY(self, *_args, **_kwargs) |
742fc581 RD |
798 | return val |
799 | def ShowPosition(self, *_args, **_kwargs): | |
d84a9306 | 800 | val = controlsc.wxTextCtrl_ShowPosition(self, *_args, **_kwargs) |
742fc581 RD |
801 | return val |
802 | def Copy(self, *_args, **_kwargs): | |
d84a9306 | 803 | val = controlsc.wxTextCtrl_Copy(self, *_args, **_kwargs) |
742fc581 RD |
804 | return val |
805 | def Cut(self, *_args, **_kwargs): | |
d84a9306 | 806 | val = controlsc.wxTextCtrl_Cut(self, *_args, **_kwargs) |
742fc581 RD |
807 | return val |
808 | def Paste(self, *_args, **_kwargs): | |
d84a9306 | 809 | val = controlsc.wxTextCtrl_Paste(self, *_args, **_kwargs) |
742fc581 | 810 | return val |
e6056257 | 811 | def CanCopy(self, *_args, **_kwargs): |
d84a9306 | 812 | val = controlsc.wxTextCtrl_CanCopy(self, *_args, **_kwargs) |
e6056257 RD |
813 | return val |
814 | def CanCut(self, *_args, **_kwargs): | |
d84a9306 | 815 | val = controlsc.wxTextCtrl_CanCut(self, *_args, **_kwargs) |
e6056257 RD |
816 | return val |
817 | def CanPaste(self, *_args, **_kwargs): | |
d84a9306 | 818 | val = controlsc.wxTextCtrl_CanPaste(self, *_args, **_kwargs) |
e6056257 | 819 | return val |
742fc581 | 820 | def Undo(self, *_args, **_kwargs): |
d84a9306 | 821 | val = controlsc.wxTextCtrl_Undo(self, *_args, **_kwargs) |
742fc581 RD |
822 | return val |
823 | def Redo(self, *_args, **_kwargs): | |
d84a9306 | 824 | val = controlsc.wxTextCtrl_Redo(self, *_args, **_kwargs) |
e6056257 RD |
825 | return val |
826 | def CanUndo(self, *_args, **_kwargs): | |
d84a9306 | 827 | val = controlsc.wxTextCtrl_CanUndo(self, *_args, **_kwargs) |
e6056257 | 828 | return val |
742fc581 | 829 | def CanRedo(self, *_args, **_kwargs): |
d84a9306 | 830 | val = controlsc.wxTextCtrl_CanRedo(self, *_args, **_kwargs) |
e6056257 | 831 | return val |
742fc581 | 832 | def SetInsertionPoint(self, *_args, **_kwargs): |
d84a9306 | 833 | val = controlsc.wxTextCtrl_SetInsertionPoint(self, *_args, **_kwargs) |
e6056257 | 834 | return val |
742fc581 | 835 | def SetInsertionPointEnd(self, *_args, **_kwargs): |
d84a9306 | 836 | val = controlsc.wxTextCtrl_SetInsertionPointEnd(self, *_args, **_kwargs) |
e6056257 | 837 | return val |
742fc581 | 838 | def GetInsertionPoint(self, *_args, **_kwargs): |
d84a9306 | 839 | val = controlsc.wxTextCtrl_GetInsertionPoint(self, *_args, **_kwargs) |
e6056257 | 840 | return val |
742fc581 | 841 | def GetLastPosition(self, *_args, **_kwargs): |
d84a9306 | 842 | val = controlsc.wxTextCtrl_GetLastPosition(self, *_args, **_kwargs) |
e6056257 | 843 | return val |
742fc581 | 844 | def SetSelection(self, *_args, **_kwargs): |
d84a9306 | 845 | val = controlsc.wxTextCtrl_SetSelection(self, *_args, **_kwargs) |
e6056257 | 846 | return val |
742fc581 | 847 | def SelectAll(self, *_args, **_kwargs): |
d84a9306 | 848 | val = controlsc.wxTextCtrl_SelectAll(self, *_args, **_kwargs) |
e6056257 | 849 | return val |
742fc581 | 850 | def SetEditable(self, *_args, **_kwargs): |
d84a9306 | 851 | val = controlsc.wxTextCtrl_SetEditable(self, *_args, **_kwargs) |
e6056257 | 852 | return val |
383ea3d0 | 853 | def IsSingleLine(self, *_args, **_kwargs): |
d84a9306 | 854 | val = controlsc.wxTextCtrl_IsSingleLine(self, *_args, **_kwargs) |
383ea3d0 RD |
855 | return val |
856 | def IsMultiLine(self, *_args, **_kwargs): | |
d84a9306 | 857 | val = controlsc.wxTextCtrl_IsMultiLine(self, *_args, **_kwargs) |
383ea3d0 | 858 | return val |
e6056257 | 859 | def write(self, *_args, **_kwargs): |
d84a9306 | 860 | val = controlsc.wxTextCtrl_write(self, *_args, **_kwargs) |
e6056257 | 861 | return val |
dbd3685c | 862 | def GetString(self, *_args, **_kwargs): |
d84a9306 | 863 | val = controlsc.wxTextCtrl_GetString(self, *_args, **_kwargs) |
dbd3685c | 864 | return val |
e6056257 | 865 | def __repr__(self): |
d84a9306 | 866 | return "<%s.%s instance; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
867 | class wxTextCtrl(wxTextCtrlPtr): |
868 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 869 | self.this = controlsc.new_wxTextCtrl(*_args,**_kwargs) |
e6056257 RD |
870 | self.thisown = 1 |
871 | self._setOORInfo(self) | |
872 | ||
873 | ||
874 | ||
875 | def wxPreTextCtrl(*_args,**_kwargs): | |
d84a9306 | 876 | val = wxTextCtrlPtr(controlsc.new_wxPreTextCtrl(*_args,**_kwargs)) |
e6056257 RD |
877 | val.thisown = 1 |
878 | val._setOORInfo(val) | |
879 | return val | |
880 | ||
881 | ||
882 | class wxScrollBarPtr(wxControlPtr): | |
883 | def __init__(self,this): | |
884 | self.this = this | |
885 | self.thisown = 0 | |
886 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 887 | val = controlsc.wxScrollBar_Create(self, *_args, **_kwargs) |
e6056257 RD |
888 | return val |
889 | def GetRange(self, *_args, **_kwargs): | |
d84a9306 | 890 | val = controlsc.wxScrollBar_GetRange(self, *_args, **_kwargs) |
e6056257 RD |
891 | return val |
892 | def GetPageSize(self, *_args, **_kwargs): | |
d84a9306 | 893 | val = controlsc.wxScrollBar_GetPageSize(self, *_args, **_kwargs) |
e6056257 RD |
894 | return val |
895 | def GetThumbPosition(self, *_args, **_kwargs): | |
d84a9306 | 896 | val = controlsc.wxScrollBar_GetThumbPosition(self, *_args, **_kwargs) |
e6056257 RD |
897 | return val |
898 | def GetThumbSize(self, *_args, **_kwargs): | |
d84a9306 | 899 | val = controlsc.wxScrollBar_GetThumbSize(self, *_args, **_kwargs) |
e6056257 RD |
900 | return val |
901 | def GetThumbLength(self, *_args, **_kwargs): | |
d84a9306 | 902 | val = controlsc.wxScrollBar_GetThumbLength(self, *_args, **_kwargs) |
e6056257 | 903 | return val |
dbd3685c | 904 | def IsVertical(self, *_args, **_kwargs): |
d84a9306 | 905 | val = controlsc.wxScrollBar_IsVertical(self, *_args, **_kwargs) |
dbd3685c | 906 | return val |
e6056257 | 907 | def SetThumbPosition(self, *_args, **_kwargs): |
d84a9306 | 908 | val = controlsc.wxScrollBar_SetThumbPosition(self, *_args, **_kwargs) |
e6056257 RD |
909 | return val |
910 | def SetScrollbar(self, *_args, **_kwargs): | |
d84a9306 | 911 | val = controlsc.wxScrollBar_SetScrollbar(self, *_args, **_kwargs) |
e6056257 RD |
912 | return val |
913 | def __repr__(self): | |
d84a9306 | 914 | return "<%s.%s instance; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
915 | class wxScrollBar(wxScrollBarPtr): |
916 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 917 | self.this = controlsc.new_wxScrollBar(*_args,**_kwargs) |
e6056257 RD |
918 | self.thisown = 1 |
919 | self._setOORInfo(self) | |
920 | ||
921 | ||
922 | ||
923 | def wxPreScrollBar(*_args,**_kwargs): | |
d84a9306 | 924 | val = wxScrollBarPtr(controlsc.new_wxPreScrollBar(*_args,**_kwargs)) |
e6056257 RD |
925 | val.thisown = 1 |
926 | val._setOORInfo(val) | |
927 | return val | |
928 | ||
929 | ||
930 | class wxSpinButtonPtr(wxControlPtr): | |
931 | def __init__(self,this): | |
932 | self.this = this | |
933 | self.thisown = 0 | |
934 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 935 | val = controlsc.wxSpinButton_Create(self, *_args, **_kwargs) |
e6056257 RD |
936 | return val |
937 | def GetMax(self, *_args, **_kwargs): | |
d84a9306 | 938 | val = controlsc.wxSpinButton_GetMax(self, *_args, **_kwargs) |
e6056257 RD |
939 | return val |
940 | def GetMin(self, *_args, **_kwargs): | |
d84a9306 | 941 | val = controlsc.wxSpinButton_GetMin(self, *_args, **_kwargs) |
e6056257 RD |
942 | return val |
943 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 944 | val = controlsc.wxSpinButton_GetValue(self, *_args, **_kwargs) |
e6056257 RD |
945 | return val |
946 | def SetRange(self, *_args, **_kwargs): | |
d84a9306 | 947 | val = controlsc.wxSpinButton_SetRange(self, *_args, **_kwargs) |
e6056257 RD |
948 | return val |
949 | def SetValue(self, *_args, **_kwargs): | |
d84a9306 | 950 | val = controlsc.wxSpinButton_SetValue(self, *_args, **_kwargs) |
e6056257 RD |
951 | return val |
952 | def __repr__(self): | |
d84a9306 | 953 | return "<%s.%s instance; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
954 | class wxSpinButton(wxSpinButtonPtr): |
955 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 956 | self.this = controlsc.new_wxSpinButton(*_args,**_kwargs) |
e6056257 RD |
957 | self.thisown = 1 |
958 | self._setOORInfo(self) | |
959 | ||
960 | ||
961 | ||
962 | def wxPreSpinButton(*_args,**_kwargs): | |
d84a9306 | 963 | val = wxSpinButtonPtr(controlsc.new_wxPreSpinButton(*_args,**_kwargs)) |
e6056257 RD |
964 | val.thisown = 1 |
965 | val._setOORInfo(val) | |
966 | return val | |
967 | ||
968 | ||
969 | class wxStaticBitmapPtr(wxControlPtr): | |
970 | def __init__(self,this): | |
971 | self.this = this | |
972 | self.thisown = 0 | |
973 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 974 | val = controlsc.wxStaticBitmap_Create(self, *_args, **_kwargs) |
e6056257 RD |
975 | return val |
976 | def GetBitmap(self, *_args, **_kwargs): | |
d84a9306 | 977 | val = controlsc.wxStaticBitmap_GetBitmap(self, *_args, **_kwargs) |
00360d46 | 978 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
e6056257 RD |
979 | return val |
980 | def SetBitmap(self, *_args, **_kwargs): | |
d84a9306 | 981 | val = controlsc.wxStaticBitmap_SetBitmap(self, *_args, **_kwargs) |
e6056257 RD |
982 | return val |
983 | def SetIcon(self, *_args, **_kwargs): | |
d84a9306 | 984 | val = controlsc.wxStaticBitmap_SetIcon(self, *_args, **_kwargs) |
e6056257 RD |
985 | return val |
986 | def __repr__(self): | |
d84a9306 | 987 | return "<%s.%s instance; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
988 | class wxStaticBitmap(wxStaticBitmapPtr): |
989 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 990 | self.this = controlsc.new_wxStaticBitmap(*_args,**_kwargs) |
e6056257 RD |
991 | self.thisown = 1 |
992 | self._setOORInfo(self) | |
993 | ||
994 | ||
995 | ||
996 | def wxPreStaticBitmap(*_args,**_kwargs): | |
d84a9306 | 997 | val = wxStaticBitmapPtr(controlsc.new_wxPreStaticBitmap(*_args,**_kwargs)) |
e6056257 RD |
998 | val.thisown = 1 |
999 | val._setOORInfo(val) | |
1000 | return val | |
1001 | ||
1002 | ||
1003 | class wxRadioBoxPtr(wxControlPtr): | |
1004 | def __init__(self,this): | |
1005 | self.this = this | |
1006 | self.thisown = 0 | |
1007 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 1008 | val = controlsc.wxRadioBox_Create(self, *_args, **_kwargs) |
e6056257 RD |
1009 | return val |
1010 | def Enable(self, *_args, **_kwargs): | |
d84a9306 | 1011 | val = controlsc.wxRadioBox_Enable(self, *_args, **_kwargs) |
e6056257 RD |
1012 | return val |
1013 | def EnableItem(self, *_args, **_kwargs): | |
d84a9306 | 1014 | val = controlsc.wxRadioBox_EnableItem(self, *_args, **_kwargs) |
e6056257 RD |
1015 | return val |
1016 | def FindString(self, *_args, **_kwargs): | |
d84a9306 | 1017 | val = controlsc.wxRadioBox_FindString(self, *_args, **_kwargs) |
e6056257 RD |
1018 | return val |
1019 | def GetString(self, *_args, **_kwargs): | |
d84a9306 | 1020 | val = controlsc.wxRadioBox_GetString(self, *_args, **_kwargs) |
e6056257 RD |
1021 | return val |
1022 | def SetString(self, *_args, **_kwargs): | |
d84a9306 | 1023 | val = controlsc.wxRadioBox_SetString(self, *_args, **_kwargs) |
e6056257 RD |
1024 | return val |
1025 | def GetColumnCount(self, *_args, **_kwargs): | |
d84a9306 | 1026 | val = controlsc.wxRadioBox_GetColumnCount(self, *_args, **_kwargs) |
e6056257 RD |
1027 | return val |
1028 | def GetRowCount(self, *_args, **_kwargs): | |
d84a9306 | 1029 | val = controlsc.wxRadioBox_GetRowCount(self, *_args, **_kwargs) |
e6056257 | 1030 | return val |
7108497a | 1031 | def GetNextItem(self, *_args, **_kwargs): |
d84a9306 | 1032 | val = controlsc.wxRadioBox_GetNextItem(self, *_args, **_kwargs) |
7108497a | 1033 | return val |
e6056257 | 1034 | def GetSelection(self, *_args, **_kwargs): |
d84a9306 | 1035 | val = controlsc.wxRadioBox_GetSelection(self, *_args, **_kwargs) |
e6056257 RD |
1036 | return val |
1037 | def GetStringSelection(self, *_args, **_kwargs): | |
d84a9306 | 1038 | val = controlsc.wxRadioBox_GetStringSelection(self, *_args, **_kwargs) |
e6056257 RD |
1039 | return val |
1040 | def GetCount(self, *_args, **_kwargs): | |
d84a9306 | 1041 | val = controlsc.wxRadioBox_GetCount(self, *_args, **_kwargs) |
e6056257 RD |
1042 | return val |
1043 | def SetSelection(self, *_args, **_kwargs): | |
d84a9306 | 1044 | val = controlsc.wxRadioBox_SetSelection(self, *_args, **_kwargs) |
e6056257 RD |
1045 | return val |
1046 | def SetStringSelection(self, *_args, **_kwargs): | |
d84a9306 | 1047 | val = controlsc.wxRadioBox_SetStringSelection(self, *_args, **_kwargs) |
e6056257 RD |
1048 | return val |
1049 | def Show(self, *_args, **_kwargs): | |
d84a9306 | 1050 | val = controlsc.wxRadioBox_Show(self, *_args, **_kwargs) |
e6056257 RD |
1051 | return val |
1052 | def ShowItem(self, *_args, **_kwargs): | |
d84a9306 | 1053 | val = controlsc.wxRadioBox_ShowItem(self, *_args, **_kwargs) |
e6056257 RD |
1054 | return val |
1055 | def __repr__(self): | |
d84a9306 | 1056 | return "<%s.%s instance; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
1057 | |
1058 | GetItemLabel = GetString | |
1059 | SetItemLabel = SetString | |
1060 | ||
1061 | Number = GetCount | |
1062 | class wxRadioBox(wxRadioBoxPtr): | |
1063 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 1064 | self.this = controlsc.new_wxRadioBox(*_args,**_kwargs) |
e6056257 RD |
1065 | self.thisown = 1 |
1066 | self._setOORInfo(self) | |
1067 | ||
1068 | ||
1069 | ||
1070 | def wxPreRadioBox(*_args,**_kwargs): | |
d84a9306 | 1071 | val = wxRadioBoxPtr(controlsc.new_wxPreRadioBox(*_args,**_kwargs)) |
e6056257 RD |
1072 | val.thisown = 1 |
1073 | val._setOORInfo(val) | |
1074 | return val | |
1075 | ||
1076 | ||
1077 | class wxRadioButtonPtr(wxControlPtr): | |
1078 | def __init__(self,this): | |
1079 | self.this = this | |
1080 | self.thisown = 0 | |
1081 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 1082 | val = controlsc.wxRadioButton_Create(self, *_args, **_kwargs) |
e6056257 RD |
1083 | return val |
1084 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 1085 | val = controlsc.wxRadioButton_GetValue(self, *_args, **_kwargs) |
e6056257 RD |
1086 | return val |
1087 | def SetValue(self, *_args, **_kwargs): | |
d84a9306 | 1088 | val = controlsc.wxRadioButton_SetValue(self, *_args, **_kwargs) |
e6056257 RD |
1089 | return val |
1090 | def __repr__(self): | |
d84a9306 | 1091 | return "<%s.%s instance; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
1092 | class wxRadioButton(wxRadioButtonPtr): |
1093 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 1094 | self.this = controlsc.new_wxRadioButton(*_args,**_kwargs) |
e6056257 RD |
1095 | self.thisown = 1 |
1096 | self._setOORInfo(self) | |
1097 | ||
1098 | ||
1099 | ||
1100 | def wxPreRadioButton(*_args,**_kwargs): | |
d84a9306 | 1101 | val = wxRadioButtonPtr(controlsc.new_wxPreRadioButton(*_args,**_kwargs)) |
e6056257 RD |
1102 | val.thisown = 1 |
1103 | val._setOORInfo(val) | |
1104 | return val | |
1105 | ||
1106 | ||
1107 | class wxSliderPtr(wxControlPtr): | |
1108 | def __init__(self,this): | |
1109 | self.this = this | |
1110 | self.thisown = 0 | |
1111 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 1112 | val = controlsc.wxSlider_Create(self, *_args, **_kwargs) |
e6056257 RD |
1113 | return val |
1114 | def ClearSel(self, *_args, **_kwargs): | |
d84a9306 | 1115 | val = controlsc.wxSlider_ClearSel(self, *_args, **_kwargs) |
e6056257 RD |
1116 | return val |
1117 | def ClearTicks(self, *_args, **_kwargs): | |
d84a9306 | 1118 | val = controlsc.wxSlider_ClearTicks(self, *_args, **_kwargs) |
e6056257 RD |
1119 | return val |
1120 | def GetLineSize(self, *_args, **_kwargs): | |
d84a9306 | 1121 | val = controlsc.wxSlider_GetLineSize(self, *_args, **_kwargs) |
e6056257 RD |
1122 | return val |
1123 | def GetMax(self, *_args, **_kwargs): | |
d84a9306 | 1124 | val = controlsc.wxSlider_GetMax(self, *_args, **_kwargs) |
e6056257 RD |
1125 | return val |
1126 | def GetMin(self, *_args, **_kwargs): | |
d84a9306 | 1127 | val = controlsc.wxSlider_GetMin(self, *_args, **_kwargs) |
e6056257 RD |
1128 | return val |
1129 | def GetPageSize(self, *_args, **_kwargs): | |
d84a9306 | 1130 | val = controlsc.wxSlider_GetPageSize(self, *_args, **_kwargs) |
e6056257 RD |
1131 | return val |
1132 | def GetSelEnd(self, *_args, **_kwargs): | |
d84a9306 | 1133 | val = controlsc.wxSlider_GetSelEnd(self, *_args, **_kwargs) |
e6056257 RD |
1134 | return val |
1135 | def GetSelStart(self, *_args, **_kwargs): | |
d84a9306 | 1136 | val = controlsc.wxSlider_GetSelStart(self, *_args, **_kwargs) |
e6056257 RD |
1137 | return val |
1138 | def GetThumbLength(self, *_args, **_kwargs): | |
d84a9306 | 1139 | val = controlsc.wxSlider_GetThumbLength(self, *_args, **_kwargs) |
e6056257 RD |
1140 | return val |
1141 | def GetTickFreq(self, *_args, **_kwargs): | |
d84a9306 | 1142 | val = controlsc.wxSlider_GetTickFreq(self, *_args, **_kwargs) |
e6056257 RD |
1143 | return val |
1144 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 1145 | val = controlsc.wxSlider_GetValue(self, *_args, **_kwargs) |
e6056257 RD |
1146 | return val |
1147 | def SetRange(self, *_args, **_kwargs): | |
d84a9306 | 1148 | val = controlsc.wxSlider_SetRange(self, *_args, **_kwargs) |
e6056257 RD |
1149 | return val |
1150 | def SetTickFreq(self, *_args, **_kwargs): | |
d84a9306 | 1151 | val = controlsc.wxSlider_SetTickFreq(self, *_args, **_kwargs) |
e6056257 RD |
1152 | return val |
1153 | def SetLineSize(self, *_args, **_kwargs): | |
d84a9306 | 1154 | val = controlsc.wxSlider_SetLineSize(self, *_args, **_kwargs) |
e6056257 RD |
1155 | return val |
1156 | def SetPageSize(self, *_args, **_kwargs): | |
d84a9306 | 1157 | val = controlsc.wxSlider_SetPageSize(self, *_args, **_kwargs) |
e6056257 RD |
1158 | return val |
1159 | def SetSelection(self, *_args, **_kwargs): | |
d84a9306 | 1160 | val = controlsc.wxSlider_SetSelection(self, *_args, **_kwargs) |
e6056257 RD |
1161 | return val |
1162 | def SetThumbLength(self, *_args, **_kwargs): | |
d84a9306 | 1163 | val = controlsc.wxSlider_SetThumbLength(self, *_args, **_kwargs) |
e6056257 RD |
1164 | return val |
1165 | def SetTick(self, *_args, **_kwargs): | |
d84a9306 | 1166 | val = controlsc.wxSlider_SetTick(self, *_args, **_kwargs) |
e6056257 RD |
1167 | return val |
1168 | def SetValue(self, *_args, **_kwargs): | |
d84a9306 | 1169 | val = controlsc.wxSlider_SetValue(self, *_args, **_kwargs) |
e6056257 RD |
1170 | return val |
1171 | def __repr__(self): | |
d84a9306 | 1172 | return "<%s.%s instance; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
1173 | class wxSlider(wxSliderPtr): |
1174 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 1175 | self.this = controlsc.new_wxSlider(*_args,**_kwargs) |
e6056257 RD |
1176 | self.thisown = 1 |
1177 | self._setOORInfo(self) | |
1178 | ||
1179 | ||
1180 | ||
1181 | def wxPreSlider(*_args,**_kwargs): | |
d84a9306 | 1182 | val = wxSliderPtr(controlsc.new_wxPreSlider(*_args,**_kwargs)) |
e6056257 RD |
1183 | val.thisown = 1 |
1184 | val._setOORInfo(val) | |
1185 | return val | |
1186 | ||
1187 | ||
1188 | class wxSpinCtrlPtr(wxSpinButtonPtr): | |
1189 | def __init__(self,this): | |
1190 | self.this = this | |
1191 | self.thisown = 0 | |
1192 | def Create(self, *_args, **_kwargs): | |
d84a9306 | 1193 | val = controlsc.wxSpinCtrl_Create(self, *_args, **_kwargs) |
e6056257 RD |
1194 | return val |
1195 | def GetMax(self, *_args, **_kwargs): | |
d84a9306 | 1196 | val = controlsc.wxSpinCtrl_GetMax(self, *_args, **_kwargs) |
e6056257 RD |
1197 | return val |
1198 | def GetMin(self, *_args, **_kwargs): | |
d84a9306 | 1199 | val = controlsc.wxSpinCtrl_GetMin(self, *_args, **_kwargs) |
e6056257 RD |
1200 | return val |
1201 | def GetValue(self, *_args, **_kwargs): | |
d84a9306 | 1202 | val = controlsc.wxSpinCtrl_GetValue(self, *_args, **_kwargs) |
e6056257 RD |
1203 | return val |
1204 | def SetRange(self, *_args, **_kwargs): | |
d84a9306 | 1205 | val = controlsc.wxSpinCtrl_SetRange(self, *_args, **_kwargs) |
e6056257 RD |
1206 | return val |
1207 | def SetValue(self, *_args, **_kwargs): | |
d84a9306 RD |
1208 | val = controlsc.wxSpinCtrl_SetValue(self, *_args, **_kwargs) |
1209 | return val | |
1210 | def SetSelection(self, *_args, **_kwargs): | |
1211 | val = controlsc.wxSpinCtrl_SetSelection(self, *_args, **_kwargs) | |
e6056257 RD |
1212 | return val |
1213 | def __repr__(self): | |
d84a9306 | 1214 | return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
e6056257 RD |
1215 | class wxSpinCtrl(wxSpinCtrlPtr): |
1216 | def __init__(self,*_args,**_kwargs): | |
d84a9306 | 1217 | self.this = controlsc.new_wxSpinCtrl(*_args,**_kwargs) |
e6056257 RD |
1218 | self.thisown = 1 |
1219 | self._setOORInfo(self) | |
1220 | ||
1221 | ||
1222 | ||
1223 | def wxPreSpinCtrl(*_args,**_kwargs): | |
d84a9306 | 1224 | val = wxSpinCtrlPtr(controlsc.new_wxPreSpinCtrl(*_args,**_kwargs)) |
e6056257 RD |
1225 | val.thisown = 1 |
1226 | val._setOORInfo(val) | |
1227 | return val | |
1228 | ||
1229 | ||
1230 | ||
1231 | ||
1232 | #-------------- FUNCTION WRAPPERS ------------------ | |
1233 | ||
1234 | def wxButton_GetDefaultSize(*_args, **_kwargs): | |
d84a9306 | 1235 | val = controlsc.wxButton_GetDefaultSize(*_args,**_kwargs) |
e6056257 RD |
1236 | if val: val = wxSizePtr(val); val.thisown = 1 |
1237 | return val | |
1238 | ||
dbd3685c | 1239 | def wxTextAttr_Combine(*_args, **_kwargs): |
d84a9306 | 1240 | val = controlsc.wxTextAttr_Combine(*_args,**_kwargs) |
dbd3685c RD |
1241 | if val: val = wxTextAttrPtr(val); val.thisown = 1 |
1242 | return val | |
1243 | ||
e6056257 RD |
1244 | |
1245 | ||
1246 | #-------------- VARIABLE WRAPPERS ------------------ | |
1247 | ||
1248 | cvar = controlsc.cvar | |
1249 | wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator) | |
b7d681eb RD |
1250 | wxCHK_2STATE = controlsc.wxCHK_2STATE |
1251 | wxCHK_3STATE = controlsc.wxCHK_3STATE | |
1252 | wxCHK_ALLOW_3RD_STATE_FOR_USER = controlsc.wxCHK_ALLOW_3RD_STATE_FOR_USER | |
1253 | wxCHK_UNCHECKED = controlsc.wxCHK_UNCHECKED | |
1254 | wxCHK_CHECKED = controlsc.wxCHK_CHECKED | |
1255 | wxCHK_UNDETERMINED = controlsc.wxCHK_UNDETERMINED | |
d84a9306 RD |
1256 | wxTE_NO_VSCROLL = controlsc.wxTE_NO_VSCROLL |
1257 | wxTE_AUTO_SCROLL = controlsc.wxTE_AUTO_SCROLL | |
1258 | wxTE_READONLY = controlsc.wxTE_READONLY | |
1259 | wxTE_MULTILINE = controlsc.wxTE_MULTILINE | |
1260 | wxTE_PROCESS_TAB = controlsc.wxTE_PROCESS_TAB | |
1261 | wxTE_LEFT = controlsc.wxTE_LEFT | |
1262 | wxTE_CENTER = controlsc.wxTE_CENTER | |
1263 | wxTE_RIGHT = controlsc.wxTE_RIGHT | |
1264 | wxTE_CENTRE = controlsc.wxTE_CENTRE | |
1265 | wxTE_RICH = controlsc.wxTE_RICH | |
1266 | wxTE_PROCESS_ENTER = controlsc.wxTE_PROCESS_ENTER | |
1267 | wxTE_PASSWORD = controlsc.wxTE_PASSWORD | |
1268 | wxTE_AUTO_URL = controlsc.wxTE_AUTO_URL | |
1269 | wxTE_NOHIDESEL = controlsc.wxTE_NOHIDESEL | |
1270 | wxTE_DONTWRAP = controlsc.wxTE_DONTWRAP | |
1271 | wxTE_LINEWRAP = controlsc.wxTE_LINEWRAP | |
1272 | wxTE_WORDWRAP = controlsc.wxTE_WORDWRAP | |
1273 | wxTE_RICH2 = controlsc.wxTE_RICH2 | |
1274 | wxTEXT_ATTR_TEXT_COLOUR = controlsc.wxTEXT_ATTR_TEXT_COLOUR | |
1275 | wxTEXT_ATTR_BACKGROUND_COLOUR = controlsc.wxTEXT_ATTR_BACKGROUND_COLOUR | |
1276 | wxTEXT_ATTR_FONT_FACE = controlsc.wxTEXT_ATTR_FONT_FACE | |
1277 | wxTEXT_ATTR_FONT_SIZE = controlsc.wxTEXT_ATTR_FONT_SIZE | |
1278 | wxTEXT_ATTR_FONT_WEIGHT = controlsc.wxTEXT_ATTR_FONT_WEIGHT | |
1279 | wxTEXT_ATTR_FONT_ITALIC = controlsc.wxTEXT_ATTR_FONT_ITALIC | |
1280 | wxTEXT_ATTR_FONT_UNDERLINE = controlsc.wxTEXT_ATTR_FONT_UNDERLINE | |
1281 | wxTEXT_ATTR_FONT = controlsc.wxTEXT_ATTR_FONT | |
1282 | wxTEXT_ATTR_ALIGNMENT = controlsc.wxTEXT_ATTR_ALIGNMENT | |
1283 | wxTEXT_ATTR_LEFT_INDENT = controlsc.wxTEXT_ATTR_LEFT_INDENT | |
1284 | wxTEXT_ATTR_RIGHT_INDENT = controlsc.wxTEXT_ATTR_RIGHT_INDENT | |
1285 | wxTEXT_ATTR_TABS = controlsc.wxTEXT_ATTR_TABS | |
1286 | wxTEXT_ALIGNMENT_DEFAULT = controlsc.wxTEXT_ALIGNMENT_DEFAULT | |
1287 | wxTEXT_ALIGNMENT_LEFT = controlsc.wxTEXT_ALIGNMENT_LEFT | |
1288 | wxTEXT_ALIGNMENT_CENTRE = controlsc.wxTEXT_ALIGNMENT_CENTRE | |
1289 | wxTEXT_ALIGNMENT_CENTER = controlsc.wxTEXT_ALIGNMENT_CENTER | |
1290 | wxTEXT_ALIGNMENT_RIGHT = controlsc.wxTEXT_ALIGNMENT_RIGHT | |
1291 | wxTEXT_ALIGNMENT_JUSTIFIED = controlsc.wxTEXT_ALIGNMENT_JUSTIFIED |