]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/controls.py
Final tweaks for 2.1b1
[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 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(wxChoicePtr):
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 SetMark(self,arg0,arg1):
247 val = controlsc.wxComboBox_SetMark(self.this,arg0,arg1)
248 return val
249 def SetValue(self,arg0):
250 val = controlsc.wxComboBox_SetValue(self.this,arg0)
251 return val
252 def __repr__(self):
253 return "<C wxComboBox instance>"
254 class wxComboBox(wxComboBoxPtr):
255 def __init__(self,arg0,arg1,*args) :
256 argl = map(None,args)
257 try: argl[1] = argl[1].this
258 except: pass
259 try: argl[2] = argl[2].this
260 except: pass
261 args = tuple(argl)
262 self.this = apply(controlsc.new_wxComboBox,(arg0.this,arg1,)+args)
263 self.thisown = 1
264 wx._StdWindowCallbacks(self)
265
266
267
268
269 class wxGaugePtr(wxControlPtr):
270 def __init__(self,this):
271 self.this = this
272 self.thisown = 0
273 def GetBezelFace(self):
274 val = controlsc.wxGauge_GetBezelFace(self.this)
275 return val
276 def GetRange(self):
277 val = controlsc.wxGauge_GetRange(self.this)
278 return val
279 def GetShadowWidth(self):
280 val = controlsc.wxGauge_GetShadowWidth(self.this)
281 return val
282 def GetValue(self):
283 val = controlsc.wxGauge_GetValue(self.this)
284 return val
285 def SetBezelFace(self,arg0):
286 val = controlsc.wxGauge_SetBezelFace(self.this,arg0)
287 return val
288 def SetRange(self,arg0):
289 val = controlsc.wxGauge_SetRange(self.this,arg0)
290 return val
291 def SetShadowWidth(self,arg0):
292 val = controlsc.wxGauge_SetShadowWidth(self.this,arg0)
293 return val
294 def SetValue(self,arg0):
295 val = controlsc.wxGauge_SetValue(self.this,arg0)
296 return val
297 def __repr__(self):
298 return "<C wxGauge instance>"
299 class wxGauge(wxGaugePtr):
300 def __init__(self,arg0,arg1,arg2,*args) :
301 argl = map(None,args)
302 try: argl[0] = argl[0].this
303 except: pass
304 try: argl[1] = argl[1].this
305 except: pass
306 args = tuple(argl)
307 self.this = apply(controlsc.new_wxGauge,(arg0.this,arg1,arg2,)+args)
308 self.thisown = 1
309 wx._StdWindowCallbacks(self)
310
311
312
313
314 class wxStaticBoxPtr(wxControlPtr):
315 def __init__(self,this):
316 self.this = this
317 self.thisown = 0
318 def __repr__(self):
319 return "<C wxStaticBox instance>"
320 class wxStaticBox(wxStaticBoxPtr):
321 def __init__(self,arg0,arg1,arg2,*args) :
322 argl = map(None,args)
323 try: argl[0] = argl[0].this
324 except: pass
325 try: argl[1] = argl[1].this
326 except: pass
327 args = tuple(argl)
328 self.this = apply(controlsc.new_wxStaticBox,(arg0.this,arg1,arg2,)+args)
329 self.thisown = 1
330
331
332
333
334 class wxStaticTextPtr(wxControlPtr):
335 def __init__(self,this):
336 self.this = this
337 self.thisown = 0
338 def GetLabel(self):
339 val = controlsc.wxStaticText_GetLabel(self.this)
340 return val
341 def SetLabel(self,arg0):
342 val = controlsc.wxStaticText_SetLabel(self.this,arg0)
343 return val
344 def __repr__(self):
345 return "<C wxStaticText instance>"
346 class wxStaticText(wxStaticTextPtr):
347 def __init__(self,arg0,arg1,arg2,*args) :
348 argl = map(None,args)
349 try: argl[0] = argl[0].this
350 except: pass
351 try: argl[1] = argl[1].this
352 except: pass
353 args = tuple(argl)
354 self.this = apply(controlsc.new_wxStaticText,(arg0.this,arg1,arg2,)+args)
355 self.thisown = 1
356 wx._StdWindowCallbacks(self)
357
358
359
360
361 class wxListBoxPtr(wxControlPtr):
362 def __init__(self,this):
363 self.this = this
364 self.thisown = 0
365 def Append(self,arg0):
366 val = controlsc.wxListBox_Append(self.this,arg0)
367 return val
368 def Clear(self):
369 val = controlsc.wxListBox_Clear(self.this)
370 return val
371 def Delete(self,arg0):
372 val = controlsc.wxListBox_Delete(self.this,arg0)
373 return val
374 def Deselect(self,arg0):
375 val = controlsc.wxListBox_Deselect(self.this,arg0)
376 return val
377 def FindString(self,arg0):
378 val = controlsc.wxListBox_FindString(self.this,arg0)
379 return val
380 def GetSelection(self):
381 val = controlsc.wxListBox_GetSelection(self.this)
382 return val
383 def GetSelections(self):
384 val = controlsc.wxListBox_GetSelections(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 wx._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 wx._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 AppendText(self,arg0):
540 val = controlsc.wxTextCtrl_AppendText(self.this,arg0)
541 return val
542 def XYToPosition(self,arg0,arg1):
543 val = controlsc.wxTextCtrl_XYToPosition(self.this,arg0,arg1)
544 return val
545 def CanCopy(self):
546 val = controlsc.wxTextCtrl_CanCopy(self.this)
547 return val
548 def CanCut(self):
549 val = controlsc.wxTextCtrl_CanCut(self.this)
550 return val
551 def CanPaste(self):
552 val = controlsc.wxTextCtrl_CanPaste(self.this)
553 return val
554 def CanRedo(self):
555 val = controlsc.wxTextCtrl_CanRedo(self.this)
556 return val
557 def CanUndo(self):
558 val = controlsc.wxTextCtrl_CanUndo(self.this)
559 return val
560 def GetSelection(self):
561 val = controlsc.wxTextCtrl_GetSelection(self.this)
562 return val
563 def IsEditable(self):
564 val = controlsc.wxTextCtrl_IsEditable(self.this)
565 return val
566 def __repr__(self):
567 return "<C wxTextCtrl instance>"
568 class wxTextCtrl(wxTextCtrlPtr):
569 def __init__(self,arg0,arg1,*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_wxTextCtrl,(arg0.this,arg1,)+args)
577 self.thisown = 1
578 wx._StdWindowCallbacks(self)
579
580
581
582
583 class wxScrollBarPtr(wxControlPtr):
584 def __init__(self,this):
585 self.this = this
586 self.thisown = 0
587 def GetRange(self):
588 val = controlsc.wxScrollBar_GetRange(self.this)
589 return val
590 def GetPageSize(self):
591 val = controlsc.wxScrollBar_GetPageSize(self.this)
592 return val
593 def GetThumbPosition(self):
594 val = controlsc.wxScrollBar_GetThumbPosition(self.this)
595 return val
596 def GetThumbSize(self):
597 val = controlsc.wxScrollBar_GetThumbSize(self.this)
598 return val
599 def SetThumbPosition(self,arg0):
600 val = controlsc.wxScrollBar_SetThumbPosition(self.this,arg0)
601 return val
602 def SetScrollbar(self,arg0,arg1,arg2,arg3,*args):
603 val = apply(controlsc.wxScrollBar_SetScrollbar,(self.this,arg0,arg1,arg2,arg3,)+args)
604 return val
605 def __repr__(self):
606 return "<C wxScrollBar instance>"
607 class wxScrollBar(wxScrollBarPtr):
608 def __init__(self,arg0,*args) :
609 argl = map(None,args)
610 try: argl[1] = argl[1].this
611 except: pass
612 try: argl[2] = argl[2].this
613 except: pass
614 args = tuple(argl)
615 self.this = apply(controlsc.new_wxScrollBar,(arg0.this,)+args)
616 self.thisown = 1
617 wx._StdWindowCallbacks(self)
618
619
620
621
622 class wxSpinButtonPtr(wxControlPtr):
623 def __init__(self,this):
624 self.this = this
625 self.thisown = 0
626 def GetMax(self):
627 val = controlsc.wxSpinButton_GetMax(self.this)
628 return val
629 def GetMin(self):
630 val = controlsc.wxSpinButton_GetMin(self.this)
631 return val
632 def GetValue(self):
633 val = controlsc.wxSpinButton_GetValue(self.this)
634 return val
635 def SetRange(self,arg0,arg1):
636 val = controlsc.wxSpinButton_SetRange(self.this,arg0,arg1)
637 return val
638 def SetValue(self,arg0):
639 val = controlsc.wxSpinButton_SetValue(self.this,arg0)
640 return val
641 def __repr__(self):
642 return "<C wxSpinButton instance>"
643 class wxSpinButton(wxSpinButtonPtr):
644 def __init__(self,arg0,*args) :
645 argl = map(None,args)
646 try: argl[1] = argl[1].this
647 except: pass
648 try: argl[2] = argl[2].this
649 except: pass
650 args = tuple(argl)
651 self.this = apply(controlsc.new_wxSpinButton,(arg0.this,)+args)
652 self.thisown = 1
653
654
655
656
657 class wxStaticBitmapPtr(wxControlPtr):
658 def __init__(self,this):
659 self.this = this
660 self.thisown = 0
661 def GetBitmap(self):
662 val = controlsc.wxStaticBitmap_GetBitmap(self.this)
663 val = wxBitmapPtr(val)
664 return val
665 def SetBitmap(self,arg0):
666 val = controlsc.wxStaticBitmap_SetBitmap(self.this,arg0.this)
667 return val
668 def __repr__(self):
669 return "<C wxStaticBitmap instance>"
670 class wxStaticBitmap(wxStaticBitmapPtr):
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_wxStaticBitmap,(arg0.this,arg1,arg2.this,)+args)
679 self.thisown = 1
680 wx._StdWindowCallbacks(self)
681
682
683
684
685 class wxRadioBoxPtr(wxControlPtr):
686 def __init__(self,this):
687 self.this = this
688 self.thisown = 0
689 def Enable(self,arg0):
690 val = controlsc.wxRadioBox_Enable(self.this,arg0)
691 return val
692 def EnableItem(self,arg0,arg1):
693 val = controlsc.wxRadioBox_EnableItem(self.this,arg0,arg1)
694 return val
695 def FindString(self,arg0):
696 val = controlsc.wxRadioBox_FindString(self.this,arg0)
697 return val
698 def GetItemLabel(self,arg0):
699 val = controlsc.wxRadioBox_GetItemLabel(self.this,arg0)
700 return val
701 def GetSelection(self):
702 val = controlsc.wxRadioBox_GetSelection(self.this)
703 return val
704 def GetString(self,arg0):
705 val = controlsc.wxRadioBox_GetString(self.this,arg0)
706 return val
707 def GetStringSelection(self):
708 val = controlsc.wxRadioBox_GetStringSelection(self.this)
709 return val
710 def Number(self):
711 val = controlsc.wxRadioBox_Number(self.this)
712 return val
713 def SetItemLabel(self,arg0,arg1):
714 val = controlsc.wxRadioBox_SetItemLabel(self.this,arg0,arg1)
715 return val
716 def SetSelection(self,arg0):
717 val = controlsc.wxRadioBox_SetSelection(self.this,arg0)
718 return val
719 def SetStringSelection(self,arg0):
720 val = controlsc.wxRadioBox_SetStringSelection(self.this,arg0)
721 return val
722 def Show(self,arg0):
723 val = controlsc.wxRadioBox_Show(self.this,arg0)
724 return val
725 def ShowItem(self,arg0,arg1):
726 val = controlsc.wxRadioBox_ShowItem(self.this,arg0,arg1)
727 return val
728 def __repr__(self):
729 return "<C wxRadioBox instance>"
730 class wxRadioBox(wxRadioBoxPtr):
731 def __init__(self,arg0,arg1,arg2,*args) :
732 argl = map(None,args)
733 try: argl[0] = argl[0].this
734 except: pass
735 try: argl[1] = argl[1].this
736 except: pass
737 args = tuple(argl)
738 self.this = apply(controlsc.new_wxRadioBox,(arg0.this,arg1,arg2,)+args)
739 self.thisown = 1
740 wx._StdWindowCallbacks(self)
741
742
743
744
745 class wxRadioButtonPtr(wxControlPtr):
746 def __init__(self,this):
747 self.this = this
748 self.thisown = 0
749 def GetValue(self):
750 val = controlsc.wxRadioButton_GetValue(self.this)
751 return val
752 def SetValue(self,arg0):
753 val = controlsc.wxRadioButton_SetValue(self.this,arg0)
754 return val
755 def __repr__(self):
756 return "<C wxRadioButton instance>"
757 class wxRadioButton(wxRadioButtonPtr):
758 def __init__(self,arg0,arg1,arg2,*args) :
759 argl = map(None,args)
760 try: argl[0] = argl[0].this
761 except: pass
762 try: argl[1] = argl[1].this
763 except: pass
764 args = tuple(argl)
765 self.this = apply(controlsc.new_wxRadioButton,(arg0.this,arg1,arg2,)+args)
766 self.thisown = 1
767 wx._StdWindowCallbacks(self)
768
769
770
771
772 class wxSliderPtr(wxControlPtr):
773 def __init__(self,this):
774 self.this = this
775 self.thisown = 0
776 def ClearSel(self):
777 val = controlsc.wxSlider_ClearSel(self.this)
778 return val
779 def ClearTicks(self):
780 val = controlsc.wxSlider_ClearTicks(self.this)
781 return val
782 def GetLineSize(self):
783 val = controlsc.wxSlider_GetLineSize(self.this)
784 return val
785 def GetMax(self):
786 val = controlsc.wxSlider_GetMax(self.this)
787 return val
788 def GetMin(self):
789 val = controlsc.wxSlider_GetMin(self.this)
790 return val
791 def GetPageSize(self):
792 val = controlsc.wxSlider_GetPageSize(self.this)
793 return val
794 def GetSelEnd(self):
795 val = controlsc.wxSlider_GetSelEnd(self.this)
796 return val
797 def GetSelStart(self):
798 val = controlsc.wxSlider_GetSelStart(self.this)
799 return val
800 def GetThumbLength(self):
801 val = controlsc.wxSlider_GetThumbLength(self.this)
802 return val
803 def GetTickFreq(self):
804 val = controlsc.wxSlider_GetTickFreq(self.this)
805 return val
806 def GetValue(self):
807 val = controlsc.wxSlider_GetValue(self.this)
808 return val
809 def SetRange(self,arg0,arg1):
810 val = controlsc.wxSlider_SetRange(self.this,arg0,arg1)
811 return val
812 def SetTickFreq(self,arg0,arg1):
813 val = controlsc.wxSlider_SetTickFreq(self.this,arg0,arg1)
814 return val
815 def SetLineSize(self,arg0):
816 val = controlsc.wxSlider_SetLineSize(self.this,arg0)
817 return val
818 def SetPageSize(self,arg0):
819 val = controlsc.wxSlider_SetPageSize(self.this,arg0)
820 return val
821 def SetSelection(self,arg0,arg1):
822 val = controlsc.wxSlider_SetSelection(self.this,arg0,arg1)
823 return val
824 def SetThumbLength(self,arg0):
825 val = controlsc.wxSlider_SetThumbLength(self.this,arg0)
826 return val
827 def SetTick(self,arg0):
828 val = controlsc.wxSlider_SetTick(self.this,arg0)
829 return val
830 def SetValue(self,arg0):
831 val = controlsc.wxSlider_SetValue(self.this,arg0)
832 return val
833 def __repr__(self):
834 return "<C wxSlider instance>"
835 class wxSlider(wxSliderPtr):
836 def __init__(self,arg0,arg1,arg2,arg3,arg4,*args) :
837 argl = map(None,args)
838 try: argl[0] = argl[0].this
839 except: pass
840 try: argl[1] = argl[1].this
841 except: pass
842 args = tuple(argl)
843 self.this = apply(controlsc.new_wxSlider,(arg0.this,arg1,arg2,arg3,arg4,)+args)
844 self.thisown = 1
845 wx._StdWindowCallbacks(self)
846
847
848
849
850
851
852 #-------------- FUNCTION WRAPPERS ------------------
853
854
855
856 #-------------- VARIABLE WRAPPERS ------------------
857