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 FindString(self
, *_args
, **_kwargs
):
146 val
= apply(controlsc
.wxChoice_FindString
,(self
,) + _args
, _kwargs
)
148 def GetColumns(self
, *_args
, **_kwargs
):
149 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
151 def GetSelection(self
, *_args
, **_kwargs
):
152 val
= apply(controlsc
.wxChoice_GetSelection
,(self
,) + _args
, _kwargs
)
154 def GetString(self
, *_args
, **_kwargs
):
155 val
= apply(controlsc
.wxChoice_GetString
,(self
,) + _args
, _kwargs
)
157 def GetStringSelection(self
, *_args
, **_kwargs
):
158 val
= apply(controlsc
.wxChoice_GetStringSelection
,(self
,) + _args
, _kwargs
)
160 def Number(self
, *_args
, **_kwargs
):
161 val
= apply(controlsc
.wxChoice_Number
,(self
,) + _args
, _kwargs
)
163 def SetColumns(self
, *_args
, **_kwargs
):
164 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
166 def SetSelection(self
, *_args
, **_kwargs
):
167 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
169 def SetStringSelection(self
, *_args
, **_kwargs
):
170 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
173 return "<C wxChoice instance at %s>" % (self
.this
,)
174 class wxChoice(wxChoicePtr
):
175 def __init__(self
,*_args
,**_kwargs
):
176 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
178 #wx._StdWindowCallbacks(self)
183 class wxComboBoxPtr(wxChoicePtr
):
184 def __init__(self
,this
):
187 def Append(self
, *_args
, **_kwargs
):
188 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
190 def Clear(self
, *_args
, **_kwargs
):
191 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
193 def Copy(self
, *_args
, **_kwargs
):
194 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
196 def Cut(self
, *_args
, **_kwargs
):
197 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
199 def Delete(self
, *_args
, **_kwargs
):
200 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
202 def FindString(self
, *_args
, **_kwargs
):
203 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
205 def GetInsertionPoint(self
, *_args
, **_kwargs
):
206 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
208 def GetLastPosition(self
, *_args
, **_kwargs
):
209 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
211 def GetSelection(self
, *_args
, **_kwargs
):
212 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
214 def GetString(self
, *_args
, **_kwargs
):
215 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
217 def GetStringSelection(self
, *_args
, **_kwargs
):
218 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
220 def GetValue(self
, *_args
, **_kwargs
):
221 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
223 def Number(self
, *_args
, **_kwargs
):
224 val
= apply(controlsc
.wxComboBox_Number
,(self
,) + _args
, _kwargs
)
226 def Paste(self
, *_args
, **_kwargs
):
227 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
229 def Replace(self
, *_args
, **_kwargs
):
230 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
232 def Remove(self
, *_args
, **_kwargs
):
233 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
235 def SetInsertionPoint(self
, *_args
, **_kwargs
):
236 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
238 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
239 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
241 def SetSelection(self
, *_args
, **_kwargs
):
242 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
244 def SetMark(self
, *_args
, **_kwargs
):
245 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
247 def SetValue(self
, *_args
, **_kwargs
):
248 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
251 return "<C wxComboBox instance at %s>" % (self
.this
,)
252 class wxComboBox(wxComboBoxPtr
):
253 def __init__(self
,*_args
,**_kwargs
):
254 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
256 #wx._StdWindowCallbacks(self)
261 class wxGaugePtr(wxControlPtr
):
262 def __init__(self
,this
):
265 def GetBezelFace(self
, *_args
, **_kwargs
):
266 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
268 def GetRange(self
, *_args
, **_kwargs
):
269 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
271 def GetShadowWidth(self
, *_args
, **_kwargs
):
272 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
274 def GetValue(self
, *_args
, **_kwargs
):
275 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
277 def SetBezelFace(self
, *_args
, **_kwargs
):
278 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
280 def SetRange(self
, *_args
, **_kwargs
):
281 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
283 def SetShadowWidth(self
, *_args
, **_kwargs
):
284 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
286 def SetValue(self
, *_args
, **_kwargs
):
287 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
290 return "<C wxGauge instance at %s>" % (self
.this
,)
291 class wxGauge(wxGaugePtr
):
292 def __init__(self
,*_args
,**_kwargs
):
293 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
295 #wx._StdWindowCallbacks(self)
300 class wxStaticBoxPtr(wxControlPtr
):
301 def __init__(self
,this
):
305 return "<C wxStaticBox instance at %s>" % (self
.this
,)
306 class wxStaticBox(wxStaticBoxPtr
):
307 def __init__(self
,*_args
,**_kwargs
):
308 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
314 class wxStaticLinePtr(wxControlPtr
):
315 def __init__(self
,this
):
319 return "<C wxStaticLine instance at %s>" % (self
.this
,)
320 class wxStaticLine(wxStaticLinePtr
):
321 def __init__(self
,*_args
,**_kwargs
):
322 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
328 class wxStaticTextPtr(wxControlPtr
):
329 def __init__(self
,this
):
332 def GetLabel(self
, *_args
, **_kwargs
):
333 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
335 def SetLabel(self
, *_args
, **_kwargs
):
336 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
339 return "<C wxStaticText instance at %s>" % (self
.this
,)
340 class wxStaticText(wxStaticTextPtr
):
341 def __init__(self
,*_args
,**_kwargs
):
342 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
344 #wx._StdWindowCallbacks(self)
349 class wxListBoxPtr(wxControlPtr
):
350 def __init__(self
,this
):
353 def Append(self
, *_args
, **_kwargs
):
354 val
= apply(controlsc
.wxListBox_Append
,(self
,) + _args
, _kwargs
)
356 def Clear(self
, *_args
, **_kwargs
):
357 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
359 def Delete(self
, *_args
, **_kwargs
):
360 val
= apply(controlsc
.wxListBox_Delete
,(self
,) + _args
, _kwargs
)
362 def Deselect(self
, *_args
, **_kwargs
):
363 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
365 def FindString(self
, *_args
, **_kwargs
):
366 val
= apply(controlsc
.wxListBox_FindString
,(self
,) + _args
, _kwargs
)
368 def GetSelection(self
, *_args
, **_kwargs
):
369 val
= apply(controlsc
.wxListBox_GetSelection
,(self
,) + _args
, _kwargs
)
371 def GetSelections(self
, *_args
, **_kwargs
):
372 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
374 def InsertItems(self
, *_args
, **_kwargs
):
375 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
377 def GetString(self
, *_args
, **_kwargs
):
378 val
= apply(controlsc
.wxListBox_GetString
,(self
,) + _args
, _kwargs
)
380 def GetStringSelection(self
, *_args
, **_kwargs
):
381 val
= apply(controlsc
.wxListBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
383 def Number(self
, *_args
, **_kwargs
):
384 val
= apply(controlsc
.wxListBox_Number
,(self
,) + _args
, _kwargs
)
386 def Selected(self
, *_args
, **_kwargs
):
387 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
389 def Set(self
, *_args
, **_kwargs
):
390 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
392 def SetFirstItem(self
, *_args
, **_kwargs
):
393 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
395 def SetFirstItemStr(self
, *_args
, **_kwargs
):
396 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
398 def SetSelection(self
, *_args
, **_kwargs
):
399 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
401 def SetString(self
, *_args
, **_kwargs
):
402 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
404 def SetStringSelection(self
, *_args
, **_kwargs
):
405 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
408 return "<C wxListBox instance at %s>" % (self
.this
,)
409 class wxListBox(wxListBoxPtr
):
410 def __init__(self
,*_args
,**_kwargs
):
411 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
413 #wx._StdWindowCallbacks(self)
418 class wxCheckListBoxPtr(wxListBoxPtr
):
419 def __init__(self
,this
):
422 def IsChecked(self
, *_args
, **_kwargs
):
423 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
425 def Check(self
, *_args
, **_kwargs
):
426 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
428 def InsertItems(self
, *_args
, **_kwargs
):
429 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
431 def GetItemHeight(self
, *_args
, **_kwargs
):
432 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
435 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
436 class wxCheckListBox(wxCheckListBoxPtr
):
437 def __init__(self
,*_args
,**_kwargs
):
438 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
440 #wx._StdWindowCallbacks(self)
445 class wxTextAttrPtr
:
446 def __init__(self
,this
):
449 def __del__(self
,controlsc
=controlsc
):
450 if self
.thisown
== 1 :
451 controlsc
.delete_wxTextAttr(self
)
452 def SetTextColour(self
, *_args
, **_kwargs
):
453 val
= apply(controlsc
.wxTextAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
455 def SetBackgroundColour(self
, *_args
, **_kwargs
):
456 val
= apply(controlsc
.wxTextAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
458 def SetFont(self
, *_args
, **_kwargs
):
459 val
= apply(controlsc
.wxTextAttr_SetFont
,(self
,) + _args
, _kwargs
)
461 def HasTextColour(self
, *_args
, **_kwargs
):
462 val
= apply(controlsc
.wxTextAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
464 def HasBackgroundColour(self
, *_args
, **_kwargs
):
465 val
= apply(controlsc
.wxTextAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
467 def HasFont(self
, *_args
, **_kwargs
):
468 val
= apply(controlsc
.wxTextAttr_HasFont
,(self
,) + _args
, _kwargs
)
470 def GetTextColour(self
, *_args
, **_kwargs
):
471 val
= apply(controlsc
.wxTextAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
472 if val
: val
= wxColourPtr(val
)
474 def GetBackgroundColour(self
, *_args
, **_kwargs
):
475 val
= apply(controlsc
.wxTextAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
476 if val
: val
= wxColourPtr(val
)
478 def GetFont(self
, *_args
, **_kwargs
):
479 val
= apply(controlsc
.wxTextAttr_GetFont
,(self
,) + _args
, _kwargs
)
480 if val
: val
= wxFontPtr(val
)
483 return "<C wxTextAttr instance at %s>" % (self
.this
,)
484 class wxTextAttr(wxTextAttrPtr
):
485 def __init__(self
,*_args
,**_kwargs
):
486 self
.this
= apply(controlsc
.new_wxTextAttr
,_args
,_kwargs
)
492 class wxTextCtrlPtr(wxControlPtr
):
493 def __init__(self
,this
):
496 def Clear(self
, *_args
, **_kwargs
):
497 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
499 def Copy(self
, *_args
, **_kwargs
):
500 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
502 def Cut(self
, *_args
, **_kwargs
):
503 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
505 def DiscardEdits(self
, *_args
, **_kwargs
):
506 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
508 def GetInsertionPoint(self
, *_args
, **_kwargs
):
509 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
511 def GetLastPosition(self
, *_args
, **_kwargs
):
512 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
514 def GetLineLength(self
, *_args
, **_kwargs
):
515 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
517 def GetLineText(self
, *_args
, **_kwargs
):
518 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
520 def GetNumberOfLines(self
, *_args
, **_kwargs
):
521 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
523 def GetValue(self
, *_args
, **_kwargs
):
524 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
526 def IsModified(self
, *_args
, **_kwargs
):
527 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
529 def LoadFile(self
, *_args
, **_kwargs
):
530 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
532 def Paste(self
, *_args
, **_kwargs
):
533 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
535 def PositionToXY(self
, *_args
, **_kwargs
):
536 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
538 def Remove(self
, *_args
, **_kwargs
):
539 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
541 def Replace(self
, *_args
, **_kwargs
):
542 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
544 def SaveFile(self
, *_args
, **_kwargs
):
545 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
547 def SetEditable(self
, *_args
, **_kwargs
):
548 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
550 def SetInsertionPoint(self
, *_args
, **_kwargs
):
551 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
553 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
554 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
556 def SetSelection(self
, *_args
, **_kwargs
):
557 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
559 def SetValue(self
, *_args
, **_kwargs
):
560 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
562 def ShowPosition(self
, *_args
, **_kwargs
):
563 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
565 def WriteText(self
, *_args
, **_kwargs
):
566 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
568 def AppendText(self
, *_args
, **_kwargs
):
569 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
571 def XYToPosition(self
, *_args
, **_kwargs
):
572 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
574 def CanCopy(self
, *_args
, **_kwargs
):
575 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
577 def CanCut(self
, *_args
, **_kwargs
):
578 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
580 def CanPaste(self
, *_args
, **_kwargs
):
581 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
583 def CanRedo(self
, *_args
, **_kwargs
):
584 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
586 def CanUndo(self
, *_args
, **_kwargs
):
587 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
589 def GetSelection(self
, *_args
, **_kwargs
):
590 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
592 def IsEditable(self
, *_args
, **_kwargs
):
593 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
595 def Undo(self
, *_args
, **_kwargs
):
596 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
598 def Redo(self
, *_args
, **_kwargs
):
599 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
601 def SetStyle(self
, *_args
, **_kwargs
):
602 val
= apply(controlsc
.wxTextCtrl_SetStyle
,(self
,) + _args
, _kwargs
)
604 def SetDefaultStyle(self
, *_args
, **_kwargs
):
605 val
= apply(controlsc
.wxTextCtrl_SetDefaultStyle
,(self
,) + _args
, _kwargs
)
607 def GetDefaultStyle(self
, *_args
, **_kwargs
):
608 val
= apply(controlsc
.wxTextCtrl_GetDefaultStyle
,(self
,) + _args
, _kwargs
)
609 if val
: val
= wxTextAttrPtr(val
)
611 def write(self
, *_args
, **_kwargs
):
612 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
615 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
616 class wxTextCtrl(wxTextCtrlPtr
):
617 def __init__(self
,*_args
,**_kwargs
):
618 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
620 #wx._StdWindowCallbacks(self)
625 class wxScrollBarPtr(wxControlPtr
):
626 def __init__(self
,this
):
629 def GetRange(self
, *_args
, **_kwargs
):
630 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
632 def GetPageSize(self
, *_args
, **_kwargs
):
633 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
635 def GetThumbPosition(self
, *_args
, **_kwargs
):
636 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
638 def GetThumbSize(self
, *_args
, **_kwargs
):
639 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
641 def GetThumbLength(self
, *_args
, **_kwargs
):
642 val
= apply(controlsc
.wxScrollBar_GetThumbLength
,(self
,) + _args
, _kwargs
)
644 def SetThumbPosition(self
, *_args
, **_kwargs
):
645 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
647 def SetScrollbar(self
, *_args
, **_kwargs
):
648 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
651 return "<C wxScrollBar instance at %s>" % (self
.this
,)
652 class wxScrollBar(wxScrollBarPtr
):
653 def __init__(self
,*_args
,**_kwargs
):
654 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
656 #wx._StdWindowCallbacks(self)
661 class wxSpinButtonPtr(wxControlPtr
):
662 def __init__(self
,this
):
665 def GetMax(self
, *_args
, **_kwargs
):
666 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
668 def GetMin(self
, *_args
, **_kwargs
):
669 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
671 def GetValue(self
, *_args
, **_kwargs
):
672 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
674 def SetRange(self
, *_args
, **_kwargs
):
675 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
677 def SetValue(self
, *_args
, **_kwargs
):
678 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
681 return "<C wxSpinButton instance at %s>" % (self
.this
,)
682 class wxSpinButton(wxSpinButtonPtr
):
683 def __init__(self
,*_args
,**_kwargs
):
684 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
690 class wxStaticBitmapPtr(wxControlPtr
):
691 def __init__(self
,this
):
694 def GetBitmap(self
, *_args
, **_kwargs
):
695 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
696 if val
: val
= wxBitmapPtr(val
)
698 def SetBitmap(self
, *_args
, **_kwargs
):
699 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
701 def SetIcon(self
, *_args
, **_kwargs
):
702 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
705 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
706 class wxStaticBitmap(wxStaticBitmapPtr
):
707 def __init__(self
,*_args
,**_kwargs
):
708 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
710 #wx._StdWindowCallbacks(self)
715 class wxRadioBoxPtr(wxControlPtr
):
716 def __init__(self
,this
):
719 def Enable(self
, *_args
, **_kwargs
):
720 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
722 def EnableItem(self
, *_args
, **_kwargs
):
723 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
725 def FindString(self
, *_args
, **_kwargs
):
726 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
728 def GetItemLabel(self
, *_args
, **_kwargs
):
729 val
= apply(controlsc
.wxRadioBox_GetItemLabel
,(self
,) + _args
, _kwargs
)
731 def GetSelection(self
, *_args
, **_kwargs
):
732 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
734 def GetString(self
, *_args
, **_kwargs
):
735 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
737 def GetStringSelection(self
, *_args
, **_kwargs
):
738 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
740 def Number(self
, *_args
, **_kwargs
):
741 val
= apply(controlsc
.wxRadioBox_Number
,(self
,) + _args
, _kwargs
)
743 def SetItemLabel(self
, *_args
, **_kwargs
):
744 val
= apply(controlsc
.wxRadioBox_SetItemLabel
,(self
,) + _args
, _kwargs
)
746 def SetSelection(self
, *_args
, **_kwargs
):
747 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
749 def SetStringSelection(self
, *_args
, **_kwargs
):
750 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
752 def Show(self
, *_args
, **_kwargs
):
753 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
755 def ShowItem(self
, *_args
, **_kwargs
):
756 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
759 return "<C wxRadioBox instance at %s>" % (self
.this
,)
760 class wxRadioBox(wxRadioBoxPtr
):
761 def __init__(self
,*_args
,**_kwargs
):
762 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
764 #wx._StdWindowCallbacks(self)
769 class wxRadioButtonPtr(wxControlPtr
):
770 def __init__(self
,this
):
773 def GetValue(self
, *_args
, **_kwargs
):
774 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
776 def SetValue(self
, *_args
, **_kwargs
):
777 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
780 return "<C wxRadioButton instance at %s>" % (self
.this
,)
781 class wxRadioButton(wxRadioButtonPtr
):
782 def __init__(self
,*_args
,**_kwargs
):
783 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
785 #wx._StdWindowCallbacks(self)
790 class wxSliderPtr(wxControlPtr
):
791 def __init__(self
,this
):
794 def ClearSel(self
, *_args
, **_kwargs
):
795 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
797 def ClearTicks(self
, *_args
, **_kwargs
):
798 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
800 def GetLineSize(self
, *_args
, **_kwargs
):
801 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
803 def GetMax(self
, *_args
, **_kwargs
):
804 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
806 def GetMin(self
, *_args
, **_kwargs
):
807 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
809 def GetPageSize(self
, *_args
, **_kwargs
):
810 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
812 def GetSelEnd(self
, *_args
, **_kwargs
):
813 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
815 def GetSelStart(self
, *_args
, **_kwargs
):
816 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
818 def GetThumbLength(self
, *_args
, **_kwargs
):
819 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
821 def GetTickFreq(self
, *_args
, **_kwargs
):
822 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
824 def GetValue(self
, *_args
, **_kwargs
):
825 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
827 def SetRange(self
, *_args
, **_kwargs
):
828 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
830 def SetTickFreq(self
, *_args
, **_kwargs
):
831 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
833 def SetLineSize(self
, *_args
, **_kwargs
):
834 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
836 def SetPageSize(self
, *_args
, **_kwargs
):
837 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
839 def SetSelection(self
, *_args
, **_kwargs
):
840 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
842 def SetThumbLength(self
, *_args
, **_kwargs
):
843 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
845 def SetTick(self
, *_args
, **_kwargs
):
846 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
848 def SetValue(self
, *_args
, **_kwargs
):
849 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
852 return "<C wxSlider instance at %s>" % (self
.this
,)
853 class wxSlider(wxSliderPtr
):
854 def __init__(self
,*_args
,**_kwargs
):
855 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
857 #wx._StdWindowCallbacks(self)
862 class wxSpinCtrlPtr(wxSpinButtonPtr
):
863 def __init__(self
,this
):
866 def GetMax(self
, *_args
, **_kwargs
):
867 val
= apply(controlsc
.wxSpinCtrl_GetMax
,(self
,) + _args
, _kwargs
)
869 def GetMin(self
, *_args
, **_kwargs
):
870 val
= apply(controlsc
.wxSpinCtrl_GetMin
,(self
,) + _args
, _kwargs
)
872 def GetValue(self
, *_args
, **_kwargs
):
873 val
= apply(controlsc
.wxSpinCtrl_GetValue
,(self
,) + _args
, _kwargs
)
875 def SetRange(self
, *_args
, **_kwargs
):
876 val
= apply(controlsc
.wxSpinCtrl_SetRange
,(self
,) + _args
, _kwargs
)
878 def SetValue(self
, *_args
, **_kwargs
):
879 val
= apply(controlsc
.wxSpinCtrl_SetValue
,(self
,) + _args
, _kwargs
)
882 return "<C wxSpinCtrl instance at %s>" % (self
.this
,)
883 class wxSpinCtrl(wxSpinCtrlPtr
):
884 def __init__(self
,*_args
,**_kwargs
):
885 self
.this
= apply(controlsc
.new_wxSpinCtrl
,_args
,_kwargs
)
891 class wxToggleButtonPtr(wxControlPtr
):
892 def __init__(self
,this
):
895 def SetValue(self
, *_args
, **_kwargs
):
896 val
= apply(controlsc
.wxToggleButton_SetValue
,(self
,) + _args
, _kwargs
)
898 def GetValue(self
, *_args
, **_kwargs
):
899 val
= apply(controlsc
.wxToggleButton_GetValue
,(self
,) + _args
, _kwargs
)
901 def SetLabel(self
, *_args
, **_kwargs
):
902 val
= apply(controlsc
.wxToggleButton_SetLabel
,(self
,) + _args
, _kwargs
)
905 return "<C wxToggleButton instance at %s>" % (self
.this
,)
906 class wxToggleButton(wxToggleButtonPtr
):
907 def __init__(self
,*_args
,**_kwargs
):
908 self
.this
= apply(controlsc
.new_wxToggleButton
,_args
,_kwargs
)
916 #-------------- FUNCTION WRAPPERS ------------------
918 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
919 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
920 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
925 #-------------- VARIABLE WRAPPERS ------------------
927 cvar
= controlsc
.cvar
928 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)
929 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
= controlsc
.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED