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
= controlsc
.wxControl_Create(self
, *_args
, **_kwargs
)
23 def Command(self
, *_args
, **_kwargs
):
24 val
= controlsc
.wxControl_Command(self
, *_args
, **_kwargs
)
26 def GetLabel(self
, *_args
, **_kwargs
):
27 val
= controlsc
.wxControl_GetLabel(self
, *_args
, **_kwargs
)
29 def SetLabel(self
, *_args
, **_kwargs
):
30 val
= controlsc
.wxControl_SetLabel(self
, *_args
, **_kwargs
)
33 return "<%s.%s instance; proxy of C++ wxControl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
34 class wxControl(wxControlPtr
):
35 def __init__(self
,*_args
,**_kwargs
):
36 self
.this
= controlsc
.new_wxControl(*_args
,**_kwargs
)
38 self
._setOORInfo
(self
)
42 def wxPreControl(*_args
,**_kwargs
):
43 val
= wxControlPtr(controlsc
.new_wxPreControl(*_args
,**_kwargs
))
49 class wxControlWithItemsPtr(wxControlPtr
):
50 def __init__(self
,this
):
53 def Delete(self
, *_args
, **_kwargs
):
54 val
= controlsc
.wxControlWithItems_Delete(self
, *_args
, **_kwargs
)
56 def GetCount(self
, *_args
, **_kwargs
):
57 val
= controlsc
.wxControlWithItems_GetCount(self
, *_args
, **_kwargs
)
59 def GetString(self
, *_args
, **_kwargs
):
60 val
= controlsc
.wxControlWithItems_GetString(self
, *_args
, **_kwargs
)
62 def SetString(self
, *_args
, **_kwargs
):
63 val
= controlsc
.wxControlWithItems_SetString(self
, *_args
, **_kwargs
)
65 def FindString(self
, *_args
, **_kwargs
):
66 val
= controlsc
.wxControlWithItems_FindString(self
, *_args
, **_kwargs
)
68 def Select(self
, *_args
, **_kwargs
):
69 val
= controlsc
.wxControlWithItems_Select(self
, *_args
, **_kwargs
)
71 def GetSelection(self
, *_args
, **_kwargs
):
72 val
= controlsc
.wxControlWithItems_GetSelection(self
, *_args
, **_kwargs
)
74 def GetStringSelection(self
, *_args
, **_kwargs
):
75 val
= controlsc
.wxControlWithItems_GetStringSelection(self
, *_args
, **_kwargs
)
77 def Append(self
, *_args
, **_kwargs
):
78 val
= controlsc
.wxControlWithItems_Append(self
, *_args
, **_kwargs
)
80 def GetClientData(self
, *_args
, **_kwargs
):
81 val
= controlsc
.wxControlWithItems_GetClientData(self
, *_args
, **_kwargs
)
83 def SetClientData(self
, *_args
, **_kwargs
):
84 val
= controlsc
.wxControlWithItems_SetClientData(self
, *_args
, **_kwargs
)
86 def AppendItems(self
, *_args
, **_kwargs
):
87 val
= controlsc
.wxControlWithItems_AppendItems(self
, *_args
, **_kwargs
)
90 return "<%s.%s instance; proxy of C++ wxControlWithItems instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, 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
= controlsc
.wxButton_Create(self
, *_args
, **_kwargs
)
106 def SetDefault(self
, *_args
, **_kwargs
):
107 val
= controlsc
.wxButton_SetDefault(self
, *_args
, **_kwargs
)
109 def SetBackgroundColour(self
, *_args
, **_kwargs
):
110 val
= controlsc
.wxButton_SetBackgroundColour(self
, *_args
, **_kwargs
)
112 def SetForegroundColour(self
, *_args
, **_kwargs
):
113 val
= controlsc
.wxButton_SetForegroundColour(self
, *_args
, **_kwargs
)
115 def SetImageLabel(self
, *_args
, **_kwargs
):
116 val
= controlsc
.wxButton_SetImageLabel(self
, *_args
, **_kwargs
)
118 def SetImageMargins(self
, *_args
, **_kwargs
):
119 val
= controlsc
.wxButton_SetImageMargins(self
, *_args
, **_kwargs
)
122 return "<%s.%s instance; proxy of C++ wxButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
123 class wxButton(wxButtonPtr
):
124 def __init__(self
,*_args
,**_kwargs
):
125 self
.this
= controlsc
.new_wxButton(*_args
,**_kwargs
)
127 self
._setOORInfo
(self
)
131 def wxPreButton(*_args
,**_kwargs
):
132 val
= wxButtonPtr(controlsc
.new_wxPreButton(*_args
,**_kwargs
))
138 class wxBitmapButtonPtr(wxButtonPtr
):
139 def __init__(self
,this
):
142 def Create(self
, *_args
, **_kwargs
):
143 val
= controlsc
.wxBitmapButton_Create(self
, *_args
, **_kwargs
)
145 def GetBitmapLabel(self
, *_args
, **_kwargs
):
146 val
= controlsc
.wxBitmapButton_GetBitmapLabel(self
, *_args
, **_kwargs
)
147 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
149 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
150 val
= controlsc
.wxBitmapButton_GetBitmapDisabled(self
, *_args
, **_kwargs
)
151 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
153 def GetBitmapFocus(self
, *_args
, **_kwargs
):
154 val
= controlsc
.wxBitmapButton_GetBitmapFocus(self
, *_args
, **_kwargs
)
155 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
157 def GetBitmapSelected(self
, *_args
, **_kwargs
):
158 val
= controlsc
.wxBitmapButton_GetBitmapSelected(self
, *_args
, **_kwargs
)
159 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
161 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
162 val
= controlsc
.wxBitmapButton_SetBitmapDisabled(self
, *_args
, **_kwargs
)
164 def SetBitmapFocus(self
, *_args
, **_kwargs
):
165 val
= controlsc
.wxBitmapButton_SetBitmapFocus(self
, *_args
, **_kwargs
)
167 def SetBitmapSelected(self
, *_args
, **_kwargs
):
168 val
= controlsc
.wxBitmapButton_SetBitmapSelected(self
, *_args
, **_kwargs
)
170 def SetBitmapLabel(self
, *_args
, **_kwargs
):
171 val
= controlsc
.wxBitmapButton_SetBitmapLabel(self
, *_args
, **_kwargs
)
173 def SetMargins(self
, *_args
, **_kwargs
):
174 val
= controlsc
.wxBitmapButton_SetMargins(self
, *_args
, **_kwargs
)
176 def GetMarginX(self
, *_args
, **_kwargs
):
177 val
= controlsc
.wxBitmapButton_GetMarginX(self
, *_args
, **_kwargs
)
179 def GetMarginY(self
, *_args
, **_kwargs
):
180 val
= controlsc
.wxBitmapButton_GetMarginY(self
, *_args
, **_kwargs
)
183 return "<%s.%s instance; proxy of C++ wxBitmapButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
184 class wxBitmapButton(wxBitmapButtonPtr
):
185 def __init__(self
,*_args
,**_kwargs
):
186 self
.this
= controlsc
.new_wxBitmapButton(*_args
,**_kwargs
)
188 self
._setOORInfo
(self
)
192 def wxPreBitmapButton(*_args
,**_kwargs
):
193 val
= wxBitmapButtonPtr(controlsc
.new_wxPreBitmapButton(*_args
,**_kwargs
))
199 class wxCheckBoxPtr(wxControlPtr
):
200 def __init__(self
,this
):
203 def Create(self
, *_args
, **_kwargs
):
204 val
= controlsc
.wxCheckBox_Create(self
, *_args
, **_kwargs
)
206 def GetValue(self
, *_args
, **_kwargs
):
207 val
= controlsc
.wxCheckBox_GetValue(self
, *_args
, **_kwargs
)
209 def IsChecked(self
, *_args
, **_kwargs
):
210 val
= controlsc
.wxCheckBox_IsChecked(self
, *_args
, **_kwargs
)
212 def SetValue(self
, *_args
, **_kwargs
):
213 val
= controlsc
.wxCheckBox_SetValue(self
, *_args
, **_kwargs
)
215 def Get3StateValue(self
, *_args
, **_kwargs
):
216 val
= controlsc
.wxCheckBox_Get3StateValue(self
, *_args
, **_kwargs
)
218 def Set3StateValue(self
, *_args
, **_kwargs
):
219 val
= controlsc
.wxCheckBox_Set3StateValue(self
, *_args
, **_kwargs
)
221 def Is3State(self
, *_args
, **_kwargs
):
222 val
= controlsc
.wxCheckBox_Is3State(self
, *_args
, **_kwargs
)
224 def Is3rdStateAllowedForUser(self
, *_args
, **_kwargs
):
225 val
= controlsc
.wxCheckBox_Is3rdStateAllowedForUser(self
, *_args
, **_kwargs
)
228 return "<%s.%s instance; proxy of C++ wxCheckBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
229 class wxCheckBox(wxCheckBoxPtr
):
230 def __init__(self
,*_args
,**_kwargs
):
231 self
.this
= controlsc
.new_wxCheckBox(*_args
,**_kwargs
)
233 self
._setOORInfo
(self
)
237 def wxPreCheckBox(*_args
,**_kwargs
):
238 val
= wxCheckBoxPtr(controlsc
.new_wxPreCheckBox(*_args
,**_kwargs
))
244 class wxChoicePtr(wxControlWithItemsPtr
):
245 def __init__(self
,this
):
248 def Create(self
, *_args
, **_kwargs
):
249 val
= controlsc
.wxChoice_Create(self
, *_args
, **_kwargs
)
251 def Clear(self
, *_args
, **_kwargs
):
252 val
= controlsc
.wxChoice_Clear(self
, *_args
, **_kwargs
)
254 def GetColumns(self
, *_args
, **_kwargs
):
255 val
= controlsc
.wxChoice_GetColumns(self
, *_args
, **_kwargs
)
257 def SetColumns(self
, *_args
, **_kwargs
):
258 val
= controlsc
.wxChoice_SetColumns(self
, *_args
, **_kwargs
)
260 def SetSelection(self
, *_args
, **_kwargs
):
261 val
= controlsc
.wxChoice_SetSelection(self
, *_args
, **_kwargs
)
263 def SetStringSelection(self
, *_args
, **_kwargs
):
264 val
= controlsc
.wxChoice_SetStringSelection(self
, *_args
, **_kwargs
)
266 def SetString(self
, *_args
, **_kwargs
):
267 val
= controlsc
.wxChoice_SetString(self
, *_args
, **_kwargs
)
270 return "<%s.%s instance; proxy of C++ wxChoice instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
272 Select
= SetSelection
274 class wxChoice(wxChoicePtr
):
275 def __init__(self
,*_args
,**_kwargs
):
276 self
.this
= controlsc
.new_wxChoice(*_args
,**_kwargs
)
278 self
._setOORInfo
(self
)
282 def wxPreChoice(*_args
,**_kwargs
):
283 val
= wxChoicePtr(controlsc
.new_wxPreChoice(*_args
,**_kwargs
))
289 class wxComboBoxPtr(wxChoicePtr
):
290 def __init__(self
,this
):
293 def Create(self
, *_args
, **_kwargs
):
294 val
= controlsc
.wxComboBox_Create(self
, *_args
, **_kwargs
)
296 def Copy(self
, *_args
, **_kwargs
):
297 val
= controlsc
.wxComboBox_Copy(self
, *_args
, **_kwargs
)
299 def Cut(self
, *_args
, **_kwargs
):
300 val
= controlsc
.wxComboBox_Cut(self
, *_args
, **_kwargs
)
302 def GetInsertionPoint(self
, *_args
, **_kwargs
):
303 val
= controlsc
.wxComboBox_GetInsertionPoint(self
, *_args
, **_kwargs
)
305 def GetLastPosition(self
, *_args
, **_kwargs
):
306 val
= controlsc
.wxComboBox_GetLastPosition(self
, *_args
, **_kwargs
)
308 def GetValue(self
, *_args
, **_kwargs
):
309 val
= controlsc
.wxComboBox_GetValue(self
, *_args
, **_kwargs
)
311 def Paste(self
, *_args
, **_kwargs
):
312 val
= controlsc
.wxComboBox_Paste(self
, *_args
, **_kwargs
)
314 def Replace(self
, *_args
, **_kwargs
):
315 val
= controlsc
.wxComboBox_Replace(self
, *_args
, **_kwargs
)
317 def Remove(self
, *_args
, **_kwargs
):
318 val
= controlsc
.wxComboBox_Remove(self
, *_args
, **_kwargs
)
320 def SetInsertionPoint(self
, *_args
, **_kwargs
):
321 val
= controlsc
.wxComboBox_SetInsertionPoint(self
, *_args
, **_kwargs
)
323 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
324 val
= controlsc
.wxComboBox_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
326 def SetSelection(self
, *_args
, **_kwargs
):
327 val
= controlsc
.wxComboBox_SetSelection(self
, *_args
, **_kwargs
)
329 def SetMark(self
, *_args
, **_kwargs
):
330 val
= controlsc
.wxComboBox_SetMark(self
, *_args
, **_kwargs
)
332 def SetValue(self
, *_args
, **_kwargs
):
333 val
= controlsc
.wxComboBox_SetValue(self
, *_args
, **_kwargs
)
335 def SetEditable(self
, *_args
, **_kwargs
):
336 val
= controlsc
.wxComboBox_SetEditable(self
, *_args
, **_kwargs
)
339 return "<%s.%s instance; proxy of C++ wxComboBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
340 class wxComboBox(wxComboBoxPtr
):
341 def __init__(self
,*_args
,**_kwargs
):
342 self
.this
= controlsc
.new_wxComboBox(*_args
,**_kwargs
)
344 self
._setOORInfo
(self
)
348 def wxPreComboBox(*_args
,**_kwargs
):
349 val
= wxComboBoxPtr(controlsc
.new_wxPreComboBox(*_args
,**_kwargs
))
355 class wxGaugePtr(wxControlPtr
):
356 def __init__(self
,this
):
359 def Create(self
, *_args
, **_kwargs
):
360 val
= controlsc
.wxGauge_Create(self
, *_args
, **_kwargs
)
362 def GetBezelFace(self
, *_args
, **_kwargs
):
363 val
= controlsc
.wxGauge_GetBezelFace(self
, *_args
, **_kwargs
)
365 def GetRange(self
, *_args
, **_kwargs
):
366 val
= controlsc
.wxGauge_GetRange(self
, *_args
, **_kwargs
)
368 def GetShadowWidth(self
, *_args
, **_kwargs
):
369 val
= controlsc
.wxGauge_GetShadowWidth(self
, *_args
, **_kwargs
)
371 def GetValue(self
, *_args
, **_kwargs
):
372 val
= controlsc
.wxGauge_GetValue(self
, *_args
, **_kwargs
)
374 def IsVertical(self
, *_args
, **_kwargs
):
375 val
= controlsc
.wxGauge_IsVertical(self
, *_args
, **_kwargs
)
377 def SetBezelFace(self
, *_args
, **_kwargs
):
378 val
= controlsc
.wxGauge_SetBezelFace(self
, *_args
, **_kwargs
)
380 def SetRange(self
, *_args
, **_kwargs
):
381 val
= controlsc
.wxGauge_SetRange(self
, *_args
, **_kwargs
)
383 def SetShadowWidth(self
, *_args
, **_kwargs
):
384 val
= controlsc
.wxGauge_SetShadowWidth(self
, *_args
, **_kwargs
)
386 def SetValue(self
, *_args
, **_kwargs
):
387 val
= controlsc
.wxGauge_SetValue(self
, *_args
, **_kwargs
)
390 return "<%s.%s instance; proxy of C++ wxGauge instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
391 class wxGauge(wxGaugePtr
):
392 def __init__(self
,*_args
,**_kwargs
):
393 self
.this
= controlsc
.new_wxGauge(*_args
,**_kwargs
)
395 self
._setOORInfo
(self
)
399 def wxPreGauge(*_args
,**_kwargs
):
400 val
= wxGaugePtr(controlsc
.new_wxPreGauge(*_args
,**_kwargs
))
406 class wxStaticBoxPtr(wxControlPtr
):
407 def __init__(self
,this
):
410 def Create(self
, *_args
, **_kwargs
):
411 val
= controlsc
.wxStaticBox_Create(self
, *_args
, **_kwargs
)
414 return "<%s.%s instance; proxy of C++ wxStaticBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
415 class wxStaticBox(wxStaticBoxPtr
):
416 def __init__(self
,*_args
,**_kwargs
):
417 self
.this
= controlsc
.new_wxStaticBox(*_args
,**_kwargs
)
419 self
._setOORInfo
(self
)
423 def wxPreStaticBox(*_args
,**_kwargs
):
424 val
= wxStaticBoxPtr(controlsc
.new_wxPreStaticBox(*_args
,**_kwargs
))
430 class wxStaticLinePtr(wxControlPtr
):
431 def __init__(self
,this
):
434 def Create(self
, *_args
, **_kwargs
):
435 val
= controlsc
.wxStaticLine_Create(self
, *_args
, **_kwargs
)
438 return "<%s.%s instance; proxy of C++ wxStaticLine instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
439 class wxStaticLine(wxStaticLinePtr
):
440 def __init__(self
,*_args
,**_kwargs
):
441 self
.this
= controlsc
.new_wxStaticLine(*_args
,**_kwargs
)
443 self
._setOORInfo
(self
)
447 def wxPreStaticLine(*_args
,**_kwargs
):
448 val
= wxStaticLinePtr(controlsc
.new_wxPreStaticLine(*_args
,**_kwargs
))
454 class wxStaticTextPtr(wxControlPtr
):
455 def __init__(self
,this
):
458 def Create(self
, *_args
, **_kwargs
):
459 val
= controlsc
.wxStaticText_Create(self
, *_args
, **_kwargs
)
461 def GetLabel(self
, *_args
, **_kwargs
):
462 val
= controlsc
.wxStaticText_GetLabel(self
, *_args
, **_kwargs
)
464 def SetLabel(self
, *_args
, **_kwargs
):
465 val
= controlsc
.wxStaticText_SetLabel(self
, *_args
, **_kwargs
)
468 return "<%s.%s instance; proxy of C++ wxStaticText instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
469 class wxStaticText(wxStaticTextPtr
):
470 def __init__(self
,*_args
,**_kwargs
):
471 self
.this
= controlsc
.new_wxStaticText(*_args
,**_kwargs
)
473 self
._setOORInfo
(self
)
477 def wxPreStaticText(*_args
,**_kwargs
):
478 val
= wxStaticTextPtr(controlsc
.new_wxPreStaticText(*_args
,**_kwargs
))
484 class wxListBoxPtr(wxControlWithItemsPtr
):
485 def __init__(self
,this
):
488 def Create(self
, *_args
, **_kwargs
):
489 val
= controlsc
.wxListBox_Create(self
, *_args
, **_kwargs
)
491 def Clear(self
, *_args
, **_kwargs
):
492 val
= controlsc
.wxListBox_Clear(self
, *_args
, **_kwargs
)
494 def Deselect(self
, *_args
, **_kwargs
):
495 val
= controlsc
.wxListBox_Deselect(self
, *_args
, **_kwargs
)
497 def GetSelections(self
, *_args
, **_kwargs
):
498 val
= controlsc
.wxListBox_GetSelections(self
, *_args
, **_kwargs
)
500 def InsertItems(self
, *_args
, **_kwargs
):
501 val
= controlsc
.wxListBox_InsertItems(self
, *_args
, **_kwargs
)
503 def IsSelected(self
, *_args
, **_kwargs
):
504 val
= controlsc
.wxListBox_IsSelected(self
, *_args
, **_kwargs
)
506 def Selected(self
, *_args
, **_kwargs
):
507 val
= controlsc
.wxListBox_Selected(self
, *_args
, **_kwargs
)
509 def Set(self
, *_args
, **_kwargs
):
510 val
= controlsc
.wxListBox_Set(self
, *_args
, **_kwargs
)
512 def SetFirstItem(self
, *_args
, **_kwargs
):
513 val
= controlsc
.wxListBox_SetFirstItem(self
, *_args
, **_kwargs
)
515 def SetFirstItemStr(self
, *_args
, **_kwargs
):
516 val
= controlsc
.wxListBox_SetFirstItemStr(self
, *_args
, **_kwargs
)
518 def SetSelection(self
, *_args
, **_kwargs
):
519 val
= controlsc
.wxListBox_SetSelection(self
, *_args
, **_kwargs
)
521 def SetString(self
, *_args
, **_kwargs
):
522 val
= controlsc
.wxListBox_SetString(self
, *_args
, **_kwargs
)
524 def SetStringSelection(self
, *_args
, **_kwargs
):
525 val
= controlsc
.wxListBox_SetStringSelection(self
, *_args
, **_kwargs
)
528 return "<%s.%s instance; proxy of C++ wxListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
529 class wxListBox(wxListBoxPtr
):
530 def __init__(self
,*_args
,**_kwargs
):
531 self
.this
= controlsc
.new_wxListBox(*_args
,**_kwargs
)
533 self
._setOORInfo
(self
)
537 def wxPreListBox(*_args
,**_kwargs
):
538 val
= wxListBoxPtr(controlsc
.new_wxPreListBox(*_args
,**_kwargs
))
544 class wxCheckListBoxPtr(wxListBoxPtr
):
545 def __init__(self
,this
):
548 def Create(self
, *_args
, **_kwargs
):
549 val
= controlsc
.wxCheckListBox_Create(self
, *_args
, **_kwargs
)
551 def IsChecked(self
, *_args
, **_kwargs
):
552 val
= controlsc
.wxCheckListBox_IsChecked(self
, *_args
, **_kwargs
)
554 def Check(self
, *_args
, **_kwargs
):
555 val
= controlsc
.wxCheckListBox_Check(self
, *_args
, **_kwargs
)
557 def InsertItems(self
, *_args
, **_kwargs
):
558 val
= controlsc
.wxCheckListBox_InsertItems(self
, *_args
, **_kwargs
)
560 def GetItemHeight(self
, *_args
, **_kwargs
):
561 val
= controlsc
.wxCheckListBox_GetItemHeight(self
, *_args
, **_kwargs
)
563 def HitTest(self
, *_args
, **_kwargs
):
564 val
= controlsc
.wxCheckListBox_HitTest(self
, *_args
, **_kwargs
)
566 def HitTestXY(self
, *_args
, **_kwargs
):
567 val
= controlsc
.wxCheckListBox_HitTestXY(self
, *_args
, **_kwargs
)
570 return "<%s.%s instance; proxy of C++ wxCheckListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
571 class wxCheckListBox(wxCheckListBoxPtr
):
572 def __init__(self
,*_args
,**_kwargs
):
573 self
.this
= controlsc
.new_wxCheckListBox(*_args
,**_kwargs
)
575 self
._setOORInfo
(self
)
579 def wxPreCheckListBox(*_args
,**_kwargs
):
580 val
= wxCheckListBoxPtr(controlsc
.new_wxPreCheckListBox(*_args
,**_kwargs
))
586 class wxTextAttrPtr
:
587 def __init__(self
,this
):
590 def __del__(self
, delfunc
=controlsc
.delete_wxTextAttr
):
591 if self
.thisown
== 1:
596 def Init(self
, *_args
, **_kwargs
):
597 val
= controlsc
.wxTextAttr_Init(self
, *_args
, **_kwargs
)
599 def SetTextColour(self
, *_args
, **_kwargs
):
600 val
= controlsc
.wxTextAttr_SetTextColour(self
, *_args
, **_kwargs
)
602 def SetBackgroundColour(self
, *_args
, **_kwargs
):
603 val
= controlsc
.wxTextAttr_SetBackgroundColour(self
, *_args
, **_kwargs
)
605 def SetFont(self
, *_args
, **_kwargs
):
606 val
= controlsc
.wxTextAttr_SetFont(self
, *_args
, **_kwargs
)
608 def SetAlignment(self
, *_args
, **_kwargs
):
609 val
= controlsc
.wxTextAttr_SetAlignment(self
, *_args
, **_kwargs
)
611 def SetTabs(self
, *_args
, **_kwargs
):
612 val
= controlsc
.wxTextAttr_SetTabs(self
, *_args
, **_kwargs
)
614 def SetLeftIndent(self
, *_args
, **_kwargs
):
615 val
= controlsc
.wxTextAttr_SetLeftIndent(self
, *_args
, **_kwargs
)
617 def SetRightIndent(self
, *_args
, **_kwargs
):
618 val
= controlsc
.wxTextAttr_SetRightIndent(self
, *_args
, **_kwargs
)
620 def SetFlags(self
, *_args
, **_kwargs
):
621 val
= controlsc
.wxTextAttr_SetFlags(self
, *_args
, **_kwargs
)
623 def HasTextColour(self
, *_args
, **_kwargs
):
624 val
= controlsc
.wxTextAttr_HasTextColour(self
, *_args
, **_kwargs
)
626 def HasBackgroundColour(self
, *_args
, **_kwargs
):
627 val
= controlsc
.wxTextAttr_HasBackgroundColour(self
, *_args
, **_kwargs
)
629 def HasFont(self
, *_args
, **_kwargs
):
630 val
= controlsc
.wxTextAttr_HasFont(self
, *_args
, **_kwargs
)
632 def HasAlignment(self
, *_args
, **_kwargs
):
633 val
= controlsc
.wxTextAttr_HasAlignment(self
, *_args
, **_kwargs
)
635 def HasTabs(self
, *_args
, **_kwargs
):
636 val
= controlsc
.wxTextAttr_HasTabs(self
, *_args
, **_kwargs
)
638 def HasLeftIndent(self
, *_args
, **_kwargs
):
639 val
= controlsc
.wxTextAttr_HasLeftIndent(self
, *_args
, **_kwargs
)
641 def HasRightIndent(self
, *_args
, **_kwargs
):
642 val
= controlsc
.wxTextAttr_HasRightIndent(self
, *_args
, **_kwargs
)
644 def HasFlag(self
, *_args
, **_kwargs
):
645 val
= controlsc
.wxTextAttr_HasFlag(self
, *_args
, **_kwargs
)
647 def GetTextColour(self
, *_args
, **_kwargs
):
648 val
= controlsc
.wxTextAttr_GetTextColour(self
, *_args
, **_kwargs
)
649 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
651 def GetBackgroundColour(self
, *_args
, **_kwargs
):
652 val
= controlsc
.wxTextAttr_GetBackgroundColour(self
, *_args
, **_kwargs
)
653 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
655 def GetFont(self
, *_args
, **_kwargs
):
656 val
= controlsc
.wxTextAttr_GetFont(self
, *_args
, **_kwargs
)
657 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
659 def GetAlignment(self
, *_args
, **_kwargs
):
660 val
= controlsc
.wxTextAttr_GetAlignment(self
, *_args
, **_kwargs
)
662 def GetTabs(self
, *_args
, **_kwargs
):
663 val
= controlsc
.wxTextAttr_GetTabs(self
, *_args
, **_kwargs
)
665 def GetLeftIndent(self
, *_args
, **_kwargs
):
666 val
= controlsc
.wxTextAttr_GetLeftIndent(self
, *_args
, **_kwargs
)
668 def GetRightIndent(self
, *_args
, **_kwargs
):
669 val
= controlsc
.wxTextAttr_GetRightIndent(self
, *_args
, **_kwargs
)
671 def GetFlags(self
, *_args
, **_kwargs
):
672 val
= controlsc
.wxTextAttr_GetFlags(self
, *_args
, **_kwargs
)
674 def IsDefault(self
, *_args
, **_kwargs
):
675 val
= controlsc
.wxTextAttr_IsDefault(self
, *_args
, **_kwargs
)
678 return "<%s.%s instance; proxy of C++ wxTextAttr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
679 class wxTextAttr(wxTextAttrPtr
):
680 def __init__(self
,*_args
,**_kwargs
):
681 self
.this
= controlsc
.new_wxTextAttr(*_args
,**_kwargs
)
687 class wxTextCtrlPtr(wxControlPtr
):
688 def __init__(self
,this
):
691 def Create(self
, *_args
, **_kwargs
):
692 val
= controlsc
.wxTextCtrl_Create(self
, *_args
, **_kwargs
)
694 def GetValue(self
, *_args
, **_kwargs
):
695 val
= controlsc
.wxTextCtrl_GetValue(self
, *_args
, **_kwargs
)
697 def SetValue(self
, *_args
, **_kwargs
):
698 val
= controlsc
.wxTextCtrl_SetValue(self
, *_args
, **_kwargs
)
700 def GetRange(self
, *_args
, **_kwargs
):
701 val
= controlsc
.wxTextCtrl_GetRange(self
, *_args
, **_kwargs
)
703 def GetLineLength(self
, *_args
, **_kwargs
):
704 val
= controlsc
.wxTextCtrl_GetLineLength(self
, *_args
, **_kwargs
)
706 def GetLineText(self
, *_args
, **_kwargs
):
707 val
= controlsc
.wxTextCtrl_GetLineText(self
, *_args
, **_kwargs
)
709 def GetNumberOfLines(self
, *_args
, **_kwargs
):
710 val
= controlsc
.wxTextCtrl_GetNumberOfLines(self
, *_args
, **_kwargs
)
712 def IsModified(self
, *_args
, **_kwargs
):
713 val
= controlsc
.wxTextCtrl_IsModified(self
, *_args
, **_kwargs
)
715 def IsEditable(self
, *_args
, **_kwargs
):
716 val
= controlsc
.wxTextCtrl_IsEditable(self
, *_args
, **_kwargs
)
718 def GetSelection(self
, *_args
, **_kwargs
):
719 val
= controlsc
.wxTextCtrl_GetSelection(self
, *_args
, **_kwargs
)
721 def GetStringSelection(self
, *_args
, **_kwargs
):
722 val
= controlsc
.wxTextCtrl_GetStringSelection(self
, *_args
, **_kwargs
)
724 def Clear(self
, *_args
, **_kwargs
):
725 val
= controlsc
.wxTextCtrl_Clear(self
, *_args
, **_kwargs
)
727 def Replace(self
, *_args
, **_kwargs
):
728 val
= controlsc
.wxTextCtrl_Replace(self
, *_args
, **_kwargs
)
730 def Remove(self
, *_args
, **_kwargs
):
731 val
= controlsc
.wxTextCtrl_Remove(self
, *_args
, **_kwargs
)
733 def LoadFile(self
, *_args
, **_kwargs
):
734 val
= controlsc
.wxTextCtrl_LoadFile(self
, *_args
, **_kwargs
)
736 def SaveFile(self
, *_args
, **_kwargs
):
737 val
= controlsc
.wxTextCtrl_SaveFile(self
, *_args
, **_kwargs
)
739 def MarkDirty(self
, *_args
, **_kwargs
):
740 val
= controlsc
.wxTextCtrl_MarkDirty(self
, *_args
, **_kwargs
)
742 def DiscardEdits(self
, *_args
, **_kwargs
):
743 val
= controlsc
.wxTextCtrl_DiscardEdits(self
, *_args
, **_kwargs
)
745 def SetMaxLength(self
, *_args
, **_kwargs
):
746 val
= controlsc
.wxTextCtrl_SetMaxLength(self
, *_args
, **_kwargs
)
748 def WriteText(self
, *_args
, **_kwargs
):
749 val
= controlsc
.wxTextCtrl_WriteText(self
, *_args
, **_kwargs
)
751 def AppendText(self
, *_args
, **_kwargs
):
752 val
= controlsc
.wxTextCtrl_AppendText(self
, *_args
, **_kwargs
)
754 def EmulateKeyPress(self
, *_args
, **_kwargs
):
755 val
= controlsc
.wxTextCtrl_EmulateKeyPress(self
, *_args
, **_kwargs
)
757 def SetStyle(self
, *_args
, **_kwargs
):
758 val
= controlsc
.wxTextCtrl_SetStyle(self
, *_args
, **_kwargs
)
760 def SetDefaultStyle(self
, *_args
, **_kwargs
):
761 val
= controlsc
.wxTextCtrl_SetDefaultStyle(self
, *_args
, **_kwargs
)
763 def GetDefaultStyle(self
, *_args
, **_kwargs
):
764 val
= controlsc
.wxTextCtrl_GetDefaultStyle(self
, *_args
, **_kwargs
)
765 if val
: val
= wxTextAttrPtr(val
)
767 def GetStyle(self
, *_args
, **_kwargs
):
768 val
= controlsc
.wxTextCtrl_GetStyle(self
, *_args
, **_kwargs
)
770 def XYToPosition(self
, *_args
, **_kwargs
):
771 val
= controlsc
.wxTextCtrl_XYToPosition(self
, *_args
, **_kwargs
)
773 def PositionToXY(self
, *_args
, **_kwargs
):
774 val
= controlsc
.wxTextCtrl_PositionToXY(self
, *_args
, **_kwargs
)
776 def ShowPosition(self
, *_args
, **_kwargs
):
777 val
= controlsc
.wxTextCtrl_ShowPosition(self
, *_args
, **_kwargs
)
779 def Copy(self
, *_args
, **_kwargs
):
780 val
= controlsc
.wxTextCtrl_Copy(self
, *_args
, **_kwargs
)
782 def Cut(self
, *_args
, **_kwargs
):
783 val
= controlsc
.wxTextCtrl_Cut(self
, *_args
, **_kwargs
)
785 def Paste(self
, *_args
, **_kwargs
):
786 val
= controlsc
.wxTextCtrl_Paste(self
, *_args
, **_kwargs
)
788 def CanCopy(self
, *_args
, **_kwargs
):
789 val
= controlsc
.wxTextCtrl_CanCopy(self
, *_args
, **_kwargs
)
791 def CanCut(self
, *_args
, **_kwargs
):
792 val
= controlsc
.wxTextCtrl_CanCut(self
, *_args
, **_kwargs
)
794 def CanPaste(self
, *_args
, **_kwargs
):
795 val
= controlsc
.wxTextCtrl_CanPaste(self
, *_args
, **_kwargs
)
797 def Undo(self
, *_args
, **_kwargs
):
798 val
= controlsc
.wxTextCtrl_Undo(self
, *_args
, **_kwargs
)
800 def Redo(self
, *_args
, **_kwargs
):
801 val
= controlsc
.wxTextCtrl_Redo(self
, *_args
, **_kwargs
)
803 def CanUndo(self
, *_args
, **_kwargs
):
804 val
= controlsc
.wxTextCtrl_CanUndo(self
, *_args
, **_kwargs
)
806 def CanRedo(self
, *_args
, **_kwargs
):
807 val
= controlsc
.wxTextCtrl_CanRedo(self
, *_args
, **_kwargs
)
809 def SetInsertionPoint(self
, *_args
, **_kwargs
):
810 val
= controlsc
.wxTextCtrl_SetInsertionPoint(self
, *_args
, **_kwargs
)
812 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
813 val
= controlsc
.wxTextCtrl_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
815 def GetInsertionPoint(self
, *_args
, **_kwargs
):
816 val
= controlsc
.wxTextCtrl_GetInsertionPoint(self
, *_args
, **_kwargs
)
818 def GetLastPosition(self
, *_args
, **_kwargs
):
819 val
= controlsc
.wxTextCtrl_GetLastPosition(self
, *_args
, **_kwargs
)
821 def SetSelection(self
, *_args
, **_kwargs
):
822 val
= controlsc
.wxTextCtrl_SetSelection(self
, *_args
, **_kwargs
)
824 def SelectAll(self
, *_args
, **_kwargs
):
825 val
= controlsc
.wxTextCtrl_SelectAll(self
, *_args
, **_kwargs
)
827 def SetEditable(self
, *_args
, **_kwargs
):
828 val
= controlsc
.wxTextCtrl_SetEditable(self
, *_args
, **_kwargs
)
830 def IsSingleLine(self
, *_args
, **_kwargs
):
831 val
= controlsc
.wxTextCtrl_IsSingleLine(self
, *_args
, **_kwargs
)
833 def IsMultiLine(self
, *_args
, **_kwargs
):
834 val
= controlsc
.wxTextCtrl_IsMultiLine(self
, *_args
, **_kwargs
)
836 def write(self
, *_args
, **_kwargs
):
837 val
= controlsc
.wxTextCtrl_write(self
, *_args
, **_kwargs
)
839 def GetString(self
, *_args
, **_kwargs
):
840 val
= controlsc
.wxTextCtrl_GetString(self
, *_args
, **_kwargs
)
843 return "<%s.%s instance; proxy of C++ wxTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
844 class wxTextCtrl(wxTextCtrlPtr
):
845 def __init__(self
,*_args
,**_kwargs
):
846 self
.this
= controlsc
.new_wxTextCtrl(*_args
,**_kwargs
)
848 self
._setOORInfo
(self
)
852 def wxPreTextCtrl(*_args
,**_kwargs
):
853 val
= wxTextCtrlPtr(controlsc
.new_wxPreTextCtrl(*_args
,**_kwargs
))
859 class wxScrollBarPtr(wxControlPtr
):
860 def __init__(self
,this
):
863 def Create(self
, *_args
, **_kwargs
):
864 val
= controlsc
.wxScrollBar_Create(self
, *_args
, **_kwargs
)
866 def GetRange(self
, *_args
, **_kwargs
):
867 val
= controlsc
.wxScrollBar_GetRange(self
, *_args
, **_kwargs
)
869 def GetPageSize(self
, *_args
, **_kwargs
):
870 val
= controlsc
.wxScrollBar_GetPageSize(self
, *_args
, **_kwargs
)
872 def GetThumbPosition(self
, *_args
, **_kwargs
):
873 val
= controlsc
.wxScrollBar_GetThumbPosition(self
, *_args
, **_kwargs
)
875 def GetThumbSize(self
, *_args
, **_kwargs
):
876 val
= controlsc
.wxScrollBar_GetThumbSize(self
, *_args
, **_kwargs
)
878 def GetThumbLength(self
, *_args
, **_kwargs
):
879 val
= controlsc
.wxScrollBar_GetThumbLength(self
, *_args
, **_kwargs
)
881 def IsVertical(self
, *_args
, **_kwargs
):
882 val
= controlsc
.wxScrollBar_IsVertical(self
, *_args
, **_kwargs
)
884 def SetThumbPosition(self
, *_args
, **_kwargs
):
885 val
= controlsc
.wxScrollBar_SetThumbPosition(self
, *_args
, **_kwargs
)
887 def SetScrollbar(self
, *_args
, **_kwargs
):
888 val
= controlsc
.wxScrollBar_SetScrollbar(self
, *_args
, **_kwargs
)
891 return "<%s.%s instance; proxy of C++ wxScrollBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
892 class wxScrollBar(wxScrollBarPtr
):
893 def __init__(self
,*_args
,**_kwargs
):
894 self
.this
= controlsc
.new_wxScrollBar(*_args
,**_kwargs
)
896 self
._setOORInfo
(self
)
900 def wxPreScrollBar(*_args
,**_kwargs
):
901 val
= wxScrollBarPtr(controlsc
.new_wxPreScrollBar(*_args
,**_kwargs
))
907 class wxSpinButtonPtr(wxControlPtr
):
908 def __init__(self
,this
):
911 def Create(self
, *_args
, **_kwargs
):
912 val
= controlsc
.wxSpinButton_Create(self
, *_args
, **_kwargs
)
914 def GetMax(self
, *_args
, **_kwargs
):
915 val
= controlsc
.wxSpinButton_GetMax(self
, *_args
, **_kwargs
)
917 def GetMin(self
, *_args
, **_kwargs
):
918 val
= controlsc
.wxSpinButton_GetMin(self
, *_args
, **_kwargs
)
920 def GetValue(self
, *_args
, **_kwargs
):
921 val
= controlsc
.wxSpinButton_GetValue(self
, *_args
, **_kwargs
)
923 def SetRange(self
, *_args
, **_kwargs
):
924 val
= controlsc
.wxSpinButton_SetRange(self
, *_args
, **_kwargs
)
926 def SetValue(self
, *_args
, **_kwargs
):
927 val
= controlsc
.wxSpinButton_SetValue(self
, *_args
, **_kwargs
)
930 return "<%s.%s instance; proxy of C++ wxSpinButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
931 class wxSpinButton(wxSpinButtonPtr
):
932 def __init__(self
,*_args
,**_kwargs
):
933 self
.this
= controlsc
.new_wxSpinButton(*_args
,**_kwargs
)
935 self
._setOORInfo
(self
)
939 def wxPreSpinButton(*_args
,**_kwargs
):
940 val
= wxSpinButtonPtr(controlsc
.new_wxPreSpinButton(*_args
,**_kwargs
))
946 class wxStaticBitmapPtr(wxControlPtr
):
947 def __init__(self
,this
):
950 def Create(self
, *_args
, **_kwargs
):
951 val
= controlsc
.wxStaticBitmap_Create(self
, *_args
, **_kwargs
)
953 def GetBitmap(self
, *_args
, **_kwargs
):
954 val
= controlsc
.wxStaticBitmap_GetBitmap(self
, *_args
, **_kwargs
)
955 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
957 def SetBitmap(self
, *_args
, **_kwargs
):
958 val
= controlsc
.wxStaticBitmap_SetBitmap(self
, *_args
, **_kwargs
)
960 def SetIcon(self
, *_args
, **_kwargs
):
961 val
= controlsc
.wxStaticBitmap_SetIcon(self
, *_args
, **_kwargs
)
964 return "<%s.%s instance; proxy of C++ wxStaticBitmap instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
965 class wxStaticBitmap(wxStaticBitmapPtr
):
966 def __init__(self
,*_args
,**_kwargs
):
967 self
.this
= controlsc
.new_wxStaticBitmap(*_args
,**_kwargs
)
969 self
._setOORInfo
(self
)
973 def wxPreStaticBitmap(*_args
,**_kwargs
):
974 val
= wxStaticBitmapPtr(controlsc
.new_wxPreStaticBitmap(*_args
,**_kwargs
))
980 class wxRadioBoxPtr(wxControlPtr
):
981 def __init__(self
,this
):
984 def Create(self
, *_args
, **_kwargs
):
985 val
= controlsc
.wxRadioBox_Create(self
, *_args
, **_kwargs
)
987 def Enable(self
, *_args
, **_kwargs
):
988 val
= controlsc
.wxRadioBox_Enable(self
, *_args
, **_kwargs
)
990 def EnableItem(self
, *_args
, **_kwargs
):
991 val
= controlsc
.wxRadioBox_EnableItem(self
, *_args
, **_kwargs
)
993 def FindString(self
, *_args
, **_kwargs
):
994 val
= controlsc
.wxRadioBox_FindString(self
, *_args
, **_kwargs
)
996 def GetString(self
, *_args
, **_kwargs
):
997 val
= controlsc
.wxRadioBox_GetString(self
, *_args
, **_kwargs
)
999 def SetString(self
, *_args
, **_kwargs
):
1000 val
= controlsc
.wxRadioBox_SetString(self
, *_args
, **_kwargs
)
1002 def GetColumnCount(self
, *_args
, **_kwargs
):
1003 val
= controlsc
.wxRadioBox_GetColumnCount(self
, *_args
, **_kwargs
)
1005 def GetRowCount(self
, *_args
, **_kwargs
):
1006 val
= controlsc
.wxRadioBox_GetRowCount(self
, *_args
, **_kwargs
)
1008 def GetNextItem(self
, *_args
, **_kwargs
):
1009 val
= controlsc
.wxRadioBox_GetNextItem(self
, *_args
, **_kwargs
)
1011 def GetSelection(self
, *_args
, **_kwargs
):
1012 val
= controlsc
.wxRadioBox_GetSelection(self
, *_args
, **_kwargs
)
1014 def GetStringSelection(self
, *_args
, **_kwargs
):
1015 val
= controlsc
.wxRadioBox_GetStringSelection(self
, *_args
, **_kwargs
)
1017 def GetCount(self
, *_args
, **_kwargs
):
1018 val
= controlsc
.wxRadioBox_GetCount(self
, *_args
, **_kwargs
)
1020 def SetSelection(self
, *_args
, **_kwargs
):
1021 val
= controlsc
.wxRadioBox_SetSelection(self
, *_args
, **_kwargs
)
1023 def SetStringSelection(self
, *_args
, **_kwargs
):
1024 val
= controlsc
.wxRadioBox_SetStringSelection(self
, *_args
, **_kwargs
)
1026 def Show(self
, *_args
, **_kwargs
):
1027 val
= controlsc
.wxRadioBox_Show(self
, *_args
, **_kwargs
)
1029 def ShowItem(self
, *_args
, **_kwargs
):
1030 val
= controlsc
.wxRadioBox_ShowItem(self
, *_args
, **_kwargs
)
1033 return "<%s.%s instance; proxy of C++ wxRadioBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1035 GetItemLabel
= GetString
1036 SetItemLabel
= SetString
1039 class wxRadioBox(wxRadioBoxPtr
):
1040 def __init__(self
,*_args
,**_kwargs
):
1041 self
.this
= controlsc
.new_wxRadioBox(*_args
,**_kwargs
)
1043 self
._setOORInfo
(self
)
1047 def wxPreRadioBox(*_args
,**_kwargs
):
1048 val
= wxRadioBoxPtr(controlsc
.new_wxPreRadioBox(*_args
,**_kwargs
))
1050 val
._setOORInfo
(val
)
1054 class wxRadioButtonPtr(wxControlPtr
):
1055 def __init__(self
,this
):
1058 def Create(self
, *_args
, **_kwargs
):
1059 val
= controlsc
.wxRadioButton_Create(self
, *_args
, **_kwargs
)
1061 def GetValue(self
, *_args
, **_kwargs
):
1062 val
= controlsc
.wxRadioButton_GetValue(self
, *_args
, **_kwargs
)
1064 def SetValue(self
, *_args
, **_kwargs
):
1065 val
= controlsc
.wxRadioButton_SetValue(self
, *_args
, **_kwargs
)
1068 return "<%s.%s instance; proxy of C++ wxRadioButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1069 class wxRadioButton(wxRadioButtonPtr
):
1070 def __init__(self
,*_args
,**_kwargs
):
1071 self
.this
= controlsc
.new_wxRadioButton(*_args
,**_kwargs
)
1073 self
._setOORInfo
(self
)
1077 def wxPreRadioButton(*_args
,**_kwargs
):
1078 val
= wxRadioButtonPtr(controlsc
.new_wxPreRadioButton(*_args
,**_kwargs
))
1080 val
._setOORInfo
(val
)
1084 class wxSliderPtr(wxControlPtr
):
1085 def __init__(self
,this
):
1088 def Create(self
, *_args
, **_kwargs
):
1089 val
= controlsc
.wxSlider_Create(self
, *_args
, **_kwargs
)
1091 def ClearSel(self
, *_args
, **_kwargs
):
1092 val
= controlsc
.wxSlider_ClearSel(self
, *_args
, **_kwargs
)
1094 def ClearTicks(self
, *_args
, **_kwargs
):
1095 val
= controlsc
.wxSlider_ClearTicks(self
, *_args
, **_kwargs
)
1097 def GetLineSize(self
, *_args
, **_kwargs
):
1098 val
= controlsc
.wxSlider_GetLineSize(self
, *_args
, **_kwargs
)
1100 def GetMax(self
, *_args
, **_kwargs
):
1101 val
= controlsc
.wxSlider_GetMax(self
, *_args
, **_kwargs
)
1103 def GetMin(self
, *_args
, **_kwargs
):
1104 val
= controlsc
.wxSlider_GetMin(self
, *_args
, **_kwargs
)
1106 def GetPageSize(self
, *_args
, **_kwargs
):
1107 val
= controlsc
.wxSlider_GetPageSize(self
, *_args
, **_kwargs
)
1109 def GetSelEnd(self
, *_args
, **_kwargs
):
1110 val
= controlsc
.wxSlider_GetSelEnd(self
, *_args
, **_kwargs
)
1112 def GetSelStart(self
, *_args
, **_kwargs
):
1113 val
= controlsc
.wxSlider_GetSelStart(self
, *_args
, **_kwargs
)
1115 def GetThumbLength(self
, *_args
, **_kwargs
):
1116 val
= controlsc
.wxSlider_GetThumbLength(self
, *_args
, **_kwargs
)
1118 def GetTickFreq(self
, *_args
, **_kwargs
):
1119 val
= controlsc
.wxSlider_GetTickFreq(self
, *_args
, **_kwargs
)
1121 def GetValue(self
, *_args
, **_kwargs
):
1122 val
= controlsc
.wxSlider_GetValue(self
, *_args
, **_kwargs
)
1124 def SetRange(self
, *_args
, **_kwargs
):
1125 val
= controlsc
.wxSlider_SetRange(self
, *_args
, **_kwargs
)
1127 def SetTickFreq(self
, *_args
, **_kwargs
):
1128 val
= controlsc
.wxSlider_SetTickFreq(self
, *_args
, **_kwargs
)
1130 def SetLineSize(self
, *_args
, **_kwargs
):
1131 val
= controlsc
.wxSlider_SetLineSize(self
, *_args
, **_kwargs
)
1133 def SetPageSize(self
, *_args
, **_kwargs
):
1134 val
= controlsc
.wxSlider_SetPageSize(self
, *_args
, **_kwargs
)
1136 def SetSelection(self
, *_args
, **_kwargs
):
1137 val
= controlsc
.wxSlider_SetSelection(self
, *_args
, **_kwargs
)
1139 def SetThumbLength(self
, *_args
, **_kwargs
):
1140 val
= controlsc
.wxSlider_SetThumbLength(self
, *_args
, **_kwargs
)
1142 def SetTick(self
, *_args
, **_kwargs
):
1143 val
= controlsc
.wxSlider_SetTick(self
, *_args
, **_kwargs
)
1145 def SetValue(self
, *_args
, **_kwargs
):
1146 val
= controlsc
.wxSlider_SetValue(self
, *_args
, **_kwargs
)
1149 return "<%s.%s instance; proxy of C++ wxSlider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1150 class wxSlider(wxSliderPtr
):
1151 def __init__(self
,*_args
,**_kwargs
):
1152 self
.this
= controlsc
.new_wxSlider(*_args
,**_kwargs
)
1154 self
._setOORInfo
(self
)
1158 def wxPreSlider(*_args
,**_kwargs
):
1159 val
= wxSliderPtr(controlsc
.new_wxPreSlider(*_args
,**_kwargs
))
1161 val
._setOORInfo
(val
)
1165 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1166 def __init__(self
,this
):
1169 def Create(self
, *_args
, **_kwargs
):
1170 val
= controlsc
.wxSpinCtrl_Create(self
, *_args
, **_kwargs
)
1172 def GetMax(self
, *_args
, **_kwargs
):
1173 val
= controlsc
.wxSpinCtrl_GetMax(self
, *_args
, **_kwargs
)
1175 def GetMin(self
, *_args
, **_kwargs
):
1176 val
= controlsc
.wxSpinCtrl_GetMin(self
, *_args
, **_kwargs
)
1178 def GetValue(self
, *_args
, **_kwargs
):
1179 val
= controlsc
.wxSpinCtrl_GetValue(self
, *_args
, **_kwargs
)
1181 def SetRange(self
, *_args
, **_kwargs
):
1182 val
= controlsc
.wxSpinCtrl_SetRange(self
, *_args
, **_kwargs
)
1184 def SetValue(self
, *_args
, **_kwargs
):
1185 val
= controlsc
.wxSpinCtrl_SetValue(self
, *_args
, **_kwargs
)
1187 def SetSelection(self
, *_args
, **_kwargs
):
1188 val
= controlsc
.wxSpinCtrl_SetSelection(self
, *_args
, **_kwargs
)
1191 return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1192 class wxSpinCtrl(wxSpinCtrlPtr
):
1193 def __init__(self
,*_args
,**_kwargs
):
1194 self
.this
= controlsc
.new_wxSpinCtrl(*_args
,**_kwargs
)
1196 self
._setOORInfo
(self
)
1200 def wxPreSpinCtrl(*_args
,**_kwargs
):
1201 val
= wxSpinCtrlPtr(controlsc
.new_wxPreSpinCtrl(*_args
,**_kwargs
))
1203 val
._setOORInfo
(val
)
1207 class wxToggleButtonPtr(wxControlPtr
):
1208 def __init__(self
,this
):
1211 def Create(self
, *_args
, **_kwargs
):
1212 val
= controlsc
.wxToggleButton_Create(self
, *_args
, **_kwargs
)
1214 def SetValue(self
, *_args
, **_kwargs
):
1215 val
= controlsc
.wxToggleButton_SetValue(self
, *_args
, **_kwargs
)
1217 def GetValue(self
, *_args
, **_kwargs
):
1218 val
= controlsc
.wxToggleButton_GetValue(self
, *_args
, **_kwargs
)
1220 def SetLabel(self
, *_args
, **_kwargs
):
1221 val
= controlsc
.wxToggleButton_SetLabel(self
, *_args
, **_kwargs
)
1224 return "<%s.%s instance; proxy of C++ wxToggleButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1225 class wxToggleButton(wxToggleButtonPtr
):
1226 def __init__(self
,*_args
,**_kwargs
):
1227 self
.this
= controlsc
.new_wxToggleButton(*_args
,**_kwargs
)
1229 self
._setOORInfo
(self
)
1233 def wxPreToggleButton(*_args
,**_kwargs
):
1234 val
= wxToggleButtonPtr(controlsc
.new_wxPreToggleButton(*_args
,**_kwargs
))
1236 val
._setOORInfo
(val
)
1242 #-------------- FUNCTION WRAPPERS ------------------
1244 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1245 val
= controlsc
.wxButton_GetDefaultSize(*_args
,**_kwargs
)
1246 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1249 def wxTextAttr_Combine(*_args
, **_kwargs
):
1250 val
= controlsc
.wxTextAttr_Combine(*_args
,**_kwargs
)
1251 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1256 #-------------- VARIABLE WRAPPERS ------------------
1258 cvar
= controlsc
.cvar
1259 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1260 wxCHK_2STATE
= controlsc
.wxCHK_2STATE
1261 wxCHK_3STATE
= controlsc
.wxCHK_3STATE
1262 wxCHK_ALLOW_3RD_STATE_FOR_USER
= controlsc
.wxCHK_ALLOW_3RD_STATE_FOR_USER
1263 wxCHK_UNCHECKED
= controlsc
.wxCHK_UNCHECKED
1264 wxCHK_CHECKED
= controlsc
.wxCHK_CHECKED
1265 wxCHK_UNDETERMINED
= controlsc
.wxCHK_UNDETERMINED
1266 wxTE_NO_VSCROLL
= controlsc
.wxTE_NO_VSCROLL
1267 wxTE_AUTO_SCROLL
= controlsc
.wxTE_AUTO_SCROLL
1268 wxTE_READONLY
= controlsc
.wxTE_READONLY
1269 wxTE_MULTILINE
= controlsc
.wxTE_MULTILINE
1270 wxTE_PROCESS_TAB
= controlsc
.wxTE_PROCESS_TAB
1271 wxTE_LEFT
= controlsc
.wxTE_LEFT
1272 wxTE_CENTER
= controlsc
.wxTE_CENTER
1273 wxTE_RIGHT
= controlsc
.wxTE_RIGHT
1274 wxTE_CENTRE
= controlsc
.wxTE_CENTRE
1275 wxTE_RICH
= controlsc
.wxTE_RICH
1276 wxTE_PROCESS_ENTER
= controlsc
.wxTE_PROCESS_ENTER
1277 wxTE_PASSWORD
= controlsc
.wxTE_PASSWORD
1278 wxTE_AUTO_URL
= controlsc
.wxTE_AUTO_URL
1279 wxTE_NOHIDESEL
= controlsc
.wxTE_NOHIDESEL
1280 wxTE_DONTWRAP
= controlsc
.wxTE_DONTWRAP
1281 wxTE_LINEWRAP
= controlsc
.wxTE_LINEWRAP
1282 wxTE_WORDWRAP
= controlsc
.wxTE_WORDWRAP
1283 wxTE_RICH2
= controlsc
.wxTE_RICH2
1284 wxTEXT_ATTR_TEXT_COLOUR
= controlsc
.wxTEXT_ATTR_TEXT_COLOUR
1285 wxTEXT_ATTR_BACKGROUND_COLOUR
= controlsc
.wxTEXT_ATTR_BACKGROUND_COLOUR
1286 wxTEXT_ATTR_FONT_FACE
= controlsc
.wxTEXT_ATTR_FONT_FACE
1287 wxTEXT_ATTR_FONT_SIZE
= controlsc
.wxTEXT_ATTR_FONT_SIZE
1288 wxTEXT_ATTR_FONT_WEIGHT
= controlsc
.wxTEXT_ATTR_FONT_WEIGHT
1289 wxTEXT_ATTR_FONT_ITALIC
= controlsc
.wxTEXT_ATTR_FONT_ITALIC
1290 wxTEXT_ATTR_FONT_UNDERLINE
= controlsc
.wxTEXT_ATTR_FONT_UNDERLINE
1291 wxTEXT_ATTR_FONT
= controlsc
.wxTEXT_ATTR_FONT
1292 wxTEXT_ATTR_ALIGNMENT
= controlsc
.wxTEXT_ATTR_ALIGNMENT
1293 wxTEXT_ATTR_LEFT_INDENT
= controlsc
.wxTEXT_ATTR_LEFT_INDENT
1294 wxTEXT_ATTR_RIGHT_INDENT
= controlsc
.wxTEXT_ATTR_RIGHT_INDENT
1295 wxTEXT_ATTR_TABS
= controlsc
.wxTEXT_ATTR_TABS
1296 wxTEXT_ALIGNMENT_DEFAULT
= controlsc
.wxTEXT_ALIGNMENT_DEFAULT
1297 wxTEXT_ALIGNMENT_LEFT
= controlsc
.wxTEXT_ALIGNMENT_LEFT
1298 wxTEXT_ALIGNMENT_CENTRE
= controlsc
.wxTEXT_ALIGNMENT_CENTRE
1299 wxTEXT_ALIGNMENT_CENTER
= controlsc
.wxTEXT_ALIGNMENT_CENTER
1300 wxTEXT_ALIGNMENT_RIGHT
= controlsc
.wxTEXT_ALIGNMENT_RIGHT
1301 wxTEXT_ALIGNMENT_JUSTIFIED
= controlsc
.wxTEXT_ALIGNMENT_JUSTIFIED
1302 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED