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
)
116 return "<%s.%s instance; proxy of C++ wxButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
117 class wxButton(wxButtonPtr
):
118 def __init__(self
,*_args
,**_kwargs
):
119 self
.this
= controlsc
.new_wxButton(*_args
,**_kwargs
)
121 self
._setOORInfo
(self
)
125 def wxPreButton(*_args
,**_kwargs
):
126 val
= wxButtonPtr(controlsc
.new_wxPreButton(*_args
,**_kwargs
))
132 class wxBitmapButtonPtr(wxButtonPtr
):
133 def __init__(self
,this
):
136 def Create(self
, *_args
, **_kwargs
):
137 val
= controlsc
.wxBitmapButton_Create(self
, *_args
, **_kwargs
)
139 def GetBitmapLabel(self
, *_args
, **_kwargs
):
140 val
= controlsc
.wxBitmapButton_GetBitmapLabel(self
, *_args
, **_kwargs
)
141 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
143 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
144 val
= controlsc
.wxBitmapButton_GetBitmapDisabled(self
, *_args
, **_kwargs
)
145 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
147 def GetBitmapFocus(self
, *_args
, **_kwargs
):
148 val
= controlsc
.wxBitmapButton_GetBitmapFocus(self
, *_args
, **_kwargs
)
149 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
151 def GetBitmapSelected(self
, *_args
, **_kwargs
):
152 val
= controlsc
.wxBitmapButton_GetBitmapSelected(self
, *_args
, **_kwargs
)
153 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
155 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
156 val
= controlsc
.wxBitmapButton_SetBitmapDisabled(self
, *_args
, **_kwargs
)
158 def SetBitmapFocus(self
, *_args
, **_kwargs
):
159 val
= controlsc
.wxBitmapButton_SetBitmapFocus(self
, *_args
, **_kwargs
)
161 def SetBitmapSelected(self
, *_args
, **_kwargs
):
162 val
= controlsc
.wxBitmapButton_SetBitmapSelected(self
, *_args
, **_kwargs
)
164 def SetBitmapLabel(self
, *_args
, **_kwargs
):
165 val
= controlsc
.wxBitmapButton_SetBitmapLabel(self
, *_args
, **_kwargs
)
167 def SetMargins(self
, *_args
, **_kwargs
):
168 val
= controlsc
.wxBitmapButton_SetMargins(self
, *_args
, **_kwargs
)
170 def GetMarginX(self
, *_args
, **_kwargs
):
171 val
= controlsc
.wxBitmapButton_GetMarginX(self
, *_args
, **_kwargs
)
173 def GetMarginY(self
, *_args
, **_kwargs
):
174 val
= controlsc
.wxBitmapButton_GetMarginY(self
, *_args
, **_kwargs
)
177 return "<%s.%s instance; proxy of C++ wxBitmapButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
178 class wxBitmapButton(wxBitmapButtonPtr
):
179 def __init__(self
,*_args
,**_kwargs
):
180 self
.this
= controlsc
.new_wxBitmapButton(*_args
,**_kwargs
)
182 self
._setOORInfo
(self
)
186 def wxPreBitmapButton(*_args
,**_kwargs
):
187 val
= wxBitmapButtonPtr(controlsc
.new_wxPreBitmapButton(*_args
,**_kwargs
))
193 class wxCheckBoxPtr(wxControlPtr
):
194 def __init__(self
,this
):
197 def Create(self
, *_args
, **_kwargs
):
198 val
= controlsc
.wxCheckBox_Create(self
, *_args
, **_kwargs
)
200 def GetValue(self
, *_args
, **_kwargs
):
201 val
= controlsc
.wxCheckBox_GetValue(self
, *_args
, **_kwargs
)
203 def IsChecked(self
, *_args
, **_kwargs
):
204 val
= controlsc
.wxCheckBox_IsChecked(self
, *_args
, **_kwargs
)
206 def SetValue(self
, *_args
, **_kwargs
):
207 val
= controlsc
.wxCheckBox_SetValue(self
, *_args
, **_kwargs
)
209 def Get3StateValue(self
, *_args
, **_kwargs
):
210 val
= controlsc
.wxCheckBox_Get3StateValue(self
, *_args
, **_kwargs
)
212 def Set3StateValue(self
, *_args
, **_kwargs
):
213 val
= controlsc
.wxCheckBox_Set3StateValue(self
, *_args
, **_kwargs
)
215 def Is3State(self
, *_args
, **_kwargs
):
216 val
= controlsc
.wxCheckBox_Is3State(self
, *_args
, **_kwargs
)
218 def Is3rdStateAllowedForUser(self
, *_args
, **_kwargs
):
219 val
= controlsc
.wxCheckBox_Is3rdStateAllowedForUser(self
, *_args
, **_kwargs
)
222 return "<%s.%s instance; proxy of C++ wxCheckBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
223 class wxCheckBox(wxCheckBoxPtr
):
224 def __init__(self
,*_args
,**_kwargs
):
225 self
.this
= controlsc
.new_wxCheckBox(*_args
,**_kwargs
)
227 self
._setOORInfo
(self
)
231 def wxPreCheckBox(*_args
,**_kwargs
):
232 val
= wxCheckBoxPtr(controlsc
.new_wxPreCheckBox(*_args
,**_kwargs
))
238 class wxChoicePtr(wxControlWithItemsPtr
):
239 def __init__(self
,this
):
242 def Create(self
, *_args
, **_kwargs
):
243 val
= controlsc
.wxChoice_Create(self
, *_args
, **_kwargs
)
245 def Clear(self
, *_args
, **_kwargs
):
246 val
= controlsc
.wxChoice_Clear(self
, *_args
, **_kwargs
)
248 def GetColumns(self
, *_args
, **_kwargs
):
249 val
= controlsc
.wxChoice_GetColumns(self
, *_args
, **_kwargs
)
251 def SetColumns(self
, *_args
, **_kwargs
):
252 val
= controlsc
.wxChoice_SetColumns(self
, *_args
, **_kwargs
)
254 def SetSelection(self
, *_args
, **_kwargs
):
255 val
= controlsc
.wxChoice_SetSelection(self
, *_args
, **_kwargs
)
257 def SetStringSelection(self
, *_args
, **_kwargs
):
258 val
= controlsc
.wxChoice_SetStringSelection(self
, *_args
, **_kwargs
)
260 def SetString(self
, *_args
, **_kwargs
):
261 val
= controlsc
.wxChoice_SetString(self
, *_args
, **_kwargs
)
264 return "<%s.%s instance; proxy of C++ wxChoice instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
266 Select
= SetSelection
268 class wxChoice(wxChoicePtr
):
269 def __init__(self
,*_args
,**_kwargs
):
270 self
.this
= controlsc
.new_wxChoice(*_args
,**_kwargs
)
272 self
._setOORInfo
(self
)
276 def wxPreChoice(*_args
,**_kwargs
):
277 val
= wxChoicePtr(controlsc
.new_wxPreChoice(*_args
,**_kwargs
))
283 class wxComboBoxPtr(wxControlPtr
):
284 def __init__(self
,this
):
287 def Create(self
, *_args
, **_kwargs
):
288 val
= controlsc
.wxComboBox_Create(self
, *_args
, **_kwargs
)
290 def Copy(self
, *_args
, **_kwargs
):
291 val
= controlsc
.wxComboBox_Copy(self
, *_args
, **_kwargs
)
293 def Cut(self
, *_args
, **_kwargs
):
294 val
= controlsc
.wxComboBox_Cut(self
, *_args
, **_kwargs
)
296 def GetInsertionPoint(self
, *_args
, **_kwargs
):
297 val
= controlsc
.wxComboBox_GetInsertionPoint(self
, *_args
, **_kwargs
)
299 def GetLastPosition(self
, *_args
, **_kwargs
):
300 val
= controlsc
.wxComboBox_GetLastPosition(self
, *_args
, **_kwargs
)
302 def GetValue(self
, *_args
, **_kwargs
):
303 val
= controlsc
.wxComboBox_GetValue(self
, *_args
, **_kwargs
)
305 def Paste(self
, *_args
, **_kwargs
):
306 val
= controlsc
.wxComboBox_Paste(self
, *_args
, **_kwargs
)
308 def Replace(self
, *_args
, **_kwargs
):
309 val
= controlsc
.wxComboBox_Replace(self
, *_args
, **_kwargs
)
311 def Remove(self
, *_args
, **_kwargs
):
312 val
= controlsc
.wxComboBox_Remove(self
, *_args
, **_kwargs
)
314 def SetInsertionPoint(self
, *_args
, **_kwargs
):
315 val
= controlsc
.wxComboBox_SetInsertionPoint(self
, *_args
, **_kwargs
)
317 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
318 val
= controlsc
.wxComboBox_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
320 def SetSelection(self
, *_args
, **_kwargs
):
321 val
= controlsc
.wxComboBox_SetSelection(self
, *_args
, **_kwargs
)
323 def SetMark(self
, *_args
, **_kwargs
):
324 val
= controlsc
.wxComboBox_SetMark(self
, *_args
, **_kwargs
)
326 def SetValue(self
, *_args
, **_kwargs
):
327 val
= controlsc
.wxComboBox_SetValue(self
, *_args
, **_kwargs
)
329 def SetEditable(self
, *_args
, **_kwargs
):
330 val
= controlsc
.wxComboBox_SetEditable(self
, *_args
, **_kwargs
)
332 def Clear(self
, *_args
, **_kwargs
):
333 val
= controlsc
.wxComboBox_Clear(self
, *_args
, **_kwargs
)
335 def Delete(self
, *_args
, **_kwargs
):
336 val
= controlsc
.wxComboBox_Delete(self
, *_args
, **_kwargs
)
338 def GetCount(self
, *_args
, **_kwargs
):
339 val
= controlsc
.wxComboBox_GetCount(self
, *_args
, **_kwargs
)
341 def GetString(self
, *_args
, **_kwargs
):
342 val
= controlsc
.wxComboBox_GetString(self
, *_args
, **_kwargs
)
344 def FindString(self
, *_args
, **_kwargs
):
345 val
= controlsc
.wxComboBox_FindString(self
, *_args
, **_kwargs
)
347 def GetSelection(self
, *_args
, **_kwargs
):
348 val
= controlsc
.wxComboBox_GetSelection(self
, *_args
, **_kwargs
)
350 def GetStringSelection(self
, *_args
, **_kwargs
):
351 val
= controlsc
.wxComboBox_GetStringSelection(self
, *_args
, **_kwargs
)
353 def Append(self
, *_args
, **_kwargs
):
354 val
= controlsc
.wxComboBox_Append(self
, *_args
, **_kwargs
)
356 def GetClientData(self
, *_args
, **_kwargs
):
357 val
= controlsc
.wxComboBox_GetClientData(self
, *_args
, **_kwargs
)
359 def SetClientData(self
, *_args
, **_kwargs
):
360 val
= controlsc
.wxComboBox_SetClientData(self
, *_args
, **_kwargs
)
363 return "<%s.%s instance; proxy of C++ wxComboBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
365 Select
= SetSelection
366 class wxComboBox(wxComboBoxPtr
):
367 def __init__(self
,*_args
,**_kwargs
):
368 self
.this
= controlsc
.new_wxComboBox(*_args
,**_kwargs
)
370 self
._setOORInfo
(self
)
374 def wxPreComboBox(*_args
,**_kwargs
):
375 val
= wxComboBoxPtr(controlsc
.new_wxPreComboBox(*_args
,**_kwargs
))
381 class wxGaugePtr(wxControlPtr
):
382 def __init__(self
,this
):
385 def Create(self
, *_args
, **_kwargs
):
386 val
= controlsc
.wxGauge_Create(self
, *_args
, **_kwargs
)
388 def GetBezelFace(self
, *_args
, **_kwargs
):
389 val
= controlsc
.wxGauge_GetBezelFace(self
, *_args
, **_kwargs
)
391 def GetRange(self
, *_args
, **_kwargs
):
392 val
= controlsc
.wxGauge_GetRange(self
, *_args
, **_kwargs
)
394 def GetShadowWidth(self
, *_args
, **_kwargs
):
395 val
= controlsc
.wxGauge_GetShadowWidth(self
, *_args
, **_kwargs
)
397 def GetValue(self
, *_args
, **_kwargs
):
398 val
= controlsc
.wxGauge_GetValue(self
, *_args
, **_kwargs
)
400 def IsVertical(self
, *_args
, **_kwargs
):
401 val
= controlsc
.wxGauge_IsVertical(self
, *_args
, **_kwargs
)
403 def SetBezelFace(self
, *_args
, **_kwargs
):
404 val
= controlsc
.wxGauge_SetBezelFace(self
, *_args
, **_kwargs
)
406 def SetRange(self
, *_args
, **_kwargs
):
407 val
= controlsc
.wxGauge_SetRange(self
, *_args
, **_kwargs
)
409 def SetShadowWidth(self
, *_args
, **_kwargs
):
410 val
= controlsc
.wxGauge_SetShadowWidth(self
, *_args
, **_kwargs
)
412 def SetValue(self
, *_args
, **_kwargs
):
413 val
= controlsc
.wxGauge_SetValue(self
, *_args
, **_kwargs
)
416 return "<%s.%s instance; proxy of C++ wxGauge instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
417 class wxGauge(wxGaugePtr
):
418 def __init__(self
,*_args
,**_kwargs
):
419 self
.this
= controlsc
.new_wxGauge(*_args
,**_kwargs
)
421 self
._setOORInfo
(self
)
425 def wxPreGauge(*_args
,**_kwargs
):
426 val
= wxGaugePtr(controlsc
.new_wxPreGauge(*_args
,**_kwargs
))
432 class wxStaticBoxPtr(wxControlPtr
):
433 def __init__(self
,this
):
436 def Create(self
, *_args
, **_kwargs
):
437 val
= controlsc
.wxStaticBox_Create(self
, *_args
, **_kwargs
)
440 return "<%s.%s instance; proxy of C++ wxStaticBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
441 class wxStaticBox(wxStaticBoxPtr
):
442 def __init__(self
,*_args
,**_kwargs
):
443 self
.this
= controlsc
.new_wxStaticBox(*_args
,**_kwargs
)
445 self
._setOORInfo
(self
)
449 def wxPreStaticBox(*_args
,**_kwargs
):
450 val
= wxStaticBoxPtr(controlsc
.new_wxPreStaticBox(*_args
,**_kwargs
))
456 class wxStaticLinePtr(wxControlPtr
):
457 def __init__(self
,this
):
460 def Create(self
, *_args
, **_kwargs
):
461 val
= controlsc
.wxStaticLine_Create(self
, *_args
, **_kwargs
)
464 return "<%s.%s instance; proxy of C++ wxStaticLine instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
465 class wxStaticLine(wxStaticLinePtr
):
466 def __init__(self
,*_args
,**_kwargs
):
467 self
.this
= controlsc
.new_wxStaticLine(*_args
,**_kwargs
)
469 self
._setOORInfo
(self
)
473 def wxPreStaticLine(*_args
,**_kwargs
):
474 val
= wxStaticLinePtr(controlsc
.new_wxPreStaticLine(*_args
,**_kwargs
))
480 class wxStaticTextPtr(wxControlPtr
):
481 def __init__(self
,this
):
484 def Create(self
, *_args
, **_kwargs
):
485 val
= controlsc
.wxStaticText_Create(self
, *_args
, **_kwargs
)
487 def GetLabel(self
, *_args
, **_kwargs
):
488 val
= controlsc
.wxStaticText_GetLabel(self
, *_args
, **_kwargs
)
490 def SetLabel(self
, *_args
, **_kwargs
):
491 val
= controlsc
.wxStaticText_SetLabel(self
, *_args
, **_kwargs
)
494 return "<%s.%s instance; proxy of C++ wxStaticText instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
495 class wxStaticText(wxStaticTextPtr
):
496 def __init__(self
,*_args
,**_kwargs
):
497 self
.this
= controlsc
.new_wxStaticText(*_args
,**_kwargs
)
499 self
._setOORInfo
(self
)
503 def wxPreStaticText(*_args
,**_kwargs
):
504 val
= wxStaticTextPtr(controlsc
.new_wxPreStaticText(*_args
,**_kwargs
))
510 class wxListBoxPtr(wxControlWithItemsPtr
):
511 def __init__(self
,this
):
514 def Create(self
, *_args
, **_kwargs
):
515 val
= controlsc
.wxListBox_Create(self
, *_args
, **_kwargs
)
517 def Clear(self
, *_args
, **_kwargs
):
518 val
= controlsc
.wxListBox_Clear(self
, *_args
, **_kwargs
)
520 def Deselect(self
, *_args
, **_kwargs
):
521 val
= controlsc
.wxListBox_Deselect(self
, *_args
, **_kwargs
)
523 def GetSelections(self
, *_args
, **_kwargs
):
524 val
= controlsc
.wxListBox_GetSelections(self
, *_args
, **_kwargs
)
526 def InsertItems(self
, *_args
, **_kwargs
):
527 val
= controlsc
.wxListBox_InsertItems(self
, *_args
, **_kwargs
)
529 def IsSelected(self
, *_args
, **_kwargs
):
530 val
= controlsc
.wxListBox_IsSelected(self
, *_args
, **_kwargs
)
532 def Selected(self
, *_args
, **_kwargs
):
533 val
= controlsc
.wxListBox_Selected(self
, *_args
, **_kwargs
)
535 def Set(self
, *_args
, **_kwargs
):
536 val
= controlsc
.wxListBox_Set(self
, *_args
, **_kwargs
)
538 def SetFirstItem(self
, *_args
, **_kwargs
):
539 val
= controlsc
.wxListBox_SetFirstItem(self
, *_args
, **_kwargs
)
541 def SetFirstItemStr(self
, *_args
, **_kwargs
):
542 val
= controlsc
.wxListBox_SetFirstItemStr(self
, *_args
, **_kwargs
)
544 def SetSelection(self
, *_args
, **_kwargs
):
545 val
= controlsc
.wxListBox_SetSelection(self
, *_args
, **_kwargs
)
547 def SetString(self
, *_args
, **_kwargs
):
548 val
= controlsc
.wxListBox_SetString(self
, *_args
, **_kwargs
)
550 def SetStringSelection(self
, *_args
, **_kwargs
):
551 val
= controlsc
.wxListBox_SetStringSelection(self
, *_args
, **_kwargs
)
554 return "<%s.%s instance; proxy of C++ wxListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
555 class wxListBox(wxListBoxPtr
):
556 def __init__(self
,*_args
,**_kwargs
):
557 self
.this
= controlsc
.new_wxListBox(*_args
,**_kwargs
)
559 self
._setOORInfo
(self
)
563 def wxPreListBox(*_args
,**_kwargs
):
564 val
= wxListBoxPtr(controlsc
.new_wxPreListBox(*_args
,**_kwargs
))
570 class wxCheckListBoxPtr(wxListBoxPtr
):
571 def __init__(self
,this
):
574 def Create(self
, *_args
, **_kwargs
):
575 val
= controlsc
.wxCheckListBox_Create(self
, *_args
, **_kwargs
)
577 def IsChecked(self
, *_args
, **_kwargs
):
578 val
= controlsc
.wxCheckListBox_IsChecked(self
, *_args
, **_kwargs
)
580 def Check(self
, *_args
, **_kwargs
):
581 val
= controlsc
.wxCheckListBox_Check(self
, *_args
, **_kwargs
)
583 def InsertItems(self
, *_args
, **_kwargs
):
584 val
= controlsc
.wxCheckListBox_InsertItems(self
, *_args
, **_kwargs
)
586 def GetItemHeight(self
, *_args
, **_kwargs
):
587 val
= controlsc
.wxCheckListBox_GetItemHeight(self
, *_args
, **_kwargs
)
589 def HitTest(self
, *_args
, **_kwargs
):
590 val
= controlsc
.wxCheckListBox_HitTest(self
, *_args
, **_kwargs
)
592 def HitTestXY(self
, *_args
, **_kwargs
):
593 val
= controlsc
.wxCheckListBox_HitTestXY(self
, *_args
, **_kwargs
)
596 return "<%s.%s instance; proxy of C++ wxCheckListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
597 class wxCheckListBox(wxCheckListBoxPtr
):
598 def __init__(self
,*_args
,**_kwargs
):
599 self
.this
= controlsc
.new_wxCheckListBox(*_args
,**_kwargs
)
601 self
._setOORInfo
(self
)
605 def wxPreCheckListBox(*_args
,**_kwargs
):
606 val
= wxCheckListBoxPtr(controlsc
.new_wxPreCheckListBox(*_args
,**_kwargs
))
612 class wxTextAttrPtr
:
613 def __init__(self
,this
):
616 def __del__(self
, delfunc
=controlsc
.delete_wxTextAttr
):
617 if self
.thisown
== 1:
622 def Init(self
, *_args
, **_kwargs
):
623 val
= controlsc
.wxTextAttr_Init(self
, *_args
, **_kwargs
)
625 def SetTextColour(self
, *_args
, **_kwargs
):
626 val
= controlsc
.wxTextAttr_SetTextColour(self
, *_args
, **_kwargs
)
628 def SetBackgroundColour(self
, *_args
, **_kwargs
):
629 val
= controlsc
.wxTextAttr_SetBackgroundColour(self
, *_args
, **_kwargs
)
631 def SetFont(self
, *_args
, **_kwargs
):
632 val
= controlsc
.wxTextAttr_SetFont(self
, *_args
, **_kwargs
)
634 def SetAlignment(self
, *_args
, **_kwargs
):
635 val
= controlsc
.wxTextAttr_SetAlignment(self
, *_args
, **_kwargs
)
637 def SetTabs(self
, *_args
, **_kwargs
):
638 val
= controlsc
.wxTextAttr_SetTabs(self
, *_args
, **_kwargs
)
640 def SetLeftIndent(self
, *_args
, **_kwargs
):
641 val
= controlsc
.wxTextAttr_SetLeftIndent(self
, *_args
, **_kwargs
)
643 def SetRightIndent(self
, *_args
, **_kwargs
):
644 val
= controlsc
.wxTextAttr_SetRightIndent(self
, *_args
, **_kwargs
)
646 def SetFlags(self
, *_args
, **_kwargs
):
647 val
= controlsc
.wxTextAttr_SetFlags(self
, *_args
, **_kwargs
)
649 def HasTextColour(self
, *_args
, **_kwargs
):
650 val
= controlsc
.wxTextAttr_HasTextColour(self
, *_args
, **_kwargs
)
652 def HasBackgroundColour(self
, *_args
, **_kwargs
):
653 val
= controlsc
.wxTextAttr_HasBackgroundColour(self
, *_args
, **_kwargs
)
655 def HasFont(self
, *_args
, **_kwargs
):
656 val
= controlsc
.wxTextAttr_HasFont(self
, *_args
, **_kwargs
)
658 def HasAlignment(self
, *_args
, **_kwargs
):
659 val
= controlsc
.wxTextAttr_HasAlignment(self
, *_args
, **_kwargs
)
661 def HasTabs(self
, *_args
, **_kwargs
):
662 val
= controlsc
.wxTextAttr_HasTabs(self
, *_args
, **_kwargs
)
664 def HasLeftIndent(self
, *_args
, **_kwargs
):
665 val
= controlsc
.wxTextAttr_HasLeftIndent(self
, *_args
, **_kwargs
)
667 def HasRightIndent(self
, *_args
, **_kwargs
):
668 val
= controlsc
.wxTextAttr_HasRightIndent(self
, *_args
, **_kwargs
)
670 def HasFlag(self
, *_args
, **_kwargs
):
671 val
= controlsc
.wxTextAttr_HasFlag(self
, *_args
, **_kwargs
)
673 def GetTextColour(self
, *_args
, **_kwargs
):
674 val
= controlsc
.wxTextAttr_GetTextColour(self
, *_args
, **_kwargs
)
675 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
677 def GetBackgroundColour(self
, *_args
, **_kwargs
):
678 val
= controlsc
.wxTextAttr_GetBackgroundColour(self
, *_args
, **_kwargs
)
679 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
681 def GetFont(self
, *_args
, **_kwargs
):
682 val
= controlsc
.wxTextAttr_GetFont(self
, *_args
, **_kwargs
)
683 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
685 def GetAlignment(self
, *_args
, **_kwargs
):
686 val
= controlsc
.wxTextAttr_GetAlignment(self
, *_args
, **_kwargs
)
688 def GetTabs(self
, *_args
, **_kwargs
):
689 val
= controlsc
.wxTextAttr_GetTabs(self
, *_args
, **_kwargs
)
691 def GetLeftIndent(self
, *_args
, **_kwargs
):
692 val
= controlsc
.wxTextAttr_GetLeftIndent(self
, *_args
, **_kwargs
)
694 def GetRightIndent(self
, *_args
, **_kwargs
):
695 val
= controlsc
.wxTextAttr_GetRightIndent(self
, *_args
, **_kwargs
)
697 def GetFlags(self
, *_args
, **_kwargs
):
698 val
= controlsc
.wxTextAttr_GetFlags(self
, *_args
, **_kwargs
)
700 def IsDefault(self
, *_args
, **_kwargs
):
701 val
= controlsc
.wxTextAttr_IsDefault(self
, *_args
, **_kwargs
)
704 return "<%s.%s instance; proxy of C++ wxTextAttr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
705 class wxTextAttr(wxTextAttrPtr
):
706 def __init__(self
,*_args
,**_kwargs
):
707 self
.this
= controlsc
.new_wxTextAttr(*_args
,**_kwargs
)
713 class wxTextCtrlPtr(wxControlPtr
):
714 def __init__(self
,this
):
717 def Create(self
, *_args
, **_kwargs
):
718 val
= controlsc
.wxTextCtrl_Create(self
, *_args
, **_kwargs
)
720 def GetValue(self
, *_args
, **_kwargs
):
721 val
= controlsc
.wxTextCtrl_GetValue(self
, *_args
, **_kwargs
)
723 def SetValue(self
, *_args
, **_kwargs
):
724 val
= controlsc
.wxTextCtrl_SetValue(self
, *_args
, **_kwargs
)
726 def GetRange(self
, *_args
, **_kwargs
):
727 val
= controlsc
.wxTextCtrl_GetRange(self
, *_args
, **_kwargs
)
729 def GetLineLength(self
, *_args
, **_kwargs
):
730 val
= controlsc
.wxTextCtrl_GetLineLength(self
, *_args
, **_kwargs
)
732 def GetLineText(self
, *_args
, **_kwargs
):
733 val
= controlsc
.wxTextCtrl_GetLineText(self
, *_args
, **_kwargs
)
735 def GetNumberOfLines(self
, *_args
, **_kwargs
):
736 val
= controlsc
.wxTextCtrl_GetNumberOfLines(self
, *_args
, **_kwargs
)
738 def IsModified(self
, *_args
, **_kwargs
):
739 val
= controlsc
.wxTextCtrl_IsModified(self
, *_args
, **_kwargs
)
741 def IsEditable(self
, *_args
, **_kwargs
):
742 val
= controlsc
.wxTextCtrl_IsEditable(self
, *_args
, **_kwargs
)
744 def GetSelection(self
, *_args
, **_kwargs
):
745 val
= controlsc
.wxTextCtrl_GetSelection(self
, *_args
, **_kwargs
)
747 def GetStringSelection(self
, *_args
, **_kwargs
):
748 val
= controlsc
.wxTextCtrl_GetStringSelection(self
, *_args
, **_kwargs
)
750 def Clear(self
, *_args
, **_kwargs
):
751 val
= controlsc
.wxTextCtrl_Clear(self
, *_args
, **_kwargs
)
753 def Replace(self
, *_args
, **_kwargs
):
754 val
= controlsc
.wxTextCtrl_Replace(self
, *_args
, **_kwargs
)
756 def Remove(self
, *_args
, **_kwargs
):
757 val
= controlsc
.wxTextCtrl_Remove(self
, *_args
, **_kwargs
)
759 def LoadFile(self
, *_args
, **_kwargs
):
760 val
= controlsc
.wxTextCtrl_LoadFile(self
, *_args
, **_kwargs
)
762 def SaveFile(self
, *_args
, **_kwargs
):
763 val
= controlsc
.wxTextCtrl_SaveFile(self
, *_args
, **_kwargs
)
765 def MarkDirty(self
, *_args
, **_kwargs
):
766 val
= controlsc
.wxTextCtrl_MarkDirty(self
, *_args
, **_kwargs
)
768 def DiscardEdits(self
, *_args
, **_kwargs
):
769 val
= controlsc
.wxTextCtrl_DiscardEdits(self
, *_args
, **_kwargs
)
771 def SetMaxLength(self
, *_args
, **_kwargs
):
772 val
= controlsc
.wxTextCtrl_SetMaxLength(self
, *_args
, **_kwargs
)
774 def WriteText(self
, *_args
, **_kwargs
):
775 val
= controlsc
.wxTextCtrl_WriteText(self
, *_args
, **_kwargs
)
777 def AppendText(self
, *_args
, **_kwargs
):
778 val
= controlsc
.wxTextCtrl_AppendText(self
, *_args
, **_kwargs
)
780 def EmulateKeyPress(self
, *_args
, **_kwargs
):
781 val
= controlsc
.wxTextCtrl_EmulateKeyPress(self
, *_args
, **_kwargs
)
783 def SetStyle(self
, *_args
, **_kwargs
):
784 val
= controlsc
.wxTextCtrl_SetStyle(self
, *_args
, **_kwargs
)
786 def SetDefaultStyle(self
, *_args
, **_kwargs
):
787 val
= controlsc
.wxTextCtrl_SetDefaultStyle(self
, *_args
, **_kwargs
)
789 def GetDefaultStyle(self
, *_args
, **_kwargs
):
790 val
= controlsc
.wxTextCtrl_GetDefaultStyle(self
, *_args
, **_kwargs
)
791 if val
: val
= wxTextAttrPtr(val
)
793 def GetStyle(self
, *_args
, **_kwargs
):
794 val
= controlsc
.wxTextCtrl_GetStyle(self
, *_args
, **_kwargs
)
796 def XYToPosition(self
, *_args
, **_kwargs
):
797 val
= controlsc
.wxTextCtrl_XYToPosition(self
, *_args
, **_kwargs
)
799 def PositionToXY(self
, *_args
, **_kwargs
):
800 val
= controlsc
.wxTextCtrl_PositionToXY(self
, *_args
, **_kwargs
)
802 def ShowPosition(self
, *_args
, **_kwargs
):
803 val
= controlsc
.wxTextCtrl_ShowPosition(self
, *_args
, **_kwargs
)
805 def Copy(self
, *_args
, **_kwargs
):
806 val
= controlsc
.wxTextCtrl_Copy(self
, *_args
, **_kwargs
)
808 def Cut(self
, *_args
, **_kwargs
):
809 val
= controlsc
.wxTextCtrl_Cut(self
, *_args
, **_kwargs
)
811 def Paste(self
, *_args
, **_kwargs
):
812 val
= controlsc
.wxTextCtrl_Paste(self
, *_args
, **_kwargs
)
814 def CanCopy(self
, *_args
, **_kwargs
):
815 val
= controlsc
.wxTextCtrl_CanCopy(self
, *_args
, **_kwargs
)
817 def CanCut(self
, *_args
, **_kwargs
):
818 val
= controlsc
.wxTextCtrl_CanCut(self
, *_args
, **_kwargs
)
820 def CanPaste(self
, *_args
, **_kwargs
):
821 val
= controlsc
.wxTextCtrl_CanPaste(self
, *_args
, **_kwargs
)
823 def Undo(self
, *_args
, **_kwargs
):
824 val
= controlsc
.wxTextCtrl_Undo(self
, *_args
, **_kwargs
)
826 def Redo(self
, *_args
, **_kwargs
):
827 val
= controlsc
.wxTextCtrl_Redo(self
, *_args
, **_kwargs
)
829 def CanUndo(self
, *_args
, **_kwargs
):
830 val
= controlsc
.wxTextCtrl_CanUndo(self
, *_args
, **_kwargs
)
832 def CanRedo(self
, *_args
, **_kwargs
):
833 val
= controlsc
.wxTextCtrl_CanRedo(self
, *_args
, **_kwargs
)
835 def SetInsertionPoint(self
, *_args
, **_kwargs
):
836 val
= controlsc
.wxTextCtrl_SetInsertionPoint(self
, *_args
, **_kwargs
)
838 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
839 val
= controlsc
.wxTextCtrl_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
841 def GetInsertionPoint(self
, *_args
, **_kwargs
):
842 val
= controlsc
.wxTextCtrl_GetInsertionPoint(self
, *_args
, **_kwargs
)
844 def GetLastPosition(self
, *_args
, **_kwargs
):
845 val
= controlsc
.wxTextCtrl_GetLastPosition(self
, *_args
, **_kwargs
)
847 def SetSelection(self
, *_args
, **_kwargs
):
848 val
= controlsc
.wxTextCtrl_SetSelection(self
, *_args
, **_kwargs
)
850 def SelectAll(self
, *_args
, **_kwargs
):
851 val
= controlsc
.wxTextCtrl_SelectAll(self
, *_args
, **_kwargs
)
853 def SetEditable(self
, *_args
, **_kwargs
):
854 val
= controlsc
.wxTextCtrl_SetEditable(self
, *_args
, **_kwargs
)
856 def IsSingleLine(self
, *_args
, **_kwargs
):
857 val
= controlsc
.wxTextCtrl_IsSingleLine(self
, *_args
, **_kwargs
)
859 def IsMultiLine(self
, *_args
, **_kwargs
):
860 val
= controlsc
.wxTextCtrl_IsMultiLine(self
, *_args
, **_kwargs
)
862 def write(self
, *_args
, **_kwargs
):
863 val
= controlsc
.wxTextCtrl_write(self
, *_args
, **_kwargs
)
865 def GetString(self
, *_args
, **_kwargs
):
866 val
= controlsc
.wxTextCtrl_GetString(self
, *_args
, **_kwargs
)
869 return "<%s.%s instance; proxy of C++ wxTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
870 class wxTextCtrl(wxTextCtrlPtr
):
871 def __init__(self
,*_args
,**_kwargs
):
872 self
.this
= controlsc
.new_wxTextCtrl(*_args
,**_kwargs
)
874 self
._setOORInfo
(self
)
878 def wxPreTextCtrl(*_args
,**_kwargs
):
879 val
= wxTextCtrlPtr(controlsc
.new_wxPreTextCtrl(*_args
,**_kwargs
))
885 class wxScrollBarPtr(wxControlPtr
):
886 def __init__(self
,this
):
889 def Create(self
, *_args
, **_kwargs
):
890 val
= controlsc
.wxScrollBar_Create(self
, *_args
, **_kwargs
)
892 def GetRange(self
, *_args
, **_kwargs
):
893 val
= controlsc
.wxScrollBar_GetRange(self
, *_args
, **_kwargs
)
895 def GetPageSize(self
, *_args
, **_kwargs
):
896 val
= controlsc
.wxScrollBar_GetPageSize(self
, *_args
, **_kwargs
)
898 def GetThumbPosition(self
, *_args
, **_kwargs
):
899 val
= controlsc
.wxScrollBar_GetThumbPosition(self
, *_args
, **_kwargs
)
901 def GetThumbSize(self
, *_args
, **_kwargs
):
902 val
= controlsc
.wxScrollBar_GetThumbSize(self
, *_args
, **_kwargs
)
904 def GetThumbLength(self
, *_args
, **_kwargs
):
905 val
= controlsc
.wxScrollBar_GetThumbLength(self
, *_args
, **_kwargs
)
907 def IsVertical(self
, *_args
, **_kwargs
):
908 val
= controlsc
.wxScrollBar_IsVertical(self
, *_args
, **_kwargs
)
910 def SetThumbPosition(self
, *_args
, **_kwargs
):
911 val
= controlsc
.wxScrollBar_SetThumbPosition(self
, *_args
, **_kwargs
)
913 def SetScrollbar(self
, *_args
, **_kwargs
):
914 val
= controlsc
.wxScrollBar_SetScrollbar(self
, *_args
, **_kwargs
)
917 return "<%s.%s instance; proxy of C++ wxScrollBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
918 class wxScrollBar(wxScrollBarPtr
):
919 def __init__(self
,*_args
,**_kwargs
):
920 self
.this
= controlsc
.new_wxScrollBar(*_args
,**_kwargs
)
922 self
._setOORInfo
(self
)
926 def wxPreScrollBar(*_args
,**_kwargs
):
927 val
= wxScrollBarPtr(controlsc
.new_wxPreScrollBar(*_args
,**_kwargs
))
933 class wxSpinButtonPtr(wxControlPtr
):
934 def __init__(self
,this
):
937 def Create(self
, *_args
, **_kwargs
):
938 val
= controlsc
.wxSpinButton_Create(self
, *_args
, **_kwargs
)
940 def GetMax(self
, *_args
, **_kwargs
):
941 val
= controlsc
.wxSpinButton_GetMax(self
, *_args
, **_kwargs
)
943 def GetMin(self
, *_args
, **_kwargs
):
944 val
= controlsc
.wxSpinButton_GetMin(self
, *_args
, **_kwargs
)
946 def GetValue(self
, *_args
, **_kwargs
):
947 val
= controlsc
.wxSpinButton_GetValue(self
, *_args
, **_kwargs
)
949 def SetRange(self
, *_args
, **_kwargs
):
950 val
= controlsc
.wxSpinButton_SetRange(self
, *_args
, **_kwargs
)
952 def SetValue(self
, *_args
, **_kwargs
):
953 val
= controlsc
.wxSpinButton_SetValue(self
, *_args
, **_kwargs
)
956 return "<%s.%s instance; proxy of C++ wxSpinButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
957 class wxSpinButton(wxSpinButtonPtr
):
958 def __init__(self
,*_args
,**_kwargs
):
959 self
.this
= controlsc
.new_wxSpinButton(*_args
,**_kwargs
)
961 self
._setOORInfo
(self
)
965 def wxPreSpinButton(*_args
,**_kwargs
):
966 val
= wxSpinButtonPtr(controlsc
.new_wxPreSpinButton(*_args
,**_kwargs
))
972 class wxStaticBitmapPtr(wxControlPtr
):
973 def __init__(self
,this
):
976 def Create(self
, *_args
, **_kwargs
):
977 val
= controlsc
.wxStaticBitmap_Create(self
, *_args
, **_kwargs
)
979 def GetBitmap(self
, *_args
, **_kwargs
):
980 val
= controlsc
.wxStaticBitmap_GetBitmap(self
, *_args
, **_kwargs
)
981 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
983 def SetBitmap(self
, *_args
, **_kwargs
):
984 val
= controlsc
.wxStaticBitmap_SetBitmap(self
, *_args
, **_kwargs
)
986 def SetIcon(self
, *_args
, **_kwargs
):
987 val
= controlsc
.wxStaticBitmap_SetIcon(self
, *_args
, **_kwargs
)
990 return "<%s.%s instance; proxy of C++ wxStaticBitmap instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
991 class wxStaticBitmap(wxStaticBitmapPtr
):
992 def __init__(self
,*_args
,**_kwargs
):
993 self
.this
= controlsc
.new_wxStaticBitmap(*_args
,**_kwargs
)
995 self
._setOORInfo
(self
)
999 def wxPreStaticBitmap(*_args
,**_kwargs
):
1000 val
= wxStaticBitmapPtr(controlsc
.new_wxPreStaticBitmap(*_args
,**_kwargs
))
1002 val
._setOORInfo
(val
)
1006 class wxRadioBoxPtr(wxControlPtr
):
1007 def __init__(self
,this
):
1010 def Create(self
, *_args
, **_kwargs
):
1011 val
= controlsc
.wxRadioBox_Create(self
, *_args
, **_kwargs
)
1013 def Enable(self
, *_args
, **_kwargs
):
1014 val
= controlsc
.wxRadioBox_Enable(self
, *_args
, **_kwargs
)
1016 def EnableItem(self
, *_args
, **_kwargs
):
1017 val
= controlsc
.wxRadioBox_EnableItem(self
, *_args
, **_kwargs
)
1019 def FindString(self
, *_args
, **_kwargs
):
1020 val
= controlsc
.wxRadioBox_FindString(self
, *_args
, **_kwargs
)
1022 def GetString(self
, *_args
, **_kwargs
):
1023 val
= controlsc
.wxRadioBox_GetString(self
, *_args
, **_kwargs
)
1025 def SetString(self
, *_args
, **_kwargs
):
1026 val
= controlsc
.wxRadioBox_SetString(self
, *_args
, **_kwargs
)
1028 def GetSelection(self
, *_args
, **_kwargs
):
1029 val
= controlsc
.wxRadioBox_GetSelection(self
, *_args
, **_kwargs
)
1031 def GetStringSelection(self
, *_args
, **_kwargs
):
1032 val
= controlsc
.wxRadioBox_GetStringSelection(self
, *_args
, **_kwargs
)
1034 def GetCount(self
, *_args
, **_kwargs
):
1035 val
= controlsc
.wxRadioBox_GetCount(self
, *_args
, **_kwargs
)
1037 def SetSelection(self
, *_args
, **_kwargs
):
1038 val
= controlsc
.wxRadioBox_SetSelection(self
, *_args
, **_kwargs
)
1040 def SetStringSelection(self
, *_args
, **_kwargs
):
1041 val
= controlsc
.wxRadioBox_SetStringSelection(self
, *_args
, **_kwargs
)
1043 def Show(self
, *_args
, **_kwargs
):
1044 val
= controlsc
.wxRadioBox_Show(self
, *_args
, **_kwargs
)
1046 def ShowItem(self
, *_args
, **_kwargs
):
1047 val
= controlsc
.wxRadioBox_ShowItem(self
, *_args
, **_kwargs
)
1050 return "<%s.%s instance; proxy of C++ wxRadioBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1052 GetItemLabel
= GetString
1053 SetItemLabel
= SetString
1056 class wxRadioBox(wxRadioBoxPtr
):
1057 def __init__(self
,*_args
,**_kwargs
):
1058 self
.this
= controlsc
.new_wxRadioBox(*_args
,**_kwargs
)
1060 self
._setOORInfo
(self
)
1064 def wxPreRadioBox(*_args
,**_kwargs
):
1065 val
= wxRadioBoxPtr(controlsc
.new_wxPreRadioBox(*_args
,**_kwargs
))
1067 val
._setOORInfo
(val
)
1071 class wxRadioButtonPtr(wxControlPtr
):
1072 def __init__(self
,this
):
1075 def Create(self
, *_args
, **_kwargs
):
1076 val
= controlsc
.wxRadioButton_Create(self
, *_args
, **_kwargs
)
1078 def GetValue(self
, *_args
, **_kwargs
):
1079 val
= controlsc
.wxRadioButton_GetValue(self
, *_args
, **_kwargs
)
1081 def SetValue(self
, *_args
, **_kwargs
):
1082 val
= controlsc
.wxRadioButton_SetValue(self
, *_args
, **_kwargs
)
1085 return "<%s.%s instance; proxy of C++ wxRadioButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1086 class wxRadioButton(wxRadioButtonPtr
):
1087 def __init__(self
,*_args
,**_kwargs
):
1088 self
.this
= controlsc
.new_wxRadioButton(*_args
,**_kwargs
)
1090 self
._setOORInfo
(self
)
1094 def wxPreRadioButton(*_args
,**_kwargs
):
1095 val
= wxRadioButtonPtr(controlsc
.new_wxPreRadioButton(*_args
,**_kwargs
))
1097 val
._setOORInfo
(val
)
1101 class wxSliderPtr(wxControlPtr
):
1102 def __init__(self
,this
):
1105 def Create(self
, *_args
, **_kwargs
):
1106 val
= controlsc
.wxSlider_Create(self
, *_args
, **_kwargs
)
1108 def ClearSel(self
, *_args
, **_kwargs
):
1109 val
= controlsc
.wxSlider_ClearSel(self
, *_args
, **_kwargs
)
1111 def ClearTicks(self
, *_args
, **_kwargs
):
1112 val
= controlsc
.wxSlider_ClearTicks(self
, *_args
, **_kwargs
)
1114 def GetLineSize(self
, *_args
, **_kwargs
):
1115 val
= controlsc
.wxSlider_GetLineSize(self
, *_args
, **_kwargs
)
1117 def GetMax(self
, *_args
, **_kwargs
):
1118 val
= controlsc
.wxSlider_GetMax(self
, *_args
, **_kwargs
)
1120 def GetMin(self
, *_args
, **_kwargs
):
1121 val
= controlsc
.wxSlider_GetMin(self
, *_args
, **_kwargs
)
1123 def GetPageSize(self
, *_args
, **_kwargs
):
1124 val
= controlsc
.wxSlider_GetPageSize(self
, *_args
, **_kwargs
)
1126 def GetSelEnd(self
, *_args
, **_kwargs
):
1127 val
= controlsc
.wxSlider_GetSelEnd(self
, *_args
, **_kwargs
)
1129 def GetSelStart(self
, *_args
, **_kwargs
):
1130 val
= controlsc
.wxSlider_GetSelStart(self
, *_args
, **_kwargs
)
1132 def GetThumbLength(self
, *_args
, **_kwargs
):
1133 val
= controlsc
.wxSlider_GetThumbLength(self
, *_args
, **_kwargs
)
1135 def GetTickFreq(self
, *_args
, **_kwargs
):
1136 val
= controlsc
.wxSlider_GetTickFreq(self
, *_args
, **_kwargs
)
1138 def GetValue(self
, *_args
, **_kwargs
):
1139 val
= controlsc
.wxSlider_GetValue(self
, *_args
, **_kwargs
)
1141 def SetRange(self
, *_args
, **_kwargs
):
1142 val
= controlsc
.wxSlider_SetRange(self
, *_args
, **_kwargs
)
1144 def SetTickFreq(self
, *_args
, **_kwargs
):
1145 val
= controlsc
.wxSlider_SetTickFreq(self
, *_args
, **_kwargs
)
1147 def SetLineSize(self
, *_args
, **_kwargs
):
1148 val
= controlsc
.wxSlider_SetLineSize(self
, *_args
, **_kwargs
)
1150 def SetPageSize(self
, *_args
, **_kwargs
):
1151 val
= controlsc
.wxSlider_SetPageSize(self
, *_args
, **_kwargs
)
1153 def SetSelection(self
, *_args
, **_kwargs
):
1154 val
= controlsc
.wxSlider_SetSelection(self
, *_args
, **_kwargs
)
1156 def SetThumbLength(self
, *_args
, **_kwargs
):
1157 val
= controlsc
.wxSlider_SetThumbLength(self
, *_args
, **_kwargs
)
1159 def SetTick(self
, *_args
, **_kwargs
):
1160 val
= controlsc
.wxSlider_SetTick(self
, *_args
, **_kwargs
)
1162 def SetValue(self
, *_args
, **_kwargs
):
1163 val
= controlsc
.wxSlider_SetValue(self
, *_args
, **_kwargs
)
1166 return "<%s.%s instance; proxy of C++ wxSlider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1167 class wxSlider(wxSliderPtr
):
1168 def __init__(self
,*_args
,**_kwargs
):
1169 self
.this
= controlsc
.new_wxSlider(*_args
,**_kwargs
)
1171 self
._setOORInfo
(self
)
1175 def wxPreSlider(*_args
,**_kwargs
):
1176 val
= wxSliderPtr(controlsc
.new_wxPreSlider(*_args
,**_kwargs
))
1178 val
._setOORInfo
(val
)
1182 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1183 def __init__(self
,this
):
1186 def Create(self
, *_args
, **_kwargs
):
1187 val
= controlsc
.wxSpinCtrl_Create(self
, *_args
, **_kwargs
)
1189 def GetMax(self
, *_args
, **_kwargs
):
1190 val
= controlsc
.wxSpinCtrl_GetMax(self
, *_args
, **_kwargs
)
1192 def GetMin(self
, *_args
, **_kwargs
):
1193 val
= controlsc
.wxSpinCtrl_GetMin(self
, *_args
, **_kwargs
)
1195 def GetValue(self
, *_args
, **_kwargs
):
1196 val
= controlsc
.wxSpinCtrl_GetValue(self
, *_args
, **_kwargs
)
1198 def SetRange(self
, *_args
, **_kwargs
):
1199 val
= controlsc
.wxSpinCtrl_SetRange(self
, *_args
, **_kwargs
)
1201 def SetValue(self
, *_args
, **_kwargs
):
1202 val
= controlsc
.wxSpinCtrl_SetValue(self
, *_args
, **_kwargs
)
1204 def SetSelection(self
, *_args
, **_kwargs
):
1205 val
= controlsc
.wxSpinCtrl_SetSelection(self
, *_args
, **_kwargs
)
1208 return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1209 class wxSpinCtrl(wxSpinCtrlPtr
):
1210 def __init__(self
,*_args
,**_kwargs
):
1211 self
.this
= controlsc
.new_wxSpinCtrl(*_args
,**_kwargs
)
1213 self
._setOORInfo
(self
)
1217 def wxPreSpinCtrl(*_args
,**_kwargs
):
1218 val
= wxSpinCtrlPtr(controlsc
.new_wxPreSpinCtrl(*_args
,**_kwargs
))
1220 val
._setOORInfo
(val
)
1224 class wxToggleButtonPtr(wxControlPtr
):
1225 def __init__(self
,this
):
1228 def Create(self
, *_args
, **_kwargs
):
1229 val
= controlsc
.wxToggleButton_Create(self
, *_args
, **_kwargs
)
1231 def SetValue(self
, *_args
, **_kwargs
):
1232 val
= controlsc
.wxToggleButton_SetValue(self
, *_args
, **_kwargs
)
1234 def GetValue(self
, *_args
, **_kwargs
):
1235 val
= controlsc
.wxToggleButton_GetValue(self
, *_args
, **_kwargs
)
1237 def SetLabel(self
, *_args
, **_kwargs
):
1238 val
= controlsc
.wxToggleButton_SetLabel(self
, *_args
, **_kwargs
)
1241 return "<%s.%s instance; proxy of C++ wxToggleButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1242 class wxToggleButton(wxToggleButtonPtr
):
1243 def __init__(self
,*_args
,**_kwargs
):
1244 self
.this
= controlsc
.new_wxToggleButton(*_args
,**_kwargs
)
1246 self
._setOORInfo
(self
)
1250 def wxPreToggleButton(*_args
,**_kwargs
):
1251 val
= wxToggleButtonPtr(controlsc
.new_wxPreToggleButton(*_args
,**_kwargs
))
1253 val
._setOORInfo
(val
)
1259 #-------------- FUNCTION WRAPPERS ------------------
1261 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1262 val
= controlsc
.wxButton_GetDefaultSize(*_args
,**_kwargs
)
1263 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1266 def wxTextAttr_Combine(*_args
, **_kwargs
):
1267 val
= controlsc
.wxTextAttr_Combine(*_args
,**_kwargs
)
1268 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1273 #-------------- VARIABLE WRAPPERS ------------------
1275 cvar
= controlsc
.cvar
1276 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1277 wxCHK_2STATE
= controlsc
.wxCHK_2STATE
1278 wxCHK_3STATE
= controlsc
.wxCHK_3STATE
1279 wxCHK_ALLOW_3RD_STATE_FOR_USER
= controlsc
.wxCHK_ALLOW_3RD_STATE_FOR_USER
1280 wxCHK_UNCHECKED
= controlsc
.wxCHK_UNCHECKED
1281 wxCHK_CHECKED
= controlsc
.wxCHK_CHECKED
1282 wxCHK_UNDETERMINED
= controlsc
.wxCHK_UNDETERMINED
1283 wxTE_NO_VSCROLL
= controlsc
.wxTE_NO_VSCROLL
1284 wxTE_AUTO_SCROLL
= controlsc
.wxTE_AUTO_SCROLL
1285 wxTE_READONLY
= controlsc
.wxTE_READONLY
1286 wxTE_MULTILINE
= controlsc
.wxTE_MULTILINE
1287 wxTE_PROCESS_TAB
= controlsc
.wxTE_PROCESS_TAB
1288 wxTE_LEFT
= controlsc
.wxTE_LEFT
1289 wxTE_CENTER
= controlsc
.wxTE_CENTER
1290 wxTE_RIGHT
= controlsc
.wxTE_RIGHT
1291 wxTE_CENTRE
= controlsc
.wxTE_CENTRE
1292 wxTE_RICH
= controlsc
.wxTE_RICH
1293 wxTE_PROCESS_ENTER
= controlsc
.wxTE_PROCESS_ENTER
1294 wxTE_PASSWORD
= controlsc
.wxTE_PASSWORD
1295 wxTE_AUTO_URL
= controlsc
.wxTE_AUTO_URL
1296 wxTE_NOHIDESEL
= controlsc
.wxTE_NOHIDESEL
1297 wxTE_DONTWRAP
= controlsc
.wxTE_DONTWRAP
1298 wxTE_LINEWRAP
= controlsc
.wxTE_LINEWRAP
1299 wxTE_WORDWRAP
= controlsc
.wxTE_WORDWRAP
1300 wxTE_RICH2
= controlsc
.wxTE_RICH2
1301 wxTEXT_ATTR_TEXT_COLOUR
= controlsc
.wxTEXT_ATTR_TEXT_COLOUR
1302 wxTEXT_ATTR_BACKGROUND_COLOUR
= controlsc
.wxTEXT_ATTR_BACKGROUND_COLOUR
1303 wxTEXT_ATTR_FONT_FACE
= controlsc
.wxTEXT_ATTR_FONT_FACE
1304 wxTEXT_ATTR_FONT_SIZE
= controlsc
.wxTEXT_ATTR_FONT_SIZE
1305 wxTEXT_ATTR_FONT_WEIGHT
= controlsc
.wxTEXT_ATTR_FONT_WEIGHT
1306 wxTEXT_ATTR_FONT_ITALIC
= controlsc
.wxTEXT_ATTR_FONT_ITALIC
1307 wxTEXT_ATTR_FONT_UNDERLINE
= controlsc
.wxTEXT_ATTR_FONT_UNDERLINE
1308 wxTEXT_ATTR_FONT
= controlsc
.wxTEXT_ATTR_FONT
1309 wxTEXT_ATTR_ALIGNMENT
= controlsc
.wxTEXT_ATTR_ALIGNMENT
1310 wxTEXT_ATTR_LEFT_INDENT
= controlsc
.wxTEXT_ATTR_LEFT_INDENT
1311 wxTEXT_ATTR_RIGHT_INDENT
= controlsc
.wxTEXT_ATTR_RIGHT_INDENT
1312 wxTEXT_ATTR_TABS
= controlsc
.wxTEXT_ATTR_TABS
1313 wxTEXT_ALIGNMENT_DEFAULT
= controlsc
.wxTEXT_ALIGNMENT_DEFAULT
1314 wxTEXT_ALIGNMENT_LEFT
= controlsc
.wxTEXT_ALIGNMENT_LEFT
1315 wxTEXT_ALIGNMENT_CENTRE
= controlsc
.wxTEXT_ALIGNMENT_CENTRE
1316 wxTEXT_ALIGNMENT_CENTER
= controlsc
.wxTEXT_ALIGNMENT_CENTER
1317 wxTEXT_ALIGNMENT_RIGHT
= controlsc
.wxTEXT_ALIGNMENT_RIGHT
1318 wxTEXT_ALIGNMENT_JUSTIFIED
= controlsc
.wxTEXT_ALIGNMENT_JUSTIFIED
1319 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED