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