1 # This file was created automatically by SWIG.
12 class wxControlPtr(wxWindowPtr
):
13 def __init__(self
,this
):
16 def Command(self
,arg0
):
17 val
= controlsc
.wxControl_Command(self
.this
,arg0
.this
)
20 val
= controlsc
.wxControl_GetLabel(self
.this
)
22 def SetLabel(self
,arg0
):
23 val
= controlsc
.wxControl_SetLabel(self
.this
,arg0
)
26 return "<C wxControl instance>"
27 class wxControl(wxControlPtr
):
28 def __init__(self
,this
):
34 class wxButtonPtr(wxControlPtr
):
35 def __init__(self
,this
):
39 val
= controlsc
.wxButton_SetDefault(self
.this
)
42 return "<C wxButton instance>"
43 class wxButton(wxButtonPtr
):
44 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
46 try: argl
[0] = argl
[0].this
48 try: argl
[1] = argl
[1].this
51 self
.this
= apply(controlsc
.new_wxButton
,(arg0
.this
,arg1
,arg2
,)+args
)
53 wxp
._StdWindowCallbacks
(self
)
58 class wxBitmapButtonPtr(wxButtonPtr
):
59 def __init__(self
,this
):
62 def GetBitmapLabel(self
):
63 val
= controlsc
.wxBitmapButton_GetBitmapLabel(self
.this
)
64 val
= wxBitmapPtr(val
)
66 def SetBitmapLabel(self
,arg0
):
67 val
= controlsc
.wxBitmapButton_SetBitmapLabel(self
.this
,arg0
.this
)
70 return "<C wxBitmapButton instance>"
71 class wxBitmapButton(wxBitmapButtonPtr
):
72 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
74 try: argl
[0] = argl
[0].this
76 try: argl
[1] = argl
[1].this
79 self
.this
= apply(controlsc
.new_wxBitmapButton
,(arg0
.this
,arg1
,arg2
.this
,)+args
)
81 wxp
._StdWindowCallbacks
(self
)
86 class wxCheckBoxPtr(wxControlPtr
):
87 def __init__(self
,this
):
91 val
= controlsc
.wxCheckBox_GetValue(self
.this
)
93 def SetValue(self
,arg0
):
94 val
= controlsc
.wxCheckBox_SetValue(self
.this
,arg0
)
97 return "<C wxCheckBox instance>"
98 class wxCheckBox(wxCheckBoxPtr
):
99 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
100 argl
= map(None,args
)
101 try: argl
[0] = argl
[0].this
103 try: argl
[1] = argl
[1].this
106 self
.this
= apply(controlsc
.new_wxCheckBox
,(arg0
.this
,arg1
,arg2
,)+args
)
108 wxp
._StdWindowCallbacks
(self
)
113 class wxChoicePtr(wxControlPtr
):
114 def __init__(self
,this
):
117 def Append(self
,arg0
):
118 val
= controlsc
.wxChoice_Append(self
.this
,arg0
)
121 val
= controlsc
.wxChoice_Clear(self
.this
)
123 def FindString(self
,arg0
):
124 val
= controlsc
.wxChoice_FindString(self
.this
,arg0
)
126 def GetColumns(self
):
127 val
= controlsc
.wxChoice_GetColumns(self
.this
)
129 def GetSelection(self
):
130 val
= controlsc
.wxChoice_GetSelection(self
.this
)
132 def GetString(self
,arg0
):
133 val
= controlsc
.wxChoice_GetString(self
.this
,arg0
)
135 def GetStringSelection(self
):
136 val
= controlsc
.wxChoice_GetStringSelection(self
.this
)
139 val
= controlsc
.wxChoice_Number(self
.this
)
141 def SetColumns(self
,*args
):
142 val
= apply(controlsc
.wxChoice_SetColumns
,(self
.this
,)+args
)
144 def SetSelection(self
,arg0
):
145 val
= controlsc
.wxChoice_SetSelection(self
.this
,arg0
)
147 def SetStringSelection(self
,arg0
):
148 val
= controlsc
.wxChoice_SetStringSelection(self
.this
,arg0
)
151 return "<C wxChoice instance>"
152 class wxChoice(wxChoicePtr
):
153 def __init__(self
,arg0
,arg1
,*args
) :
154 argl
= map(None,args
)
155 try: argl
[0] = argl
[0].this
157 try: argl
[1] = argl
[1].this
160 self
.this
= apply(controlsc
.new_wxChoice
,(arg0
.this
,arg1
,)+args
)
162 wxp
._StdWindowCallbacks
(self
)
167 class wxComboBoxPtr(wxControlPtr
):
168 def __init__(self
,this
):
171 def Append(self
,arg0
):
172 val
= controlsc
.wxComboBox_Append(self
.this
,arg0
)
175 val
= controlsc
.wxComboBox_Clear(self
.this
)
178 val
= controlsc
.wxComboBox_Copy(self
.this
)
181 val
= controlsc
.wxComboBox_Cut(self
.this
)
183 def Delete(self
,arg0
):
184 val
= controlsc
.wxComboBox_Delete(self
.this
,arg0
)
186 def FindString(self
,arg0
):
187 val
= controlsc
.wxComboBox_FindString(self
.this
,arg0
)
189 def GetInsertionPoint(self
):
190 val
= controlsc
.wxComboBox_GetInsertionPoint(self
.this
)
192 def GetLastPosition(self
):
193 val
= controlsc
.wxComboBox_GetLastPosition(self
.this
)
195 def GetSelection(self
):
196 val
= controlsc
.wxComboBox_GetSelection(self
.this
)
198 def GetString(self
,arg0
):
199 val
= controlsc
.wxComboBox_GetString(self
.this
,arg0
)
201 def GetStringSelection(self
):
202 val
= controlsc
.wxComboBox_GetStringSelection(self
.this
)
205 val
= controlsc
.wxComboBox_GetValue(self
.this
)
208 val
= controlsc
.wxComboBox_Number(self
.this
)
211 val
= controlsc
.wxComboBox_Paste(self
.this
)
213 def Replace(self
,arg0
,arg1
,arg2
):
214 val
= controlsc
.wxComboBox_Replace(self
.this
,arg0
,arg1
,arg2
)
216 def Remove(self
,arg0
,arg1
):
217 val
= controlsc
.wxComboBox_Remove(self
.this
,arg0
,arg1
)
219 def SetInsertionPoint(self
,arg0
):
220 val
= controlsc
.wxComboBox_SetInsertionPoint(self
.this
,arg0
)
222 def SetInsertionPointEnd(self
):
223 val
= controlsc
.wxComboBox_SetInsertionPointEnd(self
.this
)
225 def SetSelection(self
,arg0
,*args
):
226 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
.this
,arg0
,)+args
)
228 def SetMark(self
,arg0
,arg1
):
229 val
= controlsc
.wxComboBox_SetMark(self
.this
,arg0
,arg1
)
231 def SetValue(self
,arg0
):
232 val
= controlsc
.wxComboBox_SetValue(self
.this
,arg0
)
235 return "<C wxComboBox instance>"
236 class wxComboBox(wxComboBoxPtr
):
237 def __init__(self
,arg0
,arg1
,*args
) :
238 argl
= map(None,args
)
239 try: argl
[1] = argl
[1].this
241 try: argl
[2] = argl
[2].this
244 self
.this
= apply(controlsc
.new_wxComboBox
,(arg0
.this
,arg1
,)+args
)
246 wxp
._StdWindowCallbacks
(self
)
251 class wxGaugePtr(wxControlPtr
):
252 def __init__(self
,this
):
255 def GetBezelFace(self
):
256 val
= controlsc
.wxGauge_GetBezelFace(self
.this
)
259 val
= controlsc
.wxGauge_GetRange(self
.this
)
261 def GetShadowWidth(self
):
262 val
= controlsc
.wxGauge_GetShadowWidth(self
.this
)
265 val
= controlsc
.wxGauge_GetValue(self
.this
)
267 def SetBezelFace(self
,arg0
):
268 val
= controlsc
.wxGauge_SetBezelFace(self
.this
,arg0
)
270 def SetRange(self
,arg0
):
271 val
= controlsc
.wxGauge_SetRange(self
.this
,arg0
)
273 def SetShadowWidth(self
,arg0
):
274 val
= controlsc
.wxGauge_SetShadowWidth(self
.this
,arg0
)
276 def SetValue(self
,arg0
):
277 val
= controlsc
.wxGauge_SetValue(self
.this
,arg0
)
280 return "<C wxGauge instance>"
281 class wxGauge(wxGaugePtr
):
282 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
283 argl
= map(None,args
)
284 try: argl
[0] = argl
[0].this
286 try: argl
[1] = argl
[1].this
289 self
.this
= apply(controlsc
.new_wxGauge
,(arg0
.this
,arg1
,arg2
,)+args
)
291 wxp
._StdWindowCallbacks
(self
)
296 class wxStaticBoxPtr(wxControlPtr
):
297 def __init__(self
,this
):
301 return "<C wxStaticBox instance>"
302 class wxStaticBox(wxStaticBoxPtr
):
303 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
304 argl
= map(None,args
)
305 try: argl
[0] = argl
[0].this
307 try: argl
[1] = argl
[1].this
310 self
.this
= apply(controlsc
.new_wxStaticBox
,(arg0
.this
,arg1
,arg2
,)+args
)
316 class wxStaticTextPtr(wxControlPtr
):
317 def __init__(self
,this
):
321 val
= controlsc
.wxStaticText_GetLabel(self
.this
)
323 def SetLabel(self
,arg0
):
324 val
= controlsc
.wxStaticText_SetLabel(self
.this
,arg0
)
327 return "<C wxStaticText instance>"
328 class wxStaticText(wxStaticTextPtr
):
329 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
330 argl
= map(None,args
)
331 try: argl
[0] = argl
[0].this
333 try: argl
[1] = argl
[1].this
336 self
.this
= apply(controlsc
.new_wxStaticText
,(arg0
.this
,arg1
,arg2
,)+args
)
338 wxp
._StdWindowCallbacks
(self
)
343 class wxListBoxPtr(wxControlPtr
):
344 def __init__(self
,this
):
347 def Append(self
,arg0
):
348 val
= controlsc
.wxListBox_Append(self
.this
,arg0
)
351 val
= controlsc
.wxListBox_Clear(self
.this
)
353 def Delete(self
,arg0
):
354 val
= controlsc
.wxListBox_Delete(self
.this
,arg0
)
356 def Deselect(self
,arg0
):
357 val
= controlsc
.wxListBox_Deselect(self
.this
,arg0
)
359 def FindString(self
,arg0
):
360 val
= controlsc
.wxListBox_FindString(self
.this
,arg0
)
362 def GetSelection(self
):
363 val
= controlsc
.wxListBox_GetSelection(self
.this
)
365 def GetString(self
,arg0
):
366 val
= controlsc
.wxListBox_GetString(self
.this
,arg0
)
368 def GetStringSelection(self
):
369 val
= controlsc
.wxListBox_GetStringSelection(self
.this
)
372 val
= controlsc
.wxListBox_Number(self
.this
)
374 def Selected(self
,arg0
):
375 val
= controlsc
.wxListBox_Selected(self
.this
,arg0
)
377 def Set(self
,arg0
,*args
):
378 val
= apply(controlsc
.wxListBox_Set
,(self
.this
,arg0
,)+args
)
380 def SetFirstItem(self
,arg0
):
381 val
= controlsc
.wxListBox_SetFirstItem(self
.this
,arg0
)
383 def SetFirstItemStr(self
,arg0
):
384 val
= controlsc
.wxListBox_SetFirstItemStr(self
.this
,arg0
)
386 def SetSelection(self
,arg0
,*args
):
387 val
= apply(controlsc
.wxListBox_SetSelection
,(self
.this
,arg0
,)+args
)
389 def SetString(self
,arg0
,arg1
):
390 val
= controlsc
.wxListBox_SetString(self
.this
,arg0
,arg1
)
392 def SetStringSelection(self
,arg0
,*args
):
393 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
.this
,arg0
,)+args
)
396 return "<C wxListBox instance>"
397 class wxListBox(wxListBoxPtr
):
398 def __init__(self
,arg0
,arg1
,*args
) :
399 argl
= map(None,args
)
400 try: argl
[0] = argl
[0].this
402 try: argl
[1] = argl
[1].this
405 self
.this
= apply(controlsc
.new_wxListBox
,(arg0
.this
,arg1
,)+args
)
407 wxp
._StdWindowCallbacks
(self
)
412 class wxTextCtrlPtr(wxControlPtr
):
413 def __init__(self
,this
):
417 val
= controlsc
.wxTextCtrl_Clear(self
.this
)
420 val
= controlsc
.wxTextCtrl_Copy(self
.this
)
423 val
= controlsc
.wxTextCtrl_Cut(self
.this
)
425 def DiscardEdits(self
):
426 val
= controlsc
.wxTextCtrl_DiscardEdits(self
.this
)
428 def GetInsertionPoint(self
):
429 val
= controlsc
.wxTextCtrl_GetInsertionPoint(self
.this
)
431 def GetLastPosition(self
):
432 val
= controlsc
.wxTextCtrl_GetLastPosition(self
.this
)
434 def GetLineLength(self
,arg0
):
435 val
= controlsc
.wxTextCtrl_GetLineLength(self
.this
,arg0
)
437 def GetLineText(self
,arg0
):
438 val
= controlsc
.wxTextCtrl_GetLineText(self
.this
,arg0
)
440 def GetNumberOfLines(self
):
441 val
= controlsc
.wxTextCtrl_GetNumberOfLines(self
.this
)
444 val
= controlsc
.wxTextCtrl_GetValue(self
.this
)
446 def IsModified(self
):
447 val
= controlsc
.wxTextCtrl_IsModified(self
.this
)
449 def LoadFile(self
,arg0
):
450 val
= controlsc
.wxTextCtrl_LoadFile(self
.this
,arg0
)
453 val
= controlsc
.wxTextCtrl_Paste(self
.this
)
455 def PositionToXY(self
,arg0
):
456 val
= controlsc
.wxTextCtrl_PositionToXY(self
.this
,arg0
)
458 def Remove(self
,arg0
,arg1
):
459 val
= controlsc
.wxTextCtrl_Remove(self
.this
,arg0
,arg1
)
461 def Replace(self
,arg0
,arg1
,arg2
):
462 val
= controlsc
.wxTextCtrl_Replace(self
.this
,arg0
,arg1
,arg2
)
464 def SaveFile(self
,arg0
):
465 val
= controlsc
.wxTextCtrl_SaveFile(self
.this
,arg0
)
467 def SetEditable(self
,arg0
):
468 val
= controlsc
.wxTextCtrl_SetEditable(self
.this
,arg0
)
470 def SetInsertionPoint(self
,arg0
):
471 val
= controlsc
.wxTextCtrl_SetInsertionPoint(self
.this
,arg0
)
473 def SetInsertionPointEnd(self
):
474 val
= controlsc
.wxTextCtrl_SetInsertionPointEnd(self
.this
)
476 def SetSelection(self
,arg0
,arg1
):
477 val
= controlsc
.wxTextCtrl_SetSelection(self
.this
,arg0
,arg1
)
479 def SetValue(self
,arg0
):
480 val
= controlsc
.wxTextCtrl_SetValue(self
.this
,arg0
)
482 def ShowPosition(self
,arg0
):
483 val
= controlsc
.wxTextCtrl_ShowPosition(self
.this
,arg0
)
485 def WriteText(self
,arg0
):
486 val
= controlsc
.wxTextCtrl_WriteText(self
.this
,arg0
)
488 def XYToPosition(self
,arg0
,arg1
):
489 val
= controlsc
.wxTextCtrl_XYToPosition(self
.this
,arg0
,arg1
)
492 return "<C wxTextCtrl instance>"
493 class wxTextCtrl(wxTextCtrlPtr
):
494 def __init__(self
,arg0
,arg1
,*args
) :
495 argl
= map(None,args
)
496 try: argl
[1] = argl
[1].this
498 try: argl
[2] = argl
[2].this
501 self
.this
= apply(controlsc
.new_wxTextCtrl
,(arg0
.this
,arg1
,)+args
)
503 wxp
._StdWindowCallbacks
(self
)
508 class wxScrollBarPtr(wxControlPtr
):
509 def __init__(self
,this
):
513 val
= controlsc
.wxScrollBar_GetRange(self
.this
)
515 def GetPageSize(self
):
516 val
= controlsc
.wxScrollBar_GetPageSize(self
.this
)
518 def GetPosition(self
):
519 val
= controlsc
.wxScrollBar_GetPosition(self
.this
)
521 def GetThumbSize(self
):
522 val
= controlsc
.wxScrollBar_GetThumbSize(self
.this
)
524 def SetPosition(self
,arg0
):
525 val
= controlsc
.wxScrollBar_SetPosition(self
.this
,arg0
)
527 def SetScrollbar(self
,arg0
,arg1
,arg2
,arg3
,*args
):
528 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
.this
,arg0
,arg1
,arg2
,arg3
,)+args
)
531 return "<C wxScrollBar instance>"
532 class wxScrollBar(wxScrollBarPtr
):
533 def __init__(self
,arg0
,*args
) :
534 argl
= map(None,args
)
535 try: argl
[1] = argl
[1].this
537 try: argl
[2] = argl
[2].this
540 self
.this
= apply(controlsc
.new_wxScrollBar
,(arg0
.this
,)+args
)
542 wxp
._StdWindowCallbacks
(self
)
547 class wxStaticBitmapPtr(wxControlPtr
):
548 def __init__(self
,this
):
552 val
= controlsc
.wxStaticBitmap_GetBitmap(self
.this
)
553 val
= wxBitmapPtr(val
)
555 def SetBitmap(self
,arg0
):
556 val
= controlsc
.wxStaticBitmap_SetBitmap(self
.this
,arg0
.this
)
559 return "<C wxStaticBitmap instance>"
560 class wxStaticBitmap(wxStaticBitmapPtr
):
561 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
562 argl
= map(None,args
)
563 try: argl
[0] = argl
[0].this
565 try: argl
[1] = argl
[1].this
568 self
.this
= apply(controlsc
.new_wxStaticBitmap
,(arg0
.this
,arg1
,arg2
.this
,)+args
)
570 wxp
._StdWindowCallbacks
(self
)
575 class wxRadioBoxPtr(wxControlPtr
):
576 def __init__(self
,this
):
579 def EnableBox(self
,arg0
):
580 val
= controlsc
.wxRadioBox_EnableBox(self
.this
,arg0
)
582 def Enable(self
,arg0
,arg1
):
583 val
= controlsc
.wxRadioBox_Enable(self
.this
,arg0
,arg1
)
585 def FindString(self
,arg0
):
586 val
= controlsc
.wxRadioBox_FindString(self
.this
,arg0
)
588 def GetLabel(self
,arg0
):
589 val
= controlsc
.wxRadioBox_GetLabel(self
.this
,arg0
)
591 def GetSelection(self
):
592 val
= controlsc
.wxRadioBox_GetSelection(self
.this
)
594 def GetString(self
,arg0
):
595 val
= controlsc
.wxRadioBox_GetString(self
.this
,arg0
)
597 def GetStringSelection(self
):
598 val
= controlsc
.wxRadioBox_GetStringSelection(self
.this
)
601 val
= controlsc
.wxRadioBox_Number(self
.this
)
603 def SetBoxLabel(self
,arg0
):
604 val
= controlsc
.wxRadioBox_SetBoxLabel(self
.this
,arg0
)
606 def SetLabel(self
,arg0
,arg1
):
607 val
= controlsc
.wxRadioBox_SetLabel(self
.this
,arg0
,arg1
)
609 def SetSelection(self
,arg0
):
610 val
= controlsc
.wxRadioBox_SetSelection(self
.this
,arg0
)
612 def SetStringSelection(self
,arg0
):
613 val
= controlsc
.wxRadioBox_SetStringSelection(self
.this
,arg0
)
616 val
= controlsc
.wxRadioBox_Show(self
.this
,arg0
)
618 def ShowItem(self
,arg0
,arg1
):
619 val
= controlsc
.wxRadioBox_ShowItem(self
.this
,arg0
,arg1
)
622 return "<C wxRadioBox instance>"
623 class wxRadioBox(wxRadioBoxPtr
):
624 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
625 argl
= map(None,args
)
626 try: argl
[0] = argl
[0].this
628 try: argl
[1] = argl
[1].this
631 self
.this
= apply(controlsc
.new_wxRadioBox
,(arg0
.this
,arg1
,arg2
,)+args
)
633 wxp
._StdWindowCallbacks
(self
)
638 class wxRadioButtonPtr(wxControlPtr
):
639 def __init__(self
,this
):
643 val
= controlsc
.wxRadioButton_GetValue(self
.this
)
645 def SetValue(self
,arg0
):
646 val
= controlsc
.wxRadioButton_SetValue(self
.this
,arg0
)
649 return "<C wxRadioButton instance>"
650 class wxRadioButton(wxRadioButtonPtr
):
651 def __init__(self
,arg0
,arg1
,arg2
,*args
) :
652 argl
= map(None,args
)
653 try: argl
[0] = argl
[0].this
655 try: argl
[1] = argl
[1].this
658 self
.this
= apply(controlsc
.new_wxRadioButton
,(arg0
.this
,arg1
,arg2
,)+args
)
660 wxp
._StdWindowCallbacks
(self
)
665 class wxSliderPtr(wxControlPtr
):
666 def __init__(self
,this
):
670 val
= controlsc
.wxSlider_ClearSel(self
.this
)
672 def ClearTicks(self
):
673 val
= controlsc
.wxSlider_ClearTicks(self
.this
)
675 def GetLineSize(self
):
676 val
= controlsc
.wxSlider_GetLineSize(self
.this
)
679 val
= controlsc
.wxSlider_GetMax(self
.this
)
682 val
= controlsc
.wxSlider_GetMin(self
.this
)
684 def GetPageSize(self
):
685 val
= controlsc
.wxSlider_GetPageSize(self
.this
)
688 val
= controlsc
.wxSlider_GetSelEnd(self
.this
)
690 def GetSelStart(self
):
691 val
= controlsc
.wxSlider_GetSelStart(self
.this
)
693 def GetThumbLength(self
):
694 val
= controlsc
.wxSlider_GetThumbLength(self
.this
)
696 def GetTickFreq(self
):
697 val
= controlsc
.wxSlider_GetTickFreq(self
.this
)
700 val
= controlsc
.wxSlider_GetValue(self
.this
)
702 def SetRange(self
,arg0
,arg1
):
703 val
= controlsc
.wxSlider_SetRange(self
.this
,arg0
,arg1
)
705 def SetTickFreq(self
,arg0
,arg1
):
706 val
= controlsc
.wxSlider_SetTickFreq(self
.this
,arg0
,arg1
)
708 def SetLineSize(self
,arg0
):
709 val
= controlsc
.wxSlider_SetLineSize(self
.this
,arg0
)
711 def SetPageSize(self
,arg0
):
712 val
= controlsc
.wxSlider_SetPageSize(self
.this
,arg0
)
714 def SetSelection(self
,arg0
,arg1
):
715 val
= controlsc
.wxSlider_SetSelection(self
.this
,arg0
,arg1
)
717 def SetThumbLength(self
,arg0
):
718 val
= controlsc
.wxSlider_SetThumbLength(self
.this
,arg0
)
720 def SetTick(self
,arg0
):
721 val
= controlsc
.wxSlider_SetTick(self
.this
,arg0
)
723 def SetValue(self
,arg0
):
724 val
= controlsc
.wxSlider_SetValue(self
.this
,arg0
)
727 return "<C wxSlider instance>"
728 class wxSlider(wxSliderPtr
):
729 def __init__(self
,arg0
,arg1
,arg2
,arg3
,arg4
,*args
) :
730 argl
= map(None,args
)
731 try: argl
[0] = argl
[0].this
733 try: argl
[1] = argl
[1].this
736 self
.this
= apply(controlsc
.new_wxSlider
,(arg0
.this
,arg1
,arg2
,arg3
,arg4
,)+args
)
738 wxp
._StdWindowCallbacks
(self
)
745 #-------------- FUNCTION WRAPPERS ------------------
749 #-------------- VARIABLE WRAPPERS ------------------