1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
14 class wxControlPtr(wxWindowPtr
):
15 def __init__(self
,this
):
18 def Command(self
, *_args
, **_kwargs
):
19 val
= apply(controlsc
.wxControl_Command
,(self
,) + _args
, _kwargs
)
21 def GetLabel(self
, *_args
, **_kwargs
):
22 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
24 def SetLabel(self
, *_args
, **_kwargs
):
25 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
28 return "<C wxControl instance at %s>" % (self
.this
,)
29 class wxControl(wxControlPtr
):
30 def __init__(self
,*_args
,**_kwargs
):
31 self
.this
= apply(controlsc
.new_wxControl
,_args
,_kwargs
)
33 #wx._StdWindowCallbacks(self)
38 class wxButtonPtr(wxControlPtr
):
39 def __init__(self
,this
):
42 def SetDefault(self
, *_args
, **_kwargs
):
43 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
45 def SetBackgroundColour(self
, *_args
, **_kwargs
):
46 val
= apply(controlsc
.wxButton_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
48 def SetForegroundColour(self
, *_args
, **_kwargs
):
49 val
= apply(controlsc
.wxButton_SetForegroundColour
,(self
,) + _args
, _kwargs
)
52 return "<C wxButton instance at %s>" % (self
.this
,)
53 class wxButton(wxButtonPtr
):
54 def __init__(self
,*_args
,**_kwargs
):
55 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
57 #wx._StdWindowCallbacks(self)
62 class wxBitmapButtonPtr(wxButtonPtr
):
63 def __init__(self
,this
):
66 def GetBitmapLabel(self
, *_args
, **_kwargs
):
67 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
68 if val
: val
= wxBitmapPtr(val
)
70 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
71 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
72 if val
: val
= wxBitmapPtr(val
)
74 def GetBitmapFocus(self
, *_args
, **_kwargs
):
75 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
76 if val
: val
= wxBitmapPtr(val
)
78 def GetBitmapSelected(self
, *_args
, **_kwargs
):
79 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
80 if val
: val
= wxBitmapPtr(val
)
82 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
83 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
85 def SetBitmapFocus(self
, *_args
, **_kwargs
):
86 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
88 def SetBitmapSelected(self
, *_args
, **_kwargs
):
89 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
91 def SetBitmapLabel(self
, *_args
, **_kwargs
):
92 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
94 def SetMargins(self
, *_args
, **_kwargs
):
95 val
= apply(controlsc
.wxBitmapButton_SetMargins
,(self
,) + _args
, _kwargs
)
97 def GetMarginX(self
, *_args
, **_kwargs
):
98 val
= apply(controlsc
.wxBitmapButton_GetMarginX
,(self
,) + _args
, _kwargs
)
100 def GetMarginY(self
, *_args
, **_kwargs
):
101 val
= apply(controlsc
.wxBitmapButton_GetMarginY
,(self
,) + _args
, _kwargs
)
104 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
105 class wxBitmapButton(wxBitmapButtonPtr
):
106 def __init__(self
,*_args
,**_kwargs
):
107 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
109 #wx._StdWindowCallbacks(self)
114 class wxCheckBoxPtr(wxControlPtr
):
115 def __init__(self
,this
):
118 def GetValue(self
, *_args
, **_kwargs
):
119 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
121 def SetValue(self
, *_args
, **_kwargs
):
122 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
125 return "<C wxCheckBox instance at %s>" % (self
.this
,)
126 class wxCheckBox(wxCheckBoxPtr
):
127 def __init__(self
,*_args
,**_kwargs
):
128 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
130 #wx._StdWindowCallbacks(self)
135 class wxChoicePtr(wxControlPtr
):
136 def __init__(self
,this
):
139 def Append(self
, *_args
, **_kwargs
):
140 val
= apply(controlsc
.wxChoice_Append
,(self
,) + _args
, _kwargs
)
142 def Clear(self
, *_args
, **_kwargs
):
143 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
145 def Delete(self
, *_args
, **_kwargs
):
146 val
= apply(controlsc
.wxChoice_Delete
,(self
,) + _args
, _kwargs
)
148 def FindString(self
, *_args
, **_kwargs
):
149 val
= apply(controlsc
.wxChoice_FindString
,(self
,) + _args
, _kwargs
)
151 def GetColumns(self
, *_args
, **_kwargs
):
152 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
154 def GetSelection(self
, *_args
, **_kwargs
):
155 val
= apply(controlsc
.wxChoice_GetSelection
,(self
,) + _args
, _kwargs
)
157 def GetString(self
, *_args
, **_kwargs
):
158 val
= apply(controlsc
.wxChoice_GetString
,(self
,) + _args
, _kwargs
)
160 def GetStringSelection(self
, *_args
, **_kwargs
):
161 val
= apply(controlsc
.wxChoice_GetStringSelection
,(self
,) + _args
, _kwargs
)
163 def GetCount(self
, *_args
, **_kwargs
):
164 val
= apply(controlsc
.wxChoice_GetCount
,(self
,) + _args
, _kwargs
)
166 def SetColumns(self
, *_args
, **_kwargs
):
167 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
169 def SetSelection(self
, *_args
, **_kwargs
):
170 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
172 def SetStringSelection(self
, *_args
, **_kwargs
):
173 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
175 def SetString(self
, *_args
, **_kwargs
):
176 val
= apply(controlsc
.wxChoice_SetString
,(self
,) + _args
, _kwargs
)
179 return "<C wxChoice instance at %s>" % (self
.this
,)
182 Select
= SetSelection
184 class wxChoice(wxChoicePtr
):
185 def __init__(self
,*_args
,**_kwargs
):
186 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
188 #wx._StdWindowCallbacks(self)
193 class wxComboBoxPtr(wxChoicePtr
):
194 def __init__(self
,this
):
197 def Append(self
, *_args
, **_kwargs
):
198 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
200 def Clear(self
, *_args
, **_kwargs
):
201 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
203 def Copy(self
, *_args
, **_kwargs
):
204 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
206 def Cut(self
, *_args
, **_kwargs
):
207 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
209 def Delete(self
, *_args
, **_kwargs
):
210 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
212 def FindString(self
, *_args
, **_kwargs
):
213 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
215 def GetInsertionPoint(self
, *_args
, **_kwargs
):
216 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
218 def GetLastPosition(self
, *_args
, **_kwargs
):
219 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
221 def GetSelection(self
, *_args
, **_kwargs
):
222 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
224 def GetString(self
, *_args
, **_kwargs
):
225 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
227 def GetStringSelection(self
, *_args
, **_kwargs
):
228 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
230 def GetValue(self
, *_args
, **_kwargs
):
231 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
233 def Paste(self
, *_args
, **_kwargs
):
234 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
236 def Replace(self
, *_args
, **_kwargs
):
237 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
239 def Remove(self
, *_args
, **_kwargs
):
240 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
242 def SetInsertionPoint(self
, *_args
, **_kwargs
):
243 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
245 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
246 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
248 def SetSelection(self
, *_args
, **_kwargs
):
249 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
251 def SetMark(self
, *_args
, **_kwargs
):
252 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
254 def SetValue(self
, *_args
, **_kwargs
):
255 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
257 def SetEditable(self
, *_args
, **_kwargs
):
258 val
= apply(controlsc
.wxComboBox_SetEditable
,(self
,) + _args
, _kwargs
)
261 return "<C wxComboBox instance at %s>" % (self
.this
,)
262 class wxComboBox(wxComboBoxPtr
):
263 def __init__(self
,*_args
,**_kwargs
):
264 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
266 #wx._StdWindowCallbacks(self)
271 class wxGaugePtr(wxControlPtr
):
272 def __init__(self
,this
):
275 def GetBezelFace(self
, *_args
, **_kwargs
):
276 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
278 def GetRange(self
, *_args
, **_kwargs
):
279 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
281 def GetShadowWidth(self
, *_args
, **_kwargs
):
282 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
284 def GetValue(self
, *_args
, **_kwargs
):
285 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
287 def SetBezelFace(self
, *_args
, **_kwargs
):
288 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
290 def SetRange(self
, *_args
, **_kwargs
):
291 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
293 def SetShadowWidth(self
, *_args
, **_kwargs
):
294 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
296 def SetValue(self
, *_args
, **_kwargs
):
297 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
300 return "<C wxGauge instance at %s>" % (self
.this
,)
301 class wxGauge(wxGaugePtr
):
302 def __init__(self
,*_args
,**_kwargs
):
303 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
305 #wx._StdWindowCallbacks(self)
310 class wxStaticBoxPtr(wxControlPtr
):
311 def __init__(self
,this
):
315 return "<C wxStaticBox instance at %s>" % (self
.this
,)
316 class wxStaticBox(wxStaticBoxPtr
):
317 def __init__(self
,*_args
,**_kwargs
):
318 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
324 class wxStaticLinePtr(wxControlPtr
):
325 def __init__(self
,this
):
329 return "<C wxStaticLine instance at %s>" % (self
.this
,)
330 class wxStaticLine(wxStaticLinePtr
):
331 def __init__(self
,*_args
,**_kwargs
):
332 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
338 class wxStaticTextPtr(wxControlPtr
):
339 def __init__(self
,this
):
342 def GetLabel(self
, *_args
, **_kwargs
):
343 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
345 def SetLabel(self
, *_args
, **_kwargs
):
346 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
349 return "<C wxStaticText instance at %s>" % (self
.this
,)
350 class wxStaticText(wxStaticTextPtr
):
351 def __init__(self
,*_args
,**_kwargs
):
352 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
354 #wx._StdWindowCallbacks(self)
359 class wxListBoxPtr(wxControlPtr
):
360 def __init__(self
,this
):
363 def Append(self
, *_args
, **_kwargs
):
364 val
= apply(controlsc
.wxListBox_Append
,(self
,) + _args
, _kwargs
)
366 def Clear(self
, *_args
, **_kwargs
):
367 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
369 def Delete(self
, *_args
, **_kwargs
):
370 val
= apply(controlsc
.wxListBox_Delete
,(self
,) + _args
, _kwargs
)
372 def Deselect(self
, *_args
, **_kwargs
):
373 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
375 def FindString(self
, *_args
, **_kwargs
):
376 val
= apply(controlsc
.wxListBox_FindString
,(self
,) + _args
, _kwargs
)
378 def GetSelection(self
, *_args
, **_kwargs
):
379 val
= apply(controlsc
.wxListBox_GetSelection
,(self
,) + _args
, _kwargs
)
381 def GetSelections(self
, *_args
, **_kwargs
):
382 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
384 def InsertItems(self
, *_args
, **_kwargs
):
385 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
387 def GetString(self
, *_args
, **_kwargs
):
388 val
= apply(controlsc
.wxListBox_GetString
,(self
,) + _args
, _kwargs
)
390 def GetStringSelection(self
, *_args
, **_kwargs
):
391 val
= apply(controlsc
.wxListBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
393 def GetCount(self
, *_args
, **_kwargs
):
394 val
= apply(controlsc
.wxListBox_GetCount
,(self
,) + _args
, _kwargs
)
396 def IsSelected(self
, *_args
, **_kwargs
):
397 val
= apply(controlsc
.wxListBox_IsSelected
,(self
,) + _args
, _kwargs
)
399 def Selected(self
, *_args
, **_kwargs
):
400 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
402 def Set(self
, *_args
, **_kwargs
):
403 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
405 def SetFirstItem(self
, *_args
, **_kwargs
):
406 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
408 def SetFirstItemStr(self
, *_args
, **_kwargs
):
409 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
411 def SetSelection(self
, *_args
, **_kwargs
):
412 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
414 def SetString(self
, *_args
, **_kwargs
):
415 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
417 def SetStringSelection(self
, *_args
, **_kwargs
):
418 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
421 return "<C wxListBox instance at %s>" % (self
.this
,)
423 class wxListBox(wxListBoxPtr
):
424 def __init__(self
,*_args
,**_kwargs
):
425 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
427 #wx._StdWindowCallbacks(self)
432 class wxCheckListBoxPtr(wxListBoxPtr
):
433 def __init__(self
,this
):
436 def IsChecked(self
, *_args
, **_kwargs
):
437 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
439 def Check(self
, *_args
, **_kwargs
):
440 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
442 def InsertItems(self
, *_args
, **_kwargs
):
443 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
445 def GetItemHeight(self
, *_args
, **_kwargs
):
446 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
449 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
450 class wxCheckListBox(wxCheckListBoxPtr
):
451 def __init__(self
,*_args
,**_kwargs
):
452 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
454 #wx._StdWindowCallbacks(self)
459 class wxTextAttrPtr
:
460 def __init__(self
,this
):
463 def __del__(self
,controlsc
=controlsc
):
464 if self
.thisown
== 1 :
465 controlsc
.delete_wxTextAttr(self
)
466 def SetTextColour(self
, *_args
, **_kwargs
):
467 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
469 def SetBackgroundColour(self
, *_args
, **_kwargs
):
470 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
472 def SetFont(self
, *_args
, **_kwargs
):
473 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
475 def HasTextColour(self
, *_args
, **_kwargs
):
476 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
478 def HasBackgroundColour(self
, *_args
, **_kwargs
):
479 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
481 def HasFont(self
, *_args
, **_kwargs
):
482 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
484 def GetTextColour(self
, *_args
, **_kwargs
):
485 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
486 if val
: val
= wxColourPtr(val
)
488 def GetBackgroundColour(self
, *_args
, **_kwargs
):
489 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
490 if val
: val
= wxColourPtr(val
)
492 def GetFont(self
, *_args
, **_kwargs
):
493 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
494 if val
: val
= wxFontPtr(val
)
497 return "<C wxTextAttr instance at %s>" % (self
.this
,)
498 class wxTextAttr(wxTextAttrPtr
):
499 def __init__(self
,*_args
,**_kwargs
):
500 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
506 class wxTextCtrlPtr(wxControlPtr
):
507 def __init__(self
,this
):
510 def Clear(self
, *_args
, **_kwargs
):
511 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
513 def Copy(self
, *_args
, **_kwargs
):
514 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
516 def Cut(self
, *_args
, **_kwargs
):
517 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
519 def DiscardEdits(self
, *_args
, **_kwargs
):
520 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
522 def GetInsertionPoint(self
, *_args
, **_kwargs
):
523 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
525 def GetLastPosition(self
, *_args
, **_kwargs
):
526 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
528 def GetLineLength(self
, *_args
, **_kwargs
):
529 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
531 def GetLineText(self
, *_args
, **_kwargs
):
532 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
534 def GetNumberOfLines(self
, *_args
, **_kwargs
):
535 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
537 def GetValue(self
, *_args
, **_kwargs
):
538 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
540 def IsModified(self
, *_args
, **_kwargs
):
541 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
543 def LoadFile(self
, *_args
, **_kwargs
):
544 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
546 def Paste(self
, *_args
, **_kwargs
):
547 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
549 def PositionToXY(self
, *_args
, **_kwargs
):
550 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
552 def Remove(self
, *_args
, **_kwargs
):
553 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
555 def Replace(self
, *_args
, **_kwargs
):
556 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
558 def SaveFile(self
, *_args
, **_kwargs
):
559 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
561 def SetEditable(self
, *_args
, **_kwargs
):
562 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
564 def SetInsertionPoint(self
, *_args
, **_kwargs
):
565 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
567 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
568 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
570 def SetSelection(self
, *_args
, **_kwargs
):
571 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
573 def SetValue(self
, *_args
, **_kwargs
):
574 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
576 def ShowPosition(self
, *_args
, **_kwargs
):
577 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
579 def WriteText(self
, *_args
, **_kwargs
):
580 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
582 def AppendText(self
, *_args
, **_kwargs
):
583 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
585 def XYToPosition(self
, *_args
, **_kwargs
):
586 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
588 def CanCopy(self
, *_args
, **_kwargs
):
589 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
591 def CanCut(self
, *_args
, **_kwargs
):
592 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
594 def CanPaste(self
, *_args
, **_kwargs
):
595 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
597 def CanRedo(self
, *_args
, **_kwargs
):
598 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
600 def CanUndo(self
, *_args
, **_kwargs
):
601 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
603 def GetSelection(self
, *_args
, **_kwargs
):
604 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
606 def IsEditable(self
, *_args
, **_kwargs
):
607 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
609 def Undo(self
, *_args
, **_kwargs
):
610 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
612 def Redo(self
, *_args
, **_kwargs
):
613 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
615 def SetStyle(self
, *_args
, **_kwargs
):
616 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
618 def SetDefaultStyle(self
, *_args
, **_kwargs
):
619 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
621 def GetDefaultStyle(self
, *_args
, **_kwargs
):
622 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
623 if val
: val
= wxTextAttrPtr(val
)
625 def write(self
, *_args
, **_kwargs
):
626 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
629 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
630 class wxTextCtrl(wxTextCtrlPtr
):
631 def __init__(self
,*_args
,**_kwargs
):
632 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
634 #wx._StdWindowCallbacks(self)
639 class wxScrollBarPtr(wxControlPtr
):
640 def __init__(self
,this
):
643 def GetRange(self
, *_args
, **_kwargs
):
644 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
646 def GetPageSize(self
, *_args
, **_kwargs
):
647 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
649 def GetThumbPosition(self
, *_args
, **_kwargs
):
650 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
652 def GetThumbSize(self
, *_args
, **_kwargs
):
653 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
655 def GetThumbLength(self
, *_args
, **_kwargs
):
656 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
658 def SetThumbPosition(self
, *_args
, **_kwargs
):
659 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
661 def SetScrollbar(self
, *_args
, **_kwargs
):
662 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
665 return "<C wxScrollBar instance at %s>" % (self
.this
,)
666 class wxScrollBar(wxScrollBarPtr
):
667 def __init__(self
,*_args
,**_kwargs
):
668 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
670 #wx._StdWindowCallbacks(self)
675 class wxSpinButtonPtr(wxControlPtr
):
676 def __init__(self
,this
):
679 def GetMax(self
, *_args
, **_kwargs
):
680 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
682 def GetMin(self
, *_args
, **_kwargs
):
683 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
685 def GetValue(self
, *_args
, **_kwargs
):
686 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
688 def SetRange(self
, *_args
, **_kwargs
):
689 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
691 def SetValue(self
, *_args
, **_kwargs
):
692 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
695 return "<C wxSpinButton instance at %s>" % (self
.this
,)
696 class wxSpinButton(wxSpinButtonPtr
):
697 def __init__(self
,*_args
,**_kwargs
):
698 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
704 class wxStaticBitmapPtr(wxControlPtr
):
705 def __init__(self
,this
):
708 def GetBitmap(self
, *_args
, **_kwargs
):
709 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
710 if val
: val
= wxBitmapPtr(val
)
712 def SetBitmap(self
, *_args
, **_kwargs
):
713 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
715 def SetIcon(self
, *_args
, **_kwargs
):
716 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
719 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
720 class wxStaticBitmap(wxStaticBitmapPtr
):
721 def __init__(self
,*_args
,**_kwargs
):
722 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
724 #wx._StdWindowCallbacks(self)
729 class wxRadioBoxPtr(wxControlPtr
):
730 def __init__(self
,this
):
733 def Enable(self
, *_args
, **_kwargs
):
734 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
736 def EnableItem(self
, *_args
, **_kwargs
):
737 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
739 def FindString(self
, *_args
, **_kwargs
):
740 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
742 def GetString(self
, *_args
, **_kwargs
):
743 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
745 def SetString(self
, *_args
, **_kwargs
):
746 val
= apply(controlsc
.wxRadioBox_SetString
,(self
,) + _args
, _kwargs
)
748 def GetColumnCount(self
, *_args
, **_kwargs
):
749 val
= apply(controlsc
.wxRadioBox_GetColumnCount
,(self
,) + _args
, _kwargs
)
751 def GetRowCount(self
, *_args
, **_kwargs
):
752 val
= apply(controlsc
.wxRadioBox_GetRowCount
,(self
,) + _args
, _kwargs
)
754 def GetSelection(self
, *_args
, **_kwargs
):
755 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
757 def GetStringSelection(self
, *_args
, **_kwargs
):
758 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
760 def GetCount(self
, *_args
, **_kwargs
):
761 val
= apply(controlsc
.wxRadioBox_GetCount
,(self
,) + _args
, _kwargs
)
763 def SetSelection(self
, *_args
, **_kwargs
):
764 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
766 def SetStringSelection(self
, *_args
, **_kwargs
):
767 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
769 def Show(self
, *_args
, **_kwargs
):
770 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
772 def ShowItem(self
, *_args
, **_kwargs
):
773 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
776 return "<C wxRadioBox instance at %s>" % (self
.this
,)
778 GetItemLabel
= GetString
779 SetItemLabel
= SetString
782 class wxRadioBox(wxRadioBoxPtr
):
783 def __init__(self
,*_args
,**_kwargs
):
784 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
786 #wx._StdWindowCallbacks(self)
791 class wxRadioButtonPtr(wxControlPtr
):
792 def __init__(self
,this
):
795 def GetValue(self
, *_args
, **_kwargs
):
796 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
798 def SetValue(self
, *_args
, **_kwargs
):
799 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
802 return "<C wxRadioButton instance at %s>" % (self
.this
,)
803 class wxRadioButton(wxRadioButtonPtr
):
804 def __init__(self
,*_args
,**_kwargs
):
805 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
807 #wx._StdWindowCallbacks(self)
812 class wxSliderPtr(wxControlPtr
):
813 def __init__(self
,this
):
816 def ClearSel(self
, *_args
, **_kwargs
):
817 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
819 def ClearTicks(self
, *_args
, **_kwargs
):
820 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
822 def GetLineSize(self
, *_args
, **_kwargs
):
823 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
825 def GetMax(self
, *_args
, **_kwargs
):
826 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
828 def GetMin(self
, *_args
, **_kwargs
):
829 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
831 def GetPageSize(self
, *_args
, **_kwargs
):
832 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
834 def GetSelEnd(self
, *_args
, **_kwargs
):
835 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
837 def GetSelStart(self
, *_args
, **_kwargs
):
838 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
840 def GetThumbLength(self
, *_args
, **_kwargs
):
841 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
843 def GetTickFreq(self
, *_args
, **_kwargs
):
844 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
846 def GetValue(self
, *_args
, **_kwargs
):
847 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
849 def SetRange(self
, *_args
, **_kwargs
):
850 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
852 def SetTickFreq(self
, *_args
, **_kwargs
):
853 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
855 def SetLineSize(self
, *_args
, **_kwargs
):
856 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
858 def SetPageSize(self
, *_args
, **_kwargs
):
859 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
861 def SetSelection(self
, *_args
, **_kwargs
):
862 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
864 def SetThumbLength(self
, *_args
, **_kwargs
):
865 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
867 def SetTick(self
, *_args
, **_kwargs
):
868 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
870 def SetValue(self
, *_args
, **_kwargs
):
871 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
874 return "<C wxSlider instance at %s>" % (self
.this
,)
875 class wxSlider(wxSliderPtr
):
876 def __init__(self
,*_args
,**_kwargs
):
877 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
879 #wx._StdWindowCallbacks(self)
884 class wxSpinCtrlPtr(wxSpinButtonPtr
):
885 def __init__(self
,this
):
888 def GetMax(self
, *_args
, **_kwargs
):
889 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
891 def GetMin(self
, *_args
, **_kwargs
):
892 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
894 def GetValue(self
, *_args
, **_kwargs
):
895 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
897 def SetRange(self
, *_args
, **_kwargs
):
898 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
900 def SetValue(self
, *_args
, **_kwargs
):
901 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
904 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
905 class wxSpinCtrl(wxSpinCtrlPtr
):
906 def __init__(self
,*_args
,**_kwargs
):
907 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
913 class wxToggleButtonPtr(wxControlPtr
):
914 def __init__(self
,this
):
917 def SetValue(self
, *_args
, **_kwargs
):
918 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
920 def GetValue(self
, *_args
, **_kwargs
):
921 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
923 def SetLabel(self
, *_args
, **_kwargs
):
924 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
927 return "<C wxToggleButton instance at %s>" % (self
.this
,)
928 class wxToggleButton(wxToggleButtonPtr
):
929 def __init__(self
,*_args
,**_kwargs
):
930 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
938 #-------------- FUNCTION WRAPPERS ------------------
940 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
941 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
942 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
947 #-------------- VARIABLE WRAPPERS ------------------
949 cvar
= controlsc
.cvar
950 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
951 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED