1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
14 class wxControlPtr(wxWindowPtr
):
15 def __init__(self
,this
):
18 def CreateControl(self
, *_args
, **_kwargs
):
19 val
= apply(controlsc
.wxControl_CreateControl
,(self
,) + _args
, _kwargs
)
21 def Command(self
, *_args
, **_kwargs
):
22 val
= apply(controlsc
.wxControl_Command
,(self
,) + _args
, _kwargs
)
24 def GetLabel(self
, *_args
, **_kwargs
):
25 val
= apply(controlsc
.wxControl_GetLabel
,(self
,) + _args
, _kwargs
)
27 def SetLabel(self
, *_args
, **_kwargs
):
28 val
= apply(controlsc
.wxControl_SetLabel
,(self
,) + _args
, _kwargs
)
31 return "<C wxControl instance at %s>" % (self
.this
,)
32 class wxControl(wxControlPtr
):
33 def __init__(self
,*_args
,**_kwargs
):
34 self
.this
= apply(controlsc
.new_wxControl
,_args
,_kwargs
)
36 wx
._StdWindowCallbacks
(self
)
41 class wxButtonPtr(wxControlPtr
):
42 def __init__(self
,this
):
45 def SetDefault(self
, *_args
, **_kwargs
):
46 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
49 return "<C wxButton instance at %s>" % (self
.this
,)
50 class wxButton(wxButtonPtr
):
51 def __init__(self
,*_args
,**_kwargs
):
52 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
54 wx
._StdWindowCallbacks
(self
)
59 class wxBitmapButtonPtr(wxButtonPtr
):
60 def __init__(self
,this
):
63 def GetBitmapLabel(self
, *_args
, **_kwargs
):
64 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
65 if val
: val
= wxBitmapPtr(val
)
67 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
68 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
69 if val
: val
= wxBitmapPtr(val
)
71 def GetBitmapFocus(self
, *_args
, **_kwargs
):
72 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
73 if val
: val
= wxBitmapPtr(val
)
75 def GetBitmapSelected(self
, *_args
, **_kwargs
):
76 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
77 if val
: val
= wxBitmapPtr(val
)
79 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
80 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
82 def SetBitmapFocus(self
, *_args
, **_kwargs
):
83 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
85 def SetBitmapSelected(self
, *_args
, **_kwargs
):
86 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
88 def SetBitmapLabel(self
, *_args
, **_kwargs
):
89 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
92 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
93 class wxBitmapButton(wxBitmapButtonPtr
):
94 def __init__(self
,*_args
,**_kwargs
):
95 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
97 wx
._StdWindowCallbacks
(self
)
102 class wxCheckBoxPtr(wxControlPtr
):
103 def __init__(self
,this
):
106 def GetValue(self
, *_args
, **_kwargs
):
107 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
109 def SetValue(self
, *_args
, **_kwargs
):
110 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
113 return "<C wxCheckBox instance at %s>" % (self
.this
,)
114 class wxCheckBox(wxCheckBoxPtr
):
115 def __init__(self
,*_args
,**_kwargs
):
116 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
118 wx
._StdWindowCallbacks
(self
)
123 class wxChoicePtr(wxControlPtr
):
124 def __init__(self
,this
):
127 def Append(self
, *_args
, **_kwargs
):
128 val
= apply(controlsc
.wxChoice_Append
,(self
,) + _args
, _kwargs
)
130 def Clear(self
, *_args
, **_kwargs
):
131 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
133 def FindString(self
, *_args
, **_kwargs
):
134 val
= apply(controlsc
.wxChoice_FindString
,(self
,) + _args
, _kwargs
)
136 def GetColumns(self
, *_args
, **_kwargs
):
137 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
139 def GetSelection(self
, *_args
, **_kwargs
):
140 val
= apply(controlsc
.wxChoice_GetSelection
,(self
,) + _args
, _kwargs
)
142 def GetString(self
, *_args
, **_kwargs
):
143 val
= apply(controlsc
.wxChoice_GetString
,(self
,) + _args
, _kwargs
)
145 def GetStringSelection(self
, *_args
, **_kwargs
):
146 val
= apply(controlsc
.wxChoice_GetStringSelection
,(self
,) + _args
, _kwargs
)
148 def Number(self
, *_args
, **_kwargs
):
149 val
= apply(controlsc
.wxChoice_Number
,(self
,) + _args
, _kwargs
)
151 def SetColumns(self
, *_args
, **_kwargs
):
152 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
154 def SetSelection(self
, *_args
, **_kwargs
):
155 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
157 def SetStringSelection(self
, *_args
, **_kwargs
):
158 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
161 return "<C wxChoice instance at %s>" % (self
.this
,)
162 class wxChoice(wxChoicePtr
):
163 def __init__(self
,*_args
,**_kwargs
):
164 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
166 wx
._StdWindowCallbacks
(self
)
171 class wxComboBoxPtr(wxChoicePtr
):
172 def __init__(self
,this
):
175 def Append(self
, *_args
, **_kwargs
):
176 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
178 def Clear(self
, *_args
, **_kwargs
):
179 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
181 def Copy(self
, *_args
, **_kwargs
):
182 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
184 def Cut(self
, *_args
, **_kwargs
):
185 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
187 def Delete(self
, *_args
, **_kwargs
):
188 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
190 def FindString(self
, *_args
, **_kwargs
):
191 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
193 def GetInsertionPoint(self
, *_args
, **_kwargs
):
194 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
196 def GetLastPosition(self
, *_args
, **_kwargs
):
197 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
199 def GetSelection(self
, *_args
, **_kwargs
):
200 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
202 def GetString(self
, *_args
, **_kwargs
):
203 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
205 def GetStringSelection(self
, *_args
, **_kwargs
):
206 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
208 def GetValue(self
, *_args
, **_kwargs
):
209 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
211 def Number(self
, *_args
, **_kwargs
):
212 val
= apply(controlsc
.wxComboBox_Number
,(self
,) + _args
, _kwargs
)
214 def Paste(self
, *_args
, **_kwargs
):
215 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
217 def Replace(self
, *_args
, **_kwargs
):
218 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
220 def Remove(self
, *_args
, **_kwargs
):
221 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
223 def SetInsertionPoint(self
, *_args
, **_kwargs
):
224 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
226 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
227 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
229 def SetSelection(self
, *_args
, **_kwargs
):
230 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
232 def SetMark(self
, *_args
, **_kwargs
):
233 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
235 def SetValue(self
, *_args
, **_kwargs
):
236 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
239 return "<C wxComboBox instance at %s>" % (self
.this
,)
240 class wxComboBox(wxComboBoxPtr
):
241 def __init__(self
,*_args
,**_kwargs
):
242 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
244 wx
._StdWindowCallbacks
(self
)
249 class wxGaugePtr(wxControlPtr
):
250 def __init__(self
,this
):
253 def GetBezelFace(self
, *_args
, **_kwargs
):
254 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
256 def GetRange(self
, *_args
, **_kwargs
):
257 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
259 def GetShadowWidth(self
, *_args
, **_kwargs
):
260 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
262 def GetValue(self
, *_args
, **_kwargs
):
263 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
265 def SetBezelFace(self
, *_args
, **_kwargs
):
266 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
268 def SetRange(self
, *_args
, **_kwargs
):
269 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
271 def SetShadowWidth(self
, *_args
, **_kwargs
):
272 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
274 def SetValue(self
, *_args
, **_kwargs
):
275 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
278 return "<C wxGauge instance at %s>" % (self
.this
,)
279 class wxGauge(wxGaugePtr
):
280 def __init__(self
,*_args
,**_kwargs
):
281 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
283 wx
._StdWindowCallbacks
(self
)
288 class wxStaticBoxPtr(wxControlPtr
):
289 def __init__(self
,this
):
293 return "<C wxStaticBox instance at %s>" % (self
.this
,)
294 class wxStaticBox(wxStaticBoxPtr
):
295 def __init__(self
,*_args
,**_kwargs
):
296 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
302 class wxStaticLinePtr(wxControlPtr
):
303 def __init__(self
,this
):
307 return "<C wxStaticLine instance at %s>" % (self
.this
,)
308 class wxStaticLine(wxStaticLinePtr
):
309 def __init__(self
,*_args
,**_kwargs
):
310 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
316 class wxStaticTextPtr(wxControlPtr
):
317 def __init__(self
,this
):
320 def GetLabel(self
, *_args
, **_kwargs
):
321 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
323 def SetLabel(self
, *_args
, **_kwargs
):
324 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
327 return "<C wxStaticText instance at %s>" % (self
.this
,)
328 class wxStaticText(wxStaticTextPtr
):
329 def __init__(self
,*_args
,**_kwargs
):
330 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
332 wx
._StdWindowCallbacks
(self
)
337 class wxListBoxPtr(wxControlPtr
):
338 def __init__(self
,this
):
341 def Append(self
, *_args
, **_kwargs
):
342 val
= apply(controlsc
.wxListBox_Append
,(self
,) + _args
, _kwargs
)
344 def Clear(self
, *_args
, **_kwargs
):
345 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
347 def Delete(self
, *_args
, **_kwargs
):
348 val
= apply(controlsc
.wxListBox_Delete
,(self
,) + _args
, _kwargs
)
350 def Deselect(self
, *_args
, **_kwargs
):
351 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
353 def FindString(self
, *_args
, **_kwargs
):
354 val
= apply(controlsc
.wxListBox_FindString
,(self
,) + _args
, _kwargs
)
356 def GetSelection(self
, *_args
, **_kwargs
):
357 val
= apply(controlsc
.wxListBox_GetSelection
,(self
,) + _args
, _kwargs
)
359 def GetSelections(self
, *_args
, **_kwargs
):
360 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
362 def InsertItems(self
, *_args
, **_kwargs
):
363 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
365 def GetString(self
, *_args
, **_kwargs
):
366 val
= apply(controlsc
.wxListBox_GetString
,(self
,) + _args
, _kwargs
)
368 def GetStringSelection(self
, *_args
, **_kwargs
):
369 val
= apply(controlsc
.wxListBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
371 def Number(self
, *_args
, **_kwargs
):
372 val
= apply(controlsc
.wxListBox_Number
,(self
,) + _args
, _kwargs
)
374 def Selected(self
, *_args
, **_kwargs
):
375 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
377 def Set(self
, *_args
, **_kwargs
):
378 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
380 def SetFirstItem(self
, *_args
, **_kwargs
):
381 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
383 def SetFirstItemStr(self
, *_args
, **_kwargs
):
384 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
386 def SetSelection(self
, *_args
, **_kwargs
):
387 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
389 def SetString(self
, *_args
, **_kwargs
):
390 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
392 def SetStringSelection(self
, *_args
, **_kwargs
):
393 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
396 return "<C wxListBox instance at %s>" % (self
.this
,)
397 class wxListBox(wxListBoxPtr
):
398 def __init__(self
,*_args
,**_kwargs
):
399 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
401 wx
._StdWindowCallbacks
(self
)
406 class wxCheckListBoxPtr(wxListBoxPtr
):
407 def __init__(self
,this
):
410 def IsChecked(self
, *_args
, **_kwargs
):
411 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
413 def Check(self
, *_args
, **_kwargs
):
414 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
416 def InsertItems(self
, *_args
, **_kwargs
):
417 val
= apply(controlsc
.wxCheckListBox_InsertItems
,(self
,) + _args
, _kwargs
)
419 def GetItemHeight(self
, *_args
, **_kwargs
):
420 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
423 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
424 class wxCheckListBox(wxCheckListBoxPtr
):
425 def __init__(self
,*_args
,**_kwargs
):
426 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
428 wx
._StdWindowCallbacks
(self
)
433 class wxTextCtrlPtr(wxControlPtr
):
434 def __init__(self
,this
):
437 def Clear(self
, *_args
, **_kwargs
):
438 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
440 def Copy(self
, *_args
, **_kwargs
):
441 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
443 def Cut(self
, *_args
, **_kwargs
):
444 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
446 def DiscardEdits(self
, *_args
, **_kwargs
):
447 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
449 def GetInsertionPoint(self
, *_args
, **_kwargs
):
450 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
452 def GetLastPosition(self
, *_args
, **_kwargs
):
453 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
455 def GetLineLength(self
, *_args
, **_kwargs
):
456 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
458 def GetLineText(self
, *_args
, **_kwargs
):
459 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
461 def GetNumberOfLines(self
, *_args
, **_kwargs
):
462 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
464 def GetValue(self
, *_args
, **_kwargs
):
465 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
467 def IsModified(self
, *_args
, **_kwargs
):
468 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
470 def LoadFile(self
, *_args
, **_kwargs
):
471 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
473 def Paste(self
, *_args
, **_kwargs
):
474 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
476 def PositionToXY(self
, *_args
, **_kwargs
):
477 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
479 def Remove(self
, *_args
, **_kwargs
):
480 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
482 def Replace(self
, *_args
, **_kwargs
):
483 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
485 def SaveFile(self
, *_args
, **_kwargs
):
486 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
488 def SetEditable(self
, *_args
, **_kwargs
):
489 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
491 def SetInsertionPoint(self
, *_args
, **_kwargs
):
492 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
494 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
495 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
497 def SetSelection(self
, *_args
, **_kwargs
):
498 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
500 def SetValue(self
, *_args
, **_kwargs
):
501 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
503 def ShowPosition(self
, *_args
, **_kwargs
):
504 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
506 def WriteText(self
, *_args
, **_kwargs
):
507 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
509 def AppendText(self
, *_args
, **_kwargs
):
510 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
512 def XYToPosition(self
, *_args
, **_kwargs
):
513 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
515 def CanCopy(self
, *_args
, **_kwargs
):
516 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
518 def CanCut(self
, *_args
, **_kwargs
):
519 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
521 def CanPaste(self
, *_args
, **_kwargs
):
522 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
524 def CanRedo(self
, *_args
, **_kwargs
):
525 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
527 def CanUndo(self
, *_args
, **_kwargs
):
528 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
530 def GetSelection(self
, *_args
, **_kwargs
):
531 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
533 def IsEditable(self
, *_args
, **_kwargs
):
534 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
536 def Undo(self
, *_args
, **_kwargs
):
537 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
539 def Redo(self
, *_args
, **_kwargs
):
540 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
542 def write(self
, *_args
, **_kwargs
):
543 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
546 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
547 class wxTextCtrl(wxTextCtrlPtr
):
548 def __init__(self
,*_args
,**_kwargs
):
549 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
551 wx
._StdWindowCallbacks
(self
)
556 class wxScrollBarPtr(wxControlPtr
):
557 def __init__(self
,this
):
560 def GetRange(self
, *_args
, **_kwargs
):
561 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
563 def GetPageSize(self
, *_args
, **_kwargs
):
564 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
566 def GetThumbPosition(self
, *_args
, **_kwargs
):
567 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
569 def GetThumbSize(self
, *_args
, **_kwargs
):
570 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
572 def SetThumbPosition(self
, *_args
, **_kwargs
):
573 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
575 def SetScrollbar(self
, *_args
, **_kwargs
):
576 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
579 return "<C wxScrollBar instance at %s>" % (self
.this
,)
580 class wxScrollBar(wxScrollBarPtr
):
581 def __init__(self
,*_args
,**_kwargs
):
582 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
584 wx
._StdWindowCallbacks
(self
)
589 class wxSpinButtonPtr(wxControlPtr
):
590 def __init__(self
,this
):
593 def GetMax(self
, *_args
, **_kwargs
):
594 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
596 def GetMin(self
, *_args
, **_kwargs
):
597 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
599 def GetValue(self
, *_args
, **_kwargs
):
600 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
602 def SetRange(self
, *_args
, **_kwargs
):
603 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
605 def SetValue(self
, *_args
, **_kwargs
):
606 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
609 return "<C wxSpinButton instance at %s>" % (self
.this
,)
610 class wxSpinButton(wxSpinButtonPtr
):
611 def __init__(self
,*_args
,**_kwargs
):
612 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
618 class wxStaticBitmapPtr(wxControlPtr
):
619 def __init__(self
,this
):
622 def GetBitmap(self
, *_args
, **_kwargs
):
623 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
624 if val
: val
= wxBitmapPtr(val
)
626 def SetBitmap(self
, *_args
, **_kwargs
):
627 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
629 def SetIcon(self
, *_args
, **_kwargs
):
630 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
633 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
634 class wxStaticBitmap(wxStaticBitmapPtr
):
635 def __init__(self
,*_args
,**_kwargs
):
636 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
638 wx
._StdWindowCallbacks
(self
)
643 class wxRadioBoxPtr(wxControlPtr
):
644 def __init__(self
,this
):
647 def Enable(self
, *_args
, **_kwargs
):
648 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
650 def EnableItem(self
, *_args
, **_kwargs
):
651 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
653 def FindString(self
, *_args
, **_kwargs
):
654 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
656 def GetItemLabel(self
, *_args
, **_kwargs
):
657 val
= apply(controlsc
.wxRadioBox_GetItemLabel
,(self
,) + _args
, _kwargs
)
659 def GetSelection(self
, *_args
, **_kwargs
):
660 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
662 def GetString(self
, *_args
, **_kwargs
):
663 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
665 def GetStringSelection(self
, *_args
, **_kwargs
):
666 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
668 def Number(self
, *_args
, **_kwargs
):
669 val
= apply(controlsc
.wxRadioBox_Number
,(self
,) + _args
, _kwargs
)
671 def SetItemLabel(self
, *_args
, **_kwargs
):
672 val
= apply(controlsc
.wxRadioBox_SetItemLabel
,(self
,) + _args
, _kwargs
)
674 def SetSelection(self
, *_args
, **_kwargs
):
675 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
677 def SetStringSelection(self
, *_args
, **_kwargs
):
678 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
680 def Show(self
, *_args
, **_kwargs
):
681 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
683 def ShowItem(self
, *_args
, **_kwargs
):
684 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
687 return "<C wxRadioBox instance at %s>" % (self
.this
,)
688 class wxRadioBox(wxRadioBoxPtr
):
689 def __init__(self
,*_args
,**_kwargs
):
690 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
692 wx
._StdWindowCallbacks
(self
)
697 class wxRadioButtonPtr(wxControlPtr
):
698 def __init__(self
,this
):
701 def GetValue(self
, *_args
, **_kwargs
):
702 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
704 def SetValue(self
, *_args
, **_kwargs
):
705 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
708 return "<C wxRadioButton instance at %s>" % (self
.this
,)
709 class wxRadioButton(wxRadioButtonPtr
):
710 def __init__(self
,*_args
,**_kwargs
):
711 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
713 wx
._StdWindowCallbacks
(self
)
718 class wxSliderPtr(wxControlPtr
):
719 def __init__(self
,this
):
722 def ClearSel(self
, *_args
, **_kwargs
):
723 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
725 def ClearTicks(self
, *_args
, **_kwargs
):
726 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
728 def GetLineSize(self
, *_args
, **_kwargs
):
729 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
731 def GetMax(self
, *_args
, **_kwargs
):
732 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
734 def GetMin(self
, *_args
, **_kwargs
):
735 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
737 def GetPageSize(self
, *_args
, **_kwargs
):
738 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
740 def GetSelEnd(self
, *_args
, **_kwargs
):
741 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
743 def GetSelStart(self
, *_args
, **_kwargs
):
744 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
746 def GetThumbLength(self
, *_args
, **_kwargs
):
747 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
749 def GetTickFreq(self
, *_args
, **_kwargs
):
750 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
752 def GetValue(self
, *_args
, **_kwargs
):
753 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
755 def SetRange(self
, *_args
, **_kwargs
):
756 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
758 def SetTickFreq(self
, *_args
, **_kwargs
):
759 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
761 def SetLineSize(self
, *_args
, **_kwargs
):
762 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
764 def SetPageSize(self
, *_args
, **_kwargs
):
765 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
767 def SetSelection(self
, *_args
, **_kwargs
):
768 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
770 def SetThumbLength(self
, *_args
, **_kwargs
):
771 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
773 def SetTick(self
, *_args
, **_kwargs
):
774 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
776 def SetValue(self
, *_args
, **_kwargs
):
777 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
780 return "<C wxSlider instance at %s>" % (self
.this
,)
781 class wxSlider(wxSliderPtr
):
782 def __init__(self
,*_args
,**_kwargs
):
783 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
785 wx
._StdWindowCallbacks
(self
)
792 #-------------- FUNCTION WRAPPERS ------------------
794 def wxButton_GetDefaultSize(*_args
, **_kwargs
):
795 val
= apply(controlsc
.wxButton_GetDefaultSize
,_args
,_kwargs
)
796 if val
: val
= wxSizePtr(val
); val
.thisown
= 1
801 #-------------- VARIABLE WRAPPERS ------------------
803 cvar
= controlsc
.cvar
804 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)