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
)
210 return "<%s.%s instance; proxy of C++ wxCheckBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
211 class wxCheckBox(wxCheckBoxPtr
):
212 def __init__(self
,*_args
,**_kwargs
):
213 self
.this
= controlsc
.new_wxCheckBox(*_args
,**_kwargs
)
215 self
._setOORInfo
(self
)
219 def wxPreCheckBox(*_args
,**_kwargs
):
220 val
= wxCheckBoxPtr(controlsc
.new_wxPreCheckBox(*_args
,**_kwargs
))
226 class wxChoicePtr(wxControlWithItemsPtr
):
227 def __init__(self
,this
):
230 def Create(self
, *_args
, **_kwargs
):
231 val
= controlsc
.wxChoice_Create(self
, *_args
, **_kwargs
)
233 def Clear(self
, *_args
, **_kwargs
):
234 val
= controlsc
.wxChoice_Clear(self
, *_args
, **_kwargs
)
236 def GetColumns(self
, *_args
, **_kwargs
):
237 val
= controlsc
.wxChoice_GetColumns(self
, *_args
, **_kwargs
)
239 def SetColumns(self
, *_args
, **_kwargs
):
240 val
= controlsc
.wxChoice_SetColumns(self
, *_args
, **_kwargs
)
242 def SetSelection(self
, *_args
, **_kwargs
):
243 val
= controlsc
.wxChoice_SetSelection(self
, *_args
, **_kwargs
)
245 def SetStringSelection(self
, *_args
, **_kwargs
):
246 val
= controlsc
.wxChoice_SetStringSelection(self
, *_args
, **_kwargs
)
248 def SetString(self
, *_args
, **_kwargs
):
249 val
= controlsc
.wxChoice_SetString(self
, *_args
, **_kwargs
)
252 return "<%s.%s instance; proxy of C++ wxChoice instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
254 Select
= SetSelection
256 class wxChoice(wxChoicePtr
):
257 def __init__(self
,*_args
,**_kwargs
):
258 self
.this
= controlsc
.new_wxChoice(*_args
,**_kwargs
)
260 self
._setOORInfo
(self
)
264 def wxPreChoice(*_args
,**_kwargs
):
265 val
= wxChoicePtr(controlsc
.new_wxPreChoice(*_args
,**_kwargs
))
271 class wxComboBoxPtr(wxControlPtr
):
272 def __init__(self
,this
):
275 def Create(self
, *_args
, **_kwargs
):
276 val
= controlsc
.wxComboBox_Create(self
, *_args
, **_kwargs
)
278 def Copy(self
, *_args
, **_kwargs
):
279 val
= controlsc
.wxComboBox_Copy(self
, *_args
, **_kwargs
)
281 def Cut(self
, *_args
, **_kwargs
):
282 val
= controlsc
.wxComboBox_Cut(self
, *_args
, **_kwargs
)
284 def GetInsertionPoint(self
, *_args
, **_kwargs
):
285 val
= controlsc
.wxComboBox_GetInsertionPoint(self
, *_args
, **_kwargs
)
287 def GetLastPosition(self
, *_args
, **_kwargs
):
288 val
= controlsc
.wxComboBox_GetLastPosition(self
, *_args
, **_kwargs
)
290 def GetValue(self
, *_args
, **_kwargs
):
291 val
= controlsc
.wxComboBox_GetValue(self
, *_args
, **_kwargs
)
293 def Paste(self
, *_args
, **_kwargs
):
294 val
= controlsc
.wxComboBox_Paste(self
, *_args
, **_kwargs
)
296 def Replace(self
, *_args
, **_kwargs
):
297 val
= controlsc
.wxComboBox_Replace(self
, *_args
, **_kwargs
)
299 def Remove(self
, *_args
, **_kwargs
):
300 val
= controlsc
.wxComboBox_Remove(self
, *_args
, **_kwargs
)
302 def SetInsertionPoint(self
, *_args
, **_kwargs
):
303 val
= controlsc
.wxComboBox_SetInsertionPoint(self
, *_args
, **_kwargs
)
305 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
306 val
= controlsc
.wxComboBox_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
308 def SetSelection(self
, *_args
, **_kwargs
):
309 val
= controlsc
.wxComboBox_SetSelection(self
, *_args
, **_kwargs
)
311 def SetMark(self
, *_args
, **_kwargs
):
312 val
= controlsc
.wxComboBox_SetMark(self
, *_args
, **_kwargs
)
314 def SetValue(self
, *_args
, **_kwargs
):
315 val
= controlsc
.wxComboBox_SetValue(self
, *_args
, **_kwargs
)
317 def SetEditable(self
, *_args
, **_kwargs
):
318 val
= controlsc
.wxComboBox_SetEditable(self
, *_args
, **_kwargs
)
320 def Clear(self
, *_args
, **_kwargs
):
321 val
= controlsc
.wxComboBox_Clear(self
, *_args
, **_kwargs
)
323 def Delete(self
, *_args
, **_kwargs
):
324 val
= controlsc
.wxComboBox_Delete(self
, *_args
, **_kwargs
)
326 def GetCount(self
, *_args
, **_kwargs
):
327 val
= controlsc
.wxComboBox_GetCount(self
, *_args
, **_kwargs
)
329 def GetString(self
, *_args
, **_kwargs
):
330 val
= controlsc
.wxComboBox_GetString(self
, *_args
, **_kwargs
)
332 def FindString(self
, *_args
, **_kwargs
):
333 val
= controlsc
.wxComboBox_FindString(self
, *_args
, **_kwargs
)
335 def GetSelection(self
, *_args
, **_kwargs
):
336 val
= controlsc
.wxComboBox_GetSelection(self
, *_args
, **_kwargs
)
338 def GetStringSelection(self
, *_args
, **_kwargs
):
339 val
= controlsc
.wxComboBox_GetStringSelection(self
, *_args
, **_kwargs
)
341 def Append(self
, *_args
, **_kwargs
):
342 val
= controlsc
.wxComboBox_Append(self
, *_args
, **_kwargs
)
344 def GetClientData(self
, *_args
, **_kwargs
):
345 val
= controlsc
.wxComboBox_GetClientData(self
, *_args
, **_kwargs
)
347 def SetClientData(self
, *_args
, **_kwargs
):
348 val
= controlsc
.wxComboBox_SetClientData(self
, *_args
, **_kwargs
)
351 return "<%s.%s instance; proxy of C++ wxComboBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
353 Select
= SetSelection
354 class wxComboBox(wxComboBoxPtr
):
355 def __init__(self
,*_args
,**_kwargs
):
356 self
.this
= controlsc
.new_wxComboBox(*_args
,**_kwargs
)
358 self
._setOORInfo
(self
)
362 def wxPreComboBox(*_args
,**_kwargs
):
363 val
= wxComboBoxPtr(controlsc
.new_wxPreComboBox(*_args
,**_kwargs
))
369 class wxGaugePtr(wxControlPtr
):
370 def __init__(self
,this
):
373 def Create(self
, *_args
, **_kwargs
):
374 val
= controlsc
.wxGauge_Create(self
, *_args
, **_kwargs
)
376 def GetBezelFace(self
, *_args
, **_kwargs
):
377 val
= controlsc
.wxGauge_GetBezelFace(self
, *_args
, **_kwargs
)
379 def GetRange(self
, *_args
, **_kwargs
):
380 val
= controlsc
.wxGauge_GetRange(self
, *_args
, **_kwargs
)
382 def GetShadowWidth(self
, *_args
, **_kwargs
):
383 val
= controlsc
.wxGauge_GetShadowWidth(self
, *_args
, **_kwargs
)
385 def GetValue(self
, *_args
, **_kwargs
):
386 val
= controlsc
.wxGauge_GetValue(self
, *_args
, **_kwargs
)
388 def SetBezelFace(self
, *_args
, **_kwargs
):
389 val
= controlsc
.wxGauge_SetBezelFace(self
, *_args
, **_kwargs
)
391 def SetRange(self
, *_args
, **_kwargs
):
392 val
= controlsc
.wxGauge_SetRange(self
, *_args
, **_kwargs
)
394 def SetShadowWidth(self
, *_args
, **_kwargs
):
395 val
= controlsc
.wxGauge_SetShadowWidth(self
, *_args
, **_kwargs
)
397 def SetValue(self
, *_args
, **_kwargs
):
398 val
= controlsc
.wxGauge_SetValue(self
, *_args
, **_kwargs
)
401 return "<%s.%s instance; proxy of C++ wxGauge instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
402 class wxGauge(wxGaugePtr
):
403 def __init__(self
,*_args
,**_kwargs
):
404 self
.this
= controlsc
.new_wxGauge(*_args
,**_kwargs
)
406 self
._setOORInfo
(self
)
410 def wxPreGauge(*_args
,**_kwargs
):
411 val
= wxGaugePtr(controlsc
.new_wxPreGauge(*_args
,**_kwargs
))
417 class wxStaticBoxPtr(wxControlPtr
):
418 def __init__(self
,this
):
421 def Create(self
, *_args
, **_kwargs
):
422 val
= controlsc
.wxStaticBox_Create(self
, *_args
, **_kwargs
)
425 return "<%s.%s instance; proxy of C++ wxStaticBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
426 class wxStaticBox(wxStaticBoxPtr
):
427 def __init__(self
,*_args
,**_kwargs
):
428 self
.this
= controlsc
.new_wxStaticBox(*_args
,**_kwargs
)
430 self
._setOORInfo
(self
)
434 def wxPreStaticBox(*_args
,**_kwargs
):
435 val
= wxStaticBoxPtr(controlsc
.new_wxPreStaticBox(*_args
,**_kwargs
))
441 class wxStaticLinePtr(wxControlPtr
):
442 def __init__(self
,this
):
445 def Create(self
, *_args
, **_kwargs
):
446 val
= controlsc
.wxStaticLine_Create(self
, *_args
, **_kwargs
)
449 return "<%s.%s instance; proxy of C++ wxStaticLine instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
450 class wxStaticLine(wxStaticLinePtr
):
451 def __init__(self
,*_args
,**_kwargs
):
452 self
.this
= controlsc
.new_wxStaticLine(*_args
,**_kwargs
)
454 self
._setOORInfo
(self
)
458 def wxPreStaticLine(*_args
,**_kwargs
):
459 val
= wxStaticLinePtr(controlsc
.new_wxPreStaticLine(*_args
,**_kwargs
))
465 class wxStaticTextPtr(wxControlPtr
):
466 def __init__(self
,this
):
469 def Create(self
, *_args
, **_kwargs
):
470 val
= controlsc
.wxStaticText_Create(self
, *_args
, **_kwargs
)
472 def GetLabel(self
, *_args
, **_kwargs
):
473 val
= controlsc
.wxStaticText_GetLabel(self
, *_args
, **_kwargs
)
475 def SetLabel(self
, *_args
, **_kwargs
):
476 val
= controlsc
.wxStaticText_SetLabel(self
, *_args
, **_kwargs
)
479 return "<%s.%s instance; proxy of C++ wxStaticText instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
480 class wxStaticText(wxStaticTextPtr
):
481 def __init__(self
,*_args
,**_kwargs
):
482 self
.this
= controlsc
.new_wxStaticText(*_args
,**_kwargs
)
484 self
._setOORInfo
(self
)
488 def wxPreStaticText(*_args
,**_kwargs
):
489 val
= wxStaticTextPtr(controlsc
.new_wxPreStaticText(*_args
,**_kwargs
))
495 class wxListBoxPtr(wxControlWithItemsPtr
):
496 def __init__(self
,this
):
499 def Create(self
, *_args
, **_kwargs
):
500 val
= controlsc
.wxListBox_Create(self
, *_args
, **_kwargs
)
502 def Clear(self
, *_args
, **_kwargs
):
503 val
= controlsc
.wxListBox_Clear(self
, *_args
, **_kwargs
)
505 def Deselect(self
, *_args
, **_kwargs
):
506 val
= controlsc
.wxListBox_Deselect(self
, *_args
, **_kwargs
)
508 def GetSelections(self
, *_args
, **_kwargs
):
509 val
= controlsc
.wxListBox_GetSelections(self
, *_args
, **_kwargs
)
511 def InsertItems(self
, *_args
, **_kwargs
):
512 val
= controlsc
.wxListBox_InsertItems(self
, *_args
, **_kwargs
)
514 def IsSelected(self
, *_args
, **_kwargs
):
515 val
= controlsc
.wxListBox_IsSelected(self
, *_args
, **_kwargs
)
517 def Selected(self
, *_args
, **_kwargs
):
518 val
= controlsc
.wxListBox_Selected(self
, *_args
, **_kwargs
)
520 def Set(self
, *_args
, **_kwargs
):
521 val
= controlsc
.wxListBox_Set(self
, *_args
, **_kwargs
)
523 def SetFirstItem(self
, *_args
, **_kwargs
):
524 val
= controlsc
.wxListBox_SetFirstItem(self
, *_args
, **_kwargs
)
526 def SetFirstItemStr(self
, *_args
, **_kwargs
):
527 val
= controlsc
.wxListBox_SetFirstItemStr(self
, *_args
, **_kwargs
)
529 def SetSelection(self
, *_args
, **_kwargs
):
530 val
= controlsc
.wxListBox_SetSelection(self
, *_args
, **_kwargs
)
532 def SetString(self
, *_args
, **_kwargs
):
533 val
= controlsc
.wxListBox_SetString(self
, *_args
, **_kwargs
)
535 def SetStringSelection(self
, *_args
, **_kwargs
):
536 val
= controlsc
.wxListBox_SetStringSelection(self
, *_args
, **_kwargs
)
539 return "<%s.%s instance; proxy of C++ wxListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
540 class wxListBox(wxListBoxPtr
):
541 def __init__(self
,*_args
,**_kwargs
):
542 self
.this
= controlsc
.new_wxListBox(*_args
,**_kwargs
)
544 self
._setOORInfo
(self
)
548 def wxPreListBox(*_args
,**_kwargs
):
549 val
= wxListBoxPtr(controlsc
.new_wxPreListBox(*_args
,**_kwargs
))
555 class wxCheckListBoxPtr(wxListBoxPtr
):
556 def __init__(self
,this
):
559 def Create(self
, *_args
, **_kwargs
):
560 val
= controlsc
.wxCheckListBox_Create(self
, *_args
, **_kwargs
)
562 def IsChecked(self
, *_args
, **_kwargs
):
563 val
= controlsc
.wxCheckListBox_IsChecked(self
, *_args
, **_kwargs
)
565 def Check(self
, *_args
, **_kwargs
):
566 val
= controlsc
.wxCheckListBox_Check(self
, *_args
, **_kwargs
)
568 def InsertItems(self
, *_args
, **_kwargs
):
569 val
= controlsc
.wxCheckListBox_InsertItems(self
, *_args
, **_kwargs
)
571 def GetItemHeight(self
, *_args
, **_kwargs
):
572 val
= controlsc
.wxCheckListBox_GetItemHeight(self
, *_args
, **_kwargs
)
574 def HitTest(self
, *_args
, **_kwargs
):
575 val
= controlsc
.wxCheckListBox_HitTest(self
, *_args
, **_kwargs
)
577 def HitTestXY(self
, *_args
, **_kwargs
):
578 val
= controlsc
.wxCheckListBox_HitTestXY(self
, *_args
, **_kwargs
)
581 return "<%s.%s instance; proxy of C++ wxCheckListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
582 class wxCheckListBox(wxCheckListBoxPtr
):
583 def __init__(self
,*_args
,**_kwargs
):
584 self
.this
= controlsc
.new_wxCheckListBox(*_args
,**_kwargs
)
586 self
._setOORInfo
(self
)
590 def wxPreCheckListBox(*_args
,**_kwargs
):
591 val
= wxCheckListBoxPtr(controlsc
.new_wxPreCheckListBox(*_args
,**_kwargs
))
597 class wxTextAttrPtr
:
598 def __init__(self
,this
):
601 def __del__(self
, delfunc
=controlsc
.delete_wxTextAttr
):
602 if self
.thisown
== 1:
607 def Init(self
, *_args
, **_kwargs
):
608 val
= controlsc
.wxTextAttr_Init(self
, *_args
, **_kwargs
)
610 def SetTextColour(self
, *_args
, **_kwargs
):
611 val
= controlsc
.wxTextAttr_SetTextColour(self
, *_args
, **_kwargs
)
613 def SetBackgroundColour(self
, *_args
, **_kwargs
):
614 val
= controlsc
.wxTextAttr_SetBackgroundColour(self
, *_args
, **_kwargs
)
616 def SetFont(self
, *_args
, **_kwargs
):
617 val
= controlsc
.wxTextAttr_SetFont(self
, *_args
, **_kwargs
)
619 def SetAlignment(self
, *_args
, **_kwargs
):
620 val
= controlsc
.wxTextAttr_SetAlignment(self
, *_args
, **_kwargs
)
622 def SetTabs(self
, *_args
, **_kwargs
):
623 val
= controlsc
.wxTextAttr_SetTabs(self
, *_args
, **_kwargs
)
625 def SetLeftIndent(self
, *_args
, **_kwargs
):
626 val
= controlsc
.wxTextAttr_SetLeftIndent(self
, *_args
, **_kwargs
)
628 def SetRightIndent(self
, *_args
, **_kwargs
):
629 val
= controlsc
.wxTextAttr_SetRightIndent(self
, *_args
, **_kwargs
)
631 def SetFlags(self
, *_args
, **_kwargs
):
632 val
= controlsc
.wxTextAttr_SetFlags(self
, *_args
, **_kwargs
)
634 def HasTextColour(self
, *_args
, **_kwargs
):
635 val
= controlsc
.wxTextAttr_HasTextColour(self
, *_args
, **_kwargs
)
637 def HasBackgroundColour(self
, *_args
, **_kwargs
):
638 val
= controlsc
.wxTextAttr_HasBackgroundColour(self
, *_args
, **_kwargs
)
640 def HasFont(self
, *_args
, **_kwargs
):
641 val
= controlsc
.wxTextAttr_HasFont(self
, *_args
, **_kwargs
)
643 def HasAlignment(self
, *_args
, **_kwargs
):
644 val
= controlsc
.wxTextAttr_HasAlignment(self
, *_args
, **_kwargs
)
646 def HasTabs(self
, *_args
, **_kwargs
):
647 val
= controlsc
.wxTextAttr_HasTabs(self
, *_args
, **_kwargs
)
649 def HasLeftIndent(self
, *_args
, **_kwargs
):
650 val
= controlsc
.wxTextAttr_HasLeftIndent(self
, *_args
, **_kwargs
)
652 def HasRightIndent(self
, *_args
, **_kwargs
):
653 val
= controlsc
.wxTextAttr_HasRightIndent(self
, *_args
, **_kwargs
)
655 def HasFlag(self
, *_args
, **_kwargs
):
656 val
= controlsc
.wxTextAttr_HasFlag(self
, *_args
, **_kwargs
)
658 def GetTextColour(self
, *_args
, **_kwargs
):
659 val
= controlsc
.wxTextAttr_GetTextColour(self
, *_args
, **_kwargs
)
660 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
662 def GetBackgroundColour(self
, *_args
, **_kwargs
):
663 val
= controlsc
.wxTextAttr_GetBackgroundColour(self
, *_args
, **_kwargs
)
664 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
666 def GetFont(self
, *_args
, **_kwargs
):
667 val
= controlsc
.wxTextAttr_GetFont(self
, *_args
, **_kwargs
)
668 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
670 def GetAlignment(self
, *_args
, **_kwargs
):
671 val
= controlsc
.wxTextAttr_GetAlignment(self
, *_args
, **_kwargs
)
673 def GetTabs(self
, *_args
, **_kwargs
):
674 val
= controlsc
.wxTextAttr_GetTabs(self
, *_args
, **_kwargs
)
676 def GetLeftIndent(self
, *_args
, **_kwargs
):
677 val
= controlsc
.wxTextAttr_GetLeftIndent(self
, *_args
, **_kwargs
)
679 def GetRightIndent(self
, *_args
, **_kwargs
):
680 val
= controlsc
.wxTextAttr_GetRightIndent(self
, *_args
, **_kwargs
)
682 def GetFlags(self
, *_args
, **_kwargs
):
683 val
= controlsc
.wxTextAttr_GetFlags(self
, *_args
, **_kwargs
)
685 def IsDefault(self
, *_args
, **_kwargs
):
686 val
= controlsc
.wxTextAttr_IsDefault(self
, *_args
, **_kwargs
)
689 return "<%s.%s instance; proxy of C++ wxTextAttr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
690 class wxTextAttr(wxTextAttrPtr
):
691 def __init__(self
,*_args
,**_kwargs
):
692 self
.this
= controlsc
.new_wxTextAttr(*_args
,**_kwargs
)
698 class wxTextCtrlPtr(wxControlPtr
):
699 def __init__(self
,this
):
702 def Create(self
, *_args
, **_kwargs
):
703 val
= controlsc
.wxTextCtrl_Create(self
, *_args
, **_kwargs
)
705 def GetValue(self
, *_args
, **_kwargs
):
706 val
= controlsc
.wxTextCtrl_GetValue(self
, *_args
, **_kwargs
)
708 def SetValue(self
, *_args
, **_kwargs
):
709 val
= controlsc
.wxTextCtrl_SetValue(self
, *_args
, **_kwargs
)
711 def GetRange(self
, *_args
, **_kwargs
):
712 val
= controlsc
.wxTextCtrl_GetRange(self
, *_args
, **_kwargs
)
714 def GetLineLength(self
, *_args
, **_kwargs
):
715 val
= controlsc
.wxTextCtrl_GetLineLength(self
, *_args
, **_kwargs
)
717 def GetLineText(self
, *_args
, **_kwargs
):
718 val
= controlsc
.wxTextCtrl_GetLineText(self
, *_args
, **_kwargs
)
720 def GetNumberOfLines(self
, *_args
, **_kwargs
):
721 val
= controlsc
.wxTextCtrl_GetNumberOfLines(self
, *_args
, **_kwargs
)
723 def IsModified(self
, *_args
, **_kwargs
):
724 val
= controlsc
.wxTextCtrl_IsModified(self
, *_args
, **_kwargs
)
726 def IsEditable(self
, *_args
, **_kwargs
):
727 val
= controlsc
.wxTextCtrl_IsEditable(self
, *_args
, **_kwargs
)
729 def GetSelection(self
, *_args
, **_kwargs
):
730 val
= controlsc
.wxTextCtrl_GetSelection(self
, *_args
, **_kwargs
)
732 def GetStringSelection(self
, *_args
, **_kwargs
):
733 val
= controlsc
.wxTextCtrl_GetStringSelection(self
, *_args
, **_kwargs
)
735 def Clear(self
, *_args
, **_kwargs
):
736 val
= controlsc
.wxTextCtrl_Clear(self
, *_args
, **_kwargs
)
738 def Replace(self
, *_args
, **_kwargs
):
739 val
= controlsc
.wxTextCtrl_Replace(self
, *_args
, **_kwargs
)
741 def Remove(self
, *_args
, **_kwargs
):
742 val
= controlsc
.wxTextCtrl_Remove(self
, *_args
, **_kwargs
)
744 def LoadFile(self
, *_args
, **_kwargs
):
745 val
= controlsc
.wxTextCtrl_LoadFile(self
, *_args
, **_kwargs
)
747 def SaveFile(self
, *_args
, **_kwargs
):
748 val
= controlsc
.wxTextCtrl_SaveFile(self
, *_args
, **_kwargs
)
750 def DiscardEdits(self
, *_args
, **_kwargs
):
751 val
= controlsc
.wxTextCtrl_DiscardEdits(self
, *_args
, **_kwargs
)
753 def SetMaxLength(self
, *_args
, **_kwargs
):
754 val
= controlsc
.wxTextCtrl_SetMaxLength(self
, *_args
, **_kwargs
)
756 def WriteText(self
, *_args
, **_kwargs
):
757 val
= controlsc
.wxTextCtrl_WriteText(self
, *_args
, **_kwargs
)
759 def AppendText(self
, *_args
, **_kwargs
):
760 val
= controlsc
.wxTextCtrl_AppendText(self
, *_args
, **_kwargs
)
762 def EmulateKeyPress(self
, *_args
, **_kwargs
):
763 val
= controlsc
.wxTextCtrl_EmulateKeyPress(self
, *_args
, **_kwargs
)
765 def SetStyle(self
, *_args
, **_kwargs
):
766 val
= controlsc
.wxTextCtrl_SetStyle(self
, *_args
, **_kwargs
)
768 def SetDefaultStyle(self
, *_args
, **_kwargs
):
769 val
= controlsc
.wxTextCtrl_SetDefaultStyle(self
, *_args
, **_kwargs
)
771 def GetDefaultStyle(self
, *_args
, **_kwargs
):
772 val
= controlsc
.wxTextCtrl_GetDefaultStyle(self
, *_args
, **_kwargs
)
773 if val
: val
= wxTextAttrPtr(val
)
775 def GetStyle(self
, *_args
, **_kwargs
):
776 val
= controlsc
.wxTextCtrl_GetStyle(self
, *_args
, **_kwargs
)
778 def XYToPosition(self
, *_args
, **_kwargs
):
779 val
= controlsc
.wxTextCtrl_XYToPosition(self
, *_args
, **_kwargs
)
781 def PositionToXY(self
, *_args
, **_kwargs
):
782 val
= controlsc
.wxTextCtrl_PositionToXY(self
, *_args
, **_kwargs
)
784 def ShowPosition(self
, *_args
, **_kwargs
):
785 val
= controlsc
.wxTextCtrl_ShowPosition(self
, *_args
, **_kwargs
)
787 def Copy(self
, *_args
, **_kwargs
):
788 val
= controlsc
.wxTextCtrl_Copy(self
, *_args
, **_kwargs
)
790 def Cut(self
, *_args
, **_kwargs
):
791 val
= controlsc
.wxTextCtrl_Cut(self
, *_args
, **_kwargs
)
793 def Paste(self
, *_args
, **_kwargs
):
794 val
= controlsc
.wxTextCtrl_Paste(self
, *_args
, **_kwargs
)
796 def CanCopy(self
, *_args
, **_kwargs
):
797 val
= controlsc
.wxTextCtrl_CanCopy(self
, *_args
, **_kwargs
)
799 def CanCut(self
, *_args
, **_kwargs
):
800 val
= controlsc
.wxTextCtrl_CanCut(self
, *_args
, **_kwargs
)
802 def CanPaste(self
, *_args
, **_kwargs
):
803 val
= controlsc
.wxTextCtrl_CanPaste(self
, *_args
, **_kwargs
)
805 def Undo(self
, *_args
, **_kwargs
):
806 val
= controlsc
.wxTextCtrl_Undo(self
, *_args
, **_kwargs
)
808 def Redo(self
, *_args
, **_kwargs
):
809 val
= controlsc
.wxTextCtrl_Redo(self
, *_args
, **_kwargs
)
811 def CanUndo(self
, *_args
, **_kwargs
):
812 val
= controlsc
.wxTextCtrl_CanUndo(self
, *_args
, **_kwargs
)
814 def CanRedo(self
, *_args
, **_kwargs
):
815 val
= controlsc
.wxTextCtrl_CanRedo(self
, *_args
, **_kwargs
)
817 def SetInsertionPoint(self
, *_args
, **_kwargs
):
818 val
= controlsc
.wxTextCtrl_SetInsertionPoint(self
, *_args
, **_kwargs
)
820 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
821 val
= controlsc
.wxTextCtrl_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
823 def GetInsertionPoint(self
, *_args
, **_kwargs
):
824 val
= controlsc
.wxTextCtrl_GetInsertionPoint(self
, *_args
, **_kwargs
)
826 def GetLastPosition(self
, *_args
, **_kwargs
):
827 val
= controlsc
.wxTextCtrl_GetLastPosition(self
, *_args
, **_kwargs
)
829 def SetSelection(self
, *_args
, **_kwargs
):
830 val
= controlsc
.wxTextCtrl_SetSelection(self
, *_args
, **_kwargs
)
832 def SelectAll(self
, *_args
, **_kwargs
):
833 val
= controlsc
.wxTextCtrl_SelectAll(self
, *_args
, **_kwargs
)
835 def SetEditable(self
, *_args
, **_kwargs
):
836 val
= controlsc
.wxTextCtrl_SetEditable(self
, *_args
, **_kwargs
)
838 def IsSingleLine(self
, *_args
, **_kwargs
):
839 val
= controlsc
.wxTextCtrl_IsSingleLine(self
, *_args
, **_kwargs
)
841 def IsMultiLine(self
, *_args
, **_kwargs
):
842 val
= controlsc
.wxTextCtrl_IsMultiLine(self
, *_args
, **_kwargs
)
844 def write(self
, *_args
, **_kwargs
):
845 val
= controlsc
.wxTextCtrl_write(self
, *_args
, **_kwargs
)
847 def GetString(self
, *_args
, **_kwargs
):
848 val
= controlsc
.wxTextCtrl_GetString(self
, *_args
, **_kwargs
)
851 return "<%s.%s instance; proxy of C++ wxTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
852 class wxTextCtrl(wxTextCtrlPtr
):
853 def __init__(self
,*_args
,**_kwargs
):
854 self
.this
= controlsc
.new_wxTextCtrl(*_args
,**_kwargs
)
856 self
._setOORInfo
(self
)
860 def wxPreTextCtrl(*_args
,**_kwargs
):
861 val
= wxTextCtrlPtr(controlsc
.new_wxPreTextCtrl(*_args
,**_kwargs
))
867 class wxScrollBarPtr(wxControlPtr
):
868 def __init__(self
,this
):
871 def Create(self
, *_args
, **_kwargs
):
872 val
= controlsc
.wxScrollBar_Create(self
, *_args
, **_kwargs
)
874 def GetRange(self
, *_args
, **_kwargs
):
875 val
= controlsc
.wxScrollBar_GetRange(self
, *_args
, **_kwargs
)
877 def GetPageSize(self
, *_args
, **_kwargs
):
878 val
= controlsc
.wxScrollBar_GetPageSize(self
, *_args
, **_kwargs
)
880 def GetThumbPosition(self
, *_args
, **_kwargs
):
881 val
= controlsc
.wxScrollBar_GetThumbPosition(self
, *_args
, **_kwargs
)
883 def GetThumbSize(self
, *_args
, **_kwargs
):
884 val
= controlsc
.wxScrollBar_GetThumbSize(self
, *_args
, **_kwargs
)
886 def GetThumbLength(self
, *_args
, **_kwargs
):
887 val
= controlsc
.wxScrollBar_GetThumbLength(self
, *_args
, **_kwargs
)
889 def IsVertical(self
, *_args
, **_kwargs
):
890 val
= controlsc
.wxScrollBar_IsVertical(self
, *_args
, **_kwargs
)
892 def SetThumbPosition(self
, *_args
, **_kwargs
):
893 val
= controlsc
.wxScrollBar_SetThumbPosition(self
, *_args
, **_kwargs
)
895 def SetScrollbar(self
, *_args
, **_kwargs
):
896 val
= controlsc
.wxScrollBar_SetScrollbar(self
, *_args
, **_kwargs
)
899 return "<%s.%s instance; proxy of C++ wxScrollBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
900 class wxScrollBar(wxScrollBarPtr
):
901 def __init__(self
,*_args
,**_kwargs
):
902 self
.this
= controlsc
.new_wxScrollBar(*_args
,**_kwargs
)
904 self
._setOORInfo
(self
)
908 def wxPreScrollBar(*_args
,**_kwargs
):
909 val
= wxScrollBarPtr(controlsc
.new_wxPreScrollBar(*_args
,**_kwargs
))
915 class wxSpinButtonPtr(wxControlPtr
):
916 def __init__(self
,this
):
919 def Create(self
, *_args
, **_kwargs
):
920 val
= controlsc
.wxSpinButton_Create(self
, *_args
, **_kwargs
)
922 def GetMax(self
, *_args
, **_kwargs
):
923 val
= controlsc
.wxSpinButton_GetMax(self
, *_args
, **_kwargs
)
925 def GetMin(self
, *_args
, **_kwargs
):
926 val
= controlsc
.wxSpinButton_GetMin(self
, *_args
, **_kwargs
)
928 def GetValue(self
, *_args
, **_kwargs
):
929 val
= controlsc
.wxSpinButton_GetValue(self
, *_args
, **_kwargs
)
931 def SetRange(self
, *_args
, **_kwargs
):
932 val
= controlsc
.wxSpinButton_SetRange(self
, *_args
, **_kwargs
)
934 def SetValue(self
, *_args
, **_kwargs
):
935 val
= controlsc
.wxSpinButton_SetValue(self
, *_args
, **_kwargs
)
938 return "<%s.%s instance; proxy of C++ wxSpinButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
939 class wxSpinButton(wxSpinButtonPtr
):
940 def __init__(self
,*_args
,**_kwargs
):
941 self
.this
= controlsc
.new_wxSpinButton(*_args
,**_kwargs
)
943 self
._setOORInfo
(self
)
947 def wxPreSpinButton(*_args
,**_kwargs
):
948 val
= wxSpinButtonPtr(controlsc
.new_wxPreSpinButton(*_args
,**_kwargs
))
954 class wxStaticBitmapPtr(wxControlPtr
):
955 def __init__(self
,this
):
958 def Create(self
, *_args
, **_kwargs
):
959 val
= controlsc
.wxStaticBitmap_Create(self
, *_args
, **_kwargs
)
961 def GetBitmap(self
, *_args
, **_kwargs
):
962 val
= controlsc
.wxStaticBitmap_GetBitmap(self
, *_args
, **_kwargs
)
963 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
965 def SetBitmap(self
, *_args
, **_kwargs
):
966 val
= controlsc
.wxStaticBitmap_SetBitmap(self
, *_args
, **_kwargs
)
968 def SetIcon(self
, *_args
, **_kwargs
):
969 val
= controlsc
.wxStaticBitmap_SetIcon(self
, *_args
, **_kwargs
)
972 return "<%s.%s instance; proxy of C++ wxStaticBitmap instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
973 class wxStaticBitmap(wxStaticBitmapPtr
):
974 def __init__(self
,*_args
,**_kwargs
):
975 self
.this
= controlsc
.new_wxStaticBitmap(*_args
,**_kwargs
)
977 self
._setOORInfo
(self
)
981 def wxPreStaticBitmap(*_args
,**_kwargs
):
982 val
= wxStaticBitmapPtr(controlsc
.new_wxPreStaticBitmap(*_args
,**_kwargs
))
988 class wxRadioBoxPtr(wxControlPtr
):
989 def __init__(self
,this
):
992 def Create(self
, *_args
, **_kwargs
):
993 val
= controlsc
.wxRadioBox_Create(self
, *_args
, **_kwargs
)
995 def Enable(self
, *_args
, **_kwargs
):
996 val
= controlsc
.wxRadioBox_Enable(self
, *_args
, **_kwargs
)
998 def EnableItem(self
, *_args
, **_kwargs
):
999 val
= controlsc
.wxRadioBox_EnableItem(self
, *_args
, **_kwargs
)
1001 def FindString(self
, *_args
, **_kwargs
):
1002 val
= controlsc
.wxRadioBox_FindString(self
, *_args
, **_kwargs
)
1004 def GetString(self
, *_args
, **_kwargs
):
1005 val
= controlsc
.wxRadioBox_GetString(self
, *_args
, **_kwargs
)
1007 def SetString(self
, *_args
, **_kwargs
):
1008 val
= controlsc
.wxRadioBox_SetString(self
, *_args
, **_kwargs
)
1010 def GetSelection(self
, *_args
, **_kwargs
):
1011 val
= controlsc
.wxRadioBox_GetSelection(self
, *_args
, **_kwargs
)
1013 def GetStringSelection(self
, *_args
, **_kwargs
):
1014 val
= controlsc
.wxRadioBox_GetStringSelection(self
, *_args
, **_kwargs
)
1016 def GetCount(self
, *_args
, **_kwargs
):
1017 val
= controlsc
.wxRadioBox_GetCount(self
, *_args
, **_kwargs
)
1019 def SetSelection(self
, *_args
, **_kwargs
):
1020 val
= controlsc
.wxRadioBox_SetSelection(self
, *_args
, **_kwargs
)
1022 def SetStringSelection(self
, *_args
, **_kwargs
):
1023 val
= controlsc
.wxRadioBox_SetStringSelection(self
, *_args
, **_kwargs
)
1025 def Show(self
, *_args
, **_kwargs
):
1026 val
= controlsc
.wxRadioBox_Show(self
, *_args
, **_kwargs
)
1028 def ShowItem(self
, *_args
, **_kwargs
):
1029 val
= controlsc
.wxRadioBox_ShowItem(self
, *_args
, **_kwargs
)
1032 return "<%s.%s instance; proxy of C++ wxRadioBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1034 GetItemLabel
= GetString
1035 SetItemLabel
= SetString
1038 class wxRadioBox(wxRadioBoxPtr
):
1039 def __init__(self
,*_args
,**_kwargs
):
1040 self
.this
= controlsc
.new_wxRadioBox(*_args
,**_kwargs
)
1042 self
._setOORInfo
(self
)
1046 def wxPreRadioBox(*_args
,**_kwargs
):
1047 val
= wxRadioBoxPtr(controlsc
.new_wxPreRadioBox(*_args
,**_kwargs
))
1049 val
._setOORInfo
(val
)
1053 class wxRadioButtonPtr(wxControlPtr
):
1054 def __init__(self
,this
):
1057 def Create(self
, *_args
, **_kwargs
):
1058 val
= controlsc
.wxRadioButton_Create(self
, *_args
, **_kwargs
)
1060 def GetValue(self
, *_args
, **_kwargs
):
1061 val
= controlsc
.wxRadioButton_GetValue(self
, *_args
, **_kwargs
)
1063 def SetValue(self
, *_args
, **_kwargs
):
1064 val
= controlsc
.wxRadioButton_SetValue(self
, *_args
, **_kwargs
)
1067 return "<%s.%s instance; proxy of C++ wxRadioButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1068 class wxRadioButton(wxRadioButtonPtr
):
1069 def __init__(self
,*_args
,**_kwargs
):
1070 self
.this
= controlsc
.new_wxRadioButton(*_args
,**_kwargs
)
1072 self
._setOORInfo
(self
)
1076 def wxPreRadioButton(*_args
,**_kwargs
):
1077 val
= wxRadioButtonPtr(controlsc
.new_wxPreRadioButton(*_args
,**_kwargs
))
1079 val
._setOORInfo
(val
)
1083 class wxSliderPtr(wxControlPtr
):
1084 def __init__(self
,this
):
1087 def Create(self
, *_args
, **_kwargs
):
1088 val
= controlsc
.wxSlider_Create(self
, *_args
, **_kwargs
)
1090 def ClearSel(self
, *_args
, **_kwargs
):
1091 val
= controlsc
.wxSlider_ClearSel(self
, *_args
, **_kwargs
)
1093 def ClearTicks(self
, *_args
, **_kwargs
):
1094 val
= controlsc
.wxSlider_ClearTicks(self
, *_args
, **_kwargs
)
1096 def GetLineSize(self
, *_args
, **_kwargs
):
1097 val
= controlsc
.wxSlider_GetLineSize(self
, *_args
, **_kwargs
)
1099 def GetMax(self
, *_args
, **_kwargs
):
1100 val
= controlsc
.wxSlider_GetMax(self
, *_args
, **_kwargs
)
1102 def GetMin(self
, *_args
, **_kwargs
):
1103 val
= controlsc
.wxSlider_GetMin(self
, *_args
, **_kwargs
)
1105 def GetPageSize(self
, *_args
, **_kwargs
):
1106 val
= controlsc
.wxSlider_GetPageSize(self
, *_args
, **_kwargs
)
1108 def GetSelEnd(self
, *_args
, **_kwargs
):
1109 val
= controlsc
.wxSlider_GetSelEnd(self
, *_args
, **_kwargs
)
1111 def GetSelStart(self
, *_args
, **_kwargs
):
1112 val
= controlsc
.wxSlider_GetSelStart(self
, *_args
, **_kwargs
)
1114 def GetThumbLength(self
, *_args
, **_kwargs
):
1115 val
= controlsc
.wxSlider_GetThumbLength(self
, *_args
, **_kwargs
)
1117 def GetTickFreq(self
, *_args
, **_kwargs
):
1118 val
= controlsc
.wxSlider_GetTickFreq(self
, *_args
, **_kwargs
)
1120 def GetValue(self
, *_args
, **_kwargs
):
1121 val
= controlsc
.wxSlider_GetValue(self
, *_args
, **_kwargs
)
1123 def SetRange(self
, *_args
, **_kwargs
):
1124 val
= controlsc
.wxSlider_SetRange(self
, *_args
, **_kwargs
)
1126 def SetTickFreq(self
, *_args
, **_kwargs
):
1127 val
= controlsc
.wxSlider_SetTickFreq(self
, *_args
, **_kwargs
)
1129 def SetLineSize(self
, *_args
, **_kwargs
):
1130 val
= controlsc
.wxSlider_SetLineSize(self
, *_args
, **_kwargs
)
1132 def SetPageSize(self
, *_args
, **_kwargs
):
1133 val
= controlsc
.wxSlider_SetPageSize(self
, *_args
, **_kwargs
)
1135 def SetSelection(self
, *_args
, **_kwargs
):
1136 val
= controlsc
.wxSlider_SetSelection(self
, *_args
, **_kwargs
)
1138 def SetThumbLength(self
, *_args
, **_kwargs
):
1139 val
= controlsc
.wxSlider_SetThumbLength(self
, *_args
, **_kwargs
)
1141 def SetTick(self
, *_args
, **_kwargs
):
1142 val
= controlsc
.wxSlider_SetTick(self
, *_args
, **_kwargs
)
1144 def SetValue(self
, *_args
, **_kwargs
):
1145 val
= controlsc
.wxSlider_SetValue(self
, *_args
, **_kwargs
)
1148 return "<%s.%s instance; proxy of C++ wxSlider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1149 class wxSlider(wxSliderPtr
):
1150 def __init__(self
,*_args
,**_kwargs
):
1151 self
.this
= controlsc
.new_wxSlider(*_args
,**_kwargs
)
1153 self
._setOORInfo
(self
)
1157 def wxPreSlider(*_args
,**_kwargs
):
1158 val
= wxSliderPtr(controlsc
.new_wxPreSlider(*_args
,**_kwargs
))
1160 val
._setOORInfo
(val
)
1164 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1165 def __init__(self
,this
):
1168 def Create(self
, *_args
, **_kwargs
):
1169 val
= controlsc
.wxSpinCtrl_Create(self
, *_args
, **_kwargs
)
1171 def GetMax(self
, *_args
, **_kwargs
):
1172 val
= controlsc
.wxSpinCtrl_GetMax(self
, *_args
, **_kwargs
)
1174 def GetMin(self
, *_args
, **_kwargs
):
1175 val
= controlsc
.wxSpinCtrl_GetMin(self
, *_args
, **_kwargs
)
1177 def GetValue(self
, *_args
, **_kwargs
):
1178 val
= controlsc
.wxSpinCtrl_GetValue(self
, *_args
, **_kwargs
)
1180 def SetRange(self
, *_args
, **_kwargs
):
1181 val
= controlsc
.wxSpinCtrl_SetRange(self
, *_args
, **_kwargs
)
1183 def SetValue(self
, *_args
, **_kwargs
):
1184 val
= controlsc
.wxSpinCtrl_SetValue(self
, *_args
, **_kwargs
)
1186 def SetSelection(self
, *_args
, **_kwargs
):
1187 val
= controlsc
.wxSpinCtrl_SetSelection(self
, *_args
, **_kwargs
)
1190 return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1191 class wxSpinCtrl(wxSpinCtrlPtr
):
1192 def __init__(self
,*_args
,**_kwargs
):
1193 self
.this
= controlsc
.new_wxSpinCtrl(*_args
,**_kwargs
)
1195 self
._setOORInfo
(self
)
1199 def wxPreSpinCtrl(*_args
,**_kwargs
):
1200 val
= wxSpinCtrlPtr(controlsc
.new_wxPreSpinCtrl(*_args
,**_kwargs
))
1202 val
._setOORInfo
(val
)
1206 class wxToggleButtonPtr(wxControlPtr
):
1207 def __init__(self
,this
):
1210 def Create(self
, *_args
, **_kwargs
):
1211 val
= controlsc
.wxToggleButton_Create(self
, *_args
, **_kwargs
)
1213 def SetValue(self
, *_args
, **_kwargs
):
1214 val
= controlsc
.wxToggleButton_SetValue(self
, *_args
, **_kwargs
)
1216 def GetValue(self
, *_args
, **_kwargs
):
1217 val
= controlsc
.wxToggleButton_GetValue(self
, *_args
, **_kwargs
)
1219 def SetLabel(self
, *_args
, **_kwargs
):
1220 val
= controlsc
.wxToggleButton_SetLabel(self
, *_args
, **_kwargs
)
1223 return "<%s.%s instance; proxy of C++ wxToggleButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1224 class wxToggleButton(wxToggleButtonPtr
):
1225 def __init__(self
,*_args
,**_kwargs
):
1226 self
.this
= controlsc
.new_wxToggleButton(*_args
,**_kwargs
)
1228 self
._setOORInfo
(self
)
1232 def wxPreToggleButton(*_args
,**_kwargs
):
1233 val
= wxToggleButtonPtr(controlsc
.new_wxPreToggleButton(*_args
,**_kwargs
))
1235 val
._setOORInfo
(val
)
1241 #-------------- FUNCTION WRAPPERS ------------------
1243 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1244 val
= controlsc
.wxButton_GetDefaultSize(*_args
,**_kwargs
)
1245 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1248 def wxTextAttr_Combine(*_args
, **_kwargs
):
1249 val
= controlsc
.wxTextAttr_Combine(*_args
,**_kwargs
)
1250 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1255 #-------------- VARIABLE WRAPPERS ------------------
1257 cvar
= controlsc
.cvar
1258 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1259 wxTE_NO_VSCROLL
= controlsc
.wxTE_NO_VSCROLL
1260 wxTE_AUTO_SCROLL
= controlsc
.wxTE_AUTO_SCROLL
1261 wxTE_READONLY
= controlsc
.wxTE_READONLY
1262 wxTE_MULTILINE
= controlsc
.wxTE_MULTILINE
1263 wxTE_PROCESS_TAB
= controlsc
.wxTE_PROCESS_TAB
1264 wxTE_LEFT
= controlsc
.wxTE_LEFT
1265 wxTE_CENTER
= controlsc
.wxTE_CENTER
1266 wxTE_RIGHT
= controlsc
.wxTE_RIGHT
1267 wxTE_CENTRE
= controlsc
.wxTE_CENTRE
1268 wxTE_RICH
= controlsc
.wxTE_RICH
1269 wxTE_PROCESS_ENTER
= controlsc
.wxTE_PROCESS_ENTER
1270 wxTE_PASSWORD
= controlsc
.wxTE_PASSWORD
1271 wxTE_AUTO_URL
= controlsc
.wxTE_AUTO_URL
1272 wxTE_NOHIDESEL
= controlsc
.wxTE_NOHIDESEL
1273 wxTE_DONTWRAP
= controlsc
.wxTE_DONTWRAP
1274 wxTE_LINEWRAP
= controlsc
.wxTE_LINEWRAP
1275 wxTE_WORDWRAP
= controlsc
.wxTE_WORDWRAP
1276 wxTE_RICH2
= controlsc
.wxTE_RICH2
1277 wxTEXT_ATTR_TEXT_COLOUR
= controlsc
.wxTEXT_ATTR_TEXT_COLOUR
1278 wxTEXT_ATTR_BACKGROUND_COLOUR
= controlsc
.wxTEXT_ATTR_BACKGROUND_COLOUR
1279 wxTEXT_ATTR_FONT_FACE
= controlsc
.wxTEXT_ATTR_FONT_FACE
1280 wxTEXT_ATTR_FONT_SIZE
= controlsc
.wxTEXT_ATTR_FONT_SIZE
1281 wxTEXT_ATTR_FONT_WEIGHT
= controlsc
.wxTEXT_ATTR_FONT_WEIGHT
1282 wxTEXT_ATTR_FONT_ITALIC
= controlsc
.wxTEXT_ATTR_FONT_ITALIC
1283 wxTEXT_ATTR_FONT_UNDERLINE
= controlsc
.wxTEXT_ATTR_FONT_UNDERLINE
1284 wxTEXT_ATTR_FONT
= controlsc
.wxTEXT_ATTR_FONT
1285 wxTEXT_ATTR_ALIGNMENT
= controlsc
.wxTEXT_ATTR_ALIGNMENT
1286 wxTEXT_ATTR_LEFT_INDENT
= controlsc
.wxTEXT_ATTR_LEFT_INDENT
1287 wxTEXT_ATTR_RIGHT_INDENT
= controlsc
.wxTEXT_ATTR_RIGHT_INDENT
1288 wxTEXT_ATTR_TABS
= controlsc
.wxTEXT_ATTR_TABS
1289 wxTEXT_ALIGNMENT_DEFAULT
= controlsc
.wxTEXT_ALIGNMENT_DEFAULT
1290 wxTEXT_ALIGNMENT_LEFT
= controlsc
.wxTEXT_ALIGNMENT_LEFT
1291 wxTEXT_ALIGNMENT_CENTRE
= controlsc
.wxTEXT_ALIGNMENT_CENTRE
1292 wxTEXT_ALIGNMENT_CENTER
= controlsc
.wxTEXT_ALIGNMENT_CENTER
1293 wxTEXT_ALIGNMENT_RIGHT
= controlsc
.wxTEXT_ALIGNMENT_RIGHT
1294 wxTEXT_ALIGNMENT_JUSTIFIED
= controlsc
.wxTEXT_ALIGNMENT_JUSTIFIED
1295 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED