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