1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
16 class wxControlPtr(wxWindowPtr
):
17 def __init__(self
,this
):
20 def Create(self
, *_args
, **_kwargs
):
21 val
= apply(controlsc
.wxControl_Create
,(self
,) + _args
, _kwargs
)
23 def Command(self
, *_args
, **_kwargs
):
24 val
= apply(controlsc
.wxControl_Command
,(self
,) + _args
, _kwargs
)
26 def GetLabel(self
, *_args
, **_kwargs
):
27 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
29 def SetLabel(self
, *_args
, **_kwargs
):
30 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
33 return "<C wxControl instance at %s>" % (self
.this
,)
34 class wxControl(wxControlPtr
):
35 def __init__(self
,*_args
,**_kwargs
):
36 self
.this
= apply(controlsc
.new_wxControl
,_args
,_kwargs
)
38 self
._setOORInfo
(self
)
42 def wxPreControl(*_args
,**_kwargs
):
43 val
= wxControlPtr(apply(controlsc
.new_wxPreControl
,_args
,_kwargs
))
49 class wxControlWithItemsPtr(wxControlPtr
):
50 def __init__(self
,this
):
53 def Delete(self
, *_args
, **_kwargs
):
54 val
= apply(controlsc
.wxControlWithItems_Delete
,(self
,) + _args
, _kwargs
)
56 def GetCount(self
, *_args
, **_kwargs
):
57 val
= apply(controlsc
.wxControlWithItems_GetCount
,(self
,) + _args
, _kwargs
)
59 def GetString(self
, *_args
, **_kwargs
):
60 val
= apply(controlsc
.wxControlWithItems_GetString
,(self
,) + _args
, _kwargs
)
62 def SetString(self
, *_args
, **_kwargs
):
63 val
= apply(controlsc
.wxControlWithItems_SetString
,(self
,) + _args
, _kwargs
)
65 def FindString(self
, *_args
, **_kwargs
):
66 val
= apply(controlsc
.wxControlWithItems_FindString
,(self
,) + _args
, _kwargs
)
68 def Select(self
, *_args
, **_kwargs
):
69 val
= apply(controlsc
.wxControlWithItems_Select
,(self
,) + _args
, _kwargs
)
71 def GetSelection(self
, *_args
, **_kwargs
):
72 val
= apply(controlsc
.wxControlWithItems_GetSelection
,(self
,) + _args
, _kwargs
)
74 def GetStringSelection(self
, *_args
, **_kwargs
):
75 val
= apply(controlsc
.wxControlWithItems_GetStringSelection
,(self
,) + _args
, _kwargs
)
77 def Append(self
, *_args
, **_kwargs
):
78 val
= apply(controlsc
.wxControlWithItems_Append
,(self
,) + _args
, _kwargs
)
80 def GetClientData(self
, *_args
, **_kwargs
):
81 val
= apply(controlsc
.wxControlWithItems_GetClientData
,(self
,) + _args
, _kwargs
)
83 def SetClientData(self
, *_args
, **_kwargs
):
84 val
= apply(controlsc
.wxControlWithItems_SetClientData
,(self
,) + _args
, _kwargs
)
86 def AppendItems(self
, *_args
, **_kwargs
):
87 val
= apply(controlsc
.wxControlWithItems_AppendItems
,(self
,) + _args
, _kwargs
)
90 return "<C wxControlWithItems instance at %s>" % (self
.this
,)
92 class wxControlWithItems(wxControlWithItemsPtr
):
93 def __init__(self
,this
):
99 class wxButtonPtr(wxControlPtr
):
100 def __init__(self
,this
):
103 def Create(self
, *_args
, **_kwargs
):
104 val
= apply(controlsc
.wxButton_Create
,(self
,) + _args
, _kwargs
)
106 def SetDefault(self
, *_args
, **_kwargs
):
107 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
109 def SetBackgroundColour(self
, *_args
, **_kwargs
):
110 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
112 def SetForegroundColour(self
, *_args
, **_kwargs
):
113 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
116 return "<C wxButton instance at %s>" % (self
.this
,)
117 class wxButton(wxButtonPtr
):
118 def __init__(self
,*_args
,**_kwargs
):
119 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
121 self
._setOORInfo
(self
)
125 def wxPreButton(*_args
,**_kwargs
):
126 val
= wxButtonPtr(apply(controlsc
.new_wxPreButton
,_args
,_kwargs
))
132 class wxBitmapButtonPtr(wxButtonPtr
):
133 def __init__(self
,this
):
136 def Create(self
, *_args
, **_kwargs
):
137 val
= apply(controlsc
.wxBitmapButton_Create
,(self
,) + _args
, _kwargs
)
139 def GetBitmapLabel(self
, *_args
, **_kwargs
):
140 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
141 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
143 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
144 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
145 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
147 def GetBitmapFocus(self
, *_args
, **_kwargs
):
148 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
149 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
151 def GetBitmapSelected(self
, *_args
, **_kwargs
):
152 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
153 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
155 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
156 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
158 def SetBitmapFocus(self
, *_args
, **_kwargs
):
159 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
161 def SetBitmapSelected(self
, *_args
, **_kwargs
):
162 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
164 def SetBitmapLabel(self
, *_args
, **_kwargs
):
165 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
167 def SetMargins(self
, *_args
, **_kwargs
):
168 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
170 def GetMarginX(self
, *_args
, **_kwargs
):
171 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
173 def GetMarginY(self
, *_args
, **_kwargs
):
174 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
177 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
178 class wxBitmapButton(wxBitmapButtonPtr
):
179 def __init__(self
,*_args
,**_kwargs
):
180 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
182 self
._setOORInfo
(self
)
186 def wxPreBitmapButton(*_args
,**_kwargs
):
187 val
= wxBitmapButtonPtr(apply(controlsc
.new_wxPreBitmapButton
,_args
,_kwargs
))
193 class wxCheckBoxPtr(wxControlPtr
):
194 def __init__(self
,this
):
197 def Create(self
, *_args
, **_kwargs
):
198 val
= apply(controlsc
.wxCheckBox_Create
,(self
,) + _args
, _kwargs
)
200 def GetValue(self
, *_args
, **_kwargs
):
201 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
203 def SetValue(self
, *_args
, **_kwargs
):
204 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
207 return "<C wxCheckBox instance at %s>" % (self
.this
,)
208 class wxCheckBox(wxCheckBoxPtr
):
209 def __init__(self
,*_args
,**_kwargs
):
210 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
212 self
._setOORInfo
(self
)
216 def wxPreCheckBox(*_args
,**_kwargs
):
217 val
= wxCheckBoxPtr(apply(controlsc
.new_wxPreCheckBox
,_args
,_kwargs
))
223 class wxChoicePtr(wxControlWithItemsPtr
):
224 def __init__(self
,this
):
227 def Create(self
, *_args
, **_kwargs
):
228 val
= apply(controlsc
.wxChoice_Create
,(self
,) + _args
, _kwargs
)
230 def Clear(self
, *_args
, **_kwargs
):
231 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
233 def GetColumns(self
, *_args
, **_kwargs
):
234 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
236 def SetColumns(self
, *_args
, **_kwargs
):
237 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
239 def SetSelection(self
, *_args
, **_kwargs
):
240 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
242 def SetStringSelection(self
, *_args
, **_kwargs
):
243 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
245 def SetString(self
, *_args
, **_kwargs
):
246 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
249 return "<C wxChoice instance at %s>" % (self
.this
,)
251 Select
= SetSelection
253 class wxChoice(wxChoicePtr
):
254 def __init__(self
,*_args
,**_kwargs
):
255 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
257 self
._setOORInfo
(self
)
261 def wxPreChoice(*_args
,**_kwargs
):
262 val
= wxChoicePtr(apply(controlsc
.new_wxPreChoice
,_args
,_kwargs
))
268 class wxComboBoxPtr(wxControlPtr
):
269 def __init__(self
,this
):
272 def Create(self
, *_args
, **_kwargs
):
273 val
= apply(controlsc
.wxComboBox_Create
,(self
,) + _args
, _kwargs
)
275 def Copy(self
, *_args
, **_kwargs
):
276 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
278 def Cut(self
, *_args
, **_kwargs
):
279 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
281 def GetInsertionPoint(self
, *_args
, **_kwargs
):
282 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
284 def GetLastPosition(self
, *_args
, **_kwargs
):
285 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
287 def GetValue(self
, *_args
, **_kwargs
):
288 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
290 def Paste(self
, *_args
, **_kwargs
):
291 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
293 def Replace(self
, *_args
, **_kwargs
):
294 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
296 def Remove(self
, *_args
, **_kwargs
):
297 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
299 def SetInsertionPoint(self
, *_args
, **_kwargs
):
300 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
302 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
303 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
305 def SetSelection(self
, *_args
, **_kwargs
):
306 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
308 def SetMark(self
, *_args
, **_kwargs
):
309 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
311 def SetValue(self
, *_args
, **_kwargs
):
312 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
314 def SetEditable(self
, *_args
, **_kwargs
):
315 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
317 def Clear(self
, *_args
, **_kwargs
):
318 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
320 def Delete(self
, *_args
, **_kwargs
):
321 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
323 def GetCount(self
, *_args
, **_kwargs
):
324 val
= apply(controlsc
.wxComboBox_GetCount
,(self
,) + _args
, _kwargs
)
326 def GetString(self
, *_args
, **_kwargs
):
327 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
329 def FindString(self
, *_args
, **_kwargs
):
330 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
332 def GetSelection(self
, *_args
, **_kwargs
):
333 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
335 def GetStringSelection(self
, *_args
, **_kwargs
):
336 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
338 def Append(self
, *_args
, **_kwargs
):
339 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
341 def GetClientData(self
, *_args
, **_kwargs
):
342 val
= apply(controlsc
.wxComboBox_GetClientData
,(self
,) + _args
, _kwargs
)
344 def SetClientData(self
, *_args
, **_kwargs
):
345 val
= apply(controlsc
.wxComboBox_SetClientData
,(self
,) + _args
, _kwargs
)
348 return "<C wxComboBox instance at %s>" % (self
.this
,)
350 Select
= SetSelection
351 class wxComboBox(wxComboBoxPtr
):
352 def __init__(self
,*_args
,**_kwargs
):
353 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
355 self
._setOORInfo
(self
)
359 def wxPreComboBox(*_args
,**_kwargs
):
360 val
= wxComboBoxPtr(apply(controlsc
.new_wxPreComboBox
,_args
,_kwargs
))
366 class wxGaugePtr(wxControlPtr
):
367 def __init__(self
,this
):
370 def Create(self
, *_args
, **_kwargs
):
371 val
= apply(controlsc
.wxGauge_Create
,(self
,) + _args
, _kwargs
)
373 def GetBezelFace(self
, *_args
, **_kwargs
):
374 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
376 def GetRange(self
, *_args
, **_kwargs
):
377 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
379 def GetShadowWidth(self
, *_args
, **_kwargs
):
380 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
382 def GetValue(self
, *_args
, **_kwargs
):
383 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
385 def SetBezelFace(self
, *_args
, **_kwargs
):
386 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
388 def SetRange(self
, *_args
, **_kwargs
):
389 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
391 def SetShadowWidth(self
, *_args
, **_kwargs
):
392 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
394 def SetValue(self
, *_args
, **_kwargs
):
395 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
398 return "<C wxGauge instance at %s>" % (self
.this
,)
399 class wxGauge(wxGaugePtr
):
400 def __init__(self
,*_args
,**_kwargs
):
401 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
403 self
._setOORInfo
(self
)
407 def wxPreGauge(*_args
,**_kwargs
):
408 val
= wxGaugePtr(apply(controlsc
.new_wxPreGauge
,_args
,_kwargs
))
414 class wxStaticBoxPtr(wxControlPtr
):
415 def __init__(self
,this
):
418 def Create(self
, *_args
, **_kwargs
):
419 val
= apply(controlsc
.wxStaticBox_Create
,(self
,) + _args
, _kwargs
)
422 return "<C wxStaticBox instance at %s>" % (self
.this
,)
423 class wxStaticBox(wxStaticBoxPtr
):
424 def __init__(self
,*_args
,**_kwargs
):
425 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
427 self
._setOORInfo
(self
)
431 def wxPreStaticBox(*_args
,**_kwargs
):
432 val
= wxStaticBoxPtr(apply(controlsc
.new_wxPreStaticBox
,_args
,_kwargs
))
438 class wxStaticLinePtr(wxControlPtr
):
439 def __init__(self
,this
):
442 def Create(self
, *_args
, **_kwargs
):
443 val
= apply(controlsc
.wxStaticLine_Create
,(self
,) + _args
, _kwargs
)
446 return "<C wxStaticLine instance at %s>" % (self
.this
,)
447 class wxStaticLine(wxStaticLinePtr
):
448 def __init__(self
,*_args
,**_kwargs
):
449 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
451 self
._setOORInfo
(self
)
455 def wxPreStaticLine(*_args
,**_kwargs
):
456 val
= wxStaticLinePtr(apply(controlsc
.new_wxPreStaticLine
,_args
,_kwargs
))
462 class wxStaticTextPtr(wxControlPtr
):
463 def __init__(self
,this
):
466 def Create(self
, *_args
, **_kwargs
):
467 val
= apply(controlsc
.wxStaticText_Create
,(self
,) + _args
, _kwargs
)
469 def GetLabel(self
, *_args
, **_kwargs
):
470 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
472 def SetLabel(self
, *_args
, **_kwargs
):
473 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
476 return "<C wxStaticText instance at %s>" % (self
.this
,)
477 class wxStaticText(wxStaticTextPtr
):
478 def __init__(self
,*_args
,**_kwargs
):
479 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
481 self
._setOORInfo
(self
)
485 def wxPreStaticText(*_args
,**_kwargs
):
486 val
= wxStaticTextPtr(apply(controlsc
.new_wxPreStaticText
,_args
,_kwargs
))
492 class wxListBoxPtr(wxControlWithItemsPtr
):
493 def __init__(self
,this
):
496 def Create(self
, *_args
, **_kwargs
):
497 val
= apply(controlsc
.wxListBox_Create
,(self
,) + _args
, _kwargs
)
499 def Clear(self
, *_args
, **_kwargs
):
500 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
502 def Deselect(self
, *_args
, **_kwargs
):
503 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
505 def GetSelections(self
, *_args
, **_kwargs
):
506 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
508 def InsertItems(self
, *_args
, **_kwargs
):
509 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
511 def IsSelected(self
, *_args
, **_kwargs
):
512 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
514 def Selected(self
, *_args
, **_kwargs
):
515 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
517 def Set(self
, *_args
, **_kwargs
):
518 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
520 def SetFirstItem(self
, *_args
, **_kwargs
):
521 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
523 def SetFirstItemStr(self
, *_args
, **_kwargs
):
524 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
526 def SetSelection(self
, *_args
, **_kwargs
):
527 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
529 def SetString(self
, *_args
, **_kwargs
):
530 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
532 def SetStringSelection(self
, *_args
, **_kwargs
):
533 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
536 return "<C wxListBox instance at %s>" % (self
.this
,)
537 class wxListBox(wxListBoxPtr
):
538 def __init__(self
,*_args
,**_kwargs
):
539 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
541 self
._setOORInfo
(self
)
545 def wxPreListBox(*_args
,**_kwargs
):
546 val
= wxListBoxPtr(apply(controlsc
.new_wxPreListBox
,_args
,_kwargs
))
552 class wxCheckListBoxPtr(wxListBoxPtr
):
553 def __init__(self
,this
):
556 def Create(self
, *_args
, **_kwargs
):
557 val
= apply(controlsc
.wxCheckListBox_Create
,(self
,) + _args
, _kwargs
)
559 def IsChecked(self
, *_args
, **_kwargs
):
560 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
562 def Check(self
, *_args
, **_kwargs
):
563 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
565 def InsertItems(self
, *_args
, **_kwargs
):
566 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
568 def GetItemHeight(self
, *_args
, **_kwargs
):
569 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
572 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
573 class wxCheckListBox(wxCheckListBoxPtr
):
574 def __init__(self
,*_args
,**_kwargs
):
575 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
577 self
._setOORInfo
(self
)
581 def wxPreCheckListBox(*_args
,**_kwargs
):
582 val
= wxCheckListBoxPtr(apply(controlsc
.new_wxPreCheckListBox
,_args
,_kwargs
))
588 class wxTextAttrPtr
:
589 def __init__(self
,this
):
592 def __del__(self
,controlsc
=controlsc
):
593 if self
.thisown
== 1 :
594 controlsc
.delete_wxTextAttr(self
)
595 def SetTextColour(self
, *_args
, **_kwargs
):
596 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
598 def SetBackgroundColour(self
, *_args
, **_kwargs
):
599 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
601 def SetFont(self
, *_args
, **_kwargs
):
602 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
604 def HasTextColour(self
, *_args
, **_kwargs
):
605 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
607 def HasBackgroundColour(self
, *_args
, **_kwargs
):
608 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
610 def HasFont(self
, *_args
, **_kwargs
):
611 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
613 def GetTextColour(self
, *_args
, **_kwargs
):
614 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
615 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
617 def GetBackgroundColour(self
, *_args
, **_kwargs
):
618 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
619 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
621 def GetFont(self
, *_args
, **_kwargs
):
622 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
623 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
625 def IsDefault(self
, *_args
, **_kwargs
):
626 val
= apply(controlsc
.wxTextAttr_IsDefault
,(self
,) + _args
, _kwargs
)
629 return "<C wxTextAttr instance at %s>" % (self
.this
,)
630 class wxTextAttr(wxTextAttrPtr
):
631 def __init__(self
,*_args
,**_kwargs
):
632 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
638 class wxTextCtrlPtr(wxControlPtr
):
639 def __init__(self
,this
):
642 def Create(self
, *_args
, **_kwargs
):
643 val
= apply(controlsc
.wxTextCtrl_Create
,(self
,) + _args
, _kwargs
)
645 def GetValue(self
, *_args
, **_kwargs
):
646 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
648 def SetValue(self
, *_args
, **_kwargs
):
649 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
651 def GetRange(self
, *_args
, **_kwargs
):
652 val
= apply(controlsc
.wxTextCtrl_GetRange
,(self
,) + _args
, _kwargs
)
654 def GetLineLength(self
, *_args
, **_kwargs
):
655 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
657 def GetLineText(self
, *_args
, **_kwargs
):
658 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
660 def GetNumberOfLines(self
, *_args
, **_kwargs
):
661 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
663 def IsModified(self
, *_args
, **_kwargs
):
664 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
666 def IsEditable(self
, *_args
, **_kwargs
):
667 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
669 def GetSelection(self
, *_args
, **_kwargs
):
670 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
672 def GetStringSelection(self
, *_args
, **_kwargs
):
673 val
= apply(controlsc
.wxTextCtrl_GetStringSelection
,(self
,) + _args
, _kwargs
)
675 def Clear(self
, *_args
, **_kwargs
):
676 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
678 def Replace(self
, *_args
, **_kwargs
):
679 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
681 def Remove(self
, *_args
, **_kwargs
):
682 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
684 def LoadFile(self
, *_args
, **_kwargs
):
685 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
687 def SaveFile(self
, *_args
, **_kwargs
):
688 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
690 def DiscardEdits(self
, *_args
, **_kwargs
):
691 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
693 def SetMaxLength(self
, *_args
, **_kwargs
):
694 val
= apply(controlsc
.wxTextCtrl_SetMaxLength
,(self
,) + _args
, _kwargs
)
696 def WriteText(self
, *_args
, **_kwargs
):
697 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
699 def AppendText(self
, *_args
, **_kwargs
):
700 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
702 def EmulateKeyPress(self
, *_args
, **_kwargs
):
703 val
= apply(controlsc
.wxTextCtrl_EmulateKeyPress
,(self
,) + _args
, _kwargs
)
705 def SetStyle(self
, *_args
, **_kwargs
):
706 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
708 def SetDefaultStyle(self
, *_args
, **_kwargs
):
709 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
711 def GetDefaultStyle(self
, *_args
, **_kwargs
):
712 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
713 if val
: val
= wxTextAttrPtr(val
)
715 def XYToPosition(self
, *_args
, **_kwargs
):
716 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
718 def PositionToXY(self
, *_args
, **_kwargs
):
719 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
721 def ShowPosition(self
, *_args
, **_kwargs
):
722 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
724 def Copy(self
, *_args
, **_kwargs
):
725 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
727 def Cut(self
, *_args
, **_kwargs
):
728 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
730 def Paste(self
, *_args
, **_kwargs
):
731 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
733 def CanCopy(self
, *_args
, **_kwargs
):
734 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
736 def CanCut(self
, *_args
, **_kwargs
):
737 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
739 def CanPaste(self
, *_args
, **_kwargs
):
740 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
742 def Undo(self
, *_args
, **_kwargs
):
743 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
745 def Redo(self
, *_args
, **_kwargs
):
746 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
748 def CanUndo(self
, *_args
, **_kwargs
):
749 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
751 def CanRedo(self
, *_args
, **_kwargs
):
752 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
754 def SetInsertionPoint(self
, *_args
, **_kwargs
):
755 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
757 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
758 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
760 def GetInsertionPoint(self
, *_args
, **_kwargs
):
761 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
763 def GetLastPosition(self
, *_args
, **_kwargs
):
764 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
766 def SetSelection(self
, *_args
, **_kwargs
):
767 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
769 def SelectAll(self
, *_args
, **_kwargs
):
770 val
= apply(controlsc
.wxTextCtrl_SelectAll
,(self
,) + _args
, _kwargs
)
772 def SetEditable(self
, *_args
, **_kwargs
):
773 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
775 def IsSingleLine(self
, *_args
, **_kwargs
):
776 val
= apply(controlsc
.wxTextCtrl_IsSingleLine
,(self
,) + _args
, _kwargs
)
778 def IsMultiLine(self
, *_args
, **_kwargs
):
779 val
= apply(controlsc
.wxTextCtrl_IsMultiLine
,(self
,) + _args
, _kwargs
)
781 def write(self
, *_args
, **_kwargs
):
782 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
784 def GetString(self
, *_args
, **_kwargs
):
785 val
= apply(controlsc
.wxTextCtrl_GetString
,(self
,) + _args
, _kwargs
)
788 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
789 class wxTextCtrl(wxTextCtrlPtr
):
790 def __init__(self
,*_args
,**_kwargs
):
791 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
793 self
._setOORInfo
(self
)
797 def wxPreTextCtrl(*_args
,**_kwargs
):
798 val
= wxTextCtrlPtr(apply(controlsc
.new_wxPreTextCtrl
,_args
,_kwargs
))
804 class wxScrollBarPtr(wxControlPtr
):
805 def __init__(self
,this
):
808 def Create(self
, *_args
, **_kwargs
):
809 val
= apply(controlsc
.wxScrollBar_Create
,(self
,) + _args
, _kwargs
)
811 def GetRange(self
, *_args
, **_kwargs
):
812 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
814 def GetPageSize(self
, *_args
, **_kwargs
):
815 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
817 def GetThumbPosition(self
, *_args
, **_kwargs
):
818 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
820 def GetThumbSize(self
, *_args
, **_kwargs
):
821 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
823 def GetThumbLength(self
, *_args
, **_kwargs
):
824 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
826 def IsVertical(self
, *_args
, **_kwargs
):
827 val
= apply(controlsc
.wxScrollBar_IsVertical
,(self
,) + _args
, _kwargs
)
829 def SetThumbPosition(self
, *_args
, **_kwargs
):
830 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
832 def SetScrollbar(self
, *_args
, **_kwargs
):
833 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
836 return "<C wxScrollBar instance at %s>" % (self
.this
,)
837 class wxScrollBar(wxScrollBarPtr
):
838 def __init__(self
,*_args
,**_kwargs
):
839 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
841 self
._setOORInfo
(self
)
845 def wxPreScrollBar(*_args
,**_kwargs
):
846 val
= wxScrollBarPtr(apply(controlsc
.new_wxPreScrollBar
,_args
,_kwargs
))
852 class wxSpinButtonPtr(wxControlPtr
):
853 def __init__(self
,this
):
856 def Create(self
, *_args
, **_kwargs
):
857 val
= apply(controlsc
.wxSpinButton_Create
,(self
,) + _args
, _kwargs
)
859 def GetMax(self
, *_args
, **_kwargs
):
860 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
862 def GetMin(self
, *_args
, **_kwargs
):
863 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
865 def GetValue(self
, *_args
, **_kwargs
):
866 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
868 def SetRange(self
, *_args
, **_kwargs
):
869 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
871 def SetValue(self
, *_args
, **_kwargs
):
872 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
875 return "<C wxSpinButton instance at %s>" % (self
.this
,)
876 class wxSpinButton(wxSpinButtonPtr
):
877 def __init__(self
,*_args
,**_kwargs
):
878 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
880 self
._setOORInfo
(self
)
884 def wxPreSpinButton(*_args
,**_kwargs
):
885 val
= wxSpinButtonPtr(apply(controlsc
.new_wxPreSpinButton
,_args
,_kwargs
))
891 class wxStaticBitmapPtr(wxControlPtr
):
892 def __init__(self
,this
):
895 def Create(self
, *_args
, **_kwargs
):
896 val
= apply(controlsc
.wxStaticBitmap_Create
,(self
,) + _args
, _kwargs
)
898 def GetBitmap(self
, *_args
, **_kwargs
):
899 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
900 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
902 def SetBitmap(self
, *_args
, **_kwargs
):
903 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
905 def SetIcon(self
, *_args
, **_kwargs
):
906 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
909 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
910 class wxStaticBitmap(wxStaticBitmapPtr
):
911 def __init__(self
,*_args
,**_kwargs
):
912 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
914 self
._setOORInfo
(self
)
918 def wxPreStaticBitmap(*_args
,**_kwargs
):
919 val
= wxStaticBitmapPtr(apply(controlsc
.new_wxPreStaticBitmap
,_args
,_kwargs
))
925 class wxRadioBoxPtr(wxControlPtr
):
926 def __init__(self
,this
):
929 def Create(self
, *_args
, **_kwargs
):
930 val
= apply(controlsc
.wxRadioBox_Create
,(self
,) + _args
, _kwargs
)
932 def Enable(self
, *_args
, **_kwargs
):
933 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
935 def EnableItem(self
, *_args
, **_kwargs
):
936 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
938 def FindString(self
, *_args
, **_kwargs
):
939 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
941 def GetString(self
, *_args
, **_kwargs
):
942 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
944 def GetItemLabel(self
, *_args
, **_kwargs
):
945 val
= apply(controlsc
.wxRadioBox_GetItemLabel
,(self
,) + _args
, _kwargs
)
947 def SetItemLabel(self
, *_args
, **_kwargs
):
948 val
= apply(controlsc
.wxRadioBox_SetItemLabel
,(self
,) + _args
, _kwargs
)
950 def GetSelection(self
, *_args
, **_kwargs
):
951 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
953 def GetStringSelection(self
, *_args
, **_kwargs
):
954 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
956 def GetCount(self
, *_args
, **_kwargs
):
957 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
959 def SetSelection(self
, *_args
, **_kwargs
):
960 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
962 def SetStringSelection(self
, *_args
, **_kwargs
):
963 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
965 def Show(self
, *_args
, **_kwargs
):
966 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
968 def ShowItem(self
, *_args
, **_kwargs
):
969 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
972 return "<C wxRadioBox instance at %s>" % (self
.this
,)
974 class wxRadioBox(wxRadioBoxPtr
):
975 def __init__(self
,*_args
,**_kwargs
):
976 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
978 self
._setOORInfo
(self
)
982 def wxPreRadioBox(*_args
,**_kwargs
):
983 val
= wxRadioBoxPtr(apply(controlsc
.new_wxPreRadioBox
,_args
,_kwargs
))
989 class wxRadioButtonPtr(wxControlPtr
):
990 def __init__(self
,this
):
993 def Create(self
, *_args
, **_kwargs
):
994 val
= apply(controlsc
.wxRadioButton_Create
,(self
,) + _args
, _kwargs
)
996 def GetValue(self
, *_args
, **_kwargs
):
997 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
999 def SetValue(self
, *_args
, **_kwargs
):
1000 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
1003 return "<C wxRadioButton instance at %s>" % (self
.this
,)
1004 class wxRadioButton(wxRadioButtonPtr
):
1005 def __init__(self
,*_args
,**_kwargs
):
1006 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
1008 self
._setOORInfo
(self
)
1012 def wxPreRadioButton(*_args
,**_kwargs
):
1013 val
= wxRadioButtonPtr(apply(controlsc
.new_wxPreRadioButton
,_args
,_kwargs
))
1015 val
._setOORInfo
(val
)
1019 class wxSliderPtr(wxControlPtr
):
1020 def __init__(self
,this
):
1023 def Create(self
, *_args
, **_kwargs
):
1024 val
= apply(controlsc
.wxSlider_Create
,(self
,) + _args
, _kwargs
)
1026 def ClearSel(self
, *_args
, **_kwargs
):
1027 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
1029 def ClearTicks(self
, *_args
, **_kwargs
):
1030 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
1032 def GetLineSize(self
, *_args
, **_kwargs
):
1033 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
1035 def GetMax(self
, *_args
, **_kwargs
):
1036 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
1038 def GetMin(self
, *_args
, **_kwargs
):
1039 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
1041 def GetPageSize(self
, *_args
, **_kwargs
):
1042 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
1044 def GetSelEnd(self
, *_args
, **_kwargs
):
1045 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
1047 def GetSelStart(self
, *_args
, **_kwargs
):
1048 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
1050 def GetThumbLength(self
, *_args
, **_kwargs
):
1051 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
1053 def GetTickFreq(self
, *_args
, **_kwargs
):
1054 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
1056 def GetValue(self
, *_args
, **_kwargs
):
1057 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
1059 def SetRange(self
, *_args
, **_kwargs
):
1060 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
1062 def SetTickFreq(self
, *_args
, **_kwargs
):
1063 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
1065 def SetLineSize(self
, *_args
, **_kwargs
):
1066 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
1068 def SetPageSize(self
, *_args
, **_kwargs
):
1069 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
1071 def SetSelection(self
, *_args
, **_kwargs
):
1072 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
1074 def SetThumbLength(self
, *_args
, **_kwargs
):
1075 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
1077 def SetTick(self
, *_args
, **_kwargs
):
1078 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
1080 def SetValue(self
, *_args
, **_kwargs
):
1081 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
1084 return "<C wxSlider instance at %s>" % (self
.this
,)
1085 class wxSlider(wxSliderPtr
):
1086 def __init__(self
,*_args
,**_kwargs
):
1087 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
1089 self
._setOORInfo
(self
)
1093 def wxPreSlider(*_args
,**_kwargs
):
1094 val
= wxSliderPtr(apply(controlsc
.new_wxPreSlider
,_args
,_kwargs
))
1096 val
._setOORInfo
(val
)
1100 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1101 def __init__(self
,this
):
1104 def Create(self
, *_args
, **_kwargs
):
1105 val
= apply(controlsc
.wxSpinCtrl_Create
,(self
,) + _args
, _kwargs
)
1107 def GetMax(self
, *_args
, **_kwargs
):
1108 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
1110 def GetMin(self
, *_args
, **_kwargs
):
1111 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
1113 def GetValue(self
, *_args
, **_kwargs
):
1114 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
1116 def SetRange(self
, *_args
, **_kwargs
):
1117 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
1119 def SetValue(self
, *_args
, **_kwargs
):
1120 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
1123 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
1124 class wxSpinCtrl(wxSpinCtrlPtr
):
1125 def __init__(self
,*_args
,**_kwargs
):
1126 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
1128 self
._setOORInfo
(self
)
1132 def wxPreSpinCtrl(*_args
,**_kwargs
):
1133 val
= wxSpinCtrlPtr(apply(controlsc
.new_wxPreSpinCtrl
,_args
,_kwargs
))
1135 val
._setOORInfo
(val
)
1139 class wxToggleButtonPtr(wxControlPtr
):
1140 def __init__(self
,this
):
1143 def Create(self
, *_args
, **_kwargs
):
1144 val
= apply(controlsc
.wxToggleButton_Create
,(self
,) + _args
, _kwargs
)
1146 def SetValue(self
, *_args
, **_kwargs
):
1147 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
1149 def GetValue(self
, *_args
, **_kwargs
):
1150 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
1152 def SetLabel(self
, *_args
, **_kwargs
):
1153 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
1156 return "<C wxToggleButton instance at %s>" % (self
.this
,)
1157 class wxToggleButton(wxToggleButtonPtr
):
1158 def __init__(self
,*_args
,**_kwargs
):
1159 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
1161 self
._setOORInfo
(self
)
1165 def wxPreToggleButton(*_args
,**_kwargs
):
1166 val
= wxToggleButtonPtr(apply(controlsc
.new_wxPreToggleButton
,_args
,_kwargs
))
1168 val
._setOORInfo
(val
)
1174 #-------------- FUNCTION WRAPPERS ------------------
1176 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1177 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
1178 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1181 def wxTextAttr_Combine(*_args
, **_kwargs
):
1182 val
= apply(controlsc
.wxTextAttr_Combine
,_args
,_kwargs
)
1183 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1188 #-------------- VARIABLE WRAPPERS ------------------
1190 cvar
= controlsc
.cvar
1191 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1192 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED