1 # This file was created automatically by SWIG.
12 class wxControlPtr(wxWindowPtr
):
13 def __init__(self
,this
):
16 def GetLabel(self
, *_args
, **_kwargs
):
17 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
19 def SetLabel(self
, *_args
, **_kwargs
):
20 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
23 return "<C wxControl instance at %s>" % (self
.this
,)
24 class wxControl(wxControlPtr
):
25 def __init__(self
,this
):
31 class wxButtonPtr(wxControlPtr
):
32 def __init__(self
,this
):
35 def SetDefault(self
, *_args
, **_kwargs
):
36 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
39 return "<C wxButton instance at %s>" % (self
.this
,)
40 class wxButton(wxButtonPtr
):
41 def __init__(self
,*_args
,**_kwargs
):
42 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
44 wx
._StdWindowCallbacks
(self
)
49 class wxBitmapButtonPtr(wxButtonPtr
):
50 def __init__(self
,this
):
53 def GetBitmapLabel(self
, *_args
, **_kwargs
):
54 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
55 if val
: val
= wxBitmapPtr(val
)
57 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
58 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
59 if val
: val
= wxBitmapPtr(val
)
61 def GetBitmapFocus(self
, *_args
, **_kwargs
):
62 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
63 if val
: val
= wxBitmapPtr(val
)
65 def GetBitmapSelected(self
, *_args
, **_kwargs
):
66 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
67 if val
: val
= wxBitmapPtr(val
)
69 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
70 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
72 def SetBitmapFocus(self
, *_args
, **_kwargs
):
73 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
75 def SetBitmapSelected(self
, *_args
, **_kwargs
):
76 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
78 def SetBitmapLabel(self
, *_args
, **_kwargs
):
79 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
82 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
83 class wxBitmapButton(wxBitmapButtonPtr
):
84 def __init__(self
,*_args
,**_kwargs
):
85 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
87 wx
._StdWindowCallbacks
(self
)
92 class wxCheckBoxPtr(wxControlPtr
):
93 def __init__(self
,this
):
96 def GetValue(self
, *_args
, **_kwargs
):
97 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
99 def SetValue(self
, *_args
, **_kwargs
):
100 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
103 return "<C wxCheckBox instance at %s>" % (self
.this
,)
104 class wxCheckBox(wxCheckBoxPtr
):
105 def __init__(self
,*_args
,**_kwargs
):
106 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
108 wx
._StdWindowCallbacks
(self
)
113 class wxChoicePtr(wxControlPtr
):
114 def __init__(self
,this
):
117 def Append(self
, *_args
, **_kwargs
):
118 val
= apply(controlsc
.wxChoice_Append
,(self
,) + _args
, _kwargs
)
120 def Clear(self
, *_args
, **_kwargs
):
121 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
123 def FindString(self
, *_args
, **_kwargs
):
124 val
= apply(controlsc
.wxChoice_FindString
,(self
,) + _args
, _kwargs
)
126 def GetColumns(self
, *_args
, **_kwargs
):
127 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
129 def GetSelection(self
, *_args
, **_kwargs
):
130 val
= apply(controlsc
.wxChoice_GetSelection
,(self
,) + _args
, _kwargs
)
132 def GetString(self
, *_args
, **_kwargs
):
133 val
= apply(controlsc
.wxChoice_GetString
,(self
,) + _args
, _kwargs
)
135 def GetStringSelection(self
, *_args
, **_kwargs
):
136 val
= apply(controlsc
.wxChoice_GetStringSelection
,(self
,) + _args
, _kwargs
)
138 def Number(self
, *_args
, **_kwargs
):
139 val
= apply(controlsc
.wxChoice_Number
,(self
,) + _args
, _kwargs
)
141 def SetColumns(self
, *_args
, **_kwargs
):
142 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
144 def SetSelection(self
, *_args
, **_kwargs
):
145 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
147 def SetStringSelection(self
, *_args
, **_kwargs
):
148 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
151 return "<C wxChoice instance at %s>" % (self
.this
,)
152 class wxChoice(wxChoicePtr
):
153 def __init__(self
,*_args
,**_kwargs
):
154 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
156 wx
._StdWindowCallbacks
(self
)
161 class wxComboBoxPtr(wxChoicePtr
):
162 def __init__(self
,this
):
165 def Append(self
, *_args
, **_kwargs
):
166 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
168 def Clear(self
, *_args
, **_kwargs
):
169 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
171 def Copy(self
, *_args
, **_kwargs
):
172 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
174 def Cut(self
, *_args
, **_kwargs
):
175 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
177 def Delete(self
, *_args
, **_kwargs
):
178 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
180 def FindString(self
, *_args
, **_kwargs
):
181 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
183 def GetInsertionPoint(self
, *_args
, **_kwargs
):
184 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
186 def GetLastPosition(self
, *_args
, **_kwargs
):
187 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
189 def GetSelection(self
, *_args
, **_kwargs
):
190 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
192 def GetString(self
, *_args
, **_kwargs
):
193 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
195 def GetStringSelection(self
, *_args
, **_kwargs
):
196 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
198 def GetValue(self
, *_args
, **_kwargs
):
199 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
201 def Number(self
, *_args
, **_kwargs
):
202 val
= apply(controlsc
.wxComboBox_Number
,(self
,) + _args
, _kwargs
)
204 def Paste(self
, *_args
, **_kwargs
):
205 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
207 def Replace(self
, *_args
, **_kwargs
):
208 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
210 def Remove(self
, *_args
, **_kwargs
):
211 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
213 def SetInsertionPoint(self
, *_args
, **_kwargs
):
214 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
216 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
217 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
219 def SetSelection(self
, *_args
, **_kwargs
):
220 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
222 def SetMark(self
, *_args
, **_kwargs
):
223 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
225 def SetValue(self
, *_args
, **_kwargs
):
226 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
229 return "<C wxComboBox instance at %s>" % (self
.this
,)
230 class wxComboBox(wxComboBoxPtr
):
231 def __init__(self
,*_args
,**_kwargs
):
232 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
234 wx
._StdWindowCallbacks
(self
)
239 class wxGaugePtr(wxControlPtr
):
240 def __init__(self
,this
):
243 def GetBezelFace(self
, *_args
, **_kwargs
):
244 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
246 def GetRange(self
, *_args
, **_kwargs
):
247 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
249 def GetShadowWidth(self
, *_args
, **_kwargs
):
250 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
252 def GetValue(self
, *_args
, **_kwargs
):
253 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
255 def SetBezelFace(self
, *_args
, **_kwargs
):
256 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
258 def SetRange(self
, *_args
, **_kwargs
):
259 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
261 def SetShadowWidth(self
, *_args
, **_kwargs
):
262 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
264 def SetValue(self
, *_args
, **_kwargs
):
265 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
268 return "<C wxGauge instance at %s>" % (self
.this
,)
269 class wxGauge(wxGaugePtr
):
270 def __init__(self
,*_args
,**_kwargs
):
271 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
273 wx
._StdWindowCallbacks
(self
)
278 class wxStaticBoxPtr(wxControlPtr
):
279 def __init__(self
,this
):
283 return "<C wxStaticBox instance at %s>" % (self
.this
,)
284 class wxStaticBox(wxStaticBoxPtr
):
285 def __init__(self
,*_args
,**_kwargs
):
286 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
292 class wxStaticLinePtr(wxControlPtr
):
293 def __init__(self
,this
):
297 return "<C wxStaticLine instance at %s>" % (self
.this
,)
298 class wxStaticLine(wxStaticLinePtr
):
299 def __init__(self
,*_args
,**_kwargs
):
300 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
306 class wxStaticTextPtr(wxControlPtr
):
307 def __init__(self
,this
):
310 def GetLabel(self
, *_args
, **_kwargs
):
311 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
313 def SetLabel(self
, *_args
, **_kwargs
):
314 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
317 return "<C wxStaticText instance at %s>" % (self
.this
,)
318 class wxStaticText(wxStaticTextPtr
):
319 def __init__(self
,*_args
,**_kwargs
):
320 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
322 wx
._StdWindowCallbacks
(self
)
327 class wxListBoxPtr(wxControlPtr
):
328 def __init__(self
,this
):
331 def Append(self
, *_args
, **_kwargs
):
332 val
= apply(controlsc
.wxListBox_Append
,(self
,) + _args
, _kwargs
)
334 def Clear(self
, *_args
, **_kwargs
):
335 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
337 def Delete(self
, *_args
, **_kwargs
):
338 val
= apply(controlsc
.wxListBox_Delete
,(self
,) + _args
, _kwargs
)
340 def Deselect(self
, *_args
, **_kwargs
):
341 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
343 def FindString(self
, *_args
, **_kwargs
):
344 val
= apply(controlsc
.wxListBox_FindString
,(self
,) + _args
, _kwargs
)
346 def GetSelection(self
, *_args
, **_kwargs
):
347 val
= apply(controlsc
.wxListBox_GetSelection
,(self
,) + _args
, _kwargs
)
349 def GetSelections(self
, *_args
, **_kwargs
):
350 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
352 def GetString(self
, *_args
, **_kwargs
):
353 val
= apply(controlsc
.wxListBox_GetString
,(self
,) + _args
, _kwargs
)
355 def GetStringSelection(self
, *_args
, **_kwargs
):
356 val
= apply(controlsc
.wxListBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
358 def Number(self
, *_args
, **_kwargs
):
359 val
= apply(controlsc
.wxListBox_Number
,(self
,) + _args
, _kwargs
)
361 def Selected(self
, *_args
, **_kwargs
):
362 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
364 def Set(self
, *_args
, **_kwargs
):
365 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
367 def SetFirstItem(self
, *_args
, **_kwargs
):
368 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
370 def SetFirstItemStr(self
, *_args
, **_kwargs
):
371 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
373 def SetSelection(self
, *_args
, **_kwargs
):
374 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
376 def SetString(self
, *_args
, **_kwargs
):
377 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
379 def SetStringSelection(self
, *_args
, **_kwargs
):
380 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
383 return "<C wxListBox instance at %s>" % (self
.this
,)
384 class wxListBox(wxListBoxPtr
):
385 def __init__(self
,*_args
,**_kwargs
):
386 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
388 wx
._StdWindowCallbacks
(self
)
393 class wxCheckListBoxPtr(wxListBoxPtr
):
394 def __init__(self
,this
):
397 def IsChecked(self
, *_args
, **_kwargs
):
398 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
400 def Check(self
, *_args
, **_kwargs
):
401 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
403 def GetItemHeight(self
, *_args
, **_kwargs
):
404 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
407 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
408 class wxCheckListBox(wxCheckListBoxPtr
):
409 def __init__(self
,*_args
,**_kwargs
):
410 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
412 wx
._StdWindowCallbacks
(self
)
417 class wxTextCtrlPtr(wxControlPtr
):
418 def __init__(self
,this
):
421 def Clear(self
, *_args
, **_kwargs
):
422 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
424 def Copy(self
, *_args
, **_kwargs
):
425 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
427 def Cut(self
, *_args
, **_kwargs
):
428 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
430 def DiscardEdits(self
, *_args
, **_kwargs
):
431 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
433 def GetInsertionPoint(self
, *_args
, **_kwargs
):
434 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
436 def GetLastPosition(self
, *_args
, **_kwargs
):
437 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
439 def GetLineLength(self
, *_args
, **_kwargs
):
440 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
442 def GetLineText(self
, *_args
, **_kwargs
):
443 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
445 def GetNumberOfLines(self
, *_args
, **_kwargs
):
446 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
448 def GetValue(self
, *_args
, **_kwargs
):
449 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
451 def IsModified(self
, *_args
, **_kwargs
):
452 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
454 def LoadFile(self
, *_args
, **_kwargs
):
455 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
457 def Paste(self
, *_args
, **_kwargs
):
458 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
460 def PositionToXY(self
, *_args
, **_kwargs
):
461 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
463 def Remove(self
, *_args
, **_kwargs
):
464 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
466 def Replace(self
, *_args
, **_kwargs
):
467 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
469 def SaveFile(self
, *_args
, **_kwargs
):
470 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
472 def SetEditable(self
, *_args
, **_kwargs
):
473 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
475 def SetInsertionPoint(self
, *_args
, **_kwargs
):
476 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
478 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
479 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
481 def SetSelection(self
, *_args
, **_kwargs
):
482 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
484 def SetValue(self
, *_args
, **_kwargs
):
485 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
487 def ShowPosition(self
, *_args
, **_kwargs
):
488 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
490 def WriteText(self
, *_args
, **_kwargs
):
491 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
493 def AppendText(self
, *_args
, **_kwargs
):
494 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
496 def XYToPosition(self
, *_args
, **_kwargs
):
497 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
499 def CanCopy(self
, *_args
, **_kwargs
):
500 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
502 def CanCut(self
, *_args
, **_kwargs
):
503 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
505 def CanPaste(self
, *_args
, **_kwargs
):
506 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
508 def CanRedo(self
, *_args
, **_kwargs
):
509 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
511 def CanUndo(self
, *_args
, **_kwargs
):
512 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
514 def GetSelection(self
, *_args
, **_kwargs
):
515 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
517 def IsEditable(self
, *_args
, **_kwargs
):
518 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
521 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
522 class wxTextCtrl(wxTextCtrlPtr
):
523 def __init__(self
,*_args
,**_kwargs
):
524 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
526 wx
._StdWindowCallbacks
(self
)
531 class wxScrollBarPtr(wxControlPtr
):
532 def __init__(self
,this
):
535 def GetRange(self
, *_args
, **_kwargs
):
536 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
538 def GetPageSize(self
, *_args
, **_kwargs
):
539 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
541 def GetThumbPosition(self
, *_args
, **_kwargs
):
542 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
544 def GetThumbSize(self
, *_args
, **_kwargs
):
545 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
547 def SetThumbPosition(self
, *_args
, **_kwargs
):
548 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
550 def SetScrollbar(self
, *_args
, **_kwargs
):
551 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
554 return "<C wxScrollBar instance at %s>" % (self
.this
,)
555 class wxScrollBar(wxScrollBarPtr
):
556 def __init__(self
,*_args
,**_kwargs
):
557 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
559 wx
._StdWindowCallbacks
(self
)
564 class wxSpinButtonPtr(wxControlPtr
):
565 def __init__(self
,this
):
568 def GetMax(self
, *_args
, **_kwargs
):
569 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
571 def GetMin(self
, *_args
, **_kwargs
):
572 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
574 def GetValue(self
, *_args
, **_kwargs
):
575 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
577 def SetRange(self
, *_args
, **_kwargs
):
578 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
580 def SetValue(self
, *_args
, **_kwargs
):
581 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
584 return "<C wxSpinButton instance at %s>" % (self
.this
,)
585 class wxSpinButton(wxSpinButtonPtr
):
586 def __init__(self
,*_args
,**_kwargs
):
587 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
593 class wxStaticBitmapPtr(wxControlPtr
):
594 def __init__(self
,this
):
597 def GetBitmap(self
, *_args
, **_kwargs
):
598 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
599 if val
: val
= wxBitmapPtr(val
)
601 def SetBitmap(self
, *_args
, **_kwargs
):
602 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
604 def SetIcon(self
, *_args
, **_kwargs
):
605 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
608 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
609 class wxStaticBitmap(wxStaticBitmapPtr
):
610 def __init__(self
,*_args
,**_kwargs
):
611 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
613 wx
._StdWindowCallbacks
(self
)
618 class wxRadioBoxPtr(wxControlPtr
):
619 def __init__(self
,this
):
622 def Enable(self
, *_args
, **_kwargs
):
623 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
625 def EnableItem(self
, *_args
, **_kwargs
):
626 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
628 def FindString(self
, *_args
, **_kwargs
):
629 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
631 def GetItemLabel(self
, *_args
, **_kwargs
):
632 val
= apply(controlsc
.wxRadioBox_GetItemLabel
,(self
,) + _args
, _kwargs
)
634 def GetSelection(self
, *_args
, **_kwargs
):
635 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
637 def GetString(self
, *_args
, **_kwargs
):
638 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
640 def GetStringSelection(self
, *_args
, **_kwargs
):
641 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
643 def Number(self
, *_args
, **_kwargs
):
644 val
= apply(controlsc
.wxRadioBox_Number
,(self
,) + _args
, _kwargs
)
646 def SetItemLabel(self
, *_args
, **_kwargs
):
647 val
= apply(controlsc
.wxRadioBox_SetItemLabel
,(self
,) + _args
, _kwargs
)
649 def SetSelection(self
, *_args
, **_kwargs
):
650 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
652 def SetStringSelection(self
, *_args
, **_kwargs
):
653 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
655 def Show(self
, *_args
, **_kwargs
):
656 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
658 def ShowItem(self
, *_args
, **_kwargs
):
659 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
662 return "<C wxRadioBox instance at %s>" % (self
.this
,)
663 class wxRadioBox(wxRadioBoxPtr
):
664 def __init__(self
,*_args
,**_kwargs
):
665 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
667 wx
._StdWindowCallbacks
(self
)
672 class wxRadioButtonPtr(wxControlPtr
):
673 def __init__(self
,this
):
676 def GetValue(self
, *_args
, **_kwargs
):
677 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
679 def SetValue(self
, *_args
, **_kwargs
):
680 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
683 return "<C wxRadioButton instance at %s>" % (self
.this
,)
684 class wxRadioButton(wxRadioButtonPtr
):
685 def __init__(self
,*_args
,**_kwargs
):
686 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
688 wx
._StdWindowCallbacks
(self
)
693 class wxSliderPtr(wxControlPtr
):
694 def __init__(self
,this
):
697 def ClearSel(self
, *_args
, **_kwargs
):
698 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
700 def ClearTicks(self
, *_args
, **_kwargs
):
701 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
703 def GetLineSize(self
, *_args
, **_kwargs
):
704 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
706 def GetMax(self
, *_args
, **_kwargs
):
707 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
709 def GetMin(self
, *_args
, **_kwargs
):
710 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
712 def GetPageSize(self
, *_args
, **_kwargs
):
713 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
715 def GetSelEnd(self
, *_args
, **_kwargs
):
716 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
718 def GetSelStart(self
, *_args
, **_kwargs
):
719 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
721 def GetThumbLength(self
, *_args
, **_kwargs
):
722 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
724 def GetTickFreq(self
, *_args
, **_kwargs
):
725 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
727 def GetValue(self
, *_args
, **_kwargs
):
728 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
730 def SetRange(self
, *_args
, **_kwargs
):
731 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
733 def SetTickFreq(self
, *_args
, **_kwargs
):
734 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
736 def SetLineSize(self
, *_args
, **_kwargs
):
737 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
739 def SetPageSize(self
, *_args
, **_kwargs
):
740 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
742 def SetSelection(self
, *_args
, **_kwargs
):
743 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
745 def SetThumbLength(self
, *_args
, **_kwargs
):
746 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
748 def SetTick(self
, *_args
, **_kwargs
):
749 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
751 def SetValue(self
, *_args
, **_kwargs
):
752 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
755 return "<C wxSlider instance at %s>" % (self
.this
,)
756 class wxSlider(wxSliderPtr
):
757 def __init__(self
,*_args
,**_kwargs
):
758 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
760 wx
._StdWindowCallbacks
(self
)
767 #-------------- FUNCTION WRAPPERS ------------------
771 #-------------- VARIABLE WRAPPERS ------------------