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