]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/gtk/controls.py
some dist helpers for wxPython
[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 *
105e45b9 11import wx
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
105e45b9 53 wx._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
c95e68d8
RD
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
70551f47
RD
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>"
92class 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
105e45b9 102 wx._StdWindowCallbacks(self)
70551f47
RD
103
104
105
106
107class 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>"
119class 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
105e45b9 129 wx._StdWindowCallbacks(self)
70551f47
RD
130
131
132
133
134class 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>"
173class 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
105e45b9 183 wx._StdWindowCallbacks(self)
70551f47
RD
184
185
186
187
d24a34bb 188class wxComboBoxPtr(wxChoicePtr):
70551f47
RD
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
70551f47
RD
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>"
254class 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
105e45b9 264 wx._StdWindowCallbacks(self)
70551f47
RD
265
266
267
268
269class 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>"
299class 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
105e45b9 309 wx._StdWindowCallbacks(self)
70551f47
RD
310
311
312
313
314class wxStaticBoxPtr(wxControlPtr):
315 def __init__(self,this):
316 self.this = this
317 self.thisown = 0
318 def __repr__(self):
319 return "<C wxStaticBox instance>"
320class 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
d24a34bb
RD
334class wxStaticLinePtr(wxControlPtr):
335 def __init__(self,this):
336 self.this = this
337 self.thisown = 0
338 def __repr__(self):
339 return "<C wxStaticLine instance>"
340class 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
70551f47
RD
354class 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>"
366class 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
105e45b9 376 wx._StdWindowCallbacks(self)
70551f47
RD
377
378
379
380
381class 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
ab9bc19b
RD
403 def GetSelections(self):
404 val = controlsc.wxListBox_GetSelections(self.this)
405 return val
70551f47
RD
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>"
438class 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
105e45b9 448 wx._StdWindowCallbacks(self)
70551f47
RD
449
450
451
452
c95e68d8
RD
453class 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>"
468class 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
70551f47
RD
483class 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
faf3cb35
RD
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
70551f47
RD
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
faf3cb35
RD
526 def PositionToXY(self,arg0):
527 val = controlsc.wxTextCtrl_PositionToXY(self.this,arg0)
528 return val
70551f47
RD
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
ab9bc19b
RD
559 def AppendText(self,arg0):
560 val = controlsc.wxTextCtrl_AppendText(self.this,arg0)
561 return val
faf3cb35
RD
562 def XYToPosition(self,arg0,arg1):
563 val = controlsc.wxTextCtrl_XYToPosition(self.this,arg0,arg1)
564 return val
53920141
RD
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
70551f47
RD
586 def __repr__(self):
587 return "<C wxTextCtrl instance>"
588class 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
105e45b9 598 wx._StdWindowCallbacks(self)
70551f47
RD
599
600
601
602
603class 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
105e45b9
RD
613 def GetThumbPosition(self):
614 val = controlsc.wxScrollBar_GetThumbPosition(self.this)
70551f47
RD
615 return val
616 def GetThumbSize(self):
617 val = controlsc.wxScrollBar_GetThumbSize(self.this)
618 return val
105e45b9
RD
619 def SetThumbPosition(self,arg0):
620 val = controlsc.wxScrollBar_SetThumbPosition(self.this,arg0)
70551f47
RD
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>"
627class 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
105e45b9 637 wx._StdWindowCallbacks(self)
70551f47
RD
638
639
640
641
62bd0874
RD
642class 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>"
663class 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
70551f47
RD
677class 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 __repr__(self):
689 return "<C wxStaticBitmap instance>"
690class wxStaticBitmap(wxStaticBitmapPtr):
691 def __init__(self,arg0,arg1,arg2,*args) :
692 argl = map(None,args)
693 try: argl[0] = argl[0].this
694 except: pass
695 try: argl[1] = argl[1].this
696 except: pass
697 args = tuple(argl)
698 self.this = apply(controlsc.new_wxStaticBitmap,(arg0.this,arg1,arg2.this,)+args)
699 self.thisown = 1
105e45b9 700 wx._StdWindowCallbacks(self)
70551f47
RD
701
702
703
704
705class wxRadioBoxPtr(wxControlPtr):
706 def __init__(self,this):
707 self.this = this
708 self.thisown = 0
c3c1cebe
RD
709 def Enable(self,arg0):
710 val = controlsc.wxRadioBox_Enable(self.this,arg0)
70551f47 711 return val
c3c1cebe
RD
712 def EnableItem(self,arg0,arg1):
713 val = controlsc.wxRadioBox_EnableItem(self.this,arg0,arg1)
70551f47
RD
714 return val
715 def FindString(self,arg0):
716 val = controlsc.wxRadioBox_FindString(self.this,arg0)
717 return val
c3c1cebe
RD
718 def GetItemLabel(self,arg0):
719 val = controlsc.wxRadioBox_GetItemLabel(self.this,arg0)
70551f47
RD
720 return val
721 def GetSelection(self):
722 val = controlsc.wxRadioBox_GetSelection(self.this)
723 return val
724 def GetString(self,arg0):
725 val = controlsc.wxRadioBox_GetString(self.this,arg0)
726 return val
727 def GetStringSelection(self):
728 val = controlsc.wxRadioBox_GetStringSelection(self.this)
729 return val
730 def Number(self):
731 val = controlsc.wxRadioBox_Number(self.this)
732 return val
c3c1cebe
RD
733 def SetItemLabel(self,arg0,arg1):
734 val = controlsc.wxRadioBox_SetItemLabel(self.this,arg0,arg1)
70551f47
RD
735 return val
736 def SetSelection(self,arg0):
737 val = controlsc.wxRadioBox_SetSelection(self.this,arg0)
738 return val
739 def SetStringSelection(self,arg0):
740 val = controlsc.wxRadioBox_SetStringSelection(self.this,arg0)
741 return val
742 def Show(self,arg0):
743 val = controlsc.wxRadioBox_Show(self.this,arg0)
744 return val
745 def ShowItem(self,arg0,arg1):
746 val = controlsc.wxRadioBox_ShowItem(self.this,arg0,arg1)
747 return val
748 def __repr__(self):
749 return "<C wxRadioBox instance>"
750class wxRadioBox(wxRadioBoxPtr):
751 def __init__(self,arg0,arg1,arg2,*args) :
752 argl = map(None,args)
753 try: argl[0] = argl[0].this
754 except: pass
755 try: argl[1] = argl[1].this
756 except: pass
757 args = tuple(argl)
758 self.this = apply(controlsc.new_wxRadioBox,(arg0.this,arg1,arg2,)+args)
759 self.thisown = 1
105e45b9 760 wx._StdWindowCallbacks(self)
70551f47
RD
761
762
763
764
765class wxRadioButtonPtr(wxControlPtr):
766 def __init__(self,this):
767 self.this = this
768 self.thisown = 0
769 def GetValue(self):
770 val = controlsc.wxRadioButton_GetValue(self.this)
771 return val
772 def SetValue(self,arg0):
773 val = controlsc.wxRadioButton_SetValue(self.this,arg0)
774 return val
775 def __repr__(self):
776 return "<C wxRadioButton instance>"
777class wxRadioButton(wxRadioButtonPtr):
778 def __init__(self,arg0,arg1,arg2,*args) :
779 argl = map(None,args)
780 try: argl[0] = argl[0].this
781 except: pass
782 try: argl[1] = argl[1].this
783 except: pass
784 args = tuple(argl)
785 self.this = apply(controlsc.new_wxRadioButton,(arg0.this,arg1,arg2,)+args)
786 self.thisown = 1
105e45b9 787 wx._StdWindowCallbacks(self)
70551f47
RD
788
789
790
791
792class wxSliderPtr(wxControlPtr):
793 def __init__(self,this):
794 self.this = this
795 self.thisown = 0
796 def ClearSel(self):
797 val = controlsc.wxSlider_ClearSel(self.this)
798 return val
799 def ClearTicks(self):
800 val = controlsc.wxSlider_ClearTicks(self.this)
801 return val
802 def GetLineSize(self):
803 val = controlsc.wxSlider_GetLineSize(self.this)
804 return val
805 def GetMax(self):
806 val = controlsc.wxSlider_GetMax(self.this)
807 return val
808 def GetMin(self):
809 val = controlsc.wxSlider_GetMin(self.this)
810 return val
811 def GetPageSize(self):
812 val = controlsc.wxSlider_GetPageSize(self.this)
813 return val
814 def GetSelEnd(self):
815 val = controlsc.wxSlider_GetSelEnd(self.this)
816 return val
817 def GetSelStart(self):
818 val = controlsc.wxSlider_GetSelStart(self.this)
819 return val
820 def GetThumbLength(self):
821 val = controlsc.wxSlider_GetThumbLength(self.this)
822 return val
823 def GetTickFreq(self):
824 val = controlsc.wxSlider_GetTickFreq(self.this)
825 return val
826 def GetValue(self):
827 val = controlsc.wxSlider_GetValue(self.this)
828 return val
829 def SetRange(self,arg0,arg1):
830 val = controlsc.wxSlider_SetRange(self.this,arg0,arg1)
831 return val
832 def SetTickFreq(self,arg0,arg1):
833 val = controlsc.wxSlider_SetTickFreq(self.this,arg0,arg1)
834 return val
835 def SetLineSize(self,arg0):
836 val = controlsc.wxSlider_SetLineSize(self.this,arg0)
837 return val
838 def SetPageSize(self,arg0):
839 val = controlsc.wxSlider_SetPageSize(self.this,arg0)
840 return val
841 def SetSelection(self,arg0,arg1):
842 val = controlsc.wxSlider_SetSelection(self.this,arg0,arg1)
843 return val
844 def SetThumbLength(self,arg0):
845 val = controlsc.wxSlider_SetThumbLength(self.this,arg0)
846 return val
847 def SetTick(self,arg0):
848 val = controlsc.wxSlider_SetTick(self.this,arg0)
849 return val
850 def SetValue(self,arg0):
851 val = controlsc.wxSlider_SetValue(self.this,arg0)
852 return val
853 def __repr__(self):
854 return "<C wxSlider instance>"
855class wxSlider(wxSliderPtr):
856 def __init__(self,arg0,arg1,arg2,arg3,arg4,*args) :
857 argl = map(None,args)
858 try: argl[0] = argl[0].this
859 except: pass
860 try: argl[1] = argl[1].this
861 except: pass
862 args = tuple(argl)
863 self.this = apply(controlsc.new_wxSlider,(arg0.this,arg1,arg2,arg3,arg4,)+args)
864 self.thisown = 1
105e45b9 865 wx._StdWindowCallbacks(self)
70551f47
RD
866
867
868
869
870
871
872#-------------- FUNCTION WRAPPERS ------------------
873
874
875
876#-------------- VARIABLE WRAPPERS ------------------
877