1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
16 class wxControlPtr(wxWindowPtr
):
17 def __init__(self
,this
):
20 def Create(self
, *_args
, **_kwargs
):
21 val
= apply(controlsc
.wxControl_Create
,(self
,) + _args
, _kwargs
)
23 def Command(self
, *_args
, **_kwargs
):
24 val
= apply(controlsc
.wxControl_Command
,(self
,) + _args
, _kwargs
)
26 def GetLabel(self
, *_args
, **_kwargs
):
27 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
29 def SetLabel(self
, *_args
, **_kwargs
):
30 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
33 return "<C wxControl instance at %s>" % (self
.this
,)
34 class wxControl(wxControlPtr
):
35 def __init__(self
,*_args
,**_kwargs
):
36 self
.this
= apply(controlsc
.new_wxControl
,_args
,_kwargs
)
38 self
._setOORInfo
(self
)
42 def wxPreControl(*_args
,**_kwargs
):
43 val
= wxControlPtr(apply(controlsc
.new_wxPreControl
,_args
,_kwargs
))
49 class wxControlWithItemsPtr(wxControlPtr
):
50 def __init__(self
,this
):
53 def Delete(self
, *_args
, **_kwargs
):
54 val
= apply(controlsc
.wxControlWithItems_Delete
,(self
,) + _args
, _kwargs
)
56 def GetCount(self
, *_args
, **_kwargs
):
57 val
= apply(controlsc
.wxControlWithItems_GetCount
,(self
,) + _args
, _kwargs
)
59 def GetString(self
, *_args
, **_kwargs
):
60 val
= apply(controlsc
.wxControlWithItems_GetString
,(self
,) + _args
, _kwargs
)
62 def SetString(self
, *_args
, **_kwargs
):
63 val
= apply(controlsc
.wxControlWithItems_SetString
,(self
,) + _args
, _kwargs
)
65 def FindString(self
, *_args
, **_kwargs
):
66 val
= apply(controlsc
.wxControlWithItems_FindString
,(self
,) + _args
, _kwargs
)
68 def Select(self
, *_args
, **_kwargs
):
69 val
= apply(controlsc
.wxControlWithItems_Select
,(self
,) + _args
, _kwargs
)
71 def GetSelection(self
, *_args
, **_kwargs
):
72 val
= apply(controlsc
.wxControlWithItems_GetSelection
,(self
,) + _args
, _kwargs
)
74 def GetStringSelection(self
, *_args
, **_kwargs
):
75 val
= apply(controlsc
.wxControlWithItems_GetStringSelection
,(self
,) + _args
, _kwargs
)
77 def Append(self
, *_args
, **_kwargs
):
78 val
= apply(controlsc
.wxControlWithItems_Append
,(self
,) + _args
, _kwargs
)
80 def GetClientData(self
, *_args
, **_kwargs
):
81 val
= apply(controlsc
.wxControlWithItems_GetClientData
,(self
,) + _args
, _kwargs
)
83 def SetClientData(self
, *_args
, **_kwargs
):
84 val
= apply(controlsc
.wxControlWithItems_SetClientData
,(self
,) + _args
, _kwargs
)
86 def AppendItems(self
, *_args
, **_kwargs
):
87 val
= apply(controlsc
.wxControlWithItems_AppendItems
,(self
,) + _args
, _kwargs
)
90 return "<C wxControlWithItems instance at %s>" % (self
.this
,)
92 class wxControlWithItems(wxControlWithItemsPtr
):
93 def __init__(self
,this
):
99 class wxButtonPtr(wxControlPtr
):
100 def __init__(self
,this
):
103 def Create(self
, *_args
, **_kwargs
):
104 val
= apply(controlsc
.wxButton_Create
,(self
,) + _args
, _kwargs
)
106 def SetDefault(self
, *_args
, **_kwargs
):
107 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
109 def SetBackgroundColour(self
, *_args
, **_kwargs
):
110 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
112 def SetForegroundColour(self
, *_args
, **_kwargs
):
113 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
115 def SetImageLabel(self
, *_args
, **_kwargs
):
116 val
= apply(controlsc
.wxButton_SetImageLabel
,(self
,) + _args
, _kwargs
)
118 def SetImageMargins(self
, *_args
, **_kwargs
):
119 val
= apply(controlsc
.wxButton_SetImageMargins
,(self
,) + _args
, _kwargs
)
122 return "<C wxButton instance at %s>" % (self
.this
,)
123 class wxButton(wxButtonPtr
):
124 def __init__(self
,*_args
,**_kwargs
):
125 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
127 self
._setOORInfo
(self
)
131 def wxPreButton(*_args
,**_kwargs
):
132 val
= wxButtonPtr(apply(controlsc
.new_wxPreButton
,_args
,_kwargs
))
138 class wxBitmapButtonPtr(wxButtonPtr
):
139 def __init__(self
,this
):
142 def Create(self
, *_args
, **_kwargs
):
143 val
= apply(controlsc
.wxBitmapButton_Create
,(self
,) + _args
, _kwargs
)
145 def GetBitmapLabel(self
, *_args
, **_kwargs
):
146 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
147 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
149 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
150 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
151 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
153 def GetBitmapFocus(self
, *_args
, **_kwargs
):
154 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
155 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
157 def GetBitmapSelected(self
, *_args
, **_kwargs
):
158 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
159 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
161 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
162 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
164 def SetBitmapFocus(self
, *_args
, **_kwargs
):
165 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
167 def SetBitmapSelected(self
, *_args
, **_kwargs
):
168 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
170 def SetBitmapLabel(self
, *_args
, **_kwargs
):
171 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
173 def SetMargins(self
, *_args
, **_kwargs
):
174 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
176 def GetMarginX(self
, *_args
, **_kwargs
):
177 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
179 def GetMarginY(self
, *_args
, **_kwargs
):
180 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
183 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
184 class wxBitmapButton(wxBitmapButtonPtr
):
185 def __init__(self
,*_args
,**_kwargs
):
186 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
188 self
._setOORInfo
(self
)
192 def wxPreBitmapButton(*_args
,**_kwargs
):
193 val
= wxBitmapButtonPtr(apply(controlsc
.new_wxPreBitmapButton
,_args
,_kwargs
))
199 class wxCheckBoxPtr(wxControlPtr
):
200 def __init__(self
,this
):
203 def Create(self
, *_args
, **_kwargs
):
204 val
= apply(controlsc
.wxCheckBox_Create
,(self
,) + _args
, _kwargs
)
206 def GetValue(self
, *_args
, **_kwargs
):
207 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
209 def SetValue(self
, *_args
, **_kwargs
):
210 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
213 return "<C wxCheckBox instance at %s>" % (self
.this
,)
214 class wxCheckBox(wxCheckBoxPtr
):
215 def __init__(self
,*_args
,**_kwargs
):
216 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
218 self
._setOORInfo
(self
)
222 def wxPreCheckBox(*_args
,**_kwargs
):
223 val
= wxCheckBoxPtr(apply(controlsc
.new_wxPreCheckBox
,_args
,_kwargs
))
229 class wxChoicePtr(wxControlWithItemsPtr
):
230 def __init__(self
,this
):
233 def Create(self
, *_args
, **_kwargs
):
234 val
= apply(controlsc
.wxChoice_Create
,(self
,) + _args
, _kwargs
)
236 def Clear(self
, *_args
, **_kwargs
):
237 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
239 def GetColumns(self
, *_args
, **_kwargs
):
240 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
242 def SetColumns(self
, *_args
, **_kwargs
):
243 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
245 def SetSelection(self
, *_args
, **_kwargs
):
246 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
248 def SetStringSelection(self
, *_args
, **_kwargs
):
249 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
251 def SetString(self
, *_args
, **_kwargs
):
252 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
255 return "<C wxChoice instance at %s>" % (self
.this
,)
257 Select
= SetSelection
259 class wxChoice(wxChoicePtr
):
260 def __init__(self
,*_args
,**_kwargs
):
261 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
263 self
._setOORInfo
(self
)
267 def wxPreChoice(*_args
,**_kwargs
):
268 val
= wxChoicePtr(apply(controlsc
.new_wxPreChoice
,_args
,_kwargs
))
274 class wxComboBoxPtr(wxChoicePtr
):
275 def __init__(self
,this
):
278 def Create(self
, *_args
, **_kwargs
):
279 val
= apply(controlsc
.wxComboBox_Create
,(self
,) + _args
, _kwargs
)
281 def Copy(self
, *_args
, **_kwargs
):
282 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
284 def Cut(self
, *_args
, **_kwargs
):
285 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
287 def GetInsertionPoint(self
, *_args
, **_kwargs
):
288 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
290 def GetLastPosition(self
, *_args
, **_kwargs
):
291 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
293 def GetValue(self
, *_args
, **_kwargs
):
294 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
296 def Paste(self
, *_args
, **_kwargs
):
297 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
299 def Replace(self
, *_args
, **_kwargs
):
300 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
302 def Remove(self
, *_args
, **_kwargs
):
303 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
305 def SetInsertionPoint(self
, *_args
, **_kwargs
):
306 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
308 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
309 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
311 def SetSelection(self
, *_args
, **_kwargs
):
312 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
314 def SetMark(self
, *_args
, **_kwargs
):
315 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
317 def SetValue(self
, *_args
, **_kwargs
):
318 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
320 def SetEditable(self
, *_args
, **_kwargs
):
321 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
324 return "<C wxComboBox instance at %s>" % (self
.this
,)
325 class wxComboBox(wxComboBoxPtr
):
326 def __init__(self
,*_args
,**_kwargs
):
327 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
329 self
._setOORInfo
(self
)
333 def wxPreComboBox(*_args
,**_kwargs
):
334 val
= wxComboBoxPtr(apply(controlsc
.new_wxPreComboBox
,_args
,_kwargs
))
340 class wxGaugePtr(wxControlPtr
):
341 def __init__(self
,this
):
344 def Create(self
, *_args
, **_kwargs
):
345 val
= apply(controlsc
.wxGauge_Create
,(self
,) + _args
, _kwargs
)
347 def GetBezelFace(self
, *_args
, **_kwargs
):
348 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
350 def GetRange(self
, *_args
, **_kwargs
):
351 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
353 def GetShadowWidth(self
, *_args
, **_kwargs
):
354 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
356 def GetValue(self
, *_args
, **_kwargs
):
357 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
359 def SetBezelFace(self
, *_args
, **_kwargs
):
360 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
362 def SetRange(self
, *_args
, **_kwargs
):
363 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
365 def SetShadowWidth(self
, *_args
, **_kwargs
):
366 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
368 def SetValue(self
, *_args
, **_kwargs
):
369 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
372 return "<C wxGauge instance at %s>" % (self
.this
,)
373 class wxGauge(wxGaugePtr
):
374 def __init__(self
,*_args
,**_kwargs
):
375 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
377 self
._setOORInfo
(self
)
381 def wxPreGauge(*_args
,**_kwargs
):
382 val
= wxGaugePtr(apply(controlsc
.new_wxPreGauge
,_args
,_kwargs
))
388 class wxStaticBoxPtr(wxControlPtr
):
389 def __init__(self
,this
):
392 def Create(self
, *_args
, **_kwargs
):
393 val
= apply(controlsc
.wxStaticBox_Create
,(self
,) + _args
, _kwargs
)
396 return "<C wxStaticBox instance at %s>" % (self
.this
,)
397 class wxStaticBox(wxStaticBoxPtr
):
398 def __init__(self
,*_args
,**_kwargs
):
399 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
401 self
._setOORInfo
(self
)
405 def wxPreStaticBox(*_args
,**_kwargs
):
406 val
= wxStaticBoxPtr(apply(controlsc
.new_wxPreStaticBox
,_args
,_kwargs
))
412 class wxStaticLinePtr(wxControlPtr
):
413 def __init__(self
,this
):
416 def Create(self
, *_args
, **_kwargs
):
417 val
= apply(controlsc
.wxStaticLine_Create
,(self
,) + _args
, _kwargs
)
420 return "<C wxStaticLine instance at %s>" % (self
.this
,)
421 class wxStaticLine(wxStaticLinePtr
):
422 def __init__(self
,*_args
,**_kwargs
):
423 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
425 self
._setOORInfo
(self
)
429 def wxPreStaticLine(*_args
,**_kwargs
):
430 val
= wxStaticLinePtr(apply(controlsc
.new_wxPreStaticLine
,_args
,_kwargs
))
436 class wxStaticTextPtr(wxControlPtr
):
437 def __init__(self
,this
):
440 def Create(self
, *_args
, **_kwargs
):
441 val
= apply(controlsc
.wxStaticText_Create
,(self
,) + _args
, _kwargs
)
443 def GetLabel(self
, *_args
, **_kwargs
):
444 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
446 def SetLabel(self
, *_args
, **_kwargs
):
447 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
450 return "<C wxStaticText instance at %s>" % (self
.this
,)
451 class wxStaticText(wxStaticTextPtr
):
452 def __init__(self
,*_args
,**_kwargs
):
453 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
455 self
._setOORInfo
(self
)
459 def wxPreStaticText(*_args
,**_kwargs
):
460 val
= wxStaticTextPtr(apply(controlsc
.new_wxPreStaticText
,_args
,_kwargs
))
466 class wxListBoxPtr(wxControlWithItemsPtr
):
467 def __init__(self
,this
):
470 def Create(self
, *_args
, **_kwargs
):
471 val
= apply(controlsc
.wxListBox_Create
,(self
,) + _args
, _kwargs
)
473 def Clear(self
, *_args
, **_kwargs
):
474 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
476 def Deselect(self
, *_args
, **_kwargs
):
477 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
479 def GetSelections(self
, *_args
, **_kwargs
):
480 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
482 def InsertItems(self
, *_args
, **_kwargs
):
483 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
485 def IsSelected(self
, *_args
, **_kwargs
):
486 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
488 def Selected(self
, *_args
, **_kwargs
):
489 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
491 def Set(self
, *_args
, **_kwargs
):
492 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
494 def SetFirstItem(self
, *_args
, **_kwargs
):
495 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
497 def SetFirstItemStr(self
, *_args
, **_kwargs
):
498 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
500 def SetSelection(self
, *_args
, **_kwargs
):
501 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
503 def SetString(self
, *_args
, **_kwargs
):
504 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
506 def SetStringSelection(self
, *_args
, **_kwargs
):
507 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
510 return "<C wxListBox instance at %s>" % (self
.this
,)
511 class wxListBox(wxListBoxPtr
):
512 def __init__(self
,*_args
,**_kwargs
):
513 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
515 self
._setOORInfo
(self
)
519 def wxPreListBox(*_args
,**_kwargs
):
520 val
= wxListBoxPtr(apply(controlsc
.new_wxPreListBox
,_args
,_kwargs
))
526 class wxCheckListBoxPtr(wxListBoxPtr
):
527 def __init__(self
,this
):
530 def Create(self
, *_args
, **_kwargs
):
531 val
= apply(controlsc
.wxCheckListBox_Create
,(self
,) + _args
, _kwargs
)
533 def IsChecked(self
, *_args
, **_kwargs
):
534 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
536 def Check(self
, *_args
, **_kwargs
):
537 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
539 def InsertItems(self
, *_args
, **_kwargs
):
540 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
542 def GetItemHeight(self
, *_args
, **_kwargs
):
543 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
546 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
547 class wxCheckListBox(wxCheckListBoxPtr
):
548 def __init__(self
,*_args
,**_kwargs
):
549 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
551 self
._setOORInfo
(self
)
555 def wxPreCheckListBox(*_args
,**_kwargs
):
556 val
= wxCheckListBoxPtr(apply(controlsc
.new_wxPreCheckListBox
,_args
,_kwargs
))
562 class wxTextAttrPtr
:
563 def __init__(self
,this
):
566 def __del__(self
,controlsc
=controlsc
):
567 if self
.thisown
== 1 :
568 controlsc
.delete_wxTextAttr(self
)
569 def SetTextColour(self
, *_args
, **_kwargs
):
570 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
572 def SetBackgroundColour(self
, *_args
, **_kwargs
):
573 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
575 def SetFont(self
, *_args
, **_kwargs
):
576 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
578 def HasTextColour(self
, *_args
, **_kwargs
):
579 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
581 def HasBackgroundColour(self
, *_args
, **_kwargs
):
582 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
584 def HasFont(self
, *_args
, **_kwargs
):
585 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
587 def GetTextColour(self
, *_args
, **_kwargs
):
588 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
589 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
591 def GetBackgroundColour(self
, *_args
, **_kwargs
):
592 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
593 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
595 def GetFont(self
, *_args
, **_kwargs
):
596 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
597 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
599 def IsDefault(self
, *_args
, **_kwargs
):
600 val
= apply(controlsc
.wxTextAttr_IsDefault
,(self
,) + _args
, _kwargs
)
603 return "<C wxTextAttr instance at %s>" % (self
.this
,)
604 class wxTextAttr(wxTextAttrPtr
):
605 def __init__(self
,*_args
,**_kwargs
):
606 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
612 class wxTextCtrlPtr(wxControlPtr
):
613 def __init__(self
,this
):
616 def Create(self
, *_args
, **_kwargs
):
617 val
= apply(controlsc
.wxTextCtrl_Create
,(self
,) + _args
, _kwargs
)
619 def GetValue(self
, *_args
, **_kwargs
):
620 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
622 def SetValue(self
, *_args
, **_kwargs
):
623 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
625 def GetRange(self
, *_args
, **_kwargs
):
626 val
= apply(controlsc
.wxTextCtrl_GetRange
,(self
,) + _args
, _kwargs
)
628 def GetLineLength(self
, *_args
, **_kwargs
):
629 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
631 def GetLineText(self
, *_args
, **_kwargs
):
632 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
634 def GetNumberOfLines(self
, *_args
, **_kwargs
):
635 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
637 def IsModified(self
, *_args
, **_kwargs
):
638 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
640 def IsEditable(self
, *_args
, **_kwargs
):
641 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
643 def GetSelection(self
, *_args
, **_kwargs
):
644 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
646 def GetStringSelection(self
, *_args
, **_kwargs
):
647 val
= apply(controlsc
.wxTextCtrl_GetStringSelection
,(self
,) + _args
, _kwargs
)
649 def Clear(self
, *_args
, **_kwargs
):
650 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
652 def Replace(self
, *_args
, **_kwargs
):
653 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
655 def Remove(self
, *_args
, **_kwargs
):
656 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
658 def LoadFile(self
, *_args
, **_kwargs
):
659 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
661 def SaveFile(self
, *_args
, **_kwargs
):
662 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
664 def DiscardEdits(self
, *_args
, **_kwargs
):
665 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
667 def SetMaxLength(self
, *_args
, **_kwargs
):
668 val
= apply(controlsc
.wxTextCtrl_SetMaxLength
,(self
,) + _args
, _kwargs
)
670 def WriteText(self
, *_args
, **_kwargs
):
671 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
673 def AppendText(self
, *_args
, **_kwargs
):
674 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
676 def EmulateKeyPress(self
, *_args
, **_kwargs
):
677 val
= apply(controlsc
.wxTextCtrl_EmulateKeyPress
,(self
,) + _args
, _kwargs
)
679 def SetStyle(self
, *_args
, **_kwargs
):
680 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
682 def SetDefaultStyle(self
, *_args
, **_kwargs
):
683 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
685 def GetDefaultStyle(self
, *_args
, **_kwargs
):
686 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
687 if val
: val
= wxTextAttrPtr(val
)
689 def XYToPosition(self
, *_args
, **_kwargs
):
690 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
692 def PositionToXY(self
, *_args
, **_kwargs
):
693 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
695 def ShowPosition(self
, *_args
, **_kwargs
):
696 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
698 def Copy(self
, *_args
, **_kwargs
):
699 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
701 def Cut(self
, *_args
, **_kwargs
):
702 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
704 def Paste(self
, *_args
, **_kwargs
):
705 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
707 def CanCopy(self
, *_args
, **_kwargs
):
708 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
710 def CanCut(self
, *_args
, **_kwargs
):
711 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
713 def CanPaste(self
, *_args
, **_kwargs
):
714 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
716 def Undo(self
, *_args
, **_kwargs
):
717 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
719 def Redo(self
, *_args
, **_kwargs
):
720 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
722 def CanUndo(self
, *_args
, **_kwargs
):
723 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
725 def CanRedo(self
, *_args
, **_kwargs
):
726 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
728 def SetInsertionPoint(self
, *_args
, **_kwargs
):
729 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
731 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
732 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
734 def GetInsertionPoint(self
, *_args
, **_kwargs
):
735 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
737 def GetLastPosition(self
, *_args
, **_kwargs
):
738 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
740 def SetSelection(self
, *_args
, **_kwargs
):
741 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
743 def SelectAll(self
, *_args
, **_kwargs
):
744 val
= apply(controlsc
.wxTextCtrl_SelectAll
,(self
,) + _args
, _kwargs
)
746 def SetEditable(self
, *_args
, **_kwargs
):
747 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
749 def write(self
, *_args
, **_kwargs
):
750 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
752 def GetString(self
, *_args
, **_kwargs
):
753 val
= apply(controlsc
.wxTextCtrl_GetString
,(self
,) + _args
, _kwargs
)
756 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
757 class wxTextCtrl(wxTextCtrlPtr
):
758 def __init__(self
,*_args
,**_kwargs
):
759 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
761 self
._setOORInfo
(self
)
765 def wxPreTextCtrl(*_args
,**_kwargs
):
766 val
= wxTextCtrlPtr(apply(controlsc
.new_wxPreTextCtrl
,_args
,_kwargs
))
772 class wxScrollBarPtr(wxControlPtr
):
773 def __init__(self
,this
):
776 def Create(self
, *_args
, **_kwargs
):
777 val
= apply(controlsc
.wxScrollBar_Create
,(self
,) + _args
, _kwargs
)
779 def GetRange(self
, *_args
, **_kwargs
):
780 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
782 def GetPageSize(self
, *_args
, **_kwargs
):
783 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
785 def GetThumbPosition(self
, *_args
, **_kwargs
):
786 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
788 def GetThumbSize(self
, *_args
, **_kwargs
):
789 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
791 def GetThumbLength(self
, *_args
, **_kwargs
):
792 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
794 def IsVertical(self
, *_args
, **_kwargs
):
795 val
= apply(controlsc
.wxScrollBar_IsVertical
,(self
,) + _args
, _kwargs
)
797 def SetThumbPosition(self
, *_args
, **_kwargs
):
798 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
800 def SetScrollbar(self
, *_args
, **_kwargs
):
801 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
804 return "<C wxScrollBar instance at %s>" % (self
.this
,)
805 class wxScrollBar(wxScrollBarPtr
):
806 def __init__(self
,*_args
,**_kwargs
):
807 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
809 self
._setOORInfo
(self
)
813 def wxPreScrollBar(*_args
,**_kwargs
):
814 val
= wxScrollBarPtr(apply(controlsc
.new_wxPreScrollBar
,_args
,_kwargs
))
820 class wxSpinButtonPtr(wxControlPtr
):
821 def __init__(self
,this
):
824 def Create(self
, *_args
, **_kwargs
):
825 val
= apply(controlsc
.wxSpinButton_Create
,(self
,) + _args
, _kwargs
)
827 def GetMax(self
, *_args
, **_kwargs
):
828 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
830 def GetMin(self
, *_args
, **_kwargs
):
831 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
833 def GetValue(self
, *_args
, **_kwargs
):
834 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
836 def SetRange(self
, *_args
, **_kwargs
):
837 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
839 def SetValue(self
, *_args
, **_kwargs
):
840 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
843 return "<C wxSpinButton instance at %s>" % (self
.this
,)
844 class wxSpinButton(wxSpinButtonPtr
):
845 def __init__(self
,*_args
,**_kwargs
):
846 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
848 self
._setOORInfo
(self
)
852 def wxPreSpinButton(*_args
,**_kwargs
):
853 val
= wxSpinButtonPtr(apply(controlsc
.new_wxPreSpinButton
,_args
,_kwargs
))
859 class wxStaticBitmapPtr(wxControlPtr
):
860 def __init__(self
,this
):
863 def Create(self
, *_args
, **_kwargs
):
864 val
= apply(controlsc
.wxStaticBitmap_Create
,(self
,) + _args
, _kwargs
)
866 def GetBitmap(self
, *_args
, **_kwargs
):
867 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
868 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
870 def SetBitmap(self
, *_args
, **_kwargs
):
871 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
873 def SetIcon(self
, *_args
, **_kwargs
):
874 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
877 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
878 class wxStaticBitmap(wxStaticBitmapPtr
):
879 def __init__(self
,*_args
,**_kwargs
):
880 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
882 self
._setOORInfo
(self
)
886 def wxPreStaticBitmap(*_args
,**_kwargs
):
887 val
= wxStaticBitmapPtr(apply(controlsc
.new_wxPreStaticBitmap
,_args
,_kwargs
))
893 class wxRadioBoxPtr(wxControlPtr
):
894 def __init__(self
,this
):
897 def Create(self
, *_args
, **_kwargs
):
898 val
= apply(controlsc
.wxRadioBox_Create
,(self
,) + _args
, _kwargs
)
900 def Enable(self
, *_args
, **_kwargs
):
901 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
903 def EnableItem(self
, *_args
, **_kwargs
):
904 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
906 def FindString(self
, *_args
, **_kwargs
):
907 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
909 def GetString(self
, *_args
, **_kwargs
):
910 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
912 def SetString(self
, *_args
, **_kwargs
):
913 val
= apply(controlsc
.wxRadioBox_SetString
,(self
,) + _args
, _kwargs
)
915 def GetColumnCount(self
, *_args
, **_kwargs
):
916 val
= apply(controlsc
.wxRadioBox_GetColumnCount
,(self
,) + _args
, _kwargs
)
918 def GetRowCount(self
, *_args
, **_kwargs
):
919 val
= apply(controlsc
.wxRadioBox_GetRowCount
,(self
,) + _args
, _kwargs
)
921 def GetSelection(self
, *_args
, **_kwargs
):
922 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
924 def GetStringSelection(self
, *_args
, **_kwargs
):
925 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
927 def GetCount(self
, *_args
, **_kwargs
):
928 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
930 def SetSelection(self
, *_args
, **_kwargs
):
931 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
933 def SetStringSelection(self
, *_args
, **_kwargs
):
934 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
936 def Show(self
, *_args
, **_kwargs
):
937 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
939 def ShowItem(self
, *_args
, **_kwargs
):
940 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
943 return "<C wxRadioBox instance at %s>" % (self
.this
,)
945 GetItemLabel
= GetString
946 SetItemLabel
= SetString
949 class wxRadioBox(wxRadioBoxPtr
):
950 def __init__(self
,*_args
,**_kwargs
):
951 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
953 self
._setOORInfo
(self
)
957 def wxPreRadioBox(*_args
,**_kwargs
):
958 val
= wxRadioBoxPtr(apply(controlsc
.new_wxPreRadioBox
,_args
,_kwargs
))
964 class wxRadioButtonPtr(wxControlPtr
):
965 def __init__(self
,this
):
968 def Create(self
, *_args
, **_kwargs
):
969 val
= apply(controlsc
.wxRadioButton_Create
,(self
,) + _args
, _kwargs
)
971 def GetValue(self
, *_args
, **_kwargs
):
972 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
974 def SetValue(self
, *_args
, **_kwargs
):
975 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
978 return "<C wxRadioButton instance at %s>" % (self
.this
,)
979 class wxRadioButton(wxRadioButtonPtr
):
980 def __init__(self
,*_args
,**_kwargs
):
981 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
983 self
._setOORInfo
(self
)
987 def wxPreRadioButton(*_args
,**_kwargs
):
988 val
= wxRadioButtonPtr(apply(controlsc
.new_wxPreRadioButton
,_args
,_kwargs
))
994 class wxSliderPtr(wxControlPtr
):
995 def __init__(self
,this
):
998 def Create(self
, *_args
, **_kwargs
):
999 val
= apply(controlsc
.wxSlider_Create
,(self
,) + _args
, _kwargs
)
1001 def ClearSel(self
, *_args
, **_kwargs
):
1002 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
1004 def ClearTicks(self
, *_args
, **_kwargs
):
1005 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
1007 def GetLineSize(self
, *_args
, **_kwargs
):
1008 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
1010 def GetMax(self
, *_args
, **_kwargs
):
1011 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
1013 def GetMin(self
, *_args
, **_kwargs
):
1014 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
1016 def GetPageSize(self
, *_args
, **_kwargs
):
1017 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
1019 def GetSelEnd(self
, *_args
, **_kwargs
):
1020 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
1022 def GetSelStart(self
, *_args
, **_kwargs
):
1023 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
1025 def GetThumbLength(self
, *_args
, **_kwargs
):
1026 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
1028 def GetTickFreq(self
, *_args
, **_kwargs
):
1029 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
1031 def GetValue(self
, *_args
, **_kwargs
):
1032 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
1034 def SetRange(self
, *_args
, **_kwargs
):
1035 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
1037 def SetTickFreq(self
, *_args
, **_kwargs
):
1038 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
1040 def SetLineSize(self
, *_args
, **_kwargs
):
1041 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
1043 def SetPageSize(self
, *_args
, **_kwargs
):
1044 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
1046 def SetSelection(self
, *_args
, **_kwargs
):
1047 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
1049 def SetThumbLength(self
, *_args
, **_kwargs
):
1050 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
1052 def SetTick(self
, *_args
, **_kwargs
):
1053 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
1055 def SetValue(self
, *_args
, **_kwargs
):
1056 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
1059 return "<C wxSlider instance at %s>" % (self
.this
,)
1060 class wxSlider(wxSliderPtr
):
1061 def __init__(self
,*_args
,**_kwargs
):
1062 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
1064 self
._setOORInfo
(self
)
1068 def wxPreSlider(*_args
,**_kwargs
):
1069 val
= wxSliderPtr(apply(controlsc
.new_wxPreSlider
,_args
,_kwargs
))
1071 val
._setOORInfo
(val
)
1075 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1076 def __init__(self
,this
):
1079 def Create(self
, *_args
, **_kwargs
):
1080 val
= apply(controlsc
.wxSpinCtrl_Create
,(self
,) + _args
, _kwargs
)
1082 def GetMax(self
, *_args
, **_kwargs
):
1083 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
1085 def GetMin(self
, *_args
, **_kwargs
):
1086 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
1088 def GetValue(self
, *_args
, **_kwargs
):
1089 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
1091 def SetRange(self
, *_args
, **_kwargs
):
1092 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
1094 def SetValue(self
, *_args
, **_kwargs
):
1095 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
1098 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
1099 class wxSpinCtrl(wxSpinCtrlPtr
):
1100 def __init__(self
,*_args
,**_kwargs
):
1101 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
1103 self
._setOORInfo
(self
)
1107 def wxPreSpinCtrl(*_args
,**_kwargs
):
1108 val
= wxSpinCtrlPtr(apply(controlsc
.new_wxPreSpinCtrl
,_args
,_kwargs
))
1110 val
._setOORInfo
(val
)
1114 class wxToggleButtonPtr(wxControlPtr
):
1115 def __init__(self
,this
):
1118 def Create(self
, *_args
, **_kwargs
):
1119 val
= apply(controlsc
.wxToggleButton_Create
,(self
,) + _args
, _kwargs
)
1121 def SetValue(self
, *_args
, **_kwargs
):
1122 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
1124 def GetValue(self
, *_args
, **_kwargs
):
1125 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
1127 def SetLabel(self
, *_args
, **_kwargs
):
1128 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
1131 return "<C wxToggleButton instance at %s>" % (self
.this
,)
1132 class wxToggleButton(wxToggleButtonPtr
):
1133 def __init__(self
,*_args
,**_kwargs
):
1134 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
1136 self
._setOORInfo
(self
)
1140 def wxPreToggleButton(*_args
,**_kwargs
):
1141 val
= wxToggleButtonPtr(apply(controlsc
.new_wxPreToggleButton
,_args
,_kwargs
))
1143 val
._setOORInfo
(val
)
1149 #-------------- FUNCTION WRAPPERS ------------------
1151 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1152 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
1153 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1156 def wxTextAttr_Combine(*_args
, **_kwargs
):
1157 val
= apply(controlsc
.wxTextAttr_Combine
,_args
,_kwargs
)
1158 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1163 #-------------- VARIABLE WRAPPERS ------------------
1165 cvar
= controlsc
.cvar
1166 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1167 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED