]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls.py
fixes for GetReturnCode/SetReturnCode
[wxWidgets.git] / utils / 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 events import *
11 import wx
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 wx._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 wx._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 wx._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 wx._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 wx._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 wx._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 wx._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 GetSelections(self):
387 val = controlsc.wxListBox_GetSelections(self.this)
388 return val
389 def GetString(self,arg0):
390 val = controlsc.wxListBox_GetString(self.this,arg0)
391 return val
392 def GetStringSelection(self):
393 val = controlsc.wxListBox_GetStringSelection(self.this)
394 return val
395 def Number(self):
396 val = controlsc.wxListBox_Number(self.this)
397 return val
398 def Selected(self,arg0):
399 val = controlsc.wxListBox_Selected(self.this,arg0)
400 return val
401 def Set(self,arg0,*args):
402 val = apply(controlsc.wxListBox_Set,(self.this,arg0,)+args)
403 return val
404 def SetFirstItem(self,arg0):
405 val = controlsc.wxListBox_SetFirstItem(self.this,arg0)
406 return val
407 def SetFirstItemStr(self,arg0):
408 val = controlsc.wxListBox_SetFirstItemStr(self.this,arg0)
409 return val
410 def SetSelection(self,arg0,*args):
411 val = apply(controlsc.wxListBox_SetSelection,(self.this,arg0,)+args)
412 return val
413 def SetString(self,arg0,arg1):
414 val = controlsc.wxListBox_SetString(self.this,arg0,arg1)
415 return val
416 def SetStringSelection(self,arg0,*args):
417 val = apply(controlsc.wxListBox_SetStringSelection,(self.this,arg0,)+args)
418 return val
419 def __repr__(self):
420 return "<C wxListBox instance>"
421 class wxListBox(wxListBoxPtr):
422 def __init__(self,arg0,arg1,*args) :
423 argl = map(None,args)
424 try: argl[0] = argl[0].this
425 except: pass
426 try: argl[1] = argl[1].this
427 except: pass
428 args = tuple(argl)
429 self.this = apply(controlsc.new_wxListBox,(arg0.this,arg1,)+args)
430 self.thisown = 1
431 wx._StdWindowCallbacks(self)
432
433
434
435
436 class wxCheckListBoxPtr(wxListBoxPtr):
437 def __init__(self,this):
438 self.this = this
439 self.thisown = 0
440 def IsChecked(self,arg0):
441 val = controlsc.wxCheckListBox_IsChecked(self.this,arg0)
442 return val
443 def Check(self,arg0,*args):
444 val = apply(controlsc.wxCheckListBox_Check,(self.this,arg0,)+args)
445 return val
446 def GetItemHeight(self):
447 val = controlsc.wxCheckListBox_GetItemHeight(self.this)
448 return val
449 def __repr__(self):
450 return "<C wxCheckListBox instance>"
451 class wxCheckListBox(wxCheckListBoxPtr):
452 def __init__(self,arg0,arg1,*args) :
453 argl = map(None,args)
454 try: argl[0] = argl[0].this
455 except: pass
456 try: argl[1] = argl[1].this
457 except: pass
458 args = tuple(argl)
459 self.this = apply(controlsc.new_wxCheckListBox,(arg0.this,arg1,)+args)
460 self.thisown = 1
461 wx._StdWindowCallbacks(self)
462
463
464
465
466 class wxTextCtrlPtr(wxControlPtr):
467 def __init__(self,this):
468 self.this = this
469 self.thisown = 0
470 def Clear(self):
471 val = controlsc.wxTextCtrl_Clear(self.this)
472 return val
473 def Copy(self):
474 val = controlsc.wxTextCtrl_Copy(self.this)
475 return val
476 def Cut(self):
477 val = controlsc.wxTextCtrl_Cut(self.this)
478 return val
479 def DiscardEdits(self):
480 val = controlsc.wxTextCtrl_DiscardEdits(self.this)
481 return val
482 def GetInsertionPoint(self):
483 val = controlsc.wxTextCtrl_GetInsertionPoint(self.this)
484 return val
485 def GetLastPosition(self):
486 val = controlsc.wxTextCtrl_GetLastPosition(self.this)
487 return val
488 def GetLineLength(self,arg0):
489 val = controlsc.wxTextCtrl_GetLineLength(self.this,arg0)
490 return val
491 def GetLineText(self,arg0):
492 val = controlsc.wxTextCtrl_GetLineText(self.this,arg0)
493 return val
494 def GetNumberOfLines(self):
495 val = controlsc.wxTextCtrl_GetNumberOfLines(self.this)
496 return val
497 def GetValue(self):
498 val = controlsc.wxTextCtrl_GetValue(self.this)
499 return val
500 def IsModified(self):
501 val = controlsc.wxTextCtrl_IsModified(self.this)
502 return val
503 def LoadFile(self,arg0):
504 val = controlsc.wxTextCtrl_LoadFile(self.this,arg0)
505 return val
506 def Paste(self):
507 val = controlsc.wxTextCtrl_Paste(self.this)
508 return val
509 def PositionToXY(self,arg0):
510 val = controlsc.wxTextCtrl_PositionToXY(self.this,arg0)
511 return val
512 def Remove(self,arg0,arg1):
513 val = controlsc.wxTextCtrl_Remove(self.this,arg0,arg1)
514 return val
515 def Replace(self,arg0,arg1,arg2):
516 val = controlsc.wxTextCtrl_Replace(self.this,arg0,arg1,arg2)
517 return val
518 def SaveFile(self,arg0):
519 val = controlsc.wxTextCtrl_SaveFile(self.this,arg0)
520 return val
521 def SetEditable(self,arg0):
522 val = controlsc.wxTextCtrl_SetEditable(self.this,arg0)
523 return val
524 def SetInsertionPoint(self,arg0):
525 val = controlsc.wxTextCtrl_SetInsertionPoint(self.this,arg0)
526 return val
527 def SetInsertionPointEnd(self):
528 val = controlsc.wxTextCtrl_SetInsertionPointEnd(self.this)
529 return val
530 def SetSelection(self,arg0,arg1):
531 val = controlsc.wxTextCtrl_SetSelection(self.this,arg0,arg1)
532 return val
533 def SetValue(self,arg0):
534 val = controlsc.wxTextCtrl_SetValue(self.this,arg0)
535 return val
536 def ShowPosition(self,arg0):
537 val = controlsc.wxTextCtrl_ShowPosition(self.this,arg0)
538 return val
539 def WriteText(self,arg0):
540 val = controlsc.wxTextCtrl_WriteText(self.this,arg0)
541 return val
542 def AppendText(self,arg0):
543 val = controlsc.wxTextCtrl_AppendText(self.this,arg0)
544 return val
545 def XYToPosition(self,arg0,arg1):
546 val = controlsc.wxTextCtrl_XYToPosition(self.this,arg0,arg1)
547 return val
548 def CanCopy(self):
549 val = controlsc.wxTextCtrl_CanCopy(self.this)
550 return val
551 def CanCut(self):
552 val = controlsc.wxTextCtrl_CanCut(self.this)
553 return val
554 def CanPaste(self):
555 val = controlsc.wxTextCtrl_CanPaste(self.this)
556 return val
557 def CanRedo(self):
558 val = controlsc.wxTextCtrl_CanRedo(self.this)
559 return val
560 def CanUndo(self):
561 val = controlsc.wxTextCtrl_CanUndo(self.this)
562 return val
563 def GetSelection(self):
564 val = controlsc.wxTextCtrl_GetSelection(self.this)
565 return val
566 def IsEditable(self):
567 val = controlsc.wxTextCtrl_IsEditable(self.this)
568 return val
569 def __repr__(self):
570 return "<C wxTextCtrl instance>"
571 class wxTextCtrl(wxTextCtrlPtr):
572 def __init__(self,arg0,arg1,*args) :
573 argl = map(None,args)
574 try: argl[1] = argl[1].this
575 except: pass
576 try: argl[2] = argl[2].this
577 except: pass
578 args = tuple(argl)
579 self.this = apply(controlsc.new_wxTextCtrl,(arg0.this,arg1,)+args)
580 self.thisown = 1
581 wx._StdWindowCallbacks(self)
582
583
584
585
586 class wxScrollBarPtr(wxControlPtr):
587 def __init__(self,this):
588 self.this = this
589 self.thisown = 0
590 def GetRange(self):
591 val = controlsc.wxScrollBar_GetRange(self.this)
592 return val
593 def GetPageSize(self):
594 val = controlsc.wxScrollBar_GetPageSize(self.this)
595 return val
596 def GetThumbPosition(self):
597 val = controlsc.wxScrollBar_GetThumbPosition(self.this)
598 return val
599 def GetThumbSize(self):
600 val = controlsc.wxScrollBar_GetThumbSize(self.this)
601 return val
602 def SetThumbPosition(self,arg0):
603 val = controlsc.wxScrollBar_SetThumbPosition(self.this,arg0)
604 return val
605 def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
606 val = apply(controlsc.wxScrollBar_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
607 return val
608 def __repr__(self):
609 return "<C wxScrollBar instance>"
610 class wxScrollBar(wxScrollBarPtr):
611 def __init__(self,arg0,*args) :
612 argl = map(None,args)
613 try: argl[1] = argl[1].this
614 except: pass
615 try: argl[2] = argl[2].this
616 except: pass
617 args = tuple(argl)
618 self.this = apply(controlsc.new_wxScrollBar,(arg0.this,)+args)
619 self.thisown = 1
620 wx._StdWindowCallbacks(self)
621
622
623
624
625 class wxSpinButtonPtr(wxControlPtr):
626 def __init__(self,this):
627 self.this = this
628 self.thisown = 0
629 def GetMax(self):
630 val = controlsc.wxSpinButton_GetMax(self.this)
631 return val
632 def GetMin(self):
633 val = controlsc.wxSpinButton_GetMin(self.this)
634 return val
635 def GetValue(self):
636 val = controlsc.wxSpinButton_GetValue(self.this)
637 return val
638 def SetRange(self,arg0,arg1):
639 val = controlsc.wxSpinButton_SetRange(self.this,arg0,arg1)
640 return val
641 def SetValue(self,arg0):
642 val = controlsc.wxSpinButton_SetValue(self.this,arg0)
643 return val
644 def __repr__(self):
645 return "<C wxSpinButton instance>"
646 class wxSpinButton(wxSpinButtonPtr):
647 def __init__(self,arg0,*args) :
648 argl = map(None,args)
649 try: argl[1] = argl[1].this
650 except: pass
651 try: argl[2] = argl[2].this
652 except: pass
653 args = tuple(argl)
654 self.this = apply(controlsc.new_wxSpinButton,(arg0.this,)+args)
655 self.thisown = 1
656
657
658
659
660 class wxStaticBitmapPtr(wxControlPtr):
661 def __init__(self,this):
662 self.this = this
663 self.thisown = 0
664 def GetBitmap(self):
665 val = controlsc.wxStaticBitmap_GetBitmap(self.this)
666 val = wxBitmapPtr(val)
667 return val
668 def SetBitmap(self,arg0):
669 val = controlsc.wxStaticBitmap_SetBitmap(self.this,arg0.this)
670 return val
671 def __repr__(self):
672 return "<C wxStaticBitmap instance>"
673 class wxStaticBitmap(wxStaticBitmapPtr):
674 def __init__(self,arg0,arg1,arg2,*args) :
675 argl = map(None,args)
676 try: argl[0] = argl[0].this
677 except: pass
678 try: argl[1] = argl[1].this
679 except: pass
680 args = tuple(argl)
681 self.this = apply(controlsc.new_wxStaticBitmap,(arg0.this,arg1,arg2.this,)+args)
682 self.thisown = 1
683 wx._StdWindowCallbacks(self)
684
685
686
687
688 class wxRadioBoxPtr(wxControlPtr):
689 def __init__(self,this):
690 self.this = this
691 self.thisown = 0
692 def Enable(self,arg0):
693 val = controlsc.wxRadioBox_Enable(self.this,arg0)
694 return val
695 def EnableItem(self,arg0,arg1):
696 val = controlsc.wxRadioBox_EnableItem(self.this,arg0,arg1)
697 return val
698 def FindString(self,arg0):
699 val = controlsc.wxRadioBox_FindString(self.this,arg0)
700 return val
701 def GetItemLabel(self,arg0):
702 val = controlsc.wxRadioBox_GetItemLabel(self.this,arg0)
703 return val
704 def GetSelection(self):
705 val = controlsc.wxRadioBox_GetSelection(self.this)
706 return val
707 def GetString(self,arg0):
708 val = controlsc.wxRadioBox_GetString(self.this,arg0)
709 return val
710 def GetStringSelection(self):
711 val = controlsc.wxRadioBox_GetStringSelection(self.this)
712 return val
713 def Number(self):
714 val = controlsc.wxRadioBox_Number(self.this)
715 return val
716 def SetLabel(self,arg0):
717 val = controlsc.wxRadioBox_SetLabel(self.this,arg0)
718 return val
719 def SetItemLabel(self,arg0,arg1):
720 val = controlsc.wxRadioBox_SetItemLabel(self.this,arg0,arg1)
721 return val
722 def SetSelection(self,arg0):
723 val = controlsc.wxRadioBox_SetSelection(self.this,arg0)
724 return val
725 def SetStringSelection(self,arg0):
726 val = controlsc.wxRadioBox_SetStringSelection(self.this,arg0)
727 return val
728 def Show(self,arg0):
729 val = controlsc.wxRadioBox_Show(self.this,arg0)
730 return val
731 def ShowItem(self,arg0,arg1):
732 val = controlsc.wxRadioBox_ShowItem(self.this,arg0,arg1)
733 return val
734 def __repr__(self):
735 return "<C wxRadioBox instance>"
736 class wxRadioBox(wxRadioBoxPtr):
737 def __init__(self,arg0,arg1,arg2,*args) :
738 argl = map(None,args)
739 try: argl[0] = argl[0].this
740 except: pass
741 try: argl[1] = argl[1].this
742 except: pass
743 args = tuple(argl)
744 self.this = apply(controlsc.new_wxRadioBox,(arg0.this,arg1,arg2,)+args)
745 self.thisown = 1
746 wx._StdWindowCallbacks(self)
747
748
749
750
751 class wxRadioButtonPtr(wxControlPtr):
752 def __init__(self,this):
753 self.this = this
754 self.thisown = 0
755 def GetValue(self):
756 val = controlsc.wxRadioButton_GetValue(self.this)
757 return val
758 def SetValue(self,arg0):
759 val = controlsc.wxRadioButton_SetValue(self.this,arg0)
760 return val
761 def __repr__(self):
762 return "<C wxRadioButton instance>"
763 class wxRadioButton(wxRadioButtonPtr):
764 def __init__(self,arg0,arg1,arg2,*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_wxRadioButton,(arg0.this,arg1,arg2,)+args)
772 self.thisown = 1
773 wx._StdWindowCallbacks(self)
774
775
776
777
778 class wxSliderPtr(wxControlPtr):
779 def __init__(self,this):
780 self.this = this
781 self.thisown = 0
782 def ClearSel(self):
783 val = controlsc.wxSlider_ClearSel(self.this)
784 return val
785 def ClearTicks(self):
786 val = controlsc.wxSlider_ClearTicks(self.this)
787 return val
788 def GetLineSize(self):
789 val = controlsc.wxSlider_GetLineSize(self.this)
790 return val
791 def GetMax(self):
792 val = controlsc.wxSlider_GetMax(self.this)
793 return val
794 def GetMin(self):
795 val = controlsc.wxSlider_GetMin(self.this)
796 return val
797 def GetPageSize(self):
798 val = controlsc.wxSlider_GetPageSize(self.this)
799 return val
800 def GetSelEnd(self):
801 val = controlsc.wxSlider_GetSelEnd(self.this)
802 return val
803 def GetSelStart(self):
804 val = controlsc.wxSlider_GetSelStart(self.this)
805 return val
806 def GetThumbLength(self):
807 val = controlsc.wxSlider_GetThumbLength(self.this)
808 return val
809 def GetTickFreq(self):
810 val = controlsc.wxSlider_GetTickFreq(self.this)
811 return val
812 def GetValue(self):
813 val = controlsc.wxSlider_GetValue(self.this)
814 return val
815 def SetRange(self,arg0,arg1):
816 val = controlsc.wxSlider_SetRange(self.this,arg0,arg1)
817 return val
818 def SetTickFreq(self,arg0,arg1):
819 val = controlsc.wxSlider_SetTickFreq(self.this,arg0,arg1)
820 return val
821 def SetLineSize(self,arg0):
822 val = controlsc.wxSlider_SetLineSize(self.this,arg0)
823 return val
824 def SetPageSize(self,arg0):
825 val = controlsc.wxSlider_SetPageSize(self.this,arg0)
826 return val
827 def SetSelection(self,arg0,arg1):
828 val = controlsc.wxSlider_SetSelection(self.this,arg0,arg1)
829 return val
830 def SetThumbLength(self,arg0):
831 val = controlsc.wxSlider_SetThumbLength(self.this,arg0)
832 return val
833 def SetTick(self,arg0):
834 val = controlsc.wxSlider_SetTick(self.this,arg0)
835 return val
836 def SetValue(self,arg0):
837 val = controlsc.wxSlider_SetValue(self.this,arg0)
838 return val
839 def __repr__(self):
840 return "<C wxSlider instance>"
841 class wxSlider(wxSliderPtr):
842 def __init__(self,arg0,arg1,arg2,arg3,arg4,*args) :
843 argl = map(None,args)
844 try: argl[0] = argl[0].this
845 except: pass
846 try: argl[1] = argl[1].this
847 except: pass
848 args = tuple(argl)
849 self.this = apply(controlsc.new_wxSlider,(arg0.this,arg1,arg2,arg3,arg4,)+args)
850 self.thisown = 1
851 wx._StdWindowCallbacks(self)
852
853
854
855
856
857
858 #-------------- FUNCTION WRAPPERS ------------------
859
860
861
862 #-------------- VARIABLE WRAPPERS ------------------
863