1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
14 class wxControlPtr(wxWindowPtr
):
15 def __init__(self
,this
):
18 def Create(self
, *_args
, **_kwargs
):
19 val
= apply(controlsc
.wxControl_Create
,(self
,) + _args
, _kwargs
)
21 def Command(self
, *_args
, **_kwargs
):
22 val
= apply(controlsc
.wxControl_Command
,(self
,) + _args
, _kwargs
)
24 def GetLabel(self
, *_args
, **_kwargs
):
25 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
27 def SetLabel(self
, *_args
, **_kwargs
):
28 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
31 return "<C wxControl instance at %s>" % (self
.this
,)
32 class wxControl(wxControlPtr
):
33 def __init__(self
,*_args
,**_kwargs
):
34 self
.this
= apply(controlsc
.new_wxControl
,_args
,_kwargs
)
36 self
._setOORInfo
(self
)
40 def wxPreControl(*_args
,**_kwargs
):
41 val
= wxControlPtr(apply(controlsc
.new_wxPreControl
,_args
,_kwargs
))
47 class wxControlWithItemsPtr(wxControlPtr
):
48 def __init__(self
,this
):
51 def Delete(self
, *_args
, **_kwargs
):
52 val
= apply(controlsc
.wxControlWithItems_Delete
,(self
,) + _args
, _kwargs
)
54 def GetCount(self
, *_args
, **_kwargs
):
55 val
= apply(controlsc
.wxControlWithItems_GetCount
,(self
,) + _args
, _kwargs
)
57 def GetString(self
, *_args
, **_kwargs
):
58 val
= apply(controlsc
.wxControlWithItems_GetString
,(self
,) + _args
, _kwargs
)
60 def SetString(self
, *_args
, **_kwargs
):
61 val
= apply(controlsc
.wxControlWithItems_SetString
,(self
,) + _args
, _kwargs
)
63 def FindString(self
, *_args
, **_kwargs
):
64 val
= apply(controlsc
.wxControlWithItems_FindString
,(self
,) + _args
, _kwargs
)
66 def Select(self
, *_args
, **_kwargs
):
67 val
= apply(controlsc
.wxControlWithItems_Select
,(self
,) + _args
, _kwargs
)
69 def GetSelection(self
, *_args
, **_kwargs
):
70 val
= apply(controlsc
.wxControlWithItems_GetSelection
,(self
,) + _args
, _kwargs
)
72 def GetStringSelection(self
, *_args
, **_kwargs
):
73 val
= apply(controlsc
.wxControlWithItems_GetStringSelection
,(self
,) + _args
, _kwargs
)
75 def Append(self
, *_args
, **_kwargs
):
76 val
= apply(controlsc
.wxControlWithItems_Append
,(self
,) + _args
, _kwargs
)
78 def GetClientData(self
, *_args
, **_kwargs
):
79 val
= apply(controlsc
.wxControlWithItems_GetClientData
,(self
,) + _args
, _kwargs
)
81 def SetClientData(self
, *_args
, **_kwargs
):
82 val
= apply(controlsc
.wxControlWithItems_SetClientData
,(self
,) + _args
, _kwargs
)
85 return "<C wxControlWithItems instance at %s>" % (self
.this
,)
87 class wxControlWithItems(wxControlWithItemsPtr
):
88 def __init__(self
,this
):
94 class wxButtonPtr(wxControlPtr
):
95 def __init__(self
,this
):
98 def Create(self
, *_args
, **_kwargs
):
99 val
= apply(controlsc
.wxButton_Create
,(self
,) + _args
, _kwargs
)
101 def SetDefault(self
, *_args
, **_kwargs
):
102 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
104 def SetBackgroundColour(self
, *_args
, **_kwargs
):
105 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
107 def SetForegroundColour(self
, *_args
, **_kwargs
):
108 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
111 return "<C wxButton instance at %s>" % (self
.this
,)
112 class wxButton(wxButtonPtr
):
113 def __init__(self
,*_args
,**_kwargs
):
114 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
116 self
._setOORInfo
(self
)
120 def wxPreButton(*_args
,**_kwargs
):
121 val
= wxButtonPtr(apply(controlsc
.new_wxPreButton
,_args
,_kwargs
))
127 class wxBitmapButtonPtr(wxButtonPtr
):
128 def __init__(self
,this
):
131 def Create(self
, *_args
, **_kwargs
):
132 val
= apply(controlsc
.wxBitmapButton_Create
,(self
,) + _args
, _kwargs
)
134 def GetBitmapLabel(self
, *_args
, **_kwargs
):
135 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
136 if val
: val
= wxBitmapPtr(val
)
138 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
139 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
140 if val
: val
= wxBitmapPtr(val
)
142 def GetBitmapFocus(self
, *_args
, **_kwargs
):
143 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
144 if val
: val
= wxBitmapPtr(val
)
146 def GetBitmapSelected(self
, *_args
, **_kwargs
):
147 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
148 if val
: val
= wxBitmapPtr(val
)
150 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
151 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
153 def SetBitmapFocus(self
, *_args
, **_kwargs
):
154 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
156 def SetBitmapSelected(self
, *_args
, **_kwargs
):
157 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
159 def SetBitmapLabel(self
, *_args
, **_kwargs
):
160 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
162 def SetMargins(self
, *_args
, **_kwargs
):
163 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
165 def GetMarginX(self
, *_args
, **_kwargs
):
166 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
168 def GetMarginY(self
, *_args
, **_kwargs
):
169 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
172 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
173 class wxBitmapButton(wxBitmapButtonPtr
):
174 def __init__(self
,*_args
,**_kwargs
):
175 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
177 self
._setOORInfo
(self
)
181 def wxPreBitmapButton(*_args
,**_kwargs
):
182 val
= wxBitmapButtonPtr(apply(controlsc
.new_wxPreBitmapButton
,_args
,_kwargs
))
188 class wxCheckBoxPtr(wxControlPtr
):
189 def __init__(self
,this
):
192 def Create(self
, *_args
, **_kwargs
):
193 val
= apply(controlsc
.wxCheckBox_Create
,(self
,) + _args
, _kwargs
)
195 def GetValue(self
, *_args
, **_kwargs
):
196 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
198 def SetValue(self
, *_args
, **_kwargs
):
199 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
202 return "<C wxCheckBox instance at %s>" % (self
.this
,)
203 class wxCheckBox(wxCheckBoxPtr
):
204 def __init__(self
,*_args
,**_kwargs
):
205 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
207 self
._setOORInfo
(self
)
211 def wxPreCheckBox(*_args
,**_kwargs
):
212 val
= wxCheckBoxPtr(apply(controlsc
.new_wxPreCheckBox
,_args
,_kwargs
))
218 class wxChoicePtr(wxControlWithItemsPtr
):
219 def __init__(self
,this
):
222 def Create(self
, *_args
, **_kwargs
):
223 val
= apply(controlsc
.wxChoice_Create
,(self
,) + _args
, _kwargs
)
225 def Clear(self
, *_args
, **_kwargs
):
226 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
228 def GetColumns(self
, *_args
, **_kwargs
):
229 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
231 def SetColumns(self
, *_args
, **_kwargs
):
232 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
234 def SetSelection(self
, *_args
, **_kwargs
):
235 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
237 def SetStringSelection(self
, *_args
, **_kwargs
):
238 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
240 def SetString(self
, *_args
, **_kwargs
):
241 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
244 return "<C wxChoice instance at %s>" % (self
.this
,)
246 Select
= SetSelection
248 class wxChoice(wxChoicePtr
):
249 def __init__(self
,*_args
,**_kwargs
):
250 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
252 self
._setOORInfo
(self
)
256 def wxPreChoice(*_args
,**_kwargs
):
257 val
= wxChoicePtr(apply(controlsc
.new_wxPreChoice
,_args
,_kwargs
))
263 class wxComboBoxPtr(wxControlPtr
):
264 def __init__(self
,this
):
267 def Create(self
, *_args
, **_kwargs
):
268 val
= apply(controlsc
.wxComboBox_Create
,(self
,) + _args
, _kwargs
)
270 def Copy(self
, *_args
, **_kwargs
):
271 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
273 def Cut(self
, *_args
, **_kwargs
):
274 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
276 def GetInsertionPoint(self
, *_args
, **_kwargs
):
277 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
279 def GetLastPosition(self
, *_args
, **_kwargs
):
280 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
282 def GetValue(self
, *_args
, **_kwargs
):
283 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
285 def Paste(self
, *_args
, **_kwargs
):
286 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
288 def Replace(self
, *_args
, **_kwargs
):
289 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
291 def Remove(self
, *_args
, **_kwargs
):
292 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
294 def SetInsertionPoint(self
, *_args
, **_kwargs
):
295 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
297 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
298 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
300 def SetSelection(self
, *_args
, **_kwargs
):
301 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
303 def SetMark(self
, *_args
, **_kwargs
):
304 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
306 def SetValue(self
, *_args
, **_kwargs
):
307 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
309 def SetEditable(self
, *_args
, **_kwargs
):
310 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
312 def Clear(self
, *_args
, **_kwargs
):
313 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
315 def Delete(self
, *_args
, **_kwargs
):
316 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
318 def GetCount(self
, *_args
, **_kwargs
):
319 val
= apply(controlsc
.wxComboBox_GetCount
,(self
,) + _args
, _kwargs
)
321 def GetString(self
, *_args
, **_kwargs
):
322 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
324 def FindString(self
, *_args
, **_kwargs
):
325 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
327 def GetSelection(self
, *_args
, **_kwargs
):
328 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
330 def GetStringSelection(self
, *_args
, **_kwargs
):
331 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
333 def Append(self
, *_args
, **_kwargs
):
334 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
336 def GetClientData(self
, *_args
, **_kwargs
):
337 val
= apply(controlsc
.wxComboBox_GetClientData
,(self
,) + _args
, _kwargs
)
339 def SetClientData(self
, *_args
, **_kwargs
):
340 val
= apply(controlsc
.wxComboBox_SetClientData
,(self
,) + _args
, _kwargs
)
343 return "<C wxComboBox instance at %s>" % (self
.this
,)
345 Select
= SetSelection
346 class wxComboBox(wxComboBoxPtr
):
347 def __init__(self
,*_args
,**_kwargs
):
348 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
350 self
._setOORInfo
(self
)
354 def wxPreComboBox(*_args
,**_kwargs
):
355 val
= wxComboBoxPtr(apply(controlsc
.new_wxPreComboBox
,_args
,_kwargs
))
361 class wxGaugePtr(wxControlPtr
):
362 def __init__(self
,this
):
365 def Create(self
, *_args
, **_kwargs
):
366 val
= apply(controlsc
.wxGauge_Create
,(self
,) + _args
, _kwargs
)
368 def GetBezelFace(self
, *_args
, **_kwargs
):
369 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
371 def GetRange(self
, *_args
, **_kwargs
):
372 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
374 def GetShadowWidth(self
, *_args
, **_kwargs
):
375 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
377 def GetValue(self
, *_args
, **_kwargs
):
378 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
380 def SetBezelFace(self
, *_args
, **_kwargs
):
381 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
383 def SetRange(self
, *_args
, **_kwargs
):
384 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
386 def SetShadowWidth(self
, *_args
, **_kwargs
):
387 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
389 def SetValue(self
, *_args
, **_kwargs
):
390 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
393 return "<C wxGauge instance at %s>" % (self
.this
,)
394 class wxGauge(wxGaugePtr
):
395 def __init__(self
,*_args
,**_kwargs
):
396 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
398 self
._setOORInfo
(self
)
402 def wxPreGauge(*_args
,**_kwargs
):
403 val
= wxGaugePtr(apply(controlsc
.new_wxPreGauge
,_args
,_kwargs
))
409 class wxStaticBoxPtr(wxControlPtr
):
410 def __init__(self
,this
):
413 def Create(self
, *_args
, **_kwargs
):
414 val
= apply(controlsc
.wxStaticBox_Create
,(self
,) + _args
, _kwargs
)
417 return "<C wxStaticBox instance at %s>" % (self
.this
,)
418 class wxStaticBox(wxStaticBoxPtr
):
419 def __init__(self
,*_args
,**_kwargs
):
420 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
422 self
._setOORInfo
(self
)
426 def wxPreStaticBox(*_args
,**_kwargs
):
427 val
= wxStaticBoxPtr(apply(controlsc
.new_wxPreStaticBox
,_args
,_kwargs
))
433 class wxStaticLinePtr(wxControlPtr
):
434 def __init__(self
,this
):
437 def Create(self
, *_args
, **_kwargs
):
438 val
= apply(controlsc
.wxStaticLine_Create
,(self
,) + _args
, _kwargs
)
441 return "<C wxStaticLine instance at %s>" % (self
.this
,)
442 class wxStaticLine(wxStaticLinePtr
):
443 def __init__(self
,*_args
,**_kwargs
):
444 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
446 self
._setOORInfo
(self
)
450 def wxPreStaticLine(*_args
,**_kwargs
):
451 val
= wxStaticLinePtr(apply(controlsc
.new_wxPreStaticLine
,_args
,_kwargs
))
457 class wxStaticTextPtr(wxControlPtr
):
458 def __init__(self
,this
):
461 def Create(self
, *_args
, **_kwargs
):
462 val
= apply(controlsc
.wxStaticText_Create
,(self
,) + _args
, _kwargs
)
464 def GetLabel(self
, *_args
, **_kwargs
):
465 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
467 def SetLabel(self
, *_args
, **_kwargs
):
468 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
471 return "<C wxStaticText instance at %s>" % (self
.this
,)
472 class wxStaticText(wxStaticTextPtr
):
473 def __init__(self
,*_args
,**_kwargs
):
474 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
476 self
._setOORInfo
(self
)
480 def wxPreStaticText(*_args
,**_kwargs
):
481 val
= wxStaticTextPtr(apply(controlsc
.new_wxPreStaticText
,_args
,_kwargs
))
487 class wxListBoxPtr(wxControlWithItemsPtr
):
488 def __init__(self
,this
):
491 def Create(self
, *_args
, **_kwargs
):
492 val
= apply(controlsc
.wxListBox_Create
,(self
,) + _args
, _kwargs
)
494 def Clear(self
, *_args
, **_kwargs
):
495 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
497 def Deselect(self
, *_args
, **_kwargs
):
498 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
500 def GetSelections(self
, *_args
, **_kwargs
):
501 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
503 def InsertItems(self
, *_args
, **_kwargs
):
504 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
506 def IsSelected(self
, *_args
, **_kwargs
):
507 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
509 def Selected(self
, *_args
, **_kwargs
):
510 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
512 def Set(self
, *_args
, **_kwargs
):
513 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
515 def SetFirstItem(self
, *_args
, **_kwargs
):
516 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
518 def SetFirstItemStr(self
, *_args
, **_kwargs
):
519 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
521 def SetSelection(self
, *_args
, **_kwargs
):
522 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
524 def SetString(self
, *_args
, **_kwargs
):
525 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
527 def SetStringSelection(self
, *_args
, **_kwargs
):
528 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
531 return "<C wxListBox instance at %s>" % (self
.this
,)
532 class wxListBox(wxListBoxPtr
):
533 def __init__(self
,*_args
,**_kwargs
):
534 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
536 self
._setOORInfo
(self
)
540 def wxPreListBox(*_args
,**_kwargs
):
541 val
= wxListBoxPtr(apply(controlsc
.new_wxPreListBox
,_args
,_kwargs
))
547 class wxCheckListBoxPtr(wxListBoxPtr
):
548 def __init__(self
,this
):
551 def Create(self
, *_args
, **_kwargs
):
552 val
= apply(controlsc
.wxCheckListBox_Create
,(self
,) + _args
, _kwargs
)
554 def IsChecked(self
, *_args
, **_kwargs
):
555 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
557 def Check(self
, *_args
, **_kwargs
):
558 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
560 def InsertItems(self
, *_args
, **_kwargs
):
561 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
563 def GetItemHeight(self
, *_args
, **_kwargs
):
564 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
567 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
568 class wxCheckListBox(wxCheckListBoxPtr
):
569 def __init__(self
,*_args
,**_kwargs
):
570 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
572 self
._setOORInfo
(self
)
576 def wxPreCheckListBox(*_args
,**_kwargs
):
577 val
= wxCheckListBoxPtr(apply(controlsc
.new_wxPreCheckListBox
,_args
,_kwargs
))
583 class wxTextAttrPtr
:
584 def __init__(self
,this
):
587 def __del__(self
,controlsc
=controlsc
):
588 if self
.thisown
== 1 :
589 controlsc
.delete_wxTextAttr(self
)
590 def SetTextColour(self
, *_args
, **_kwargs
):
591 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
593 def SetBackgroundColour(self
, *_args
, **_kwargs
):
594 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
596 def SetFont(self
, *_args
, **_kwargs
):
597 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
599 def HasTextColour(self
, *_args
, **_kwargs
):
600 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
602 def HasBackgroundColour(self
, *_args
, **_kwargs
):
603 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
605 def HasFont(self
, *_args
, **_kwargs
):
606 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
608 def GetTextColour(self
, *_args
, **_kwargs
):
609 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
610 if val
: val
= wxColourPtr(val
)
612 def GetBackgroundColour(self
, *_args
, **_kwargs
):
613 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
614 if val
: val
= wxColourPtr(val
)
616 def GetFont(self
, *_args
, **_kwargs
):
617 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
618 if val
: val
= wxFontPtr(val
)
620 def IsDefault(self
, *_args
, **_kwargs
):
621 val
= apply(controlsc
.wxTextAttr_IsDefault
,(self
,) + _args
, _kwargs
)
624 return "<C wxTextAttr instance at %s>" % (self
.this
,)
625 class wxTextAttr(wxTextAttrPtr
):
626 def __init__(self
,*_args
,**_kwargs
):
627 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
633 class wxTextCtrlPtr(wxControlPtr
):
634 def __init__(self
,this
):
637 def Create(self
, *_args
, **_kwargs
):
638 val
= apply(controlsc
.wxTextCtrl_Create
,(self
,) + _args
, _kwargs
)
640 def GetValue(self
, *_args
, **_kwargs
):
641 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
643 def SetValue(self
, *_args
, **_kwargs
):
644 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
646 def GetLineLength(self
, *_args
, **_kwargs
):
647 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
649 def GetLineText(self
, *_args
, **_kwargs
):
650 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
652 def GetNumberOfLines(self
, *_args
, **_kwargs
):
653 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
655 def IsModified(self
, *_args
, **_kwargs
):
656 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
658 def IsEditable(self
, *_args
, **_kwargs
):
659 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
661 def GetSelection(self
, *_args
, **_kwargs
):
662 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
664 def GetStringSelection(self
, *_args
, **_kwargs
):
665 val
= apply(controlsc
.wxTextCtrl_GetStringSelection
,(self
,) + _args
, _kwargs
)
667 def Clear(self
, *_args
, **_kwargs
):
668 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
670 def Replace(self
, *_args
, **_kwargs
):
671 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
673 def Remove(self
, *_args
, **_kwargs
):
674 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
676 def LoadFile(self
, *_args
, **_kwargs
):
677 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
679 def SaveFile(self
, *_args
, **_kwargs
):
680 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
682 def DiscardEdits(self
, *_args
, **_kwargs
):
683 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
685 def SetMaxLength(self
, *_args
, **_kwargs
):
686 val
= apply(controlsc
.wxTextCtrl_SetMaxLength
,(self
,) + _args
, _kwargs
)
688 def WriteText(self
, *_args
, **_kwargs
):
689 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
691 def AppendText(self
, *_args
, **_kwargs
):
692 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
694 def SetStyle(self
, *_args
, **_kwargs
):
695 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
697 def SetDefaultStyle(self
, *_args
, **_kwargs
):
698 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
700 def GetDefaultStyle(self
, *_args
, **_kwargs
):
701 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
702 if val
: val
= wxTextAttrPtr(val
)
704 def XYToPosition(self
, *_args
, **_kwargs
):
705 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
707 def PositionToXY(self
, *_args
, **_kwargs
):
708 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
710 def ShowPosition(self
, *_args
, **_kwargs
):
711 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
713 def Copy(self
, *_args
, **_kwargs
):
714 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
716 def Cut(self
, *_args
, **_kwargs
):
717 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
719 def Paste(self
, *_args
, **_kwargs
):
720 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
722 def CanCopy(self
, *_args
, **_kwargs
):
723 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
725 def CanCut(self
, *_args
, **_kwargs
):
726 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
728 def CanPaste(self
, *_args
, **_kwargs
):
729 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
731 def Undo(self
, *_args
, **_kwargs
):
732 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
734 def Redo(self
, *_args
, **_kwargs
):
735 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
737 def CanUndo(self
, *_args
, **_kwargs
):
738 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
740 def CanRedo(self
, *_args
, **_kwargs
):
741 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
743 def SetInsertionPoint(self
, *_args
, **_kwargs
):
744 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
746 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
747 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
749 def GetInsertionPoint(self
, *_args
, **_kwargs
):
750 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
752 def GetLastPosition(self
, *_args
, **_kwargs
):
753 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
755 def SetSelection(self
, *_args
, **_kwargs
):
756 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
758 def SelectAll(self
, *_args
, **_kwargs
):
759 val
= apply(controlsc
.wxTextCtrl_SelectAll
,(self
,) + _args
, _kwargs
)
761 def SetEditable(self
, *_args
, **_kwargs
):
762 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
764 def write(self
, *_args
, **_kwargs
):
765 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
768 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
769 class wxTextCtrl(wxTextCtrlPtr
):
770 def __init__(self
,*_args
,**_kwargs
):
771 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
773 self
._setOORInfo
(self
)
777 def wxPreTextCtrl(*_args
,**_kwargs
):
778 val
= wxTextCtrlPtr(apply(controlsc
.new_wxPreTextCtrl
,_args
,_kwargs
))
784 class wxScrollBarPtr(wxControlPtr
):
785 def __init__(self
,this
):
788 def Create(self
, *_args
, **_kwargs
):
789 val
= apply(controlsc
.wxScrollBar_Create
,(self
,) + _args
, _kwargs
)
791 def GetRange(self
, *_args
, **_kwargs
):
792 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
794 def GetPageSize(self
, *_args
, **_kwargs
):
795 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
797 def GetThumbPosition(self
, *_args
, **_kwargs
):
798 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
800 def GetThumbSize(self
, *_args
, **_kwargs
):
801 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
803 def GetThumbLength(self
, *_args
, **_kwargs
):
804 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
806 def SetThumbPosition(self
, *_args
, **_kwargs
):
807 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
809 def SetScrollbar(self
, *_args
, **_kwargs
):
810 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
813 return "<C wxScrollBar instance at %s>" % (self
.this
,)
814 class wxScrollBar(wxScrollBarPtr
):
815 def __init__(self
,*_args
,**_kwargs
):
816 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
818 self
._setOORInfo
(self
)
822 def wxPreScrollBar(*_args
,**_kwargs
):
823 val
= wxScrollBarPtr(apply(controlsc
.new_wxPreScrollBar
,_args
,_kwargs
))
829 class wxSpinButtonPtr(wxControlPtr
):
830 def __init__(self
,this
):
833 def Create(self
, *_args
, **_kwargs
):
834 val
= apply(controlsc
.wxSpinButton_Create
,(self
,) + _args
, _kwargs
)
836 def GetMax(self
, *_args
, **_kwargs
):
837 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
839 def GetMin(self
, *_args
, **_kwargs
):
840 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
842 def GetValue(self
, *_args
, **_kwargs
):
843 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
845 def SetRange(self
, *_args
, **_kwargs
):
846 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
848 def SetValue(self
, *_args
, **_kwargs
):
849 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
852 return "<C wxSpinButton instance at %s>" % (self
.this
,)
853 class wxSpinButton(wxSpinButtonPtr
):
854 def __init__(self
,*_args
,**_kwargs
):
855 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
857 self
._setOORInfo
(self
)
861 def wxPreSpinButton(*_args
,**_kwargs
):
862 val
= wxSpinButtonPtr(apply(controlsc
.new_wxPreSpinButton
,_args
,_kwargs
))
868 class wxStaticBitmapPtr(wxControlPtr
):
869 def __init__(self
,this
):
872 def Create(self
, *_args
, **_kwargs
):
873 val
= apply(controlsc
.wxStaticBitmap_Create
,(self
,) + _args
, _kwargs
)
875 def GetBitmap(self
, *_args
, **_kwargs
):
876 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
877 if val
: val
= wxBitmapPtr(val
)
879 def SetBitmap(self
, *_args
, **_kwargs
):
880 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
882 def SetIcon(self
, *_args
, **_kwargs
):
883 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
886 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
887 class wxStaticBitmap(wxStaticBitmapPtr
):
888 def __init__(self
,*_args
,**_kwargs
):
889 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
891 self
._setOORInfo
(self
)
895 def wxPreStaticBitmap(*_args
,**_kwargs
):
896 val
= wxStaticBitmapPtr(apply(controlsc
.new_wxPreStaticBitmap
,_args
,_kwargs
))
902 class wxRadioBoxPtr(wxControlPtr
):
903 def __init__(self
,this
):
906 def Create(self
, *_args
, **_kwargs
):
907 val
= apply(controlsc
.wxRadioBox_Create
,(self
,) + _args
, _kwargs
)
909 def Enable(self
, *_args
, **_kwargs
):
910 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
912 def EnableItem(self
, *_args
, **_kwargs
):
913 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
915 def FindString(self
, *_args
, **_kwargs
):
916 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
918 def GetString(self
, *_args
, **_kwargs
):
919 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
921 def GetItemLabel(self
, *_args
, **_kwargs
):
922 val
= apply(controlsc
.wxRadioBox_GetItemLabel
,(self
,) + _args
, _kwargs
)
924 def SetItemLabel(self
, *_args
, **_kwargs
):
925 val
= apply(controlsc
.wxRadioBox_SetItemLabel
,(self
,) + _args
, _kwargs
)
927 def GetSelection(self
, *_args
, **_kwargs
):
928 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
930 def GetStringSelection(self
, *_args
, **_kwargs
):
931 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
933 def GetCount(self
, *_args
, **_kwargs
):
934 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
936 def SetSelection(self
, *_args
, **_kwargs
):
937 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
939 def SetStringSelection(self
, *_args
, **_kwargs
):
940 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
942 def Show(self
, *_args
, **_kwargs
):
943 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
945 def ShowItem(self
, *_args
, **_kwargs
):
946 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
949 return "<C wxRadioBox instance at %s>" % (self
.this
,)
951 class wxRadioBox(wxRadioBoxPtr
):
952 def __init__(self
,*_args
,**_kwargs
):
953 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
955 self
._setOORInfo
(self
)
959 def wxPreRadioBox(*_args
,**_kwargs
):
960 val
= wxRadioBoxPtr(apply(controlsc
.new_wxPreRadioBox
,_args
,_kwargs
))
966 class wxRadioButtonPtr(wxControlPtr
):
967 def __init__(self
,this
):
970 def Create(self
, *_args
, **_kwargs
):
971 val
= apply(controlsc
.wxRadioButton_Create
,(self
,) + _args
, _kwargs
)
973 def GetValue(self
, *_args
, **_kwargs
):
974 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
976 def SetValue(self
, *_args
, **_kwargs
):
977 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
980 return "<C wxRadioButton instance at %s>" % (self
.this
,)
981 class wxRadioButton(wxRadioButtonPtr
):
982 def __init__(self
,*_args
,**_kwargs
):
983 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
985 self
._setOORInfo
(self
)
989 def wxPreRadioButton(*_args
,**_kwargs
):
990 val
= wxRadioButtonPtr(apply(controlsc
.new_wxPreRadioButton
,_args
,_kwargs
))
996 class wxSliderPtr(wxControlPtr
):
997 def __init__(self
,this
):
1000 def Create(self
, *_args
, **_kwargs
):
1001 val
= apply(controlsc
.wxSlider_Create
,(self
,) + _args
, _kwargs
)
1003 def ClearSel(self
, *_args
, **_kwargs
):
1004 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
1006 def ClearTicks(self
, *_args
, **_kwargs
):
1007 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
1009 def GetLineSize(self
, *_args
, **_kwargs
):
1010 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
1012 def GetMax(self
, *_args
, **_kwargs
):
1013 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
1015 def GetMin(self
, *_args
, **_kwargs
):
1016 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
1018 def GetPageSize(self
, *_args
, **_kwargs
):
1019 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
1021 def GetSelEnd(self
, *_args
, **_kwargs
):
1022 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
1024 def GetSelStart(self
, *_args
, **_kwargs
):
1025 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
1027 def GetThumbLength(self
, *_args
, **_kwargs
):
1028 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
1030 def GetTickFreq(self
, *_args
, **_kwargs
):
1031 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
1033 def GetValue(self
, *_args
, **_kwargs
):
1034 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
1036 def SetRange(self
, *_args
, **_kwargs
):
1037 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
1039 def SetTickFreq(self
, *_args
, **_kwargs
):
1040 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
1042 def SetLineSize(self
, *_args
, **_kwargs
):
1043 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
1045 def SetPageSize(self
, *_args
, **_kwargs
):
1046 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
1048 def SetSelection(self
, *_args
, **_kwargs
):
1049 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
1051 def SetThumbLength(self
, *_args
, **_kwargs
):
1052 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
1054 def SetTick(self
, *_args
, **_kwargs
):
1055 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
1057 def SetValue(self
, *_args
, **_kwargs
):
1058 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
1061 return "<C wxSlider instance at %s>" % (self
.this
,)
1062 class wxSlider(wxSliderPtr
):
1063 def __init__(self
,*_args
,**_kwargs
):
1064 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
1066 self
._setOORInfo
(self
)
1070 def wxPreSlider(*_args
,**_kwargs
):
1071 val
= wxSliderPtr(apply(controlsc
.new_wxPreSlider
,_args
,_kwargs
))
1073 val
._setOORInfo
(val
)
1077 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1078 def __init__(self
,this
):
1081 def Create(self
, *_args
, **_kwargs
):
1082 val
= apply(controlsc
.wxSpinCtrl_Create
,(self
,) + _args
, _kwargs
)
1084 def GetMax(self
, *_args
, **_kwargs
):
1085 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
1087 def GetMin(self
, *_args
, **_kwargs
):
1088 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
1090 def GetValue(self
, *_args
, **_kwargs
):
1091 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
1093 def SetRange(self
, *_args
, **_kwargs
):
1094 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
1096 def SetValue(self
, *_args
, **_kwargs
):
1097 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
1100 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
1101 class wxSpinCtrl(wxSpinCtrlPtr
):
1102 def __init__(self
,*_args
,**_kwargs
):
1103 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
1105 self
._setOORInfo
(self
)
1109 def wxPreSpinCtrl(*_args
,**_kwargs
):
1110 val
= wxSpinCtrlPtr(apply(controlsc
.new_wxPreSpinCtrl
,_args
,_kwargs
))
1112 val
._setOORInfo
(val
)
1116 class wxToggleButtonPtr(wxControlPtr
):
1117 def __init__(self
,this
):
1120 def Create(self
, *_args
, **_kwargs
):
1121 val
= apply(controlsc
.wxToggleButton_Create
,(self
,) + _args
, _kwargs
)
1123 def SetValue(self
, *_args
, **_kwargs
):
1124 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
1126 def GetValue(self
, *_args
, **_kwargs
):
1127 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
1129 def SetLabel(self
, *_args
, **_kwargs
):
1130 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
1133 return "<C wxToggleButton instance at %s>" % (self
.this
,)
1134 class wxToggleButton(wxToggleButtonPtr
):
1135 def __init__(self
,*_args
,**_kwargs
):
1136 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
1138 self
._setOORInfo
(self
)
1142 def wxPreToggleButton(*_args
,**_kwargs
):
1143 val
= wxToggleButtonPtr(apply(controlsc
.new_wxPreToggleButton
,_args
,_kwargs
))
1145 val
._setOORInfo
(val
)
1151 #-------------- FUNCTION WRAPPERS ------------------
1153 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1154 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
1155 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1160 #-------------- VARIABLE WRAPPERS ------------------
1162 cvar
= controlsc
.cvar
1163 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1164 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED