]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/controls.py
Version 0.4 of wxPython for MSW.
[wxWidgets.git] / utils / 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 events import *
11 import wxp
12 class wxControlPtr(wxWindowPtr):
13 def __init__(self,this):
14 self.this = this
15 self.thisown = 0
16 def Command(self,arg0):
17 val = controlsc.wxControl_Command(self.this,arg0.this)
18 return val
19 def GetLabel(self):
20 val = controlsc.wxControl_GetLabel(self.this)
21 return val
22 def SetLabel(self,arg0):
23 val = controlsc.wxControl_SetLabel(self.this,arg0)
24 return val
25 def __repr__(self):
26 return "<C wxControl instance>"
27 class wxControl(wxControlPtr):
28 def __init__(self,this):
29 self.this = this
30
31
32
33
34 class wxButtonPtr(wxControlPtr):
35 def __init__(self,this):
36 self.this = this
37 self.thisown = 0
38 def SetDefault(self):
39 val = controlsc.wxButton_SetDefault(self.this)
40 return val
41 def __repr__(self):
42 return "<C wxButton instance>"
43 class wxButton(wxButtonPtr):
44 def __init__(self,arg0,arg1,arg2,*args) :
45 argl = map(None,args)
46 try: argl[0] = argl[0].this
47 except: pass
48 try: argl[1] = argl[1].this
49 except: pass
50 args = tuple(argl)
51 self.this = apply(controlsc.new_wxButton,(arg0.this,arg1,arg2,)+args)
52 self.thisown = 1
53 wxp._StdWindowCallbacks(self)
54
55
56
57
58 class wxBitmapButtonPtr(wxButtonPtr):
59 def __init__(self,this):
60 self.this = this
61 self.thisown = 0
62 def GetBitmapLabel(self):
63 val = controlsc.wxBitmapButton_GetBitmapLabel(self.this)
64 val = wxBitmapPtr(val)
65 return val
66 def GetBitmapDisabled(self):
67 val = controlsc.wxBitmapButton_GetBitmapDisabled(self.this)
68 val = wxBitmapPtr(val)
69 return val
70 def GetBitmapFocus(self):
71 val = controlsc.wxBitmapButton_GetBitmapFocus(self.this)
72 val = wxBitmapPtr(val)
73 return val
74 def GetBitmapSelected(self):
75 val = controlsc.wxBitmapButton_GetBitmapSelected(self.this)
76 val = wxBitmapPtr(val)
77 return val
78 def SetBitmapDisabled(self,arg0):
79 val = controlsc.wxBitmapButton_SetBitmapDisabled(self.this,arg0.this)
80 return val
81 def SetBitmapFocus(self,arg0):
82 val = controlsc.wxBitmapButton_SetBitmapFocus(self.this,arg0.this)
83 return val
84 def SetBitmapSelected(self,arg0):
85 val = controlsc.wxBitmapButton_SetBitmapSelected(self.this,arg0.this)
86 return val
87 def SetBitmapLabel(self,arg0):
88 val = controlsc.wxBitmapButton_SetBitmapLabel(self.this,arg0.this)
89 return val
90 def __repr__(self):
91 return "<C wxBitmapButton instance>"
92 class wxBitmapButton(wxBitmapButtonPtr):
93 def __init__(self,arg0,arg1,arg2,*args) :
94 argl = map(None,args)
95 try: argl[0] = argl[0].this
96 except: pass
97 try: argl[1] = argl[1].this
98 except: pass
99 args = tuple(argl)
100 self.this = apply(controlsc.new_wxBitmapButton,(arg0.this,arg1,arg2.this,)+args)
101 self.thisown = 1
102 wxp._StdWindowCallbacks(self)
103
104
105
106
107 class wxCheckBoxPtr(wxControlPtr):
108 def __init__(self,this):
109 self.this = this
110 self.thisown = 0
111 def GetValue(self):
112 val = controlsc.wxCheckBox_GetValue(self.this)
113 return val
114 def SetValue(self,arg0):
115 val = controlsc.wxCheckBox_SetValue(self.this,arg0)
116 return val
117 def __repr__(self):
118 return "<C wxCheckBox instance>"
119 class wxCheckBox(wxCheckBoxPtr):
120 def __init__(self,arg0,arg1,arg2,*args) :
121 argl = map(None,args)
122 try: argl[0] = argl[0].this
123 except: pass
124 try: argl[1] = argl[1].this
125 except: pass
126 args = tuple(argl)
127 self.this = apply(controlsc.new_wxCheckBox,(arg0.this,arg1,arg2,)+args)
128 self.thisown = 1
129 wxp._StdWindowCallbacks(self)
130
131
132
133
134 class wxChoicePtr(wxControlPtr):
135 def __init__(self,this):
136 self.this = this
137 self.thisown = 0
138 def Append(self,arg0):
139 val = controlsc.wxChoice_Append(self.this,arg0)
140 return val
141 def Clear(self):
142 val = controlsc.wxChoice_Clear(self.this)
143 return val
144 def FindString(self,arg0):
145 val = controlsc.wxChoice_FindString(self.this,arg0)
146 return val
147 def GetColumns(self):
148 val = controlsc.wxChoice_GetColumns(self.this)
149 return val
150 def GetSelection(self):
151 val = controlsc.wxChoice_GetSelection(self.this)
152 return val
153 def GetString(self,arg0):
154 val = controlsc.wxChoice_GetString(self.this,arg0)
155 return val
156 def GetStringSelection(self):
157 val = controlsc.wxChoice_GetStringSelection(self.this)
158 return val
159 def Number(self):
160 val = controlsc.wxChoice_Number(self.this)
161 return val
162 def SetColumns(self,*args):
163 val = apply(controlsc.wxChoice_SetColumns,(self.this,)+args)
164 return val
165 def SetSelection(self,arg0):
166 val = controlsc.wxChoice_SetSelection(self.this,arg0)
167 return val
168 def SetStringSelection(self,arg0):
169 val = controlsc.wxChoice_SetStringSelection(self.this,arg0)
170 return val
171 def __repr__(self):
172 return "<C wxChoice instance>"
173 class wxChoice(wxChoicePtr):
174 def __init__(self,arg0,arg1,*args) :
175 argl = map(None,args)
176 try: argl[0] = argl[0].this
177 except: pass
178 try: argl[1] = argl[1].this
179 except: pass
180 args = tuple(argl)
181 self.this = apply(controlsc.new_wxChoice,(arg0.this,arg1,)+args)
182 self.thisown = 1
183 wxp._StdWindowCallbacks(self)
184
185
186
187
188 class wxComboBoxPtr(wxControlPtr):
189 def __init__(self,this):
190 self.this = this
191 self.thisown = 0
192 def Append(self,arg0):
193 val = controlsc.wxComboBox_Append(self.this,arg0)
194 return val
195 def Clear(self):
196 val = controlsc.wxComboBox_Clear(self.this)
197 return val
198 def Copy(self):
199 val = controlsc.wxComboBox_Copy(self.this)
200 return val
201 def Cut(self):
202 val = controlsc.wxComboBox_Cut(self.this)
203 return val
204 def Delete(self,arg0):
205 val = controlsc.wxComboBox_Delete(self.this,arg0)
206 return val
207 def FindString(self,arg0):
208 val = controlsc.wxComboBox_FindString(self.this,arg0)
209 return val
210 def GetInsertionPoint(self):
211 val = controlsc.wxComboBox_GetInsertionPoint(self.this)
212 return val
213 def GetLastPosition(self):
214 val = controlsc.wxComboBox_GetLastPosition(self.this)
215 return val
216 def GetSelection(self):
217 val = controlsc.wxComboBox_GetSelection(self.this)
218 return val
219 def GetString(self,arg0):
220 val = controlsc.wxComboBox_GetString(self.this,arg0)
221 return val
222 def GetStringSelection(self):
223 val = controlsc.wxComboBox_GetStringSelection(self.this)
224 return val
225 def GetValue(self):
226 val = controlsc.wxComboBox_GetValue(self.this)
227 return val
228 def Number(self):
229 val = controlsc.wxComboBox_Number(self.this)
230 return val
231 def Paste(self):
232 val = controlsc.wxComboBox_Paste(self.this)
233 return val
234 def Replace(self,arg0,arg1,arg2):
235 val = controlsc.wxComboBox_Replace(self.this,arg0,arg1,arg2)
236 return val
237 def Remove(self,arg0,arg1):
238 val = controlsc.wxComboBox_Remove(self.this,arg0,arg1)
239 return val
240 def SetInsertionPoint(self,arg0):
241 val = controlsc.wxComboBox_SetInsertionPoint(self.this,arg0)
242 return val
243 def SetInsertionPointEnd(self):
244 val = controlsc.wxComboBox_SetInsertionPointEnd(self.this)
245 return val
246 def SetSelection(self,arg0,*args):
247 val = apply(controlsc.wxComboBox_SetSelection,(self.this,arg0,)+args)
248 return val
249 def SetMark(self,arg0,arg1):
250 val = controlsc.wxComboBox_SetMark(self.this,arg0,arg1)
251 return val
252 def SetValue(self,arg0):
253 val = controlsc.wxComboBox_SetValue(self.this,arg0)
254 return val
255 def __repr__(self):
256 return "<C wxComboBox instance>"
257 class wxComboBox(wxComboBoxPtr):
258 def __init__(self,arg0,arg1,*args) :
259 argl = map(None,args)
260 try: argl[1] = argl[1].this
261 except: pass
262 try: argl[2] = argl[2].this
263 except: pass
264 args = tuple(argl)
265 self.this = apply(controlsc.new_wxComboBox,(arg0.this,arg1,)+args)
266 self.thisown = 1
267 wxp._StdWindowCallbacks(self)
268
269
270
271
272 class wxGaugePtr(wxControlPtr):
273 def __init__(self,this):
274 self.this = this
275 self.thisown = 0
276 def GetBezelFace(self):
277 val = controlsc.wxGauge_GetBezelFace(self.this)
278 return val
279 def GetRange(self):
280 val = controlsc.wxGauge_GetRange(self.this)
281 return val
282 def GetShadowWidth(self):
283 val = controlsc.wxGauge_GetShadowWidth(self.this)
284 return val
285 def GetValue(self):
286 val = controlsc.wxGauge_GetValue(self.this)
287 return val
288 def SetBezelFace(self,arg0):
289 val = controlsc.wxGauge_SetBezelFace(self.this,arg0)
290 return val
291 def SetRange(self,arg0):
292 val = controlsc.wxGauge_SetRange(self.this,arg0)
293 return val
294 def SetShadowWidth(self,arg0):
295 val = controlsc.wxGauge_SetShadowWidth(self.this,arg0)
296 return val
297 def SetValue(self,arg0):
298 val = controlsc.wxGauge_SetValue(self.this,arg0)
299 return val
300 def __repr__(self):
301 return "<C wxGauge instance>"
302 class wxGauge(wxGaugePtr):
303 def __init__(self,arg0,arg1,arg2,*args) :
304 argl = map(None,args)
305 try: argl[0] = argl[0].this
306 except: pass
307 try: argl[1] = argl[1].this
308 except: pass
309 args = tuple(argl)
310 self.this = apply(controlsc.new_wxGauge,(arg0.this,arg1,arg2,)+args)
311 self.thisown = 1
312 wxp._StdWindowCallbacks(self)
313
314
315
316
317 class wxStaticBoxPtr(wxControlPtr):
318 def __init__(self,this):
319 self.this = this
320 self.thisown = 0
321 def __repr__(self):
322 return "<C wxStaticBox instance>"
323 class wxStaticBox(wxStaticBoxPtr):
324 def __init__(self,arg0,arg1,arg2,*args) :
325 argl = map(None,args)
326 try: argl[0] = argl[0].this
327 except: pass
328 try: argl[1] = argl[1].this
329 except: pass
330 args = tuple(argl)
331 self.this = apply(controlsc.new_wxStaticBox,(arg0.this,arg1,arg2,)+args)
332 self.thisown = 1
333
334
335
336
337 class wxStaticTextPtr(wxControlPtr):
338 def __init__(self,this):
339 self.this = this
340 self.thisown = 0
341 def GetLabel(self):
342 val = controlsc.wxStaticText_GetLabel(self.this)
343 return val
344 def SetLabel(self,arg0):
345 val = controlsc.wxStaticText_SetLabel(self.this,arg0)
346 return val
347 def __repr__(self):
348 return "<C wxStaticText instance>"
349 class wxStaticText(wxStaticTextPtr):
350 def __init__(self,arg0,arg1,arg2,*args) :
351 argl = map(None,args)
352 try: argl[0] = argl[0].this
353 except: pass
354 try: argl[1] = argl[1].this
355 except: pass
356 args = tuple(argl)
357 self.this = apply(controlsc.new_wxStaticText,(arg0.this,arg1,arg2,)+args)
358 self.thisown = 1
359 wxp._StdWindowCallbacks(self)
360
361
362
363
364 class wxListBoxPtr(wxControlPtr):
365 def __init__(self,this):
366 self.this = this
367 self.thisown = 0
368 def Append(self,arg0):
369 val = controlsc.wxListBox_Append(self.this,arg0)
370 return val
371 def Clear(self):
372 val = controlsc.wxListBox_Clear(self.this)
373 return val
374 def Delete(self,arg0):
375 val = controlsc.wxListBox_Delete(self.this,arg0)
376 return val
377 def Deselect(self,arg0):
378 val = controlsc.wxListBox_Deselect(self.this,arg0)
379 return val
380 def FindString(self,arg0):
381 val = controlsc.wxListBox_FindString(self.this,arg0)
382 return val
383 def GetSelection(self):
384 val = controlsc.wxListBox_GetSelection(self.this)
385 return val
386 def GetString(self,arg0):
387 val = controlsc.wxListBox_GetString(self.this,arg0)
388 return val
389 def GetStringSelection(self):
390 val = controlsc.wxListBox_GetStringSelection(self.this)
391 return val
392 def Number(self):
393 val = controlsc.wxListBox_Number(self.this)
394 return val
395 def Selected(self,arg0):
396 val = controlsc.wxListBox_Selected(self.this,arg0)
397 return val
398 def Set(self,arg0,*args):
399 val = apply(controlsc.wxListBox_Set,(self.this,arg0,)+args)
400 return val
401 def SetFirstItem(self,arg0):
402 val = controlsc.wxListBox_SetFirstItem(self.this,arg0)
403 return val
404 def SetFirstItemStr(self,arg0):
405 val = controlsc.wxListBox_SetFirstItemStr(self.this,arg0)
406 return val
407 def SetSelection(self,arg0,*args):
408 val = apply(controlsc.wxListBox_SetSelection,(self.this,arg0,)+args)
409 return val
410 def SetString(self,arg0,arg1):
411 val = controlsc.wxListBox_SetString(self.this,arg0,arg1)
412 return val
413 def SetStringSelection(self,arg0,*args):
414 val = apply(controlsc.wxListBox_SetStringSelection,(self.this,arg0,)+args)
415 return val
416 def __repr__(self):
417 return "<C wxListBox instance>"
418 class wxListBox(wxListBoxPtr):
419 def __init__(self,arg0,arg1,*args) :
420 argl = map(None,args)
421 try: argl[0] = argl[0].this
422 except: pass
423 try: argl[1] = argl[1].this
424 except: pass
425 args = tuple(argl)
426 self.this = apply(controlsc.new_wxListBox,(arg0.this,arg1,)+args)
427 self.thisown = 1
428 wxp._StdWindowCallbacks(self)
429
430
431
432
433 class wxCheckListBoxPtr(wxListBoxPtr):
434 def __init__(self,this):
435 self.this = this
436 self.thisown = 0
437 def IsChecked(self,arg0):
438 val = controlsc.wxCheckListBox_IsChecked(self.this,arg0)
439 return val
440 def Check(self,arg0,*args):
441 val = apply(controlsc.wxCheckListBox_Check,(self.this,arg0,)+args)
442 return val
443 def GetItemHeight(self):
444 val = controlsc.wxCheckListBox_GetItemHeight(self.this)
445 return val
446 def __repr__(self):
447 return "<C wxCheckListBox instance>"
448 class wxCheckListBox(wxCheckListBoxPtr):
449 def __init__(self,arg0,arg1,*args) :
450 argl = map(None,args)
451 try: argl[0] = argl[0].this
452 except: pass
453 try: argl[1] = argl[1].this
454 except: pass
455 args = tuple(argl)
456 self.this = apply(controlsc.new_wxCheckListBox,(arg0.this,arg1,)+args)
457 self.thisown = 1
458 wxp._StdWindowCallbacks(self)
459
460
461
462
463 class wxTextCtrlPtr(wxControlPtr):
464 def __init__(self,this):
465 self.this = this
466 self.thisown = 0
467 def Clear(self):
468 val = controlsc.wxTextCtrl_Clear(self.this)
469 return val
470 def Copy(self):
471 val = controlsc.wxTextCtrl_Copy(self.this)
472 return val
473 def Cut(self):
474 val = controlsc.wxTextCtrl_Cut(self.this)
475 return val
476 def DiscardEdits(self):
477 val = controlsc.wxTextCtrl_DiscardEdits(self.this)
478 return val
479 def GetInsertionPoint(self):
480 val = controlsc.wxTextCtrl_GetInsertionPoint(self.this)
481 return val
482 def GetLastPosition(self):
483 val = controlsc.wxTextCtrl_GetLastPosition(self.this)
484 return val
485 def GetLineLength(self,arg0):
486 val = controlsc.wxTextCtrl_GetLineLength(self.this,arg0)
487 return val
488 def GetLineText(self,arg0):
489 val = controlsc.wxTextCtrl_GetLineText(self.this,arg0)
490 return val
491 def GetNumberOfLines(self):
492 val = controlsc.wxTextCtrl_GetNumberOfLines(self.this)
493 return val
494 def GetValue(self):
495 val = controlsc.wxTextCtrl_GetValue(self.this)
496 return val
497 def IsModified(self):
498 val = controlsc.wxTextCtrl_IsModified(self.this)
499 return val
500 def LoadFile(self,arg0):
501 val = controlsc.wxTextCtrl_LoadFile(self.this,arg0)
502 return val
503 def Paste(self):
504 val = controlsc.wxTextCtrl_Paste(self.this)
505 return val
506 def PositionToXY(self,arg0):
507 val = controlsc.wxTextCtrl_PositionToXY(self.this,arg0)
508 return val
509 def Remove(self,arg0,arg1):
510 val = controlsc.wxTextCtrl_Remove(self.this,arg0,arg1)
511 return val
512 def Replace(self,arg0,arg1,arg2):
513 val = controlsc.wxTextCtrl_Replace(self.this,arg0,arg1,arg2)
514 return val
515 def SaveFile(self,arg0):
516 val = controlsc.wxTextCtrl_SaveFile(self.this,arg0)
517 return val
518 def SetEditable(self,arg0):
519 val = controlsc.wxTextCtrl_SetEditable(self.this,arg0)
520 return val
521 def SetInsertionPoint(self,arg0):
522 val = controlsc.wxTextCtrl_SetInsertionPoint(self.this,arg0)
523 return val
524 def SetInsertionPointEnd(self):
525 val = controlsc.wxTextCtrl_SetInsertionPointEnd(self.this)
526 return val
527 def SetSelection(self,arg0,arg1):
528 val = controlsc.wxTextCtrl_SetSelection(self.this,arg0,arg1)
529 return val
530 def SetValue(self,arg0):
531 val = controlsc.wxTextCtrl_SetValue(self.this,arg0)
532 return val
533 def ShowPosition(self,arg0):
534 val = controlsc.wxTextCtrl_ShowPosition(self.this,arg0)
535 return val
536 def WriteText(self,arg0):
537 val = controlsc.wxTextCtrl_WriteText(self.this,arg0)
538 return val
539 def XYToPosition(self,arg0,arg1):
540 val = controlsc.wxTextCtrl_XYToPosition(self.this,arg0,arg1)
541 return val
542 def __repr__(self):
543 return "<C wxTextCtrl instance>"
544 class wxTextCtrl(wxTextCtrlPtr):
545 def __init__(self,arg0,arg1,*args) :
546 argl = map(None,args)
547 try: argl[1] = argl[1].this
548 except: pass
549 try: argl[2] = argl[2].this
550 except: pass
551 args = tuple(argl)
552 self.this = apply(controlsc.new_wxTextCtrl,(arg0.this,arg1,)+args)
553 self.thisown = 1
554 wxp._StdWindowCallbacks(self)
555
556
557
558
559 class wxScrollBarPtr(wxControlPtr):
560 def __init__(self,this):
561 self.this = this
562 self.thisown = 0
563 def GetRange(self):
564 val = controlsc.wxScrollBar_GetRange(self.this)
565 return val
566 def GetPageSize(self):
567 val = controlsc.wxScrollBar_GetPageSize(self.this)
568 return val
569 def GetPosition(self):
570 val = controlsc.wxScrollBar_GetPosition(self.this)
571 return val
572 def GetThumbSize(self):
573 val = controlsc.wxScrollBar_GetThumbSize(self.this)
574 return val
575 def SetPosition(self,arg0):
576 val = controlsc.wxScrollBar_SetPosition(self.this,arg0)
577 return val
578 def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
579 val = apply(controlsc.wxScrollBar_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
580 return val
581 def __repr__(self):
582 return "<C wxScrollBar instance>"
583 class wxScrollBar(wxScrollBarPtr):
584 def __init__(self,arg0,*args) :
585 argl = map(None,args)
586 try: argl[1] = argl[1].this
587 except: pass
588 try: argl[2] = argl[2].this
589 except: pass
590 args = tuple(argl)
591 self.this = apply(controlsc.new_wxScrollBar,(arg0.this,)+args)
592 self.thisown = 1
593 wxp._StdWindowCallbacks(self)
594
595
596
597
598 class wxSpinButtonPtr(wxControlPtr):
599 def __init__(self,this):
600 self.this = this
601 self.thisown = 0
602 def GetMax(self):
603 val = controlsc.wxSpinButton_GetMax(self.this)
604 return val
605 def GetMin(self):
606 val = controlsc.wxSpinButton_GetMin(self.this)
607 return val
608 def GetValue(self):
609 val = controlsc.wxSpinButton_GetValue(self.this)
610 return val
611 def SetRange(self,arg0,arg1):
612 val = controlsc.wxSpinButton_SetRange(self.this,arg0,arg1)
613 return val
614 def SetValue(self,arg0):
615 val = controlsc.wxSpinButton_SetValue(self.this,arg0)
616 return val
617 def __repr__(self):
618 return "<C wxSpinButton instance>"
619 class wxSpinButton(wxSpinButtonPtr):
620 def __init__(self,arg0,*args) :
621 argl = map(None,args)
622 try: argl[1] = argl[1].this
623 except: pass
624 try: argl[2] = argl[2].this
625 except: pass
626 args = tuple(argl)
627 self.this = apply(controlsc.new_wxSpinButton,(arg0.this,)+args)
628 self.thisown = 1
629
630
631
632
633 class wxStaticBitmapPtr(wxControlPtr):
634 def __init__(self,this):
635 self.this = this
636 self.thisown = 0
637 def GetBitmap(self):
638 val = controlsc.wxStaticBitmap_GetBitmap(self.this)
639 val = wxBitmapPtr(val)
640 return val
641 def SetBitmap(self,arg0):
642 val = controlsc.wxStaticBitmap_SetBitmap(self.this,arg0.this)
643 return val
644 def __repr__(self):
645 return "<C wxStaticBitmap instance>"
646 class wxStaticBitmap(wxStaticBitmapPtr):
647 def __init__(self,arg0,arg1,arg2,*args) :
648 argl = map(None,args)
649 try: argl[0] = argl[0].this
650 except: pass
651 try: argl[1] = argl[1].this
652 except: pass
653 args = tuple(argl)
654 self.this = apply(controlsc.new_wxStaticBitmap,(arg0.this,arg1,arg2.this,)+args)
655 self.thisown = 1
656 wxp._StdWindowCallbacks(self)
657
658
659
660
661 class wxRadioBoxPtr(wxControlPtr):
662 def __init__(self,this):
663 self.this = this
664 self.thisown = 0
665 def EnableBox(self,arg0):
666 val = controlsc.wxRadioBox_EnableBox(self.this,arg0)
667 return val
668 def Enable(self,arg0,arg1):
669 val = controlsc.wxRadioBox_Enable(self.this,arg0,arg1)
670 return val
671 def FindString(self,arg0):
672 val = controlsc.wxRadioBox_FindString(self.this,arg0)
673 return val
674 def GetBoxLabel(self):
675 val = controlsc.wxRadioBox_GetBoxLabel(self.this)
676 return val
677 def GetLabel(self,arg0):
678 val = controlsc.wxRadioBox_GetLabel(self.this,arg0)
679 return val
680 def GetSelection(self):
681 val = controlsc.wxRadioBox_GetSelection(self.this)
682 return val
683 def GetString(self,arg0):
684 val = controlsc.wxRadioBox_GetString(self.this,arg0)
685 return val
686 def GetStringSelection(self):
687 val = controlsc.wxRadioBox_GetStringSelection(self.this)
688 return val
689 def Number(self):
690 val = controlsc.wxRadioBox_Number(self.this)
691 return val
692 def SetBoxLabel(self,arg0):
693 val = controlsc.wxRadioBox_SetBoxLabel(self.this,arg0)
694 return val
695 def SetLabel(self,arg0,arg1):
696 val = controlsc.wxRadioBox_SetLabel(self.this,arg0,arg1)
697 return val
698 def SetSelection(self,arg0):
699 val = controlsc.wxRadioBox_SetSelection(self.this,arg0)
700 return val
701 def SetStringSelection(self,arg0):
702 val = controlsc.wxRadioBox_SetStringSelection(self.this,arg0)
703 return val
704 def Show(self,arg0):
705 val = controlsc.wxRadioBox_Show(self.this,arg0)
706 return val
707 def ShowItem(self,arg0,arg1):
708 val = controlsc.wxRadioBox_ShowItem(self.this,arg0,arg1)
709 return val
710 def __repr__(self):
711 return "<C wxRadioBox instance>"
712 class wxRadioBox(wxRadioBoxPtr):
713 def __init__(self,arg0,arg1,arg2,*args) :
714 argl = map(None,args)
715 try: argl[0] = argl[0].this
716 except: pass
717 try: argl[1] = argl[1].this
718 except: pass
719 args = tuple(argl)
720 self.this = apply(controlsc.new_wxRadioBox,(arg0.this,arg1,arg2,)+args)
721 self.thisown = 1
722 wxp._StdWindowCallbacks(self)
723
724
725
726
727 class wxRadioButtonPtr(wxControlPtr):
728 def __init__(self,this):
729 self.this = this
730 self.thisown = 0
731 def GetValue(self):
732 val = controlsc.wxRadioButton_GetValue(self.this)
733 return val
734 def SetValue(self,arg0):
735 val = controlsc.wxRadioButton_SetValue(self.this,arg0)
736 return val
737 def __repr__(self):
738 return "<C wxRadioButton instance>"
739 class wxRadioButton(wxRadioButtonPtr):
740 def __init__(self,arg0,arg1,arg2,*args) :
741 argl = map(None,args)
742 try: argl[0] = argl[0].this
743 except: pass
744 try: argl[1] = argl[1].this
745 except: pass
746 args = tuple(argl)
747 self.this = apply(controlsc.new_wxRadioButton,(arg0.this,arg1,arg2,)+args)
748 self.thisown = 1
749 wxp._StdWindowCallbacks(self)
750
751
752
753
754 class wxSliderPtr(wxControlPtr):
755 def __init__(self,this):
756 self.this = this
757 self.thisown = 0
758 def ClearSel(self):
759 val = controlsc.wxSlider_ClearSel(self.this)
760 return val
761 def ClearTicks(self):
762 val = controlsc.wxSlider_ClearTicks(self.this)
763 return val
764 def GetLineSize(self):
765 val = controlsc.wxSlider_GetLineSize(self.this)
766 return val
767 def GetMax(self):
768 val = controlsc.wxSlider_GetMax(self.this)
769 return val
770 def GetMin(self):
771 val = controlsc.wxSlider_GetMin(self.this)
772 return val
773 def GetPageSize(self):
774 val = controlsc.wxSlider_GetPageSize(self.this)
775 return val
776 def GetSelEnd(self):
777 val = controlsc.wxSlider_GetSelEnd(self.this)
778 return val
779 def GetSelStart(self):
780 val = controlsc.wxSlider_GetSelStart(self.this)
781 return val
782 def GetThumbLength(self):
783 val = controlsc.wxSlider_GetThumbLength(self.this)
784 return val
785 def GetTickFreq(self):
786 val = controlsc.wxSlider_GetTickFreq(self.this)
787 return val
788 def GetValue(self):
789 val = controlsc.wxSlider_GetValue(self.this)
790 return val
791 def SetRange(self,arg0,arg1):
792 val = controlsc.wxSlider_SetRange(self.this,arg0,arg1)
793 return val
794 def SetTickFreq(self,arg0,arg1):
795 val = controlsc.wxSlider_SetTickFreq(self.this,arg0,arg1)
796 return val
797 def SetLineSize(self,arg0):
798 val = controlsc.wxSlider_SetLineSize(self.this,arg0)
799 return val
800 def SetPageSize(self,arg0):
801 val = controlsc.wxSlider_SetPageSize(self.this,arg0)
802 return val
803 def SetSelection(self,arg0,arg1):
804 val = controlsc.wxSlider_SetSelection(self.this,arg0,arg1)
805 return val
806 def SetThumbLength(self,arg0):
807 val = controlsc.wxSlider_SetThumbLength(self.this,arg0)
808 return val
809 def SetTick(self,arg0):
810 val = controlsc.wxSlider_SetTick(self.this,arg0)
811 return val
812 def SetValue(self,arg0):
813 val = controlsc.wxSlider_SetValue(self.this,arg0)
814 return val
815 def __repr__(self):
816 return "<C wxSlider instance>"
817 class wxSlider(wxSliderPtr):
818 def __init__(self,arg0,arg1,arg2,arg3,arg4,*args) :
819 argl = map(None,args)
820 try: argl[0] = argl[0].this
821 except: pass
822 try: argl[1] = argl[1].this
823 except: pass
824 args = tuple(argl)
825 self.this = apply(controlsc.new_wxSlider,(arg0.this,arg1,arg2,arg3,arg4,)+args)
826 self.thisown = 1
827 wxp._StdWindowCallbacks(self)
828
829
830
831
832
833
834 #-------------- FUNCTION WRAPPERS ------------------
835
836
837
838 #-------------- VARIABLE WRAPPERS ------------------
839