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
)
84 def AppendItems(self
, *_args
, **_kwargs
):
85 val
= apply(controlsc
.wxControlWithItems_AppendItems
,(self
,) + _args
, _kwargs
)
88 return "<C wxControlWithItems instance at %s>" % (self
.this
,)
90 class wxControlWithItems(wxControlWithItemsPtr
):
91 def __init__(self
,this
):
97 class wxButtonPtr(wxControlPtr
):
98 def __init__(self
,this
):
101 def Create(self
, *_args
, **_kwargs
):
102 val
= apply(controlsc
.wxButton_Create
,(self
,) + _args
, _kwargs
)
104 def SetDefault(self
, *_args
, **_kwargs
):
105 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
107 def SetBackgroundColour(self
, *_args
, **_kwargs
):
108 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
110 def SetForegroundColour(self
, *_args
, **_kwargs
):
111 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
113 def SetImageLabel(self
, *_args
, **_kwargs
):
114 val
= apply(controlsc
.wxButton_SetImageLabel
,(self
,) + _args
, _kwargs
)
116 def SetImageMargins(self
, *_args
, **_kwargs
):
117 val
= apply(controlsc
.wxButton_SetImageMargins
,(self
,) + _args
, _kwargs
)
120 return "<C wxButton instance at %s>" % (self
.this
,)
121 class wxButton(wxButtonPtr
):
122 def __init__(self
,*_args
,**_kwargs
):
123 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
125 self
._setOORInfo
(self
)
129 def wxPreButton(*_args
,**_kwargs
):
130 val
= wxButtonPtr(apply(controlsc
.new_wxPreButton
,_args
,_kwargs
))
136 class wxBitmapButtonPtr(wxButtonPtr
):
137 def __init__(self
,this
):
140 def Create(self
, *_args
, **_kwargs
):
141 val
= apply(controlsc
.wxBitmapButton_Create
,(self
,) + _args
, _kwargs
)
143 def GetBitmapLabel(self
, *_args
, **_kwargs
):
144 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
145 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
147 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
148 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
149 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
151 def GetBitmapFocus(self
, *_args
, **_kwargs
):
152 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
153 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
155 def GetBitmapSelected(self
, *_args
, **_kwargs
):
156 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
157 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
159 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
160 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
162 def SetBitmapFocus(self
, *_args
, **_kwargs
):
163 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
165 def SetBitmapSelected(self
, *_args
, **_kwargs
):
166 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
168 def SetBitmapLabel(self
, *_args
, **_kwargs
):
169 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
171 def SetMargins(self
, *_args
, **_kwargs
):
172 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
174 def GetMarginX(self
, *_args
, **_kwargs
):
175 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
177 def GetMarginY(self
, *_args
, **_kwargs
):
178 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
181 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
182 class wxBitmapButton(wxBitmapButtonPtr
):
183 def __init__(self
,*_args
,**_kwargs
):
184 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
186 self
._setOORInfo
(self
)
190 def wxPreBitmapButton(*_args
,**_kwargs
):
191 val
= wxBitmapButtonPtr(apply(controlsc
.new_wxPreBitmapButton
,_args
,_kwargs
))
197 class wxCheckBoxPtr(wxControlPtr
):
198 def __init__(self
,this
):
201 def Create(self
, *_args
, **_kwargs
):
202 val
= apply(controlsc
.wxCheckBox_Create
,(self
,) + _args
, _kwargs
)
204 def GetValue(self
, *_args
, **_kwargs
):
205 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
207 def SetValue(self
, *_args
, **_kwargs
):
208 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
211 return "<C wxCheckBox instance at %s>" % (self
.this
,)
212 class wxCheckBox(wxCheckBoxPtr
):
213 def __init__(self
,*_args
,**_kwargs
):
214 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
216 self
._setOORInfo
(self
)
220 def wxPreCheckBox(*_args
,**_kwargs
):
221 val
= wxCheckBoxPtr(apply(controlsc
.new_wxPreCheckBox
,_args
,_kwargs
))
227 class wxChoicePtr(wxControlWithItemsPtr
):
228 def __init__(self
,this
):
231 def Create(self
, *_args
, **_kwargs
):
232 val
= apply(controlsc
.wxChoice_Create
,(self
,) + _args
, _kwargs
)
234 def Clear(self
, *_args
, **_kwargs
):
235 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
237 def GetColumns(self
, *_args
, **_kwargs
):
238 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
240 def SetColumns(self
, *_args
, **_kwargs
):
241 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
243 def SetSelection(self
, *_args
, **_kwargs
):
244 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
246 def SetStringSelection(self
, *_args
, **_kwargs
):
247 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
249 def SetString(self
, *_args
, **_kwargs
):
250 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
253 return "<C wxChoice instance at %s>" % (self
.this
,)
255 Select
= SetSelection
257 class wxChoice(wxChoicePtr
):
258 def __init__(self
,*_args
,**_kwargs
):
259 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
261 self
._setOORInfo
(self
)
265 def wxPreChoice(*_args
,**_kwargs
):
266 val
= wxChoicePtr(apply(controlsc
.new_wxPreChoice
,_args
,_kwargs
))
272 class wxComboBoxPtr(wxChoicePtr
):
273 def __init__(self
,this
):
276 def Create(self
, *_args
, **_kwargs
):
277 val
= apply(controlsc
.wxComboBox_Create
,(self
,) + _args
, _kwargs
)
279 def Copy(self
, *_args
, **_kwargs
):
280 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
282 def Cut(self
, *_args
, **_kwargs
):
283 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
285 def GetInsertionPoint(self
, *_args
, **_kwargs
):
286 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
288 def GetLastPosition(self
, *_args
, **_kwargs
):
289 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
291 def GetValue(self
, *_args
, **_kwargs
):
292 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
294 def Paste(self
, *_args
, **_kwargs
):
295 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
297 def Replace(self
, *_args
, **_kwargs
):
298 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
300 def Remove(self
, *_args
, **_kwargs
):
301 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
303 def SetInsertionPoint(self
, *_args
, **_kwargs
):
304 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
306 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
307 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
309 def SetSelection(self
, *_args
, **_kwargs
):
310 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
312 def SetMark(self
, *_args
, **_kwargs
):
313 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
315 def SetValue(self
, *_args
, **_kwargs
):
316 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
318 def SetEditable(self
, *_args
, **_kwargs
):
319 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
322 return "<C wxComboBox instance at %s>" % (self
.this
,)
323 class wxComboBox(wxComboBoxPtr
):
324 def __init__(self
,*_args
,**_kwargs
):
325 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
327 self
._setOORInfo
(self
)
331 def wxPreComboBox(*_args
,**_kwargs
):
332 val
= wxComboBoxPtr(apply(controlsc
.new_wxPreComboBox
,_args
,_kwargs
))
338 class wxGaugePtr(wxControlPtr
):
339 def __init__(self
,this
):
342 def Create(self
, *_args
, **_kwargs
):
343 val
= apply(controlsc
.wxGauge_Create
,(self
,) + _args
, _kwargs
)
345 def GetBezelFace(self
, *_args
, **_kwargs
):
346 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
348 def GetRange(self
, *_args
, **_kwargs
):
349 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
351 def GetShadowWidth(self
, *_args
, **_kwargs
):
352 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
354 def GetValue(self
, *_args
, **_kwargs
):
355 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
357 def SetBezelFace(self
, *_args
, **_kwargs
):
358 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
360 def SetRange(self
, *_args
, **_kwargs
):
361 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
363 def SetShadowWidth(self
, *_args
, **_kwargs
):
364 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
366 def SetValue(self
, *_args
, **_kwargs
):
367 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
370 return "<C wxGauge instance at %s>" % (self
.this
,)
371 class wxGauge(wxGaugePtr
):
372 def __init__(self
,*_args
,**_kwargs
):
373 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
375 self
._setOORInfo
(self
)
379 def wxPreGauge(*_args
,**_kwargs
):
380 val
= wxGaugePtr(apply(controlsc
.new_wxPreGauge
,_args
,_kwargs
))
386 class wxStaticBoxPtr(wxControlPtr
):
387 def __init__(self
,this
):
390 def Create(self
, *_args
, **_kwargs
):
391 val
= apply(controlsc
.wxStaticBox_Create
,(self
,) + _args
, _kwargs
)
394 return "<C wxStaticBox instance at %s>" % (self
.this
,)
395 class wxStaticBox(wxStaticBoxPtr
):
396 def __init__(self
,*_args
,**_kwargs
):
397 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
399 self
._setOORInfo
(self
)
403 def wxPreStaticBox(*_args
,**_kwargs
):
404 val
= wxStaticBoxPtr(apply(controlsc
.new_wxPreStaticBox
,_args
,_kwargs
))
410 class wxStaticLinePtr(wxControlPtr
):
411 def __init__(self
,this
):
414 def Create(self
, *_args
, **_kwargs
):
415 val
= apply(controlsc
.wxStaticLine_Create
,(self
,) + _args
, _kwargs
)
418 return "<C wxStaticLine instance at %s>" % (self
.this
,)
419 class wxStaticLine(wxStaticLinePtr
):
420 def __init__(self
,*_args
,**_kwargs
):
421 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
423 self
._setOORInfo
(self
)
427 def wxPreStaticLine(*_args
,**_kwargs
):
428 val
= wxStaticLinePtr(apply(controlsc
.new_wxPreStaticLine
,_args
,_kwargs
))
434 class wxStaticTextPtr(wxControlPtr
):
435 def __init__(self
,this
):
438 def Create(self
, *_args
, **_kwargs
):
439 val
= apply(controlsc
.wxStaticText_Create
,(self
,) + _args
, _kwargs
)
441 def GetLabel(self
, *_args
, **_kwargs
):
442 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
444 def SetLabel(self
, *_args
, **_kwargs
):
445 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
448 return "<C wxStaticText instance at %s>" % (self
.this
,)
449 class wxStaticText(wxStaticTextPtr
):
450 def __init__(self
,*_args
,**_kwargs
):
451 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
453 self
._setOORInfo
(self
)
457 def wxPreStaticText(*_args
,**_kwargs
):
458 val
= wxStaticTextPtr(apply(controlsc
.new_wxPreStaticText
,_args
,_kwargs
))
464 class wxListBoxPtr(wxControlWithItemsPtr
):
465 def __init__(self
,this
):
468 def Create(self
, *_args
, **_kwargs
):
469 val
= apply(controlsc
.wxListBox_Create
,(self
,) + _args
, _kwargs
)
471 def Clear(self
, *_args
, **_kwargs
):
472 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
474 def Deselect(self
, *_args
, **_kwargs
):
475 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
477 def GetSelections(self
, *_args
, **_kwargs
):
478 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
480 def InsertItems(self
, *_args
, **_kwargs
):
481 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
483 def IsSelected(self
, *_args
, **_kwargs
):
484 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
486 def Selected(self
, *_args
, **_kwargs
):
487 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
489 def Set(self
, *_args
, **_kwargs
):
490 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
492 def SetFirstItem(self
, *_args
, **_kwargs
):
493 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
495 def SetFirstItemStr(self
, *_args
, **_kwargs
):
496 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
498 def SetSelection(self
, *_args
, **_kwargs
):
499 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
501 def SetString(self
, *_args
, **_kwargs
):
502 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
504 def SetStringSelection(self
, *_args
, **_kwargs
):
505 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
508 return "<C wxListBox instance at %s>" % (self
.this
,)
509 class wxListBox(wxListBoxPtr
):
510 def __init__(self
,*_args
,**_kwargs
):
511 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
513 self
._setOORInfo
(self
)
517 def wxPreListBox(*_args
,**_kwargs
):
518 val
= wxListBoxPtr(apply(controlsc
.new_wxPreListBox
,_args
,_kwargs
))
524 class wxCheckListBoxPtr(wxListBoxPtr
):
525 def __init__(self
,this
):
528 def Create(self
, *_args
, **_kwargs
):
529 val
= apply(controlsc
.wxCheckListBox_Create
,(self
,) + _args
, _kwargs
)
531 def IsChecked(self
, *_args
, **_kwargs
):
532 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
534 def Check(self
, *_args
, **_kwargs
):
535 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
537 def InsertItems(self
, *_args
, **_kwargs
):
538 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
540 def GetItemHeight(self
, *_args
, **_kwargs
):
541 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
544 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
545 class wxCheckListBox(wxCheckListBoxPtr
):
546 def __init__(self
,*_args
,**_kwargs
):
547 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
549 self
._setOORInfo
(self
)
553 def wxPreCheckListBox(*_args
,**_kwargs
):
554 val
= wxCheckListBoxPtr(apply(controlsc
.new_wxPreCheckListBox
,_args
,_kwargs
))
560 class wxTextAttrPtr
:
561 def __init__(self
,this
):
564 def __del__(self
,controlsc
=controlsc
):
565 if self
.thisown
== 1 :
566 controlsc
.delete_wxTextAttr(self
)
567 def SetTextColour(self
, *_args
, **_kwargs
):
568 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
570 def SetBackgroundColour(self
, *_args
, **_kwargs
):
571 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
573 def SetFont(self
, *_args
, **_kwargs
):
574 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
576 def HasTextColour(self
, *_args
, **_kwargs
):
577 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
579 def HasBackgroundColour(self
, *_args
, **_kwargs
):
580 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
582 def HasFont(self
, *_args
, **_kwargs
):
583 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
585 def GetTextColour(self
, *_args
, **_kwargs
):
586 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
587 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
589 def GetBackgroundColour(self
, *_args
, **_kwargs
):
590 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
591 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
593 def GetFont(self
, *_args
, **_kwargs
):
594 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
595 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
597 def IsDefault(self
, *_args
, **_kwargs
):
598 val
= apply(controlsc
.wxTextAttr_IsDefault
,(self
,) + _args
, _kwargs
)
601 return "<C wxTextAttr instance at %s>" % (self
.this
,)
602 class wxTextAttr(wxTextAttrPtr
):
603 def __init__(self
,*_args
,**_kwargs
):
604 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
610 class wxTextCtrlPtr(wxControlPtr
):
611 def __init__(self
,this
):
614 def Create(self
, *_args
, **_kwargs
):
615 val
= apply(controlsc
.wxTextCtrl_Create
,(self
,) + _args
, _kwargs
)
617 def GetValue(self
, *_args
, **_kwargs
):
618 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
620 def SetValue(self
, *_args
, **_kwargs
):
621 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
623 def GetRange(self
, *_args
, **_kwargs
):
624 val
= apply(controlsc
.wxTextCtrl_GetRange
,(self
,) + _args
, _kwargs
)
626 def GetLineLength(self
, *_args
, **_kwargs
):
627 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
629 def GetLineText(self
, *_args
, **_kwargs
):
630 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
632 def GetNumberOfLines(self
, *_args
, **_kwargs
):
633 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
635 def IsModified(self
, *_args
, **_kwargs
):
636 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
638 def IsEditable(self
, *_args
, **_kwargs
):
639 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
641 def GetSelection(self
, *_args
, **_kwargs
):
642 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
644 def GetStringSelection(self
, *_args
, **_kwargs
):
645 val
= apply(controlsc
.wxTextCtrl_GetStringSelection
,(self
,) + _args
, _kwargs
)
647 def Clear(self
, *_args
, **_kwargs
):
648 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
650 def Replace(self
, *_args
, **_kwargs
):
651 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
653 def Remove(self
, *_args
, **_kwargs
):
654 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
656 def LoadFile(self
, *_args
, **_kwargs
):
657 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
659 def SaveFile(self
, *_args
, **_kwargs
):
660 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
662 def DiscardEdits(self
, *_args
, **_kwargs
):
663 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
665 def SetMaxLength(self
, *_args
, **_kwargs
):
666 val
= apply(controlsc
.wxTextCtrl_SetMaxLength
,(self
,) + _args
, _kwargs
)
668 def WriteText(self
, *_args
, **_kwargs
):
669 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
671 def AppendText(self
, *_args
, **_kwargs
):
672 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
674 def SetStyle(self
, *_args
, **_kwargs
):
675 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
677 def SetDefaultStyle(self
, *_args
, **_kwargs
):
678 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
680 def GetDefaultStyle(self
, *_args
, **_kwargs
):
681 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
682 if val
: val
= wxTextAttrPtr(val
)
684 def XYToPosition(self
, *_args
, **_kwargs
):
685 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
687 def PositionToXY(self
, *_args
, **_kwargs
):
688 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
690 def ShowPosition(self
, *_args
, **_kwargs
):
691 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
693 def Copy(self
, *_args
, **_kwargs
):
694 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
696 def Cut(self
, *_args
, **_kwargs
):
697 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
699 def Paste(self
, *_args
, **_kwargs
):
700 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
702 def CanCopy(self
, *_args
, **_kwargs
):
703 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
705 def CanCut(self
, *_args
, **_kwargs
):
706 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
708 def CanPaste(self
, *_args
, **_kwargs
):
709 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
711 def Undo(self
, *_args
, **_kwargs
):
712 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
714 def Redo(self
, *_args
, **_kwargs
):
715 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
717 def CanUndo(self
, *_args
, **_kwargs
):
718 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
720 def CanRedo(self
, *_args
, **_kwargs
):
721 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
723 def SetInsertionPoint(self
, *_args
, **_kwargs
):
724 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
726 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
727 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
729 def GetInsertionPoint(self
, *_args
, **_kwargs
):
730 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
732 def GetLastPosition(self
, *_args
, **_kwargs
):
733 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
735 def SetSelection(self
, *_args
, **_kwargs
):
736 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
738 def SelectAll(self
, *_args
, **_kwargs
):
739 val
= apply(controlsc
.wxTextCtrl_SelectAll
,(self
,) + _args
, _kwargs
)
741 def SetEditable(self
, *_args
, **_kwargs
):
742 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
744 def write(self
, *_args
, **_kwargs
):
745 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
747 def GetString(self
, *_args
, **_kwargs
):
748 val
= apply(controlsc
.wxTextCtrl_GetString
,(self
,) + _args
, _kwargs
)
751 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
752 class wxTextCtrl(wxTextCtrlPtr
):
753 def __init__(self
,*_args
,**_kwargs
):
754 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
756 self
._setOORInfo
(self
)
760 def wxPreTextCtrl(*_args
,**_kwargs
):
761 val
= wxTextCtrlPtr(apply(controlsc
.new_wxPreTextCtrl
,_args
,_kwargs
))
767 class wxScrollBarPtr(wxControlPtr
):
768 def __init__(self
,this
):
771 def Create(self
, *_args
, **_kwargs
):
772 val
= apply(controlsc
.wxScrollBar_Create
,(self
,) + _args
, _kwargs
)
774 def GetRange(self
, *_args
, **_kwargs
):
775 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
777 def GetPageSize(self
, *_args
, **_kwargs
):
778 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
780 def GetThumbPosition(self
, *_args
, **_kwargs
):
781 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
783 def GetThumbSize(self
, *_args
, **_kwargs
):
784 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
786 def GetThumbLength(self
, *_args
, **_kwargs
):
787 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
789 def IsVertical(self
, *_args
, **_kwargs
):
790 val
= apply(controlsc
.wxScrollBar_IsVertical
,(self
,) + _args
, _kwargs
)
792 def SetThumbPosition(self
, *_args
, **_kwargs
):
793 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
795 def SetScrollbar(self
, *_args
, **_kwargs
):
796 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
799 return "<C wxScrollBar instance at %s>" % (self
.this
,)
800 class wxScrollBar(wxScrollBarPtr
):
801 def __init__(self
,*_args
,**_kwargs
):
802 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
804 self
._setOORInfo
(self
)
808 def wxPreScrollBar(*_args
,**_kwargs
):
809 val
= wxScrollBarPtr(apply(controlsc
.new_wxPreScrollBar
,_args
,_kwargs
))
815 class wxSpinButtonPtr(wxControlPtr
):
816 def __init__(self
,this
):
819 def Create(self
, *_args
, **_kwargs
):
820 val
= apply(controlsc
.wxSpinButton_Create
,(self
,) + _args
, _kwargs
)
822 def GetMax(self
, *_args
, **_kwargs
):
823 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
825 def GetMin(self
, *_args
, **_kwargs
):
826 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
828 def GetValue(self
, *_args
, **_kwargs
):
829 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
831 def SetRange(self
, *_args
, **_kwargs
):
832 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
834 def SetValue(self
, *_args
, **_kwargs
):
835 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
838 return "<C wxSpinButton instance at %s>" % (self
.this
,)
839 class wxSpinButton(wxSpinButtonPtr
):
840 def __init__(self
,*_args
,**_kwargs
):
841 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
843 self
._setOORInfo
(self
)
847 def wxPreSpinButton(*_args
,**_kwargs
):
848 val
= wxSpinButtonPtr(apply(controlsc
.new_wxPreSpinButton
,_args
,_kwargs
))
854 class wxStaticBitmapPtr(wxControlPtr
):
855 def __init__(self
,this
):
858 def Create(self
, *_args
, **_kwargs
):
859 val
= apply(controlsc
.wxStaticBitmap_Create
,(self
,) + _args
, _kwargs
)
861 def GetBitmap(self
, *_args
, **_kwargs
):
862 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
863 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
865 def SetBitmap(self
, *_args
, **_kwargs
):
866 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
868 def SetIcon(self
, *_args
, **_kwargs
):
869 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
872 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
873 class wxStaticBitmap(wxStaticBitmapPtr
):
874 def __init__(self
,*_args
,**_kwargs
):
875 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
877 self
._setOORInfo
(self
)
881 def wxPreStaticBitmap(*_args
,**_kwargs
):
882 val
= wxStaticBitmapPtr(apply(controlsc
.new_wxPreStaticBitmap
,_args
,_kwargs
))
888 class wxRadioBoxPtr(wxControlPtr
):
889 def __init__(self
,this
):
892 def Create(self
, *_args
, **_kwargs
):
893 val
= apply(controlsc
.wxRadioBox_Create
,(self
,) + _args
, _kwargs
)
895 def Enable(self
, *_args
, **_kwargs
):
896 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
898 def EnableItem(self
, *_args
, **_kwargs
):
899 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
901 def FindString(self
, *_args
, **_kwargs
):
902 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
904 def GetString(self
, *_args
, **_kwargs
):
905 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
907 def SetString(self
, *_args
, **_kwargs
):
908 val
= apply(controlsc
.wxRadioBox_SetString
,(self
,) + _args
, _kwargs
)
910 def GetColumnCount(self
, *_args
, **_kwargs
):
911 val
= apply(controlsc
.wxRadioBox_GetColumnCount
,(self
,) + _args
, _kwargs
)
913 def GetRowCount(self
, *_args
, **_kwargs
):
914 val
= apply(controlsc
.wxRadioBox_GetRowCount
,(self
,) + _args
, _kwargs
)
916 def GetSelection(self
, *_args
, **_kwargs
):
917 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
919 def GetStringSelection(self
, *_args
, **_kwargs
):
920 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
922 def GetCount(self
, *_args
, **_kwargs
):
923 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
925 def SetSelection(self
, *_args
, **_kwargs
):
926 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
928 def SetStringSelection(self
, *_args
, **_kwargs
):
929 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
931 def Show(self
, *_args
, **_kwargs
):
932 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
934 def ShowItem(self
, *_args
, **_kwargs
):
935 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
938 return "<C wxRadioBox instance at %s>" % (self
.this
,)
940 GetItemLabel
= GetString
941 SetItemLabel
= SetString
944 class wxRadioBox(wxRadioBoxPtr
):
945 def __init__(self
,*_args
,**_kwargs
):
946 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
948 self
._setOORInfo
(self
)
952 def wxPreRadioBox(*_args
,**_kwargs
):
953 val
= wxRadioBoxPtr(apply(controlsc
.new_wxPreRadioBox
,_args
,_kwargs
))
959 class wxRadioButtonPtr(wxControlPtr
):
960 def __init__(self
,this
):
963 def Create(self
, *_args
, **_kwargs
):
964 val
= apply(controlsc
.wxRadioButton_Create
,(self
,) + _args
, _kwargs
)
966 def GetValue(self
, *_args
, **_kwargs
):
967 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
969 def SetValue(self
, *_args
, **_kwargs
):
970 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
973 return "<C wxRadioButton instance at %s>" % (self
.this
,)
974 class wxRadioButton(wxRadioButtonPtr
):
975 def __init__(self
,*_args
,**_kwargs
):
976 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
978 self
._setOORInfo
(self
)
982 def wxPreRadioButton(*_args
,**_kwargs
):
983 val
= wxRadioButtonPtr(apply(controlsc
.new_wxPreRadioButton
,_args
,_kwargs
))
989 class wxSliderPtr(wxControlPtr
):
990 def __init__(self
,this
):
993 def Create(self
, *_args
, **_kwargs
):
994 val
= apply(controlsc
.wxSlider_Create
,(self
,) + _args
, _kwargs
)
996 def ClearSel(self
, *_args
, **_kwargs
):
997 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
999 def ClearTicks(self
, *_args
, **_kwargs
):
1000 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
1002 def GetLineSize(self
, *_args
, **_kwargs
):
1003 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
1005 def GetMax(self
, *_args
, **_kwargs
):
1006 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
1008 def GetMin(self
, *_args
, **_kwargs
):
1009 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
1011 def GetPageSize(self
, *_args
, **_kwargs
):
1012 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
1014 def GetSelEnd(self
, *_args
, **_kwargs
):
1015 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
1017 def GetSelStart(self
, *_args
, **_kwargs
):
1018 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
1020 def GetThumbLength(self
, *_args
, **_kwargs
):
1021 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
1023 def GetTickFreq(self
, *_args
, **_kwargs
):
1024 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
1026 def GetValue(self
, *_args
, **_kwargs
):
1027 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
1029 def SetRange(self
, *_args
, **_kwargs
):
1030 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
1032 def SetTickFreq(self
, *_args
, **_kwargs
):
1033 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
1035 def SetLineSize(self
, *_args
, **_kwargs
):
1036 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
1038 def SetPageSize(self
, *_args
, **_kwargs
):
1039 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
1041 def SetSelection(self
, *_args
, **_kwargs
):
1042 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
1044 def SetThumbLength(self
, *_args
, **_kwargs
):
1045 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
1047 def SetTick(self
, *_args
, **_kwargs
):
1048 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
1050 def SetValue(self
, *_args
, **_kwargs
):
1051 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
1054 return "<C wxSlider instance at %s>" % (self
.this
,)
1055 class wxSlider(wxSliderPtr
):
1056 def __init__(self
,*_args
,**_kwargs
):
1057 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
1059 self
._setOORInfo
(self
)
1063 def wxPreSlider(*_args
,**_kwargs
):
1064 val
= wxSliderPtr(apply(controlsc
.new_wxPreSlider
,_args
,_kwargs
))
1066 val
._setOORInfo
(val
)
1070 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1071 def __init__(self
,this
):
1074 def Create(self
, *_args
, **_kwargs
):
1075 val
= apply(controlsc
.wxSpinCtrl_Create
,(self
,) + _args
, _kwargs
)
1077 def GetMax(self
, *_args
, **_kwargs
):
1078 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
1080 def GetMin(self
, *_args
, **_kwargs
):
1081 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
1083 def GetValue(self
, *_args
, **_kwargs
):
1084 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
1086 def SetRange(self
, *_args
, **_kwargs
):
1087 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
1089 def SetValue(self
, *_args
, **_kwargs
):
1090 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
1093 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
1094 class wxSpinCtrl(wxSpinCtrlPtr
):
1095 def __init__(self
,*_args
,**_kwargs
):
1096 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
1098 self
._setOORInfo
(self
)
1102 def wxPreSpinCtrl(*_args
,**_kwargs
):
1103 val
= wxSpinCtrlPtr(apply(controlsc
.new_wxPreSpinCtrl
,_args
,_kwargs
))
1105 val
._setOORInfo
(val
)
1109 class wxToggleButtonPtr(wxControlPtr
):
1110 def __init__(self
,this
):
1113 def Create(self
, *_args
, **_kwargs
):
1114 val
= apply(controlsc
.wxToggleButton_Create
,(self
,) + _args
, _kwargs
)
1116 def SetValue(self
, *_args
, **_kwargs
):
1117 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
1119 def GetValue(self
, *_args
, **_kwargs
):
1120 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
1122 def SetLabel(self
, *_args
, **_kwargs
):
1123 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
1126 return "<C wxToggleButton instance at %s>" % (self
.this
,)
1127 class wxToggleButton(wxToggleButtonPtr
):
1128 def __init__(self
,*_args
,**_kwargs
):
1129 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
1131 self
._setOORInfo
(self
)
1135 def wxPreToggleButton(*_args
,**_kwargs
):
1136 val
= wxToggleButtonPtr(apply(controlsc
.new_wxPreToggleButton
,_args
,_kwargs
))
1138 val
._setOORInfo
(val
)
1144 #-------------- FUNCTION WRAPPERS ------------------
1146 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1147 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
1148 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1151 def wxTextAttr_Combine(*_args
, **_kwargs
):
1152 val
= apply(controlsc
.wxTextAttr_Combine
,_args
,_kwargs
)
1153 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1158 #-------------- VARIABLE WRAPPERS ------------------
1160 cvar
= controlsc
.cvar
1161 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1162 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED