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
)
39 def wxPreControl(*_args
,**_kwargs
):
40 val
= wxControlPtr(apply(controlsc
.new_wxPreControl
,_args
,_kwargs
))
45 class wxButtonPtr(wxControlPtr
):
46 def __init__(self
,this
):
49 def Create(self
, *_args
, **_kwargs
):
50 val
= apply(controlsc
.wxButton_Create
,(self
,) + _args
, _kwargs
)
52 def SetDefault(self
, *_args
, **_kwargs
):
53 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
55 def SetBackgroundColour(self
, *_args
, **_kwargs
):
56 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
58 def SetForegroundColour(self
, *_args
, **_kwargs
):
59 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
61 def SetImageLabel(self
, *_args
, **_kwargs
):
62 val
= apply(controlsc
.wxButton_SetImageLabel
,(self
,) + _args
, _kwargs
)
64 def SetImageMargins(self
, *_args
, **_kwargs
):
65 val
= apply(controlsc
.wxButton_SetImageMargins
,(self
,) + _args
, _kwargs
)
68 return "<C wxButton instance at %s>" % (self
.this
,)
69 class wxButton(wxButtonPtr
):
70 def __init__(self
,*_args
,**_kwargs
):
71 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
76 def wxPreButton(*_args
,**_kwargs
):
77 val
= wxButtonPtr(apply(controlsc
.new_wxPreButton
,_args
,_kwargs
))
82 class wxBitmapButtonPtr(wxButtonPtr
):
83 def __init__(self
,this
):
86 def Create(self
, *_args
, **_kwargs
):
87 val
= apply(controlsc
.wxBitmapButton_Create
,(self
,) + _args
, _kwargs
)
89 def GetBitmapLabel(self
, *_args
, **_kwargs
):
90 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
91 if val
: val
= wxBitmapPtr(val
)
93 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
94 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
95 if val
: val
= wxBitmapPtr(val
)
97 def GetBitmapFocus(self
, *_args
, **_kwargs
):
98 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
99 if val
: val
= wxBitmapPtr(val
)
101 def GetBitmapSelected(self
, *_args
, **_kwargs
):
102 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
103 if val
: val
= wxBitmapPtr(val
)
105 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
106 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
108 def SetBitmapFocus(self
, *_args
, **_kwargs
):
109 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
111 def SetBitmapSelected(self
, *_args
, **_kwargs
):
112 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
114 def SetBitmapLabel(self
, *_args
, **_kwargs
):
115 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
117 def SetMargins(self
, *_args
, **_kwargs
):
118 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
120 def GetMarginX(self
, *_args
, **_kwargs
):
121 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
123 def GetMarginY(self
, *_args
, **_kwargs
):
124 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
127 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
128 class wxBitmapButton(wxBitmapButtonPtr
):
129 def __init__(self
,*_args
,**_kwargs
):
130 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
135 def wxPreBitmapButton(*_args
,**_kwargs
):
136 val
= wxBitmapButtonPtr(apply(controlsc
.new_wxPreBitmapButton
,_args
,_kwargs
))
141 class wxCheckBoxPtr(wxControlPtr
):
142 def __init__(self
,this
):
145 def Create(self
, *_args
, **_kwargs
):
146 val
= apply(controlsc
.wxCheckBox_Create
,(self
,) + _args
, _kwargs
)
148 def GetValue(self
, *_args
, **_kwargs
):
149 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
151 def SetValue(self
, *_args
, **_kwargs
):
152 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
155 return "<C wxCheckBox instance at %s>" % (self
.this
,)
156 class wxCheckBox(wxCheckBoxPtr
):
157 def __init__(self
,*_args
,**_kwargs
):
158 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
163 def wxPreCheckBox(*_args
,**_kwargs
):
164 val
= wxCheckBoxPtr(apply(controlsc
.new_wxPreCheckBox
,_args
,_kwargs
))
169 class wxChoicePtr(wxControlPtr
):
170 def __init__(self
,this
):
173 def Create(self
, *_args
, **_kwargs
):
174 val
= apply(controlsc
.wxChoice_Create
,(self
,) + _args
, _kwargs
)
176 def Append(self
, *_args
, **_kwargs
):
177 val
= apply(controlsc
.wxChoice_Append
,(self
,) + _args
, _kwargs
)
179 def Clear(self
, *_args
, **_kwargs
):
180 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
182 def Delete(self
, *_args
, **_kwargs
):
183 val
= apply(controlsc
.wxChoice_Delete
,(self
,) + _args
, _kwargs
)
185 def FindString(self
, *_args
, **_kwargs
):
186 val
= apply(controlsc
.wxChoice_FindString
,(self
,) + _args
, _kwargs
)
188 def GetColumns(self
, *_args
, **_kwargs
):
189 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
191 def GetSelection(self
, *_args
, **_kwargs
):
192 val
= apply(controlsc
.wxChoice_GetSelection
,(self
,) + _args
, _kwargs
)
194 def GetString(self
, *_args
, **_kwargs
):
195 val
= apply(controlsc
.wxChoice_GetString
,(self
,) + _args
, _kwargs
)
197 def GetStringSelection(self
, *_args
, **_kwargs
):
198 val
= apply(controlsc
.wxChoice_GetStringSelection
,(self
,) + _args
, _kwargs
)
200 def GetCount(self
, *_args
, **_kwargs
):
201 val
= apply(controlsc
.wxChoice_GetCount
,(self
,) + _args
, _kwargs
)
203 def SetColumns(self
, *_args
, **_kwargs
):
204 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
206 def SetSelection(self
, *_args
, **_kwargs
):
207 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
209 def SetStringSelection(self
, *_args
, **_kwargs
):
210 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
212 def SetString(self
, *_args
, **_kwargs
):
213 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
216 return "<C wxChoice instance at %s>" % (self
.this
,)
219 Select
= SetSelection
221 class wxChoice(wxChoicePtr
):
222 def __init__(self
,*_args
,**_kwargs
):
223 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
228 def wxPreChoice(*_args
,**_kwargs
):
229 val
= wxChoicePtr(apply(controlsc
.new_wxPreChoice
,_args
,_kwargs
))
234 class wxComboBoxPtr(wxChoicePtr
):
235 def __init__(self
,this
):
238 def Create(self
, *_args
, **_kwargs
):
239 val
= apply(controlsc
.wxComboBox_Create
,(self
,) + _args
, _kwargs
)
241 def Append(self
, *_args
, **_kwargs
):
242 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
244 def Clear(self
, *_args
, **_kwargs
):
245 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
247 def Copy(self
, *_args
, **_kwargs
):
248 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
250 def Cut(self
, *_args
, **_kwargs
):
251 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
253 def Delete(self
, *_args
, **_kwargs
):
254 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
256 def FindString(self
, *_args
, **_kwargs
):
257 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
259 def GetInsertionPoint(self
, *_args
, **_kwargs
):
260 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
262 def GetLastPosition(self
, *_args
, **_kwargs
):
263 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
265 def GetSelection(self
, *_args
, **_kwargs
):
266 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
268 def GetString(self
, *_args
, **_kwargs
):
269 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
271 def GetStringSelection(self
, *_args
, **_kwargs
):
272 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
274 def GetValue(self
, *_args
, **_kwargs
):
275 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
277 def Paste(self
, *_args
, **_kwargs
):
278 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
280 def Replace(self
, *_args
, **_kwargs
):
281 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
283 def Remove(self
, *_args
, **_kwargs
):
284 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
286 def SetInsertionPoint(self
, *_args
, **_kwargs
):
287 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
289 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
290 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
292 def SetSelection(self
, *_args
, **_kwargs
):
293 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
295 def SetMark(self
, *_args
, **_kwargs
):
296 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
298 def SetValue(self
, *_args
, **_kwargs
):
299 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
301 def SetEditable(self
, *_args
, **_kwargs
):
302 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
305 return "<C wxComboBox instance at %s>" % (self
.this
,)
306 class wxComboBox(wxComboBoxPtr
):
307 def __init__(self
,*_args
,**_kwargs
):
308 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
313 def wxPreComboBox(*_args
,**_kwargs
):
314 val
= wxComboBoxPtr(apply(controlsc
.new_wxPreComboBox
,_args
,_kwargs
))
319 class wxGaugePtr(wxControlPtr
):
320 def __init__(self
,this
):
323 def Create(self
, *_args
, **_kwargs
):
324 val
= apply(controlsc
.wxGauge_Create
,(self
,) + _args
, _kwargs
)
326 def GetBezelFace(self
, *_args
, **_kwargs
):
327 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
329 def GetRange(self
, *_args
, **_kwargs
):
330 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
332 def GetShadowWidth(self
, *_args
, **_kwargs
):
333 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
335 def GetValue(self
, *_args
, **_kwargs
):
336 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
338 def SetBezelFace(self
, *_args
, **_kwargs
):
339 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
341 def SetRange(self
, *_args
, **_kwargs
):
342 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
344 def SetShadowWidth(self
, *_args
, **_kwargs
):
345 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
347 def SetValue(self
, *_args
, **_kwargs
):
348 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
351 return "<C wxGauge instance at %s>" % (self
.this
,)
352 class wxGauge(wxGaugePtr
):
353 def __init__(self
,*_args
,**_kwargs
):
354 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
359 def wxPreGauge(*_args
,**_kwargs
):
360 val
= wxGaugePtr(apply(controlsc
.new_wxPreGauge
,_args
,_kwargs
))
365 class wxStaticBoxPtr(wxControlPtr
):
366 def __init__(self
,this
):
369 def Create(self
, *_args
, **_kwargs
):
370 val
= apply(controlsc
.wxStaticBox_Create
,(self
,) + _args
, _kwargs
)
373 return "<C wxStaticBox instance at %s>" % (self
.this
,)
374 class wxStaticBox(wxStaticBoxPtr
):
375 def __init__(self
,*_args
,**_kwargs
):
376 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
381 def wxPreStaticBox(*_args
,**_kwargs
):
382 val
= wxStaticBoxPtr(apply(controlsc
.new_wxPreStaticBox
,_args
,_kwargs
))
387 class wxStaticLinePtr(wxControlPtr
):
388 def __init__(self
,this
):
391 def Create(self
, *_args
, **_kwargs
):
392 val
= apply(controlsc
.wxStaticLine_Create
,(self
,) + _args
, _kwargs
)
395 return "<C wxStaticLine instance at %s>" % (self
.this
,)
396 class wxStaticLine(wxStaticLinePtr
):
397 def __init__(self
,*_args
,**_kwargs
):
398 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
403 def wxPreStaticLine(*_args
,**_kwargs
):
404 val
= wxStaticLinePtr(apply(controlsc
.new_wxPreStaticLine
,_args
,_kwargs
))
409 class wxStaticTextPtr(wxControlPtr
):
410 def __init__(self
,this
):
413 def Create(self
, *_args
, **_kwargs
):
414 val
= apply(controlsc
.wxStaticText_Create
,(self
,) + _args
, _kwargs
)
416 def GetLabel(self
, *_args
, **_kwargs
):
417 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
419 def SetLabel(self
, *_args
, **_kwargs
):
420 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
423 return "<C wxStaticText instance at %s>" % (self
.this
,)
424 class wxStaticText(wxStaticTextPtr
):
425 def __init__(self
,*_args
,**_kwargs
):
426 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
431 def wxPreStaticText(*_args
,**_kwargs
):
432 val
= wxStaticTextPtr(apply(controlsc
.new_wxPreStaticText
,_args
,_kwargs
))
437 class wxListBoxPtr(wxControlPtr
):
438 def __init__(self
,this
):
441 def Create(self
, *_args
, **_kwargs
):
442 val
= apply(controlsc
.wxListBox_Create
,(self
,) + _args
, _kwargs
)
444 def Append(self
, *_args
, **_kwargs
):
445 val
= apply(controlsc
.wxListBox_Append
,(self
,) + _args
, _kwargs
)
447 def Clear(self
, *_args
, **_kwargs
):
448 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
450 def Delete(self
, *_args
, **_kwargs
):
451 val
= apply(controlsc
.wxListBox_Delete
,(self
,) + _args
, _kwargs
)
453 def Deselect(self
, *_args
, **_kwargs
):
454 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
456 def FindString(self
, *_args
, **_kwargs
):
457 val
= apply(controlsc
.wxListBox_FindString
,(self
,) + _args
, _kwargs
)
459 def GetSelection(self
, *_args
, **_kwargs
):
460 val
= apply(controlsc
.wxListBox_GetSelection
,(self
,) + _args
, _kwargs
)
462 def GetSelections(self
, *_args
, **_kwargs
):
463 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
465 def InsertItems(self
, *_args
, **_kwargs
):
466 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
468 def GetString(self
, *_args
, **_kwargs
):
469 val
= apply(controlsc
.wxListBox_GetString
,(self
,) + _args
, _kwargs
)
471 def GetStringSelection(self
, *_args
, **_kwargs
):
472 val
= apply(controlsc
.wxListBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
474 def GetCount(self
, *_args
, **_kwargs
):
475 val
= apply(controlsc
.wxListBox_GetCount
,(self
,) + _args
, _kwargs
)
477 def IsSelected(self
, *_args
, **_kwargs
):
478 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
480 def Selected(self
, *_args
, **_kwargs
):
481 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
483 def Set(self
, *_args
, **_kwargs
):
484 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
486 def SetFirstItem(self
, *_args
, **_kwargs
):
487 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
489 def SetFirstItemStr(self
, *_args
, **_kwargs
):
490 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
492 def SetSelection(self
, *_args
, **_kwargs
):
493 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
495 def SetString(self
, *_args
, **_kwargs
):
496 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
498 def SetStringSelection(self
, *_args
, **_kwargs
):
499 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
502 return "<C wxListBox instance at %s>" % (self
.this
,)
504 class wxListBox(wxListBoxPtr
):
505 def __init__(self
,*_args
,**_kwargs
):
506 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
511 def wxPreListBox(*_args
,**_kwargs
):
512 val
= wxListBoxPtr(apply(controlsc
.new_wxPreListBox
,_args
,_kwargs
))
517 class wxCheckListBoxPtr(wxListBoxPtr
):
518 def __init__(self
,this
):
521 def Create(self
, *_args
, **_kwargs
):
522 val
= apply(controlsc
.wxCheckListBox_Create
,(self
,) + _args
, _kwargs
)
524 def IsChecked(self
, *_args
, **_kwargs
):
525 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
527 def Check(self
, *_args
, **_kwargs
):
528 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
530 def InsertItems(self
, *_args
, **_kwargs
):
531 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
533 def GetItemHeight(self
, *_args
, **_kwargs
):
534 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
537 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
538 class wxCheckListBox(wxCheckListBoxPtr
):
539 def __init__(self
,*_args
,**_kwargs
):
540 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
545 def wxPreCheckListBox(*_args
,**_kwargs
):
546 val
= wxCheckListBoxPtr(apply(controlsc
.new_wxPreCheckListBox
,_args
,_kwargs
))
551 class wxTextAttrPtr
:
552 def __init__(self
,this
):
555 def __del__(self
,controlsc
=controlsc
):
556 if self
.thisown
== 1 :
557 controlsc
.delete_wxTextAttr(self
)
558 def SetTextColour(self
, *_args
, **_kwargs
):
559 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
561 def SetBackgroundColour(self
, *_args
, **_kwargs
):
562 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
564 def SetFont(self
, *_args
, **_kwargs
):
565 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
567 def HasTextColour(self
, *_args
, **_kwargs
):
568 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
570 def HasBackgroundColour(self
, *_args
, **_kwargs
):
571 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
573 def HasFont(self
, *_args
, **_kwargs
):
574 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
576 def GetTextColour(self
, *_args
, **_kwargs
):
577 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
578 if val
: val
= wxColourPtr(val
)
580 def GetBackgroundColour(self
, *_args
, **_kwargs
):
581 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
582 if val
: val
= wxColourPtr(val
)
584 def GetFont(self
, *_args
, **_kwargs
):
585 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
586 if val
: val
= wxFontPtr(val
)
589 return "<C wxTextAttr instance at %s>" % (self
.this
,)
590 class wxTextAttr(wxTextAttrPtr
):
591 def __init__(self
,*_args
,**_kwargs
):
592 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
598 class wxTextCtrlPtr(wxControlPtr
):
599 def __init__(self
,this
):
602 def Create(self
, *_args
, **_kwargs
):
603 val
= apply(controlsc
.wxTextCtrl_Create
,(self
,) + _args
, _kwargs
)
605 def Clear(self
, *_args
, **_kwargs
):
606 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
608 def Copy(self
, *_args
, **_kwargs
):
609 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
611 def Cut(self
, *_args
, **_kwargs
):
612 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
614 def DiscardEdits(self
, *_args
, **_kwargs
):
615 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
617 def GetInsertionPoint(self
, *_args
, **_kwargs
):
618 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
620 def GetLastPosition(self
, *_args
, **_kwargs
):
621 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
623 def GetLineLength(self
, *_args
, **_kwargs
):
624 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
626 def GetLineText(self
, *_args
, **_kwargs
):
627 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
629 def GetNumberOfLines(self
, *_args
, **_kwargs
):
630 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
632 def GetValue(self
, *_args
, **_kwargs
):
633 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
635 def IsModified(self
, *_args
, **_kwargs
):
636 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
638 def LoadFile(self
, *_args
, **_kwargs
):
639 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
641 def Paste(self
, *_args
, **_kwargs
):
642 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
644 def PositionToXY(self
, *_args
, **_kwargs
):
645 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
647 def Remove(self
, *_args
, **_kwargs
):
648 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
650 def Replace(self
, *_args
, **_kwargs
):
651 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
653 def SaveFile(self
, *_args
, **_kwargs
):
654 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
656 def SetEditable(self
, *_args
, **_kwargs
):
657 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
659 def SetInsertionPoint(self
, *_args
, **_kwargs
):
660 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
662 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
663 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
665 def SetSelection(self
, *_args
, **_kwargs
):
666 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
668 def SetValue(self
, *_args
, **_kwargs
):
669 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
671 def ShowPosition(self
, *_args
, **_kwargs
):
672 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
674 def WriteText(self
, *_args
, **_kwargs
):
675 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
677 def AppendText(self
, *_args
, **_kwargs
):
678 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
680 def XYToPosition(self
, *_args
, **_kwargs
):
681 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
683 def CanCopy(self
, *_args
, **_kwargs
):
684 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
686 def CanCut(self
, *_args
, **_kwargs
):
687 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
689 def CanPaste(self
, *_args
, **_kwargs
):
690 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
692 def CanRedo(self
, *_args
, **_kwargs
):
693 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
695 def CanUndo(self
, *_args
, **_kwargs
):
696 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
698 def GetSelection(self
, *_args
, **_kwargs
):
699 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
701 def IsEditable(self
, *_args
, **_kwargs
):
702 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
704 def Undo(self
, *_args
, **_kwargs
):
705 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
707 def Redo(self
, *_args
, **_kwargs
):
708 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
710 def SetStyle(self
, *_args
, **_kwargs
):
711 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
713 def SetDefaultStyle(self
, *_args
, **_kwargs
):
714 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
716 def GetDefaultStyle(self
, *_args
, **_kwargs
):
717 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
718 if val
: val
= wxTextAttrPtr(val
)
720 def SetMaxLength(self
, *_args
, **_kwargs
):
721 val
= apply(controlsc
.wxTextCtrl_SetMaxLength
,(self
,) + _args
, _kwargs
)
723 def write(self
, *_args
, **_kwargs
):
724 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
727 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
728 class wxTextCtrl(wxTextCtrlPtr
):
729 def __init__(self
,*_args
,**_kwargs
):
730 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
735 def wxPreTextCtrl(*_args
,**_kwargs
):
736 val
= wxTextCtrlPtr(apply(controlsc
.new_wxPreTextCtrl
,_args
,_kwargs
))
741 class wxScrollBarPtr(wxControlPtr
):
742 def __init__(self
,this
):
745 def Create(self
, *_args
, **_kwargs
):
746 val
= apply(controlsc
.wxScrollBar_Create
,(self
,) + _args
, _kwargs
)
748 def GetRange(self
, *_args
, **_kwargs
):
749 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
751 def GetPageSize(self
, *_args
, **_kwargs
):
752 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
754 def GetThumbPosition(self
, *_args
, **_kwargs
):
755 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
757 def GetThumbSize(self
, *_args
, **_kwargs
):
758 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
760 def GetThumbLength(self
, *_args
, **_kwargs
):
761 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
763 def SetThumbPosition(self
, *_args
, **_kwargs
):
764 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
766 def SetScrollbar(self
, *_args
, **_kwargs
):
767 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
770 return "<C wxScrollBar instance at %s>" % (self
.this
,)
771 class wxScrollBar(wxScrollBarPtr
):
772 def __init__(self
,*_args
,**_kwargs
):
773 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
778 def wxPreScrollBar(*_args
,**_kwargs
):
779 val
= wxScrollBarPtr(apply(controlsc
.new_wxPreScrollBar
,_args
,_kwargs
))
784 class wxSpinButtonPtr(wxControlPtr
):
785 def __init__(self
,this
):
788 def Create(self
, *_args
, **_kwargs
):
789 val
= apply(controlsc
.wxSpinButton_Create
,(self
,) + _args
, _kwargs
)
791 def GetMax(self
, *_args
, **_kwargs
):
792 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
794 def GetMin(self
, *_args
, **_kwargs
):
795 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
797 def GetValue(self
, *_args
, **_kwargs
):
798 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
800 def SetRange(self
, *_args
, **_kwargs
):
801 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
803 def SetValue(self
, *_args
, **_kwargs
):
804 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
807 return "<C wxSpinButton instance at %s>" % (self
.this
,)
808 class wxSpinButton(wxSpinButtonPtr
):
809 def __init__(self
,*_args
,**_kwargs
):
810 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
815 def wxPreSpinButton(*_args
,**_kwargs
):
816 val
= wxSpinButtonPtr(apply(controlsc
.new_wxPreSpinButton
,_args
,_kwargs
))
821 class wxStaticBitmapPtr(wxControlPtr
):
822 def __init__(self
,this
):
825 def Create(self
, *_args
, **_kwargs
):
826 val
= apply(controlsc
.wxStaticBitmap_Create
,(self
,) + _args
, _kwargs
)
828 def GetBitmap(self
, *_args
, **_kwargs
):
829 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
830 if val
: val
= wxBitmapPtr(val
)
832 def SetBitmap(self
, *_args
, **_kwargs
):
833 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
835 def SetIcon(self
, *_args
, **_kwargs
):
836 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
839 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
840 class wxStaticBitmap(wxStaticBitmapPtr
):
841 def __init__(self
,*_args
,**_kwargs
):
842 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
847 def wxPreStaticBitmap(*_args
,**_kwargs
):
848 val
= wxStaticBitmapPtr(apply(controlsc
.new_wxPreStaticBitmap
,_args
,_kwargs
))
853 class wxRadioBoxPtr(wxControlPtr
):
854 def __init__(self
,this
):
857 def Create(self
, *_args
, **_kwargs
):
858 val
= apply(controlsc
.wxRadioBox_Create
,(self
,) + _args
, _kwargs
)
860 def Enable(self
, *_args
, **_kwargs
):
861 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
863 def EnableItem(self
, *_args
, **_kwargs
):
864 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
866 def FindString(self
, *_args
, **_kwargs
):
867 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
869 def GetString(self
, *_args
, **_kwargs
):
870 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
872 def SetString(self
, *_args
, **_kwargs
):
873 val
= apply(controlsc
.wxRadioBox_SetString
,(self
,) + _args
, _kwargs
)
875 def GetColumnCount(self
, *_args
, **_kwargs
):
876 val
= apply(controlsc
.wxRadioBox_GetColumnCount
,(self
,) + _args
, _kwargs
)
878 def GetRowCount(self
, *_args
, **_kwargs
):
879 val
= apply(controlsc
.wxRadioBox_GetRowCount
,(self
,) + _args
, _kwargs
)
881 def GetSelection(self
, *_args
, **_kwargs
):
882 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
884 def GetStringSelection(self
, *_args
, **_kwargs
):
885 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
887 def GetCount(self
, *_args
, **_kwargs
):
888 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
890 def SetSelection(self
, *_args
, **_kwargs
):
891 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
893 def SetStringSelection(self
, *_args
, **_kwargs
):
894 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
896 def Show(self
, *_args
, **_kwargs
):
897 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
899 def ShowItem(self
, *_args
, **_kwargs
):
900 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
903 return "<C wxRadioBox instance at %s>" % (self
.this
,)
905 GetItemLabel
= GetString
906 SetItemLabel
= SetString
909 class wxRadioBox(wxRadioBoxPtr
):
910 def __init__(self
,*_args
,**_kwargs
):
911 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
916 def wxPreRadioBox(*_args
,**_kwargs
):
917 val
= wxRadioBoxPtr(apply(controlsc
.new_wxPreRadioBox
,_args
,_kwargs
))
922 class wxRadioButtonPtr(wxControlPtr
):
923 def __init__(self
,this
):
926 def Create(self
, *_args
, **_kwargs
):
927 val
= apply(controlsc
.wxRadioButton_Create
,(self
,) + _args
, _kwargs
)
929 def GetValue(self
, *_args
, **_kwargs
):
930 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
932 def SetValue(self
, *_args
, **_kwargs
):
933 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
936 return "<C wxRadioButton instance at %s>" % (self
.this
,)
937 class wxRadioButton(wxRadioButtonPtr
):
938 def __init__(self
,*_args
,**_kwargs
):
939 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
944 def wxPreRadioButton(*_args
,**_kwargs
):
945 val
= wxRadioButtonPtr(apply(controlsc
.new_wxPreRadioButton
,_args
,_kwargs
))
950 class wxSliderPtr(wxControlPtr
):
951 def __init__(self
,this
):
954 def Create(self
, *_args
, **_kwargs
):
955 val
= apply(controlsc
.wxSlider_Create
,(self
,) + _args
, _kwargs
)
957 def ClearSel(self
, *_args
, **_kwargs
):
958 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
960 def ClearTicks(self
, *_args
, **_kwargs
):
961 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
963 def GetLineSize(self
, *_args
, **_kwargs
):
964 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
966 def GetMax(self
, *_args
, **_kwargs
):
967 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
969 def GetMin(self
, *_args
, **_kwargs
):
970 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
972 def GetPageSize(self
, *_args
, **_kwargs
):
973 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
975 def GetSelEnd(self
, *_args
, **_kwargs
):
976 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
978 def GetSelStart(self
, *_args
, **_kwargs
):
979 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
981 def GetThumbLength(self
, *_args
, **_kwargs
):
982 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
984 def GetTickFreq(self
, *_args
, **_kwargs
):
985 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
987 def GetValue(self
, *_args
, **_kwargs
):
988 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
990 def SetRange(self
, *_args
, **_kwargs
):
991 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
993 def SetTickFreq(self
, *_args
, **_kwargs
):
994 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
996 def SetLineSize(self
, *_args
, **_kwargs
):
997 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
999 def SetPageSize(self
, *_args
, **_kwargs
):
1000 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
1002 def SetSelection(self
, *_args
, **_kwargs
):
1003 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
1005 def SetThumbLength(self
, *_args
, **_kwargs
):
1006 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
1008 def SetTick(self
, *_args
, **_kwargs
):
1009 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
1011 def SetValue(self
, *_args
, **_kwargs
):
1012 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
1015 return "<C wxSlider instance at %s>" % (self
.this
,)
1016 class wxSlider(wxSliderPtr
):
1017 def __init__(self
,*_args
,**_kwargs
):
1018 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
1023 def wxPreSlider(*_args
,**_kwargs
):
1024 val
= wxSliderPtr(apply(controlsc
.new_wxPreSlider
,_args
,_kwargs
))
1029 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1030 def __init__(self
,this
):
1033 def Create(self
, *_args
, **_kwargs
):
1034 val
= apply(controlsc
.wxSpinCtrl_Create
,(self
,) + _args
, _kwargs
)
1036 def GetMax(self
, *_args
, **_kwargs
):
1037 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
1039 def GetMin(self
, *_args
, **_kwargs
):
1040 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
1042 def GetValue(self
, *_args
, **_kwargs
):
1043 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
1045 def SetRange(self
, *_args
, **_kwargs
):
1046 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
1048 def SetValue(self
, *_args
, **_kwargs
):
1049 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
1052 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
1053 class wxSpinCtrl(wxSpinCtrlPtr
):
1054 def __init__(self
,*_args
,**_kwargs
):
1055 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
1060 def wxPreSpinCtrl(*_args
,**_kwargs
):
1061 val
= wxSpinCtrlPtr(apply(controlsc
.new_wxPreSpinCtrl
,_args
,_kwargs
))
1066 class wxToggleButtonPtr(wxControlPtr
):
1067 def __init__(self
,this
):
1070 def Create(self
, *_args
, **_kwargs
):
1071 val
= apply(controlsc
.wxToggleButton_Create
,(self
,) + _args
, _kwargs
)
1073 def SetValue(self
, *_args
, **_kwargs
):
1074 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
1076 def GetValue(self
, *_args
, **_kwargs
):
1077 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
1079 def SetLabel(self
, *_args
, **_kwargs
):
1080 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
1083 return "<C wxToggleButton instance at %s>" % (self
.this
,)
1084 class wxToggleButton(wxToggleButtonPtr
):
1085 def __init__(self
,*_args
,**_kwargs
):
1086 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
1091 def wxPreToggleButton(*_args
,**_kwargs
):
1092 val
= wxToggleButtonPtr(apply(controlsc
.new_wxPreToggleButton
,_args
,_kwargs
))
1099 #-------------- FUNCTION WRAPPERS ------------------
1101 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1102 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
1103 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1108 #-------------- VARIABLE WRAPPERS ------------------
1110 cvar
= controlsc
.cvar
1111 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1112 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED