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