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
)
216 return "<%s.%s instance; proxy of C++ wxCheckBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
217 class wxCheckBox(wxCheckBoxPtr
):
218 def __init__(self
,*_args
,**_kwargs
):
219 self
.this
= controlsc
.new_wxCheckBox(*_args
,**_kwargs
)
221 self
._setOORInfo
(self
)
225 def wxPreCheckBox(*_args
,**_kwargs
):
226 val
= wxCheckBoxPtr(controlsc
.new_wxPreCheckBox(*_args
,**_kwargs
))
232 class wxChoicePtr(wxControlWithItemsPtr
):
233 def __init__(self
,this
):
236 def Create(self
, *_args
, **_kwargs
):
237 val
= controlsc
.wxChoice_Create(self
, *_args
, **_kwargs
)
239 def Clear(self
, *_args
, **_kwargs
):
240 val
= controlsc
.wxChoice_Clear(self
, *_args
, **_kwargs
)
242 def GetColumns(self
, *_args
, **_kwargs
):
243 val
= controlsc
.wxChoice_GetColumns(self
, *_args
, **_kwargs
)
245 def SetColumns(self
, *_args
, **_kwargs
):
246 val
= controlsc
.wxChoice_SetColumns(self
, *_args
, **_kwargs
)
248 def SetSelection(self
, *_args
, **_kwargs
):
249 val
= controlsc
.wxChoice_SetSelection(self
, *_args
, **_kwargs
)
251 def SetStringSelection(self
, *_args
, **_kwargs
):
252 val
= controlsc
.wxChoice_SetStringSelection(self
, *_args
, **_kwargs
)
254 def SetString(self
, *_args
, **_kwargs
):
255 val
= controlsc
.wxChoice_SetString(self
, *_args
, **_kwargs
)
258 return "<%s.%s instance; proxy of C++ wxChoice instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
260 Select
= SetSelection
262 class wxChoice(wxChoicePtr
):
263 def __init__(self
,*_args
,**_kwargs
):
264 self
.this
= controlsc
.new_wxChoice(*_args
,**_kwargs
)
266 self
._setOORInfo
(self
)
270 def wxPreChoice(*_args
,**_kwargs
):
271 val
= wxChoicePtr(controlsc
.new_wxPreChoice(*_args
,**_kwargs
))
277 class wxComboBoxPtr(wxChoicePtr
):
278 def __init__(self
,this
):
281 def Create(self
, *_args
, **_kwargs
):
282 val
= controlsc
.wxComboBox_Create(self
, *_args
, **_kwargs
)
284 def Copy(self
, *_args
, **_kwargs
):
285 val
= controlsc
.wxComboBox_Copy(self
, *_args
, **_kwargs
)
287 def Cut(self
, *_args
, **_kwargs
):
288 val
= controlsc
.wxComboBox_Cut(self
, *_args
, **_kwargs
)
290 def GetInsertionPoint(self
, *_args
, **_kwargs
):
291 val
= controlsc
.wxComboBox_GetInsertionPoint(self
, *_args
, **_kwargs
)
293 def GetLastPosition(self
, *_args
, **_kwargs
):
294 val
= controlsc
.wxComboBox_GetLastPosition(self
, *_args
, **_kwargs
)
296 def GetValue(self
, *_args
, **_kwargs
):
297 val
= controlsc
.wxComboBox_GetValue(self
, *_args
, **_kwargs
)
299 def Paste(self
, *_args
, **_kwargs
):
300 val
= controlsc
.wxComboBox_Paste(self
, *_args
, **_kwargs
)
302 def Replace(self
, *_args
, **_kwargs
):
303 val
= controlsc
.wxComboBox_Replace(self
, *_args
, **_kwargs
)
305 def Remove(self
, *_args
, **_kwargs
):
306 val
= controlsc
.wxComboBox_Remove(self
, *_args
, **_kwargs
)
308 def SetInsertionPoint(self
, *_args
, **_kwargs
):
309 val
= controlsc
.wxComboBox_SetInsertionPoint(self
, *_args
, **_kwargs
)
311 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
312 val
= controlsc
.wxComboBox_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
314 def SetSelection(self
, *_args
, **_kwargs
):
315 val
= controlsc
.wxComboBox_SetSelection(self
, *_args
, **_kwargs
)
317 def SetMark(self
, *_args
, **_kwargs
):
318 val
= controlsc
.wxComboBox_SetMark(self
, *_args
, **_kwargs
)
320 def SetValue(self
, *_args
, **_kwargs
):
321 val
= controlsc
.wxComboBox_SetValue(self
, *_args
, **_kwargs
)
323 def SetEditable(self
, *_args
, **_kwargs
):
324 val
= controlsc
.wxComboBox_SetEditable(self
, *_args
, **_kwargs
)
327 return "<%s.%s instance; proxy of C++ wxComboBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
328 class wxComboBox(wxComboBoxPtr
):
329 def __init__(self
,*_args
,**_kwargs
):
330 self
.this
= controlsc
.new_wxComboBox(*_args
,**_kwargs
)
332 self
._setOORInfo
(self
)
336 def wxPreComboBox(*_args
,**_kwargs
):
337 val
= wxComboBoxPtr(controlsc
.new_wxPreComboBox(*_args
,**_kwargs
))
343 class wxGaugePtr(wxControlPtr
):
344 def __init__(self
,this
):
347 def Create(self
, *_args
, **_kwargs
):
348 val
= controlsc
.wxGauge_Create(self
, *_args
, **_kwargs
)
350 def GetBezelFace(self
, *_args
, **_kwargs
):
351 val
= controlsc
.wxGauge_GetBezelFace(self
, *_args
, **_kwargs
)
353 def GetRange(self
, *_args
, **_kwargs
):
354 val
= controlsc
.wxGauge_GetRange(self
, *_args
, **_kwargs
)
356 def GetShadowWidth(self
, *_args
, **_kwargs
):
357 val
= controlsc
.wxGauge_GetShadowWidth(self
, *_args
, **_kwargs
)
359 def GetValue(self
, *_args
, **_kwargs
):
360 val
= controlsc
.wxGauge_GetValue(self
, *_args
, **_kwargs
)
362 def SetBezelFace(self
, *_args
, **_kwargs
):
363 val
= controlsc
.wxGauge_SetBezelFace(self
, *_args
, **_kwargs
)
365 def SetRange(self
, *_args
, **_kwargs
):
366 val
= controlsc
.wxGauge_SetRange(self
, *_args
, **_kwargs
)
368 def SetShadowWidth(self
, *_args
, **_kwargs
):
369 val
= controlsc
.wxGauge_SetShadowWidth(self
, *_args
, **_kwargs
)
371 def SetValue(self
, *_args
, **_kwargs
):
372 val
= controlsc
.wxGauge_SetValue(self
, *_args
, **_kwargs
)
375 return "<%s.%s instance; proxy of C++ wxGauge instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
376 class wxGauge(wxGaugePtr
):
377 def __init__(self
,*_args
,**_kwargs
):
378 self
.this
= controlsc
.new_wxGauge(*_args
,**_kwargs
)
380 self
._setOORInfo
(self
)
384 def wxPreGauge(*_args
,**_kwargs
):
385 val
= wxGaugePtr(controlsc
.new_wxPreGauge(*_args
,**_kwargs
))
391 class wxStaticBoxPtr(wxControlPtr
):
392 def __init__(self
,this
):
395 def Create(self
, *_args
, **_kwargs
):
396 val
= controlsc
.wxStaticBox_Create(self
, *_args
, **_kwargs
)
399 return "<%s.%s instance; proxy of C++ wxStaticBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
400 class wxStaticBox(wxStaticBoxPtr
):
401 def __init__(self
,*_args
,**_kwargs
):
402 self
.this
= controlsc
.new_wxStaticBox(*_args
,**_kwargs
)
404 self
._setOORInfo
(self
)
408 def wxPreStaticBox(*_args
,**_kwargs
):
409 val
= wxStaticBoxPtr(controlsc
.new_wxPreStaticBox(*_args
,**_kwargs
))
415 class wxStaticLinePtr(wxControlPtr
):
416 def __init__(self
,this
):
419 def Create(self
, *_args
, **_kwargs
):
420 val
= controlsc
.wxStaticLine_Create(self
, *_args
, **_kwargs
)
423 return "<%s.%s instance; proxy of C++ wxStaticLine instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
424 class wxStaticLine(wxStaticLinePtr
):
425 def __init__(self
,*_args
,**_kwargs
):
426 self
.this
= controlsc
.new_wxStaticLine(*_args
,**_kwargs
)
428 self
._setOORInfo
(self
)
432 def wxPreStaticLine(*_args
,**_kwargs
):
433 val
= wxStaticLinePtr(controlsc
.new_wxPreStaticLine(*_args
,**_kwargs
))
439 class wxStaticTextPtr(wxControlPtr
):
440 def __init__(self
,this
):
443 def Create(self
, *_args
, **_kwargs
):
444 val
= controlsc
.wxStaticText_Create(self
, *_args
, **_kwargs
)
446 def GetLabel(self
, *_args
, **_kwargs
):
447 val
= controlsc
.wxStaticText_GetLabel(self
, *_args
, **_kwargs
)
449 def SetLabel(self
, *_args
, **_kwargs
):
450 val
= controlsc
.wxStaticText_SetLabel(self
, *_args
, **_kwargs
)
453 return "<%s.%s instance; proxy of C++ wxStaticText instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
454 class wxStaticText(wxStaticTextPtr
):
455 def __init__(self
,*_args
,**_kwargs
):
456 self
.this
= controlsc
.new_wxStaticText(*_args
,**_kwargs
)
458 self
._setOORInfo
(self
)
462 def wxPreStaticText(*_args
,**_kwargs
):
463 val
= wxStaticTextPtr(controlsc
.new_wxPreStaticText(*_args
,**_kwargs
))
469 class wxListBoxPtr(wxControlWithItemsPtr
):
470 def __init__(self
,this
):
473 def Create(self
, *_args
, **_kwargs
):
474 val
= controlsc
.wxListBox_Create(self
, *_args
, **_kwargs
)
476 def Clear(self
, *_args
, **_kwargs
):
477 val
= controlsc
.wxListBox_Clear(self
, *_args
, **_kwargs
)
479 def Deselect(self
, *_args
, **_kwargs
):
480 val
= controlsc
.wxListBox_Deselect(self
, *_args
, **_kwargs
)
482 def GetSelections(self
, *_args
, **_kwargs
):
483 val
= controlsc
.wxListBox_GetSelections(self
, *_args
, **_kwargs
)
485 def InsertItems(self
, *_args
, **_kwargs
):
486 val
= controlsc
.wxListBox_InsertItems(self
, *_args
, **_kwargs
)
488 def IsSelected(self
, *_args
, **_kwargs
):
489 val
= controlsc
.wxListBox_IsSelected(self
, *_args
, **_kwargs
)
491 def Selected(self
, *_args
, **_kwargs
):
492 val
= controlsc
.wxListBox_Selected(self
, *_args
, **_kwargs
)
494 def Set(self
, *_args
, **_kwargs
):
495 val
= controlsc
.wxListBox_Set(self
, *_args
, **_kwargs
)
497 def SetFirstItem(self
, *_args
, **_kwargs
):
498 val
= controlsc
.wxListBox_SetFirstItem(self
, *_args
, **_kwargs
)
500 def SetFirstItemStr(self
, *_args
, **_kwargs
):
501 val
= controlsc
.wxListBox_SetFirstItemStr(self
, *_args
, **_kwargs
)
503 def SetSelection(self
, *_args
, **_kwargs
):
504 val
= controlsc
.wxListBox_SetSelection(self
, *_args
, **_kwargs
)
506 def SetString(self
, *_args
, **_kwargs
):
507 val
= controlsc
.wxListBox_SetString(self
, *_args
, **_kwargs
)
509 def SetStringSelection(self
, *_args
, **_kwargs
):
510 val
= controlsc
.wxListBox_SetStringSelection(self
, *_args
, **_kwargs
)
513 return "<%s.%s instance; proxy of C++ wxListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
514 class wxListBox(wxListBoxPtr
):
515 def __init__(self
,*_args
,**_kwargs
):
516 self
.this
= controlsc
.new_wxListBox(*_args
,**_kwargs
)
518 self
._setOORInfo
(self
)
522 def wxPreListBox(*_args
,**_kwargs
):
523 val
= wxListBoxPtr(controlsc
.new_wxPreListBox(*_args
,**_kwargs
))
529 class wxCheckListBoxPtr(wxListBoxPtr
):
530 def __init__(self
,this
):
533 def Create(self
, *_args
, **_kwargs
):
534 val
= controlsc
.wxCheckListBox_Create(self
, *_args
, **_kwargs
)
536 def IsChecked(self
, *_args
, **_kwargs
):
537 val
= controlsc
.wxCheckListBox_IsChecked(self
, *_args
, **_kwargs
)
539 def Check(self
, *_args
, **_kwargs
):
540 val
= controlsc
.wxCheckListBox_Check(self
, *_args
, **_kwargs
)
542 def InsertItems(self
, *_args
, **_kwargs
):
543 val
= controlsc
.wxCheckListBox_InsertItems(self
, *_args
, **_kwargs
)
545 def GetItemHeight(self
, *_args
, **_kwargs
):
546 val
= controlsc
.wxCheckListBox_GetItemHeight(self
, *_args
, **_kwargs
)
548 def HitTest(self
, *_args
, **_kwargs
):
549 val
= controlsc
.wxCheckListBox_HitTest(self
, *_args
, **_kwargs
)
551 def HitTestXY(self
, *_args
, **_kwargs
):
552 val
= controlsc
.wxCheckListBox_HitTestXY(self
, *_args
, **_kwargs
)
555 return "<%s.%s instance; proxy of C++ wxCheckListBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
556 class wxCheckListBox(wxCheckListBoxPtr
):
557 def __init__(self
,*_args
,**_kwargs
):
558 self
.this
= controlsc
.new_wxCheckListBox(*_args
,**_kwargs
)
560 self
._setOORInfo
(self
)
564 def wxPreCheckListBox(*_args
,**_kwargs
):
565 val
= wxCheckListBoxPtr(controlsc
.new_wxPreCheckListBox(*_args
,**_kwargs
))
571 class wxTextAttrPtr
:
572 def __init__(self
,this
):
575 def __del__(self
, delfunc
=controlsc
.delete_wxTextAttr
):
576 if self
.thisown
== 1:
581 def Init(self
, *_args
, **_kwargs
):
582 val
= controlsc
.wxTextAttr_Init(self
, *_args
, **_kwargs
)
584 def SetTextColour(self
, *_args
, **_kwargs
):
585 val
= controlsc
.wxTextAttr_SetTextColour(self
, *_args
, **_kwargs
)
587 def SetBackgroundColour(self
, *_args
, **_kwargs
):
588 val
= controlsc
.wxTextAttr_SetBackgroundColour(self
, *_args
, **_kwargs
)
590 def SetFont(self
, *_args
, **_kwargs
):
591 val
= controlsc
.wxTextAttr_SetFont(self
, *_args
, **_kwargs
)
593 def SetAlignment(self
, *_args
, **_kwargs
):
594 val
= controlsc
.wxTextAttr_SetAlignment(self
, *_args
, **_kwargs
)
596 def SetTabs(self
, *_args
, **_kwargs
):
597 val
= controlsc
.wxTextAttr_SetTabs(self
, *_args
, **_kwargs
)
599 def SetLeftIndent(self
, *_args
, **_kwargs
):
600 val
= controlsc
.wxTextAttr_SetLeftIndent(self
, *_args
, **_kwargs
)
602 def SetRightIndent(self
, *_args
, **_kwargs
):
603 val
= controlsc
.wxTextAttr_SetRightIndent(self
, *_args
, **_kwargs
)
605 def SetFlags(self
, *_args
, **_kwargs
):
606 val
= controlsc
.wxTextAttr_SetFlags(self
, *_args
, **_kwargs
)
608 def HasTextColour(self
, *_args
, **_kwargs
):
609 val
= controlsc
.wxTextAttr_HasTextColour(self
, *_args
, **_kwargs
)
611 def HasBackgroundColour(self
, *_args
, **_kwargs
):
612 val
= controlsc
.wxTextAttr_HasBackgroundColour(self
, *_args
, **_kwargs
)
614 def HasFont(self
, *_args
, **_kwargs
):
615 val
= controlsc
.wxTextAttr_HasFont(self
, *_args
, **_kwargs
)
617 def HasAlignment(self
, *_args
, **_kwargs
):
618 val
= controlsc
.wxTextAttr_HasAlignment(self
, *_args
, **_kwargs
)
620 def HasTabs(self
, *_args
, **_kwargs
):
621 val
= controlsc
.wxTextAttr_HasTabs(self
, *_args
, **_kwargs
)
623 def HasLeftIndent(self
, *_args
, **_kwargs
):
624 val
= controlsc
.wxTextAttr_HasLeftIndent(self
, *_args
, **_kwargs
)
626 def HasRightIndent(self
, *_args
, **_kwargs
):
627 val
= controlsc
.wxTextAttr_HasRightIndent(self
, *_args
, **_kwargs
)
629 def HasFlag(self
, *_args
, **_kwargs
):
630 val
= controlsc
.wxTextAttr_HasFlag(self
, *_args
, **_kwargs
)
632 def GetTextColour(self
, *_args
, **_kwargs
):
633 val
= controlsc
.wxTextAttr_GetTextColour(self
, *_args
, **_kwargs
)
634 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
636 def GetBackgroundColour(self
, *_args
, **_kwargs
):
637 val
= controlsc
.wxTextAttr_GetBackgroundColour(self
, *_args
, **_kwargs
)
638 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
640 def GetFont(self
, *_args
, **_kwargs
):
641 val
= controlsc
.wxTextAttr_GetFont(self
, *_args
, **_kwargs
)
642 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
644 def GetAlignment(self
, *_args
, **_kwargs
):
645 val
= controlsc
.wxTextAttr_GetAlignment(self
, *_args
, **_kwargs
)
647 def GetTabs(self
, *_args
, **_kwargs
):
648 val
= controlsc
.wxTextAttr_GetTabs(self
, *_args
, **_kwargs
)
650 def GetLeftIndent(self
, *_args
, **_kwargs
):
651 val
= controlsc
.wxTextAttr_GetLeftIndent(self
, *_args
, **_kwargs
)
653 def GetRightIndent(self
, *_args
, **_kwargs
):
654 val
= controlsc
.wxTextAttr_GetRightIndent(self
, *_args
, **_kwargs
)
656 def GetFlags(self
, *_args
, **_kwargs
):
657 val
= controlsc
.wxTextAttr_GetFlags(self
, *_args
, **_kwargs
)
659 def IsDefault(self
, *_args
, **_kwargs
):
660 val
= controlsc
.wxTextAttr_IsDefault(self
, *_args
, **_kwargs
)
663 return "<%s.%s instance; proxy of C++ wxTextAttr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
664 class wxTextAttr(wxTextAttrPtr
):
665 def __init__(self
,*_args
,**_kwargs
):
666 self
.this
= controlsc
.new_wxTextAttr(*_args
,**_kwargs
)
672 class wxTextCtrlPtr(wxControlPtr
):
673 def __init__(self
,this
):
676 def Create(self
, *_args
, **_kwargs
):
677 val
= controlsc
.wxTextCtrl_Create(self
, *_args
, **_kwargs
)
679 def GetValue(self
, *_args
, **_kwargs
):
680 val
= controlsc
.wxTextCtrl_GetValue(self
, *_args
, **_kwargs
)
682 def SetValue(self
, *_args
, **_kwargs
):
683 val
= controlsc
.wxTextCtrl_SetValue(self
, *_args
, **_kwargs
)
685 def GetRange(self
, *_args
, **_kwargs
):
686 val
= controlsc
.wxTextCtrl_GetRange(self
, *_args
, **_kwargs
)
688 def GetLineLength(self
, *_args
, **_kwargs
):
689 val
= controlsc
.wxTextCtrl_GetLineLength(self
, *_args
, **_kwargs
)
691 def GetLineText(self
, *_args
, **_kwargs
):
692 val
= controlsc
.wxTextCtrl_GetLineText(self
, *_args
, **_kwargs
)
694 def GetNumberOfLines(self
, *_args
, **_kwargs
):
695 val
= controlsc
.wxTextCtrl_GetNumberOfLines(self
, *_args
, **_kwargs
)
697 def IsModified(self
, *_args
, **_kwargs
):
698 val
= controlsc
.wxTextCtrl_IsModified(self
, *_args
, **_kwargs
)
700 def IsEditable(self
, *_args
, **_kwargs
):
701 val
= controlsc
.wxTextCtrl_IsEditable(self
, *_args
, **_kwargs
)
703 def GetSelection(self
, *_args
, **_kwargs
):
704 val
= controlsc
.wxTextCtrl_GetSelection(self
, *_args
, **_kwargs
)
706 def GetStringSelection(self
, *_args
, **_kwargs
):
707 val
= controlsc
.wxTextCtrl_GetStringSelection(self
, *_args
, **_kwargs
)
709 def Clear(self
, *_args
, **_kwargs
):
710 val
= controlsc
.wxTextCtrl_Clear(self
, *_args
, **_kwargs
)
712 def Replace(self
, *_args
, **_kwargs
):
713 val
= controlsc
.wxTextCtrl_Replace(self
, *_args
, **_kwargs
)
715 def Remove(self
, *_args
, **_kwargs
):
716 val
= controlsc
.wxTextCtrl_Remove(self
, *_args
, **_kwargs
)
718 def LoadFile(self
, *_args
, **_kwargs
):
719 val
= controlsc
.wxTextCtrl_LoadFile(self
, *_args
, **_kwargs
)
721 def SaveFile(self
, *_args
, **_kwargs
):
722 val
= controlsc
.wxTextCtrl_SaveFile(self
, *_args
, **_kwargs
)
724 def DiscardEdits(self
, *_args
, **_kwargs
):
725 val
= controlsc
.wxTextCtrl_DiscardEdits(self
, *_args
, **_kwargs
)
727 def SetMaxLength(self
, *_args
, **_kwargs
):
728 val
= controlsc
.wxTextCtrl_SetMaxLength(self
, *_args
, **_kwargs
)
730 def WriteText(self
, *_args
, **_kwargs
):
731 val
= controlsc
.wxTextCtrl_WriteText(self
, *_args
, **_kwargs
)
733 def AppendText(self
, *_args
, **_kwargs
):
734 val
= controlsc
.wxTextCtrl_AppendText(self
, *_args
, **_kwargs
)
736 def EmulateKeyPress(self
, *_args
, **_kwargs
):
737 val
= controlsc
.wxTextCtrl_EmulateKeyPress(self
, *_args
, **_kwargs
)
739 def SetStyle(self
, *_args
, **_kwargs
):
740 val
= controlsc
.wxTextCtrl_SetStyle(self
, *_args
, **_kwargs
)
742 def SetDefaultStyle(self
, *_args
, **_kwargs
):
743 val
= controlsc
.wxTextCtrl_SetDefaultStyle(self
, *_args
, **_kwargs
)
745 def GetDefaultStyle(self
, *_args
, **_kwargs
):
746 val
= controlsc
.wxTextCtrl_GetDefaultStyle(self
, *_args
, **_kwargs
)
747 if val
: val
= wxTextAttrPtr(val
)
749 def GetStyle(self
, *_args
, **_kwargs
):
750 val
= controlsc
.wxTextCtrl_GetStyle(self
, *_args
, **_kwargs
)
752 def XYToPosition(self
, *_args
, **_kwargs
):
753 val
= controlsc
.wxTextCtrl_XYToPosition(self
, *_args
, **_kwargs
)
755 def PositionToXY(self
, *_args
, **_kwargs
):
756 val
= controlsc
.wxTextCtrl_PositionToXY(self
, *_args
, **_kwargs
)
758 def ShowPosition(self
, *_args
, **_kwargs
):
759 val
= controlsc
.wxTextCtrl_ShowPosition(self
, *_args
, **_kwargs
)
761 def Copy(self
, *_args
, **_kwargs
):
762 val
= controlsc
.wxTextCtrl_Copy(self
, *_args
, **_kwargs
)
764 def Cut(self
, *_args
, **_kwargs
):
765 val
= controlsc
.wxTextCtrl_Cut(self
, *_args
, **_kwargs
)
767 def Paste(self
, *_args
, **_kwargs
):
768 val
= controlsc
.wxTextCtrl_Paste(self
, *_args
, **_kwargs
)
770 def CanCopy(self
, *_args
, **_kwargs
):
771 val
= controlsc
.wxTextCtrl_CanCopy(self
, *_args
, **_kwargs
)
773 def CanCut(self
, *_args
, **_kwargs
):
774 val
= controlsc
.wxTextCtrl_CanCut(self
, *_args
, **_kwargs
)
776 def CanPaste(self
, *_args
, **_kwargs
):
777 val
= controlsc
.wxTextCtrl_CanPaste(self
, *_args
, **_kwargs
)
779 def Undo(self
, *_args
, **_kwargs
):
780 val
= controlsc
.wxTextCtrl_Undo(self
, *_args
, **_kwargs
)
782 def Redo(self
, *_args
, **_kwargs
):
783 val
= controlsc
.wxTextCtrl_Redo(self
, *_args
, **_kwargs
)
785 def CanUndo(self
, *_args
, **_kwargs
):
786 val
= controlsc
.wxTextCtrl_CanUndo(self
, *_args
, **_kwargs
)
788 def CanRedo(self
, *_args
, **_kwargs
):
789 val
= controlsc
.wxTextCtrl_CanRedo(self
, *_args
, **_kwargs
)
791 def SetInsertionPoint(self
, *_args
, **_kwargs
):
792 val
= controlsc
.wxTextCtrl_SetInsertionPoint(self
, *_args
, **_kwargs
)
794 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
795 val
= controlsc
.wxTextCtrl_SetInsertionPointEnd(self
, *_args
, **_kwargs
)
797 def GetInsertionPoint(self
, *_args
, **_kwargs
):
798 val
= controlsc
.wxTextCtrl_GetInsertionPoint(self
, *_args
, **_kwargs
)
800 def GetLastPosition(self
, *_args
, **_kwargs
):
801 val
= controlsc
.wxTextCtrl_GetLastPosition(self
, *_args
, **_kwargs
)
803 def SetSelection(self
, *_args
, **_kwargs
):
804 val
= controlsc
.wxTextCtrl_SetSelection(self
, *_args
, **_kwargs
)
806 def SelectAll(self
, *_args
, **_kwargs
):
807 val
= controlsc
.wxTextCtrl_SelectAll(self
, *_args
, **_kwargs
)
809 def SetEditable(self
, *_args
, **_kwargs
):
810 val
= controlsc
.wxTextCtrl_SetEditable(self
, *_args
, **_kwargs
)
812 def IsSingleLine(self
, *_args
, **_kwargs
):
813 val
= controlsc
.wxTextCtrl_IsSingleLine(self
, *_args
, **_kwargs
)
815 def IsMultiLine(self
, *_args
, **_kwargs
):
816 val
= controlsc
.wxTextCtrl_IsMultiLine(self
, *_args
, **_kwargs
)
818 def write(self
, *_args
, **_kwargs
):
819 val
= controlsc
.wxTextCtrl_write(self
, *_args
, **_kwargs
)
821 def GetString(self
, *_args
, **_kwargs
):
822 val
= controlsc
.wxTextCtrl_GetString(self
, *_args
, **_kwargs
)
825 return "<%s.%s instance; proxy of C++ wxTextCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
826 class wxTextCtrl(wxTextCtrlPtr
):
827 def __init__(self
,*_args
,**_kwargs
):
828 self
.this
= controlsc
.new_wxTextCtrl(*_args
,**_kwargs
)
830 self
._setOORInfo
(self
)
834 def wxPreTextCtrl(*_args
,**_kwargs
):
835 val
= wxTextCtrlPtr(controlsc
.new_wxPreTextCtrl(*_args
,**_kwargs
))
841 class wxScrollBarPtr(wxControlPtr
):
842 def __init__(self
,this
):
845 def Create(self
, *_args
, **_kwargs
):
846 val
= controlsc
.wxScrollBar_Create(self
, *_args
, **_kwargs
)
848 def GetRange(self
, *_args
, **_kwargs
):
849 val
= controlsc
.wxScrollBar_GetRange(self
, *_args
, **_kwargs
)
851 def GetPageSize(self
, *_args
, **_kwargs
):
852 val
= controlsc
.wxScrollBar_GetPageSize(self
, *_args
, **_kwargs
)
854 def GetThumbPosition(self
, *_args
, **_kwargs
):
855 val
= controlsc
.wxScrollBar_GetThumbPosition(self
, *_args
, **_kwargs
)
857 def GetThumbSize(self
, *_args
, **_kwargs
):
858 val
= controlsc
.wxScrollBar_GetThumbSize(self
, *_args
, **_kwargs
)
860 def GetThumbLength(self
, *_args
, **_kwargs
):
861 val
= controlsc
.wxScrollBar_GetThumbLength(self
, *_args
, **_kwargs
)
863 def IsVertical(self
, *_args
, **_kwargs
):
864 val
= controlsc
.wxScrollBar_IsVertical(self
, *_args
, **_kwargs
)
866 def SetThumbPosition(self
, *_args
, **_kwargs
):
867 val
= controlsc
.wxScrollBar_SetThumbPosition(self
, *_args
, **_kwargs
)
869 def SetScrollbar(self
, *_args
, **_kwargs
):
870 val
= controlsc
.wxScrollBar_SetScrollbar(self
, *_args
, **_kwargs
)
873 return "<%s.%s instance; proxy of C++ wxScrollBar instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
874 class wxScrollBar(wxScrollBarPtr
):
875 def __init__(self
,*_args
,**_kwargs
):
876 self
.this
= controlsc
.new_wxScrollBar(*_args
,**_kwargs
)
878 self
._setOORInfo
(self
)
882 def wxPreScrollBar(*_args
,**_kwargs
):
883 val
= wxScrollBarPtr(controlsc
.new_wxPreScrollBar(*_args
,**_kwargs
))
889 class wxSpinButtonPtr(wxControlPtr
):
890 def __init__(self
,this
):
893 def Create(self
, *_args
, **_kwargs
):
894 val
= controlsc
.wxSpinButton_Create(self
, *_args
, **_kwargs
)
896 def GetMax(self
, *_args
, **_kwargs
):
897 val
= controlsc
.wxSpinButton_GetMax(self
, *_args
, **_kwargs
)
899 def GetMin(self
, *_args
, **_kwargs
):
900 val
= controlsc
.wxSpinButton_GetMin(self
, *_args
, **_kwargs
)
902 def GetValue(self
, *_args
, **_kwargs
):
903 val
= controlsc
.wxSpinButton_GetValue(self
, *_args
, **_kwargs
)
905 def SetRange(self
, *_args
, **_kwargs
):
906 val
= controlsc
.wxSpinButton_SetRange(self
, *_args
, **_kwargs
)
908 def SetValue(self
, *_args
, **_kwargs
):
909 val
= controlsc
.wxSpinButton_SetValue(self
, *_args
, **_kwargs
)
912 return "<%s.%s instance; proxy of C++ wxSpinButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
913 class wxSpinButton(wxSpinButtonPtr
):
914 def __init__(self
,*_args
,**_kwargs
):
915 self
.this
= controlsc
.new_wxSpinButton(*_args
,**_kwargs
)
917 self
._setOORInfo
(self
)
921 def wxPreSpinButton(*_args
,**_kwargs
):
922 val
= wxSpinButtonPtr(controlsc
.new_wxPreSpinButton(*_args
,**_kwargs
))
928 class wxStaticBitmapPtr(wxControlPtr
):
929 def __init__(self
,this
):
932 def Create(self
, *_args
, **_kwargs
):
933 val
= controlsc
.wxStaticBitmap_Create(self
, *_args
, **_kwargs
)
935 def GetBitmap(self
, *_args
, **_kwargs
):
936 val
= controlsc
.wxStaticBitmap_GetBitmap(self
, *_args
, **_kwargs
)
937 if val
: val
= wxBitmapPtr(val
) ; val
.thisown
= 1
939 def SetBitmap(self
, *_args
, **_kwargs
):
940 val
= controlsc
.wxStaticBitmap_SetBitmap(self
, *_args
, **_kwargs
)
942 def SetIcon(self
, *_args
, **_kwargs
):
943 val
= controlsc
.wxStaticBitmap_SetIcon(self
, *_args
, **_kwargs
)
946 return "<%s.%s instance; proxy of C++ wxStaticBitmap instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
947 class wxStaticBitmap(wxStaticBitmapPtr
):
948 def __init__(self
,*_args
,**_kwargs
):
949 self
.this
= controlsc
.new_wxStaticBitmap(*_args
,**_kwargs
)
951 self
._setOORInfo
(self
)
955 def wxPreStaticBitmap(*_args
,**_kwargs
):
956 val
= wxStaticBitmapPtr(controlsc
.new_wxPreStaticBitmap(*_args
,**_kwargs
))
962 class wxRadioBoxPtr(wxControlPtr
):
963 def __init__(self
,this
):
966 def Create(self
, *_args
, **_kwargs
):
967 val
= controlsc
.wxRadioBox_Create(self
, *_args
, **_kwargs
)
969 def Enable(self
, *_args
, **_kwargs
):
970 val
= controlsc
.wxRadioBox_Enable(self
, *_args
, **_kwargs
)
972 def EnableItem(self
, *_args
, **_kwargs
):
973 val
= controlsc
.wxRadioBox_EnableItem(self
, *_args
, **_kwargs
)
975 def FindString(self
, *_args
, **_kwargs
):
976 val
= controlsc
.wxRadioBox_FindString(self
, *_args
, **_kwargs
)
978 def GetString(self
, *_args
, **_kwargs
):
979 val
= controlsc
.wxRadioBox_GetString(self
, *_args
, **_kwargs
)
981 def SetString(self
, *_args
, **_kwargs
):
982 val
= controlsc
.wxRadioBox_SetString(self
, *_args
, **_kwargs
)
984 def GetColumnCount(self
, *_args
, **_kwargs
):
985 val
= controlsc
.wxRadioBox_GetColumnCount(self
, *_args
, **_kwargs
)
987 def GetRowCount(self
, *_args
, **_kwargs
):
988 val
= controlsc
.wxRadioBox_GetRowCount(self
, *_args
, **_kwargs
)
990 def GetNextItem(self
, *_args
, **_kwargs
):
991 val
= controlsc
.wxRadioBox_GetNextItem(self
, *_args
, **_kwargs
)
993 def GetSelection(self
, *_args
, **_kwargs
):
994 val
= controlsc
.wxRadioBox_GetSelection(self
, *_args
, **_kwargs
)
996 def GetStringSelection(self
, *_args
, **_kwargs
):
997 val
= controlsc
.wxRadioBox_GetStringSelection(self
, *_args
, **_kwargs
)
999 def GetCount(self
, *_args
, **_kwargs
):
1000 val
= controlsc
.wxRadioBox_GetCount(self
, *_args
, **_kwargs
)
1002 def SetSelection(self
, *_args
, **_kwargs
):
1003 val
= controlsc
.wxRadioBox_SetSelection(self
, *_args
, **_kwargs
)
1005 def SetStringSelection(self
, *_args
, **_kwargs
):
1006 val
= controlsc
.wxRadioBox_SetStringSelection(self
, *_args
, **_kwargs
)
1008 def Show(self
, *_args
, **_kwargs
):
1009 val
= controlsc
.wxRadioBox_Show(self
, *_args
, **_kwargs
)
1011 def ShowItem(self
, *_args
, **_kwargs
):
1012 val
= controlsc
.wxRadioBox_ShowItem(self
, *_args
, **_kwargs
)
1015 return "<%s.%s instance; proxy of C++ wxRadioBox instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1017 GetItemLabel
= GetString
1018 SetItemLabel
= SetString
1021 class wxRadioBox(wxRadioBoxPtr
):
1022 def __init__(self
,*_args
,**_kwargs
):
1023 self
.this
= controlsc
.new_wxRadioBox(*_args
,**_kwargs
)
1025 self
._setOORInfo
(self
)
1029 def wxPreRadioBox(*_args
,**_kwargs
):
1030 val
= wxRadioBoxPtr(controlsc
.new_wxPreRadioBox(*_args
,**_kwargs
))
1032 val
._setOORInfo
(val
)
1036 class wxRadioButtonPtr(wxControlPtr
):
1037 def __init__(self
,this
):
1040 def Create(self
, *_args
, **_kwargs
):
1041 val
= controlsc
.wxRadioButton_Create(self
, *_args
, **_kwargs
)
1043 def GetValue(self
, *_args
, **_kwargs
):
1044 val
= controlsc
.wxRadioButton_GetValue(self
, *_args
, **_kwargs
)
1046 def SetValue(self
, *_args
, **_kwargs
):
1047 val
= controlsc
.wxRadioButton_SetValue(self
, *_args
, **_kwargs
)
1050 return "<%s.%s instance; proxy of C++ wxRadioButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1051 class wxRadioButton(wxRadioButtonPtr
):
1052 def __init__(self
,*_args
,**_kwargs
):
1053 self
.this
= controlsc
.new_wxRadioButton(*_args
,**_kwargs
)
1055 self
._setOORInfo
(self
)
1059 def wxPreRadioButton(*_args
,**_kwargs
):
1060 val
= wxRadioButtonPtr(controlsc
.new_wxPreRadioButton(*_args
,**_kwargs
))
1062 val
._setOORInfo
(val
)
1066 class wxSliderPtr(wxControlPtr
):
1067 def __init__(self
,this
):
1070 def Create(self
, *_args
, **_kwargs
):
1071 val
= controlsc
.wxSlider_Create(self
, *_args
, **_kwargs
)
1073 def ClearSel(self
, *_args
, **_kwargs
):
1074 val
= controlsc
.wxSlider_ClearSel(self
, *_args
, **_kwargs
)
1076 def ClearTicks(self
, *_args
, **_kwargs
):
1077 val
= controlsc
.wxSlider_ClearTicks(self
, *_args
, **_kwargs
)
1079 def GetLineSize(self
, *_args
, **_kwargs
):
1080 val
= controlsc
.wxSlider_GetLineSize(self
, *_args
, **_kwargs
)
1082 def GetMax(self
, *_args
, **_kwargs
):
1083 val
= controlsc
.wxSlider_GetMax(self
, *_args
, **_kwargs
)
1085 def GetMin(self
, *_args
, **_kwargs
):
1086 val
= controlsc
.wxSlider_GetMin(self
, *_args
, **_kwargs
)
1088 def GetPageSize(self
, *_args
, **_kwargs
):
1089 val
= controlsc
.wxSlider_GetPageSize(self
, *_args
, **_kwargs
)
1091 def GetSelEnd(self
, *_args
, **_kwargs
):
1092 val
= controlsc
.wxSlider_GetSelEnd(self
, *_args
, **_kwargs
)
1094 def GetSelStart(self
, *_args
, **_kwargs
):
1095 val
= controlsc
.wxSlider_GetSelStart(self
, *_args
, **_kwargs
)
1097 def GetThumbLength(self
, *_args
, **_kwargs
):
1098 val
= controlsc
.wxSlider_GetThumbLength(self
, *_args
, **_kwargs
)
1100 def GetTickFreq(self
, *_args
, **_kwargs
):
1101 val
= controlsc
.wxSlider_GetTickFreq(self
, *_args
, **_kwargs
)
1103 def GetValue(self
, *_args
, **_kwargs
):
1104 val
= controlsc
.wxSlider_GetValue(self
, *_args
, **_kwargs
)
1106 def SetRange(self
, *_args
, **_kwargs
):
1107 val
= controlsc
.wxSlider_SetRange(self
, *_args
, **_kwargs
)
1109 def SetTickFreq(self
, *_args
, **_kwargs
):
1110 val
= controlsc
.wxSlider_SetTickFreq(self
, *_args
, **_kwargs
)
1112 def SetLineSize(self
, *_args
, **_kwargs
):
1113 val
= controlsc
.wxSlider_SetLineSize(self
, *_args
, **_kwargs
)
1115 def SetPageSize(self
, *_args
, **_kwargs
):
1116 val
= controlsc
.wxSlider_SetPageSize(self
, *_args
, **_kwargs
)
1118 def SetSelection(self
, *_args
, **_kwargs
):
1119 val
= controlsc
.wxSlider_SetSelection(self
, *_args
, **_kwargs
)
1121 def SetThumbLength(self
, *_args
, **_kwargs
):
1122 val
= controlsc
.wxSlider_SetThumbLength(self
, *_args
, **_kwargs
)
1124 def SetTick(self
, *_args
, **_kwargs
):
1125 val
= controlsc
.wxSlider_SetTick(self
, *_args
, **_kwargs
)
1127 def SetValue(self
, *_args
, **_kwargs
):
1128 val
= controlsc
.wxSlider_SetValue(self
, *_args
, **_kwargs
)
1131 return "<%s.%s instance; proxy of C++ wxSlider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1132 class wxSlider(wxSliderPtr
):
1133 def __init__(self
,*_args
,**_kwargs
):
1134 self
.this
= controlsc
.new_wxSlider(*_args
,**_kwargs
)
1136 self
._setOORInfo
(self
)
1140 def wxPreSlider(*_args
,**_kwargs
):
1141 val
= wxSliderPtr(controlsc
.new_wxPreSlider(*_args
,**_kwargs
))
1143 val
._setOORInfo
(val
)
1147 class wxSpinCtrlPtr(wxSpinButtonPtr
):
1148 def __init__(self
,this
):
1151 def Create(self
, *_args
, **_kwargs
):
1152 val
= controlsc
.wxSpinCtrl_Create(self
, *_args
, **_kwargs
)
1154 def GetMax(self
, *_args
, **_kwargs
):
1155 val
= controlsc
.wxSpinCtrl_GetMax(self
, *_args
, **_kwargs
)
1157 def GetMin(self
, *_args
, **_kwargs
):
1158 val
= controlsc
.wxSpinCtrl_GetMin(self
, *_args
, **_kwargs
)
1160 def GetValue(self
, *_args
, **_kwargs
):
1161 val
= controlsc
.wxSpinCtrl_GetValue(self
, *_args
, **_kwargs
)
1163 def SetRange(self
, *_args
, **_kwargs
):
1164 val
= controlsc
.wxSpinCtrl_SetRange(self
, *_args
, **_kwargs
)
1166 def SetValue(self
, *_args
, **_kwargs
):
1167 val
= controlsc
.wxSpinCtrl_SetValue(self
, *_args
, **_kwargs
)
1169 def SetSelection(self
, *_args
, **_kwargs
):
1170 val
= controlsc
.wxSpinCtrl_SetSelection(self
, *_args
, **_kwargs
)
1173 return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1174 class wxSpinCtrl(wxSpinCtrlPtr
):
1175 def __init__(self
,*_args
,**_kwargs
):
1176 self
.this
= controlsc
.new_wxSpinCtrl(*_args
,**_kwargs
)
1178 self
._setOORInfo
(self
)
1182 def wxPreSpinCtrl(*_args
,**_kwargs
):
1183 val
= wxSpinCtrlPtr(controlsc
.new_wxPreSpinCtrl(*_args
,**_kwargs
))
1185 val
._setOORInfo
(val
)
1189 class wxToggleButtonPtr(wxControlPtr
):
1190 def __init__(self
,this
):
1193 def Create(self
, *_args
, **_kwargs
):
1194 val
= controlsc
.wxToggleButton_Create(self
, *_args
, **_kwargs
)
1196 def SetValue(self
, *_args
, **_kwargs
):
1197 val
= controlsc
.wxToggleButton_SetValue(self
, *_args
, **_kwargs
)
1199 def GetValue(self
, *_args
, **_kwargs
):
1200 val
= controlsc
.wxToggleButton_GetValue(self
, *_args
, **_kwargs
)
1202 def SetLabel(self
, *_args
, **_kwargs
):
1203 val
= controlsc
.wxToggleButton_SetLabel(self
, *_args
, **_kwargs
)
1206 return "<%s.%s instance; proxy of C++ wxToggleButton instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
1207 class wxToggleButton(wxToggleButtonPtr
):
1208 def __init__(self
,*_args
,**_kwargs
):
1209 self
.this
= controlsc
.new_wxToggleButton(*_args
,**_kwargs
)
1211 self
._setOORInfo
(self
)
1215 def wxPreToggleButton(*_args
,**_kwargs
):
1216 val
= wxToggleButtonPtr(controlsc
.new_wxPreToggleButton(*_args
,**_kwargs
))
1218 val
._setOORInfo
(val
)
1224 #-------------- FUNCTION WRAPPERS ------------------
1226 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
1227 val
= controlsc
.wxButton_GetDefaultSize(*_args
,**_kwargs
)
1228 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
1231 def wxTextAttr_Combine(*_args
, **_kwargs
):
1232 val
= controlsc
.wxTextAttr_Combine(*_args
,**_kwargs
)
1233 if val
: val
= wxTextAttrPtr(val
); val
.thisown
= 1
1238 #-------------- VARIABLE WRAPPERS ------------------
1240 cvar
= controlsc
.cvar
1241 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
1242 wxTE_NO_VSCROLL
= controlsc
.wxTE_NO_VSCROLL
1243 wxTE_AUTO_SCROLL
= controlsc
.wxTE_AUTO_SCROLL
1244 wxTE_READONLY
= controlsc
.wxTE_READONLY
1245 wxTE_MULTILINE
= controlsc
.wxTE_MULTILINE
1246 wxTE_PROCESS_TAB
= controlsc
.wxTE_PROCESS_TAB
1247 wxTE_LEFT
= controlsc
.wxTE_LEFT
1248 wxTE_CENTER
= controlsc
.wxTE_CENTER
1249 wxTE_RIGHT
= controlsc
.wxTE_RIGHT
1250 wxTE_CENTRE
= controlsc
.wxTE_CENTRE
1251 wxTE_RICH
= controlsc
.wxTE_RICH
1252 wxTE_PROCESS_ENTER
= controlsc
.wxTE_PROCESS_ENTER
1253 wxTE_PASSWORD
= controlsc
.wxTE_PASSWORD
1254 wxTE_AUTO_URL
= controlsc
.wxTE_AUTO_URL
1255 wxTE_NOHIDESEL
= controlsc
.wxTE_NOHIDESEL
1256 wxTE_DONTWRAP
= controlsc
.wxTE_DONTWRAP
1257 wxTE_LINEWRAP
= controlsc
.wxTE_LINEWRAP
1258 wxTE_WORDWRAP
= controlsc
.wxTE_WORDWRAP
1259 wxTE_RICH2
= controlsc
.wxTE_RICH2
1260 wxTEXT_ATTR_TEXT_COLOUR
= controlsc
.wxTEXT_ATTR_TEXT_COLOUR
1261 wxTEXT_ATTR_BACKGROUND_COLOUR
= controlsc
.wxTEXT_ATTR_BACKGROUND_COLOUR
1262 wxTEXT_ATTR_FONT_FACE
= controlsc
.wxTEXT_ATTR_FONT_FACE
1263 wxTEXT_ATTR_FONT_SIZE
= controlsc
.wxTEXT_ATTR_FONT_SIZE
1264 wxTEXT_ATTR_FONT_WEIGHT
= controlsc
.wxTEXT_ATTR_FONT_WEIGHT
1265 wxTEXT_ATTR_FONT_ITALIC
= controlsc
.wxTEXT_ATTR_FONT_ITALIC
1266 wxTEXT_ATTR_FONT_UNDERLINE
= controlsc
.wxTEXT_ATTR_FONT_UNDERLINE
1267 wxTEXT_ATTR_FONT
= controlsc
.wxTEXT_ATTR_FONT
1268 wxTEXT_ATTR_ALIGNMENT
= controlsc
.wxTEXT_ATTR_ALIGNMENT
1269 wxTEXT_ATTR_LEFT_INDENT
= controlsc
.wxTEXT_ATTR_LEFT_INDENT
1270 wxTEXT_ATTR_RIGHT_INDENT
= controlsc
.wxTEXT_ATTR_RIGHT_INDENT
1271 wxTEXT_ATTR_TABS
= controlsc
.wxTEXT_ATTR_TABS
1272 wxTEXT_ALIGNMENT_DEFAULT
= controlsc
.wxTEXT_ALIGNMENT_DEFAULT
1273 wxTEXT_ALIGNMENT_LEFT
= controlsc
.wxTEXT_ALIGNMENT_LEFT
1274 wxTEXT_ALIGNMENT_CENTRE
= controlsc
.wxTEXT_ALIGNMENT_CENTRE
1275 wxTEXT_ALIGNMENT_CENTER
= controlsc
.wxTEXT_ALIGNMENT_CENTER
1276 wxTEXT_ALIGNMENT_RIGHT
= controlsc
.wxTEXT_ALIGNMENT_RIGHT
1277 wxTEXT_ALIGNMENT_JUSTIFIED
= controlsc
.wxTEXT_ALIGNMENT_JUSTIFIED
1278 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED