1 # This file was created automatically by SWIG.
11 class wxControlPtr(wxWindowPtr
):
12 def __init__(self
,this
):
15 def Command(self
,arg0
):
16 val
= controlsc
.wxControl_Command(self
.this
,arg0
.this
)
19 val
= controlsc
.wxControl_GetLabel(self
.this
)
21 def SetLabel(self
,arg0
):
22 val
= controlsc
.wxControl_SetLabel(self
.this
,arg0
)
25 return "<C wxControl instance>"
26 class wxControl(wxControlPtr
):
27 def __init__(self
,this
):
33 class wxButtonPtr(wxControlPtr
):
34 def __init__(self
,this
):
38 val
= controlsc
.wxButton_SetDefault(self
.this
)
41 return "<C wxButton instance>"
42 class wxButton(wxButtonPtr
):
43 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
45 try: argl
[0] = argl
[0].this
47 try: argl
[1] = argl
[1].this
50 self
.this
= apply(controlsc
.new_wxButton
,(arg0
.this
,arg1
,arg2
,)+args
)
56 class wxBitmapButtonPtr(wxButtonPtr
):
57 def __init__(self
,this
):
60 def GetBitmapLabel(self
):
61 val
= controlsc
.wxBitmapButton_GetBitmapLabel(self
.this
)
62 val
= wxBitmapPtr(val
)
64 def SetBitmapLabel(self
,arg0
):
65 val
= controlsc
.wxBitmapButton_SetBitmapLabel(self
.this
,arg0
.this
)
68 return "<C wxBitmapButton instance>"
69 class wxBitmapButton(wxBitmapButtonPtr
):
70 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
72 try: argl
[0] = argl
[0].this
74 try: argl
[1] = argl
[1].this
77 self
.this
= apply(controlsc
.new_wxBitmapButton
,(arg0
.this
,arg1
,arg2
.this
,)+args
)
83 class wxCheckBoxPtr(wxControlPtr
):
84 def __init__(self
,this
):
88 val
= controlsc
.wxCheckBox_GetValue(self
.this
)
90 def SetValue(self
,arg0
):
91 val
= controlsc
.wxCheckBox_SetValue(self
.this
,arg0
)
94 return "<C wxCheckBox instance>"
95 class wxCheckBox(wxCheckBoxPtr
):
96 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
98 try: argl
[0] = argl
[0].this
100 try: argl
[1] = argl
[1].this
103 self
.this
= apply(controlsc
.new_wxCheckBox
,(arg0
.this
,arg1
,arg2
,)+args
)
109 class wxChoicePtr(wxControlPtr
):
110 def __init__(self
,this
):
113 def Append(self
,arg0
):
114 val
= controlsc
.wxChoice_Append(self
.this
,arg0
)
117 val
= controlsc
.wxChoice_Clear(self
.this
)
119 def FindString(self
,arg0
):
120 val
= controlsc
.wxChoice_FindString(self
.this
,arg0
)
122 def GetColumns(self
):
123 val
= controlsc
.wxChoice_GetColumns(self
.this
)
125 def GetSelection(self
):
126 val
= controlsc
.wxChoice_GetSelection(self
.this
)
128 def GetString(self
,arg0
):
129 val
= controlsc
.wxChoice_GetString(self
.this
,arg0
)
131 def GetStringSelection(self
):
132 val
= controlsc
.wxChoice_GetStringSelection(self
.this
)
135 val
= controlsc
.wxChoice_Number(self
.this
)
137 def SetColumns(self
,*args
):
138 val
= apply(controlsc
.wxChoice_SetColumns
,(self
.this
,)+args
)
140 def SetSelection(self
,arg0
):
141 val
= controlsc
.wxChoice_SetSelection(self
.this
,arg0
)
143 def SetStringSelection(self
,arg0
):
144 val
= controlsc
.wxChoice_SetStringSelection(self
.this
,arg0
)
147 return "<C wxChoice instance>"
148 class wxChoice(wxChoicePtr
):
149 def __init__(self
,arg0
,arg1
,*args
) :
150 argl
= map(None,args
)
151 try: argl
[0] = argl
[0].this
153 try: argl
[1] = argl
[1].this
156 self
.this
= apply(controlsc
.new_wxChoice
,(arg0
.this
,arg1
,)+args
)
162 class wxComboBoxPtr(wxControlPtr
):
163 def __init__(self
,this
):
166 def Append(self
,arg0
):
167 val
= controlsc
.wxComboBox_Append(self
.this
,arg0
)
170 val
= controlsc
.wxComboBox_Clear(self
.this
)
173 val
= controlsc
.wxComboBox_Copy(self
.this
)
176 val
= controlsc
.wxComboBox_Cut(self
.this
)
178 def Delete(self
,arg0
):
179 val
= controlsc
.wxComboBox_Delete(self
.this
,arg0
)
181 def FindString(self
,arg0
):
182 val
= controlsc
.wxComboBox_FindString(self
.this
,arg0
)
184 def GetInsertionPoint(self
):
185 val
= controlsc
.wxComboBox_GetInsertionPoint(self
.this
)
187 def GetLastPosition(self
):
188 val
= controlsc
.wxComboBox_GetLastPosition(self
.this
)
190 def GetSelection(self
):
191 val
= controlsc
.wxComboBox_GetSelection(self
.this
)
193 def GetString(self
,arg0
):
194 val
= controlsc
.wxComboBox_GetString(self
.this
,arg0
)
196 def GetStringSelection(self
):
197 val
= controlsc
.wxComboBox_GetStringSelection(self
.this
)
200 val
= controlsc
.wxComboBox_GetValue(self
.this
)
203 val
= controlsc
.wxComboBox_Number(self
.this
)
206 val
= controlsc
.wxComboBox_Paste(self
.this
)
208 def Replace(self
,arg0
,arg1
,arg2
):
209 val
= controlsc
.wxComboBox_Replace(self
.this
,arg0
,arg1
,arg2
)
211 def Remove(self
,arg0
,arg1
):
212 val
= controlsc
.wxComboBox_Remove(self
.this
,arg0
,arg1
)
214 def SetInsertionPoint(self
,arg0
):
215 val
= controlsc
.wxComboBox_SetInsertionPoint(self
.this
,arg0
)
217 def SetInsertionPointEnd(self
):
218 val
= controlsc
.wxComboBox_SetInsertionPointEnd(self
.this
)
220 def SetSelection(self
,arg0
,*args
):
221 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
.this
,arg0
,)+args
)
223 def SetMark(self
,arg0
,arg1
):
224 val
= controlsc
.wxComboBox_SetMark(self
.this
,arg0
,arg1
)
226 def SetValue(self
,arg0
):
227 val
= controlsc
.wxComboBox_SetValue(self
.this
,arg0
)
230 return "<C wxComboBox instance>"
231 class wxComboBox(wxComboBoxPtr
):
232 def __init__(self
,arg0
,arg1
,*args
) :
233 argl
= map(None,args
)
234 try: argl
[1] = argl
[1].this
236 try: argl
[2] = argl
[2].this
239 self
.this
= apply(controlsc
.new_wxComboBox
,(arg0
.this
,arg1
,)+args
)
245 class wxGaugePtr(wxControlPtr
):
246 def __init__(self
,this
):
249 def GetBezelFace(self
):
250 val
= controlsc
.wxGauge_GetBezelFace(self
.this
)
253 val
= controlsc
.wxGauge_GetRange(self
.this
)
255 def GetShadowWidth(self
):
256 val
= controlsc
.wxGauge_GetShadowWidth(self
.this
)
259 val
= controlsc
.wxGauge_GetValue(self
.this
)
261 def SetBezelFace(self
,arg0
):
262 val
= controlsc
.wxGauge_SetBezelFace(self
.this
,arg0
)
264 def SetRange(self
,arg0
):
265 val
= controlsc
.wxGauge_SetRange(self
.this
,arg0
)
267 def SetShadowWidth(self
,arg0
):
268 val
= controlsc
.wxGauge_SetShadowWidth(self
.this
,arg0
)
270 def SetValue(self
,arg0
):
271 val
= controlsc
.wxGauge_SetValue(self
.this
,arg0
)
274 return "<C wxGauge instance>"
275 class wxGauge(wxGaugePtr
):
276 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
277 argl
= map(None,args
)
278 try: argl
[0] = argl
[0].this
280 try: argl
[1] = argl
[1].this
283 self
.this
= apply(controlsc
.new_wxGauge
,(arg0
.this
,arg1
,arg2
,)+args
)
289 class wxStaticBoxPtr(wxControlPtr
):
290 def __init__(self
,this
):
294 return "<C wxStaticBox instance>"
295 class wxStaticBox(wxStaticBoxPtr
):
296 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
297 argl
= map(None,args
)
298 try: argl
[0] = argl
[0].this
300 try: argl
[1] = argl
[1].this
303 self
.this
= apply(controlsc
.new_wxStaticBox
,(arg0
.this
,arg1
,arg2
,)+args
)
309 class wxStaticTextPtr(wxControlPtr
):
310 def __init__(self
,this
):
314 val
= controlsc
.wxStaticText_GetLabel(self
.this
)
316 def SetLabel(self
,arg0
):
317 val
= controlsc
.wxStaticText_SetLabel(self
.this
,arg0
)
320 return "<C wxStaticText instance>"
321 class wxStaticText(wxStaticTextPtr
):
322 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
323 argl
= map(None,args
)
324 try: argl
[0] = argl
[0].this
326 try: argl
[1] = argl
[1].this
329 self
.this
= apply(controlsc
.new_wxStaticText
,(arg0
.this
,arg1
,arg2
,)+args
)
335 class wxListBoxPtr(wxControlPtr
):
336 def __init__(self
,this
):
339 def Append(self
,arg0
):
340 val
= controlsc
.wxListBox_Append(self
.this
,arg0
)
343 val
= controlsc
.wxListBox_Clear(self
.this
)
345 def Delete(self
,arg0
):
346 val
= controlsc
.wxListBox_Delete(self
.this
,arg0
)
348 def Deselect(self
,arg0
):
349 val
= controlsc
.wxListBox_Deselect(self
.this
,arg0
)
351 def FindString(self
,arg0
):
352 val
= controlsc
.wxListBox_FindString(self
.this
,arg0
)
354 def GetSelection(self
):
355 val
= controlsc
.wxListBox_GetSelection(self
.this
)
357 def GetString(self
,arg0
):
358 val
= controlsc
.wxListBox_GetString(self
.this
,arg0
)
360 def GetStringSelection(self
):
361 val
= controlsc
.wxListBox_GetStringSelection(self
.this
)
364 val
= controlsc
.wxListBox_Number(self
.this
)
366 def Selected(self
,arg0
):
367 val
= controlsc
.wxListBox_Selected(self
.this
,arg0
)
369 def Set(self
,arg0
,*args
):
370 val
= apply(controlsc
.wxListBox_Set
,(self
.this
,arg0
,)+args
)
372 def SetFirstItem(self
,arg0
):
373 val
= controlsc
.wxListBox_SetFirstItem(self
.this
,arg0
)
375 def SetFirstItemStr(self
,arg0
):
376 val
= controlsc
.wxListBox_SetFirstItemStr(self
.this
,arg0
)
378 def SetSelection(self
,arg0
,*args
):
379 val
= apply(controlsc
.wxListBox_SetSelection
,(self
.this
,arg0
,)+args
)
381 def SetString(self
,arg0
,arg1
):
382 val
= controlsc
.wxListBox_SetString(self
.this
,arg0
,arg1
)
384 def SetStringSelection(self
,arg0
,*args
):
385 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
.this
,arg0
,)+args
)
388 return "<C wxListBox instance>"
389 class wxListBox(wxListBoxPtr
):
390 def __init__(self
,arg0
,arg1
,*args
) :
391 argl
= map(None,args
)
392 try: argl
[0] = argl
[0].this
394 try: argl
[1] = argl
[1].this
397 self
.this
= apply(controlsc
.new_wxListBox
,(arg0
.this
,arg1
,)+args
)
403 class wxTextCtrlPtr(wxControlPtr
):
404 def __init__(self
,this
):
408 val
= controlsc
.wxTextCtrl_Clear(self
.this
)
411 val
= controlsc
.wxTextCtrl_Copy(self
.this
)
414 val
= controlsc
.wxTextCtrl_Cut(self
.this
)
416 def DiscardEdits(self
):
417 val
= controlsc
.wxTextCtrl_DiscardEdits(self
.this
)
419 def GetInsertionPoint(self
):
420 val
= controlsc
.wxTextCtrl_GetInsertionPoint(self
.this
)
422 def GetLastPosition(self
):
423 val
= controlsc
.wxTextCtrl_GetLastPosition(self
.this
)
426 val
= controlsc
.wxTextCtrl_GetValue(self
.this
)
428 def IsModified(self
):
429 val
= controlsc
.wxTextCtrl_IsModified(self
.this
)
431 def LoadFile(self
,arg0
):
432 val
= controlsc
.wxTextCtrl_LoadFile(self
.this
,arg0
)
435 val
= controlsc
.wxTextCtrl_Paste(self
.this
)
437 def Remove(self
,arg0
,arg1
):
438 val
= controlsc
.wxTextCtrl_Remove(self
.this
,arg0
,arg1
)
440 def Replace(self
,arg0
,arg1
,arg2
):
441 val
= controlsc
.wxTextCtrl_Replace(self
.this
,arg0
,arg1
,arg2
)
443 def SaveFile(self
,arg0
):
444 val
= controlsc
.wxTextCtrl_SaveFile(self
.this
,arg0
)
446 def SetEditable(self
,arg0
):
447 val
= controlsc
.wxTextCtrl_SetEditable(self
.this
,arg0
)
449 def SetInsertionPoint(self
,arg0
):
450 val
= controlsc
.wxTextCtrl_SetInsertionPoint(self
.this
,arg0
)
452 def SetInsertionPointEnd(self
):
453 val
= controlsc
.wxTextCtrl_SetInsertionPointEnd(self
.this
)
455 def SetSelection(self
,arg0
,arg1
):
456 val
= controlsc
.wxTextCtrl_SetSelection(self
.this
,arg0
,arg1
)
458 def SetValue(self
,arg0
):
459 val
= controlsc
.wxTextCtrl_SetValue(self
.this
,arg0
)
461 def ShowPosition(self
,arg0
):
462 val
= controlsc
.wxTextCtrl_ShowPosition(self
.this
,arg0
)
464 def WriteText(self
,arg0
):
465 val
= controlsc
.wxTextCtrl_WriteText(self
.this
,arg0
)
468 return "<C wxTextCtrl instance>"
469 class wxTextCtrl(wxTextCtrlPtr
):
470 def __init__(self
,arg0
,arg1
,*args
) :
471 argl
= map(None,args
)
472 try: argl
[1] = argl
[1].this
474 try: argl
[2] = argl
[2].this
477 self
.this
= apply(controlsc
.new_wxTextCtrl
,(arg0
.this
,arg1
,)+args
)
483 class wxScrollBarPtr(wxControlPtr
):
484 def __init__(self
,this
):
488 val
= controlsc
.wxScrollBar_GetRange(self
.this
)
490 def GetPageSize(self
):
491 val
= controlsc
.wxScrollBar_GetPageSize(self
.this
)
493 def GetPosition(self
):
494 val
= controlsc
.wxScrollBar_GetPosition(self
.this
)
496 def GetThumbSize(self
):
497 val
= controlsc
.wxScrollBar_GetThumbSize(self
.this
)
499 def SetPosition(self
,arg0
):
500 val
= controlsc
.wxScrollBar_SetPosition(self
.this
,arg0
)
502 def SetScrollbar(self
,arg0
,arg1
,arg2
,arg3
,*args
):
503 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
506 return "<C wxScrollBar instance>"
507 class wxScrollBar(wxScrollBarPtr
):
508 def __init__(self
,arg0
,*args
) :
509 argl
= map(None,args
)
510 try: argl
[1] = argl
[1].this
512 try: argl
[2] = argl
[2].this
515 self
.this
= apply(controlsc
.new_wxScrollBar
,(arg0
.this
,)+args
)
521 class wxStaticBitmapPtr(wxControlPtr
):
522 def __init__(self
,this
):
526 val
= controlsc
.wxStaticBitmap_GetBitmap(self
.this
)
527 val
= wxBitmapPtr(val
)
529 def SetBitmap(self
,arg0
):
530 val
= controlsc
.wxStaticBitmap_SetBitmap(self
.this
,arg0
.this
)
533 return "<C wxStaticBitmap instance>"
534 class wxStaticBitmap(wxStaticBitmapPtr
):
535 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
536 argl
= map(None,args
)
537 try: argl
[0] = argl
[0].this
539 try: argl
[1] = argl
[1].this
542 self
.this
= apply(controlsc
.new_wxStaticBitmap
,(arg0
.this
,arg1
,arg2
.this
,)+args
)
548 class wxRadioBoxPtr(wxControlPtr
):
549 def __init__(self
,this
):
552 def EnableBox(self
,arg0
):
553 val
= controlsc
.wxRadioBox_EnableBox(self
.this
,arg0
)
555 def Enable(self
,arg0
,arg1
):
556 val
= controlsc
.wxRadioBox_Enable(self
.this
,arg0
,arg1
)
558 def FindString(self
,arg0
):
559 val
= controlsc
.wxRadioBox_FindString(self
.this
,arg0
)
561 def GetBoxLabel(self
):
562 val
= controlsc
.wxRadioBox_GetBoxLabel(self
.this
)
564 def GetLabel(self
,arg0
):
565 val
= controlsc
.wxRadioBox_GetLabel(self
.this
,arg0
)
567 def GetSelection(self
):
568 val
= controlsc
.wxRadioBox_GetSelection(self
.this
)
570 def GetString(self
,arg0
):
571 val
= controlsc
.wxRadioBox_GetString(self
.this
,arg0
)
573 def GetStringSelection(self
):
574 val
= controlsc
.wxRadioBox_GetStringSelection(self
.this
)
577 val
= controlsc
.wxRadioBox_Number(self
.this
)
579 def SetBoxLabel(self
,arg0
):
580 val
= controlsc
.wxRadioBox_SetBoxLabel(self
.this
,arg0
)
582 def SetLabel(self
,arg0
,arg1
):
583 val
= controlsc
.wxRadioBox_SetLabel(self
.this
,arg0
,arg1
)
585 def SetSelection(self
,arg0
):
586 val
= controlsc
.wxRadioBox_SetSelection(self
.this
,arg0
)
588 def SetStringSelection(self
,arg0
):
589 val
= controlsc
.wxRadioBox_SetStringSelection(self
.this
,arg0
)
592 val
= controlsc
.wxRadioBox_Show(self
.this
,arg0
)
594 def ShowItem(self
,arg0
,arg1
):
595 val
= controlsc
.wxRadioBox_ShowItem(self
.this
,arg0
,arg1
)
598 return "<C wxRadioBox instance>"
599 class wxRadioBox(wxRadioBoxPtr
):
600 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
601 argl
= map(None,args
)
602 try: argl
[0] = argl
[0].this
604 try: argl
[1] = argl
[1].this
607 self
.this
= apply(controlsc
.new_wxRadioBox
,(arg0
.this
,arg1
,arg2
,)+args
)
613 class wxRadioButtonPtr(wxControlPtr
):
614 def __init__(self
,this
):
618 val
= controlsc
.wxRadioButton_GetValue(self
.this
)
620 def SetValue(self
,arg0
):
621 val
= controlsc
.wxRadioButton_SetValue(self
.this
,arg0
)
624 return "<C wxRadioButton instance>"
625 class wxRadioButton(wxRadioButtonPtr
):
626 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
627 argl
= map(None,args
)
628 try: argl
[0] = argl
[0].this
630 try: argl
[1] = argl
[1].this
633 self
.this
= apply(controlsc
.new_wxRadioButton
,(arg0
.this
,arg1
,arg2
,)+args
)
639 class wxSliderPtr(wxControlPtr
):
640 def __init__(self
,this
):
644 val
= controlsc
.wxSlider_ClearSel(self
.this
)
646 def ClearTicks(self
):
647 val
= controlsc
.wxSlider_ClearTicks(self
.this
)
649 def GetLineSize(self
):
650 val
= controlsc
.wxSlider_GetLineSize(self
.this
)
653 val
= controlsc
.wxSlider_GetMax(self
.this
)
656 val
= controlsc
.wxSlider_GetMin(self
.this
)
658 def GetPageSize(self
):
659 val
= controlsc
.wxSlider_GetPageSize(self
.this
)
662 val
= controlsc
.wxSlider_GetSelEnd(self
.this
)
664 def GetSelStart(self
):
665 val
= controlsc
.wxSlider_GetSelStart(self
.this
)
667 def GetThumbLength(self
):
668 val
= controlsc
.wxSlider_GetThumbLength(self
.this
)
670 def GetTickFreq(self
):
671 val
= controlsc
.wxSlider_GetTickFreq(self
.this
)
674 val
= controlsc
.wxSlider_GetValue(self
.this
)
676 def SetRange(self
,arg0
,arg1
):
677 val
= controlsc
.wxSlider_SetRange(self
.this
,arg0
,arg1
)
679 def SetTickFreq(self
,arg0
,arg1
):
680 val
= controlsc
.wxSlider_SetTickFreq(self
.this
,arg0
,arg1
)
682 def SetLineSize(self
,arg0
):
683 val
= controlsc
.wxSlider_SetLineSize(self
.this
,arg0
)
685 def SetPageSize(self
,arg0
):
686 val
= controlsc
.wxSlider_SetPageSize(self
.this
,arg0
)
688 def SetSelection(self
,arg0
,arg1
):
689 val
= controlsc
.wxSlider_SetSelection(self
.this
,arg0
,arg1
)
691 def SetThumbLength(self
,arg0
):
692 val
= controlsc
.wxSlider_SetThumbLength(self
.this
,arg0
)
694 def SetTick(self
,arg0
):
695 val
= controlsc
.wxSlider_SetTick(self
.this
,arg0
)
697 def SetValue(self
,arg0
):
698 val
= controlsc
.wxSlider_SetValue(self
.this
,arg0
)
701 return "<C wxSlider instance>"
702 class wxSlider(wxSliderPtr
):
703 def __init__(self
,arg0
,arg1
,arg2
,arg3
,arg4
,*args
) :
704 argl
= map(None,args
)
705 try: argl
[0] = argl
[0].this
707 try: argl
[1] = argl
[1].this
710 self
.this
= apply(controlsc
.new_wxSlider
,(arg0
.this
,arg1
,arg2
,arg3
,arg4
,)+args
)
718 #-------------- FUNCTION WRAPPERS ------------------
722 #-------------- VARIABLE WRAPPERS ------------------