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