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
,this
):
36 class wxButtonPtr(wxControlPtr
):
37 def __init__(self
,this
):
40 def SetDefault(self
, *_args
, **_kwargs
):
41 val
= apply(controlsc
.wxButton_SetDefault
,(self
,) + _args
, _kwargs
)
44 return "<C wxButton instance at %s>" % (self
.this
,)
45 class wxButton(wxButtonPtr
):
46 def __init__(self
,*_args
,**_kwargs
):
47 self
.this
= apply(controlsc
.new_wxButton
,_args
,_kwargs
)
49 wx
._StdWindowCallbacks
(self
)
54 class wxBitmapButtonPtr(wxButtonPtr
):
55 def __init__(self
,this
):
58 def GetBitmapLabel(self
, *_args
, **_kwargs
):
59 val
= apply(controlsc
.wxBitmapButton_GetBitmapLabel
,(self
,) + _args
, _kwargs
)
60 if val
: val
= wxBitmapPtr(val
)
62 def GetBitmapDisabled(self
, *_args
, **_kwargs
):
63 val
= apply(controlsc
.wxBitmapButton_GetBitmapDisabled
,(self
,) + _args
, _kwargs
)
64 if val
: val
= wxBitmapPtr(val
)
66 def GetBitmapFocus(self
, *_args
, **_kwargs
):
67 val
= apply(controlsc
.wxBitmapButton_GetBitmapFocus
,(self
,) + _args
, _kwargs
)
68 if val
: val
= wxBitmapPtr(val
)
70 def GetBitmapSelected(self
, *_args
, **_kwargs
):
71 val
= apply(controlsc
.wxBitmapButton_GetBitmapSelected
,(self
,) + _args
, _kwargs
)
72 if val
: val
= wxBitmapPtr(val
)
74 def SetBitmapDisabled(self
, *_args
, **_kwargs
):
75 val
= apply(controlsc
.wxBitmapButton_SetBitmapDisabled
,(self
,) + _args
, _kwargs
)
77 def SetBitmapFocus(self
, *_args
, **_kwargs
):
78 val
= apply(controlsc
.wxBitmapButton_SetBitmapFocus
,(self
,) + _args
, _kwargs
)
80 def SetBitmapSelected(self
, *_args
, **_kwargs
):
81 val
= apply(controlsc
.wxBitmapButton_SetBitmapSelected
,(self
,) + _args
, _kwargs
)
83 def SetBitmapLabel(self
, *_args
, **_kwargs
):
84 val
= apply(controlsc
.wxBitmapButton_SetBitmapLabel
,(self
,) + _args
, _kwargs
)
87 return "<C wxBitmapButton instance at %s>" % (self
.this
,)
88 class wxBitmapButton(wxBitmapButtonPtr
):
89 def __init__(self
,*_args
,**_kwargs
):
90 self
.this
= apply(controlsc
.new_wxBitmapButton
,_args
,_kwargs
)
92 wx
._StdWindowCallbacks
(self
)
97 class wxCheckBoxPtr(wxControlPtr
):
98 def __init__(self
,this
):
101 def GetValue(self
, *_args
, **_kwargs
):
102 val
= apply(controlsc
.wxCheckBox_GetValue
,(self
,) + _args
, _kwargs
)
104 def SetValue(self
, *_args
, **_kwargs
):
105 val
= apply(controlsc
.wxCheckBox_SetValue
,(self
,) + _args
, _kwargs
)
108 return "<C wxCheckBox instance at %s>" % (self
.this
,)
109 class wxCheckBox(wxCheckBoxPtr
):
110 def __init__(self
,*_args
,**_kwargs
):
111 self
.this
= apply(controlsc
.new_wxCheckBox
,_args
,_kwargs
)
113 wx
._StdWindowCallbacks
(self
)
118 class wxChoicePtr(wxControlPtr
):
119 def __init__(self
,this
):
122 def Append(self
, *_args
, **_kwargs
):
123 val
= apply(controlsc
.wxChoice_Append
,(self
,) + _args
, _kwargs
)
125 def Clear(self
, *_args
, **_kwargs
):
126 val
= apply(controlsc
.wxChoice_Clear
,(self
,) + _args
, _kwargs
)
128 def FindString(self
, *_args
, **_kwargs
):
129 val
= apply(controlsc
.wxChoice_FindString
,(self
,) + _args
, _kwargs
)
131 def GetColumns(self
, *_args
, **_kwargs
):
132 val
= apply(controlsc
.wxChoice_GetColumns
,(self
,) + _args
, _kwargs
)
134 def GetSelection(self
, *_args
, **_kwargs
):
135 val
= apply(controlsc
.wxChoice_GetSelection
,(self
,) + _args
, _kwargs
)
137 def GetString(self
, *_args
, **_kwargs
):
138 val
= apply(controlsc
.wxChoice_GetString
,(self
,) + _args
, _kwargs
)
140 def GetStringSelection(self
, *_args
, **_kwargs
):
141 val
= apply(controlsc
.wxChoice_GetStringSelection
,(self
,) + _args
, _kwargs
)
143 def Number(self
, *_args
, **_kwargs
):
144 val
= apply(controlsc
.wxChoice_Number
,(self
,) + _args
, _kwargs
)
146 def SetColumns(self
, *_args
, **_kwargs
):
147 val
= apply(controlsc
.wxChoice_SetColumns
,(self
,) + _args
, _kwargs
)
149 def SetSelection(self
, *_args
, **_kwargs
):
150 val
= apply(controlsc
.wxChoice_SetSelection
,(self
,) + _args
, _kwargs
)
152 def SetStringSelection(self
, *_args
, **_kwargs
):
153 val
= apply(controlsc
.wxChoice_SetStringSelection
,(self
,) + _args
, _kwargs
)
156 return "<C wxChoice instance at %s>" % (self
.this
,)
157 class wxChoice(wxChoicePtr
):
158 def __init__(self
,*_args
,**_kwargs
):
159 self
.this
= apply(controlsc
.new_wxChoice
,_args
,_kwargs
)
161 wx
._StdWindowCallbacks
(self
)
166 class wxComboBoxPtr(wxChoicePtr
):
167 def __init__(self
,this
):
170 def Append(self
, *_args
, **_kwargs
):
171 val
= apply(controlsc
.wxComboBox_Append
,(self
,) + _args
, _kwargs
)
173 def Clear(self
, *_args
, **_kwargs
):
174 val
= apply(controlsc
.wxComboBox_Clear
,(self
,) + _args
, _kwargs
)
176 def Copy(self
, *_args
, **_kwargs
):
177 val
= apply(controlsc
.wxComboBox_Copy
,(self
,) + _args
, _kwargs
)
179 def Cut(self
, *_args
, **_kwargs
):
180 val
= apply(controlsc
.wxComboBox_Cut
,(self
,) + _args
, _kwargs
)
182 def Delete(self
, *_args
, **_kwargs
):
183 val
= apply(controlsc
.wxComboBox_Delete
,(self
,) + _args
, _kwargs
)
185 def FindString(self
, *_args
, **_kwargs
):
186 val
= apply(controlsc
.wxComboBox_FindString
,(self
,) + _args
, _kwargs
)
188 def GetInsertionPoint(self
, *_args
, **_kwargs
):
189 val
= apply(controlsc
.wxComboBox_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
191 def GetLastPosition(self
, *_args
, **_kwargs
):
192 val
= apply(controlsc
.wxComboBox_GetLastPosition
,(self
,) + _args
, _kwargs
)
194 def GetSelection(self
, *_args
, **_kwargs
):
195 val
= apply(controlsc
.wxComboBox_GetSelection
,(self
,) + _args
, _kwargs
)
197 def GetString(self
, *_args
, **_kwargs
):
198 val
= apply(controlsc
.wxComboBox_GetString
,(self
,) + _args
, _kwargs
)
200 def GetStringSelection(self
, *_args
, **_kwargs
):
201 val
= apply(controlsc
.wxComboBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
203 def GetValue(self
, *_args
, **_kwargs
):
204 val
= apply(controlsc
.wxComboBox_GetValue
,(self
,) + _args
, _kwargs
)
206 def Number(self
, *_args
, **_kwargs
):
207 val
= apply(controlsc
.wxComboBox_Number
,(self
,) + _args
, _kwargs
)
209 def Paste(self
, *_args
, **_kwargs
):
210 val
= apply(controlsc
.wxComboBox_Paste
,(self
,) + _args
, _kwargs
)
212 def Replace(self
, *_args
, **_kwargs
):
213 val
= apply(controlsc
.wxComboBox_Replace
,(self
,) + _args
, _kwargs
)
215 def Remove(self
, *_args
, **_kwargs
):
216 val
= apply(controlsc
.wxComboBox_Remove
,(self
,) + _args
, _kwargs
)
218 def SetInsertionPoint(self
, *_args
, **_kwargs
):
219 val
= apply(controlsc
.wxComboBox_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
221 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
222 val
= apply(controlsc
.wxComboBox_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
224 def SetSelection(self
, *_args
, **_kwargs
):
225 val
= apply(controlsc
.wxComboBox_SetSelection
,(self
,) + _args
, _kwargs
)
227 def SetMark(self
, *_args
, **_kwargs
):
228 val
= apply(controlsc
.wxComboBox_SetMark
,(self
,) + _args
, _kwargs
)
230 def SetValue(self
, *_args
, **_kwargs
):
231 val
= apply(controlsc
.wxComboBox_SetValue
,(self
,) + _args
, _kwargs
)
234 return "<C wxComboBox instance at %s>" % (self
.this
,)
235 class wxComboBox(wxComboBoxPtr
):
236 def __init__(self
,*_args
,**_kwargs
):
237 self
.this
= apply(controlsc
.new_wxComboBox
,_args
,_kwargs
)
239 wx
._StdWindowCallbacks
(self
)
244 class wxGaugePtr(wxControlPtr
):
245 def __init__(self
,this
):
248 def GetBezelFace(self
, *_args
, **_kwargs
):
249 val
= apply(controlsc
.wxGauge_GetBezelFace
,(self
,) + _args
, _kwargs
)
251 def GetRange(self
, *_args
, **_kwargs
):
252 val
= apply(controlsc
.wxGauge_GetRange
,(self
,) + _args
, _kwargs
)
254 def GetShadowWidth(self
, *_args
, **_kwargs
):
255 val
= apply(controlsc
.wxGauge_GetShadowWidth
,(self
,) + _args
, _kwargs
)
257 def GetValue(self
, *_args
, **_kwargs
):
258 val
= apply(controlsc
.wxGauge_GetValue
,(self
,) + _args
, _kwargs
)
260 def SetBezelFace(self
, *_args
, **_kwargs
):
261 val
= apply(controlsc
.wxGauge_SetBezelFace
,(self
,) + _args
, _kwargs
)
263 def SetRange(self
, *_args
, **_kwargs
):
264 val
= apply(controlsc
.wxGauge_SetRange
,(self
,) + _args
, _kwargs
)
266 def SetShadowWidth(self
, *_args
, **_kwargs
):
267 val
= apply(controlsc
.wxGauge_SetShadowWidth
,(self
,) + _args
, _kwargs
)
269 def SetValue(self
, *_args
, **_kwargs
):
270 val
= apply(controlsc
.wxGauge_SetValue
,(self
,) + _args
, _kwargs
)
273 return "<C wxGauge instance at %s>" % (self
.this
,)
274 class wxGauge(wxGaugePtr
):
275 def __init__(self
,*_args
,**_kwargs
):
276 self
.this
= apply(controlsc
.new_wxGauge
,_args
,_kwargs
)
278 wx
._StdWindowCallbacks
(self
)
283 class wxStaticBoxPtr(wxControlPtr
):
284 def __init__(self
,this
):
288 return "<C wxStaticBox instance at %s>" % (self
.this
,)
289 class wxStaticBox(wxStaticBoxPtr
):
290 def __init__(self
,*_args
,**_kwargs
):
291 self
.this
= apply(controlsc
.new_wxStaticBox
,_args
,_kwargs
)
297 class wxStaticLinePtr(wxControlPtr
):
298 def __init__(self
,this
):
302 return "<C wxStaticLine instance at %s>" % (self
.this
,)
303 class wxStaticLine(wxStaticLinePtr
):
304 def __init__(self
,*_args
,**_kwargs
):
305 self
.this
= apply(controlsc
.new_wxStaticLine
,_args
,_kwargs
)
311 class wxStaticTextPtr(wxControlPtr
):
312 def __init__(self
,this
):
315 def GetLabel(self
, *_args
, **_kwargs
):
316 val
= apply(controlsc
.wxStaticText_GetLabel
,(self
,) + _args
, _kwargs
)
318 def SetLabel(self
, *_args
, **_kwargs
):
319 val
= apply(controlsc
.wxStaticText_SetLabel
,(self
,) + _args
, _kwargs
)
322 return "<C wxStaticText instance at %s>" % (self
.this
,)
323 class wxStaticText(wxStaticTextPtr
):
324 def __init__(self
,*_args
,**_kwargs
):
325 self
.this
= apply(controlsc
.new_wxStaticText
,_args
,_kwargs
)
327 wx
._StdWindowCallbacks
(self
)
332 class wxListBoxPtr(wxControlPtr
):
333 def __init__(self
,this
):
336 def Append(self
, *_args
, **_kwargs
):
337 val
= apply(controlsc
.wxListBox_Append
,(self
,) + _args
, _kwargs
)
339 def Clear(self
, *_args
, **_kwargs
):
340 val
= apply(controlsc
.wxListBox_Clear
,(self
,) + _args
, _kwargs
)
342 def Delete(self
, *_args
, **_kwargs
):
343 val
= apply(controlsc
.wxListBox_Delete
,(self
,) + _args
, _kwargs
)
345 def Deselect(self
, *_args
, **_kwargs
):
346 val
= apply(controlsc
.wxListBox_Deselect
,(self
,) + _args
, _kwargs
)
348 def FindString(self
, *_args
, **_kwargs
):
349 val
= apply(controlsc
.wxListBox_FindString
,(self
,) + _args
, _kwargs
)
351 def GetSelection(self
, *_args
, **_kwargs
):
352 val
= apply(controlsc
.wxListBox_GetSelection
,(self
,) + _args
, _kwargs
)
354 def GetSelections(self
, *_args
, **_kwargs
):
355 val
= apply(controlsc
.wxListBox_GetSelections
,(self
,) + _args
, _kwargs
)
357 def InsertItems(self
, *_args
, **_kwargs
):
358 val
= apply(controlsc
.wxListBox_InsertItems
,(self
,) + _args
, _kwargs
)
360 def GetString(self
, *_args
, **_kwargs
):
361 val
= apply(controlsc
.wxListBox_GetString
,(self
,) + _args
, _kwargs
)
363 def GetStringSelection(self
, *_args
, **_kwargs
):
364 val
= apply(controlsc
.wxListBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
366 def Number(self
, *_args
, **_kwargs
):
367 val
= apply(controlsc
.wxListBox_Number
,(self
,) + _args
, _kwargs
)
369 def Selected(self
, *_args
, **_kwargs
):
370 val
= apply(controlsc
.wxListBox_Selected
,(self
,) + _args
, _kwargs
)
372 def Set(self
, *_args
, **_kwargs
):
373 val
= apply(controlsc
.wxListBox_Set
,(self
,) + _args
, _kwargs
)
375 def SetFirstItem(self
, *_args
, **_kwargs
):
376 val
= apply(controlsc
.wxListBox_SetFirstItem
,(self
,) + _args
, _kwargs
)
378 def SetFirstItemStr(self
, *_args
, **_kwargs
):
379 val
= apply(controlsc
.wxListBox_SetFirstItemStr
,(self
,) + _args
, _kwargs
)
381 def SetSelection(self
, *_args
, **_kwargs
):
382 val
= apply(controlsc
.wxListBox_SetSelection
,(self
,) + _args
, _kwargs
)
384 def SetString(self
, *_args
, **_kwargs
):
385 val
= apply(controlsc
.wxListBox_SetString
,(self
,) + _args
, _kwargs
)
387 def SetStringSelection(self
, *_args
, **_kwargs
):
388 val
= apply(controlsc
.wxListBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
391 return "<C wxListBox instance at %s>" % (self
.this
,)
392 class wxListBox(wxListBoxPtr
):
393 def __init__(self
,*_args
,**_kwargs
):
394 self
.this
= apply(controlsc
.new_wxListBox
,_args
,_kwargs
)
396 wx
._StdWindowCallbacks
(self
)
401 class wxCheckListBoxPtr(wxListBoxPtr
):
402 def __init__(self
,this
):
405 def IsChecked(self
, *_args
, **_kwargs
):
406 val
= apply(controlsc
.wxCheckListBox_IsChecked
,(self
,) + _args
, _kwargs
)
408 def Check(self
, *_args
, **_kwargs
):
409 val
= apply(controlsc
.wxCheckListBox_Check
,(self
,) + _args
, _kwargs
)
411 def GetItemHeight(self
, *_args
, **_kwargs
):
412 val
= apply(controlsc
.wxCheckListBox_GetItemHeight
,(self
,) + _args
, _kwargs
)
415 return "<C wxCheckListBox instance at %s>" % (self
.this
,)
416 class wxCheckListBox(wxCheckListBoxPtr
):
417 def __init__(self
,*_args
,**_kwargs
):
418 self
.this
= apply(controlsc
.new_wxCheckListBox
,_args
,_kwargs
)
420 wx
._StdWindowCallbacks
(self
)
425 class wxTextCtrlPtr(wxControlPtr
):
426 def __init__(self
,this
):
429 def Clear(self
, *_args
, **_kwargs
):
430 val
= apply(controlsc
.wxTextCtrl_Clear
,(self
,) + _args
, _kwargs
)
432 def Copy(self
, *_args
, **_kwargs
):
433 val
= apply(controlsc
.wxTextCtrl_Copy
,(self
,) + _args
, _kwargs
)
435 def Cut(self
, *_args
, **_kwargs
):
436 val
= apply(controlsc
.wxTextCtrl_Cut
,(self
,) + _args
, _kwargs
)
438 def DiscardEdits(self
, *_args
, **_kwargs
):
439 val
= apply(controlsc
.wxTextCtrl_DiscardEdits
,(self
,) + _args
, _kwargs
)
441 def GetInsertionPoint(self
, *_args
, **_kwargs
):
442 val
= apply(controlsc
.wxTextCtrl_GetInsertionPoint
,(self
,) + _args
, _kwargs
)
444 def GetLastPosition(self
, *_args
, **_kwargs
):
445 val
= apply(controlsc
.wxTextCtrl_GetLastPosition
,(self
,) + _args
, _kwargs
)
447 def GetLineLength(self
, *_args
, **_kwargs
):
448 val
= apply(controlsc
.wxTextCtrl_GetLineLength
,(self
,) + _args
, _kwargs
)
450 def GetLineText(self
, *_args
, **_kwargs
):
451 val
= apply(controlsc
.wxTextCtrl_GetLineText
,(self
,) + _args
, _kwargs
)
453 def GetNumberOfLines(self
, *_args
, **_kwargs
):
454 val
= apply(controlsc
.wxTextCtrl_GetNumberOfLines
,(self
,) + _args
, _kwargs
)
456 def GetValue(self
, *_args
, **_kwargs
):
457 val
= apply(controlsc
.wxTextCtrl_GetValue
,(self
,) + _args
, _kwargs
)
459 def IsModified(self
, *_args
, **_kwargs
):
460 val
= apply(controlsc
.wxTextCtrl_IsModified
,(self
,) + _args
, _kwargs
)
462 def LoadFile(self
, *_args
, **_kwargs
):
463 val
= apply(controlsc
.wxTextCtrl_LoadFile
,(self
,) + _args
, _kwargs
)
465 def Paste(self
, *_args
, **_kwargs
):
466 val
= apply(controlsc
.wxTextCtrl_Paste
,(self
,) + _args
, _kwargs
)
468 def PositionToXY(self
, *_args
, **_kwargs
):
469 val
= apply(controlsc
.wxTextCtrl_PositionToXY
,(self
,) + _args
, _kwargs
)
471 def Remove(self
, *_args
, **_kwargs
):
472 val
= apply(controlsc
.wxTextCtrl_Remove
,(self
,) + _args
, _kwargs
)
474 def Replace(self
, *_args
, **_kwargs
):
475 val
= apply(controlsc
.wxTextCtrl_Replace
,(self
,) + _args
, _kwargs
)
477 def SaveFile(self
, *_args
, **_kwargs
):
478 val
= apply(controlsc
.wxTextCtrl_SaveFile
,(self
,) + _args
, _kwargs
)
480 def SetEditable(self
, *_args
, **_kwargs
):
481 val
= apply(controlsc
.wxTextCtrl_SetEditable
,(self
,) + _args
, _kwargs
)
483 def SetInsertionPoint(self
, *_args
, **_kwargs
):
484 val
= apply(controlsc
.wxTextCtrl_SetInsertionPoint
,(self
,) + _args
, _kwargs
)
486 def SetInsertionPointEnd(self
, *_args
, **_kwargs
):
487 val
= apply(controlsc
.wxTextCtrl_SetInsertionPointEnd
,(self
,) + _args
, _kwargs
)
489 def SetSelection(self
, *_args
, **_kwargs
):
490 val
= apply(controlsc
.wxTextCtrl_SetSelection
,(self
,) + _args
, _kwargs
)
492 def SetValue(self
, *_args
, **_kwargs
):
493 val
= apply(controlsc
.wxTextCtrl_SetValue
,(self
,) + _args
, _kwargs
)
495 def ShowPosition(self
, *_args
, **_kwargs
):
496 val
= apply(controlsc
.wxTextCtrl_ShowPosition
,(self
,) + _args
, _kwargs
)
498 def WriteText(self
, *_args
, **_kwargs
):
499 val
= apply(controlsc
.wxTextCtrl_WriteText
,(self
,) + _args
, _kwargs
)
501 def AppendText(self
, *_args
, **_kwargs
):
502 val
= apply(controlsc
.wxTextCtrl_AppendText
,(self
,) + _args
, _kwargs
)
504 def XYToPosition(self
, *_args
, **_kwargs
):
505 val
= apply(controlsc
.wxTextCtrl_XYToPosition
,(self
,) + _args
, _kwargs
)
507 def CanCopy(self
, *_args
, **_kwargs
):
508 val
= apply(controlsc
.wxTextCtrl_CanCopy
,(self
,) + _args
, _kwargs
)
510 def CanCut(self
, *_args
, **_kwargs
):
511 val
= apply(controlsc
.wxTextCtrl_CanCut
,(self
,) + _args
, _kwargs
)
513 def CanPaste(self
, *_args
, **_kwargs
):
514 val
= apply(controlsc
.wxTextCtrl_CanPaste
,(self
,) + _args
, _kwargs
)
516 def CanRedo(self
, *_args
, **_kwargs
):
517 val
= apply(controlsc
.wxTextCtrl_CanRedo
,(self
,) + _args
, _kwargs
)
519 def CanUndo(self
, *_args
, **_kwargs
):
520 val
= apply(controlsc
.wxTextCtrl_CanUndo
,(self
,) + _args
, _kwargs
)
522 def GetSelection(self
, *_args
, **_kwargs
):
523 val
= apply(controlsc
.wxTextCtrl_GetSelection
,(self
,) + _args
, _kwargs
)
525 def IsEditable(self
, *_args
, **_kwargs
):
526 val
= apply(controlsc
.wxTextCtrl_IsEditable
,(self
,) + _args
, _kwargs
)
528 def Undo(self
, *_args
, **_kwargs
):
529 val
= apply(controlsc
.wxTextCtrl_Undo
,(self
,) + _args
, _kwargs
)
531 def Redo(self
, *_args
, **_kwargs
):
532 val
= apply(controlsc
.wxTextCtrl_Redo
,(self
,) + _args
, _kwargs
)
534 def write(self
, *_args
, **_kwargs
):
535 val
= apply(controlsc
.wxTextCtrl_write
,(self
,) + _args
, _kwargs
)
538 return "<C wxTextCtrl instance at %s>" % (self
.this
,)
539 class wxTextCtrl(wxTextCtrlPtr
):
540 def __init__(self
,*_args
,**_kwargs
):
541 self
.this
= apply(controlsc
.new_wxTextCtrl
,_args
,_kwargs
)
543 wx
._StdWindowCallbacks
(self
)
548 class wxScrollBarPtr(wxControlPtr
):
549 def __init__(self
,this
):
552 def GetRange(self
, *_args
, **_kwargs
):
553 val
= apply(controlsc
.wxScrollBar_GetRange
,(self
,) + _args
, _kwargs
)
555 def GetPageSize(self
, *_args
, **_kwargs
):
556 val
= apply(controlsc
.wxScrollBar_GetPageSize
,(self
,) + _args
, _kwargs
)
558 def GetThumbPosition(self
, *_args
, **_kwargs
):
559 val
= apply(controlsc
.wxScrollBar_GetThumbPosition
,(self
,) + _args
, _kwargs
)
561 def GetThumbSize(self
, *_args
, **_kwargs
):
562 val
= apply(controlsc
.wxScrollBar_GetThumbSize
,(self
,) + _args
, _kwargs
)
564 def SetThumbPosition(self
, *_args
, **_kwargs
):
565 val
= apply(controlsc
.wxScrollBar_SetThumbPosition
,(self
,) + _args
, _kwargs
)
567 def SetScrollbar(self
, *_args
, **_kwargs
):
568 val
= apply(controlsc
.wxScrollBar_SetScrollbar
,(self
,) + _args
, _kwargs
)
571 return "<C wxScrollBar instance at %s>" % (self
.this
,)
572 class wxScrollBar(wxScrollBarPtr
):
573 def __init__(self
,*_args
,**_kwargs
):
574 self
.this
= apply(controlsc
.new_wxScrollBar
,_args
,_kwargs
)
576 wx
._StdWindowCallbacks
(self
)
581 class wxSpinButtonPtr(wxControlPtr
):
582 def __init__(self
,this
):
585 def GetMax(self
, *_args
, **_kwargs
):
586 val
= apply(controlsc
.wxSpinButton_GetMax
,(self
,) + _args
, _kwargs
)
588 def GetMin(self
, *_args
, **_kwargs
):
589 val
= apply(controlsc
.wxSpinButton_GetMin
,(self
,) + _args
, _kwargs
)
591 def GetValue(self
, *_args
, **_kwargs
):
592 val
= apply(controlsc
.wxSpinButton_GetValue
,(self
,) + _args
, _kwargs
)
594 def SetRange(self
, *_args
, **_kwargs
):
595 val
= apply(controlsc
.wxSpinButton_SetRange
,(self
,) + _args
, _kwargs
)
597 def SetValue(self
, *_args
, **_kwargs
):
598 val
= apply(controlsc
.wxSpinButton_SetValue
,(self
,) + _args
, _kwargs
)
601 return "<C wxSpinButton instance at %s>" % (self
.this
,)
602 class wxSpinButton(wxSpinButtonPtr
):
603 def __init__(self
,*_args
,**_kwargs
):
604 self
.this
= apply(controlsc
.new_wxSpinButton
,_args
,_kwargs
)
610 class wxStaticBitmapPtr(wxControlPtr
):
611 def __init__(self
,this
):
614 def GetBitmap(self
, *_args
, **_kwargs
):
615 val
= apply(controlsc
.wxStaticBitmap_GetBitmap
,(self
,) + _args
, _kwargs
)
616 if val
: val
= wxBitmapPtr(val
)
618 def SetBitmap(self
, *_args
, **_kwargs
):
619 val
= apply(controlsc
.wxStaticBitmap_SetBitmap
,(self
,) + _args
, _kwargs
)
621 def SetIcon(self
, *_args
, **_kwargs
):
622 val
= apply(controlsc
.wxStaticBitmap_SetIcon
,(self
,) + _args
, _kwargs
)
625 return "<C wxStaticBitmap instance at %s>" % (self
.this
,)
626 class wxStaticBitmap(wxStaticBitmapPtr
):
627 def __init__(self
,*_args
,**_kwargs
):
628 self
.this
= apply(controlsc
.new_wxStaticBitmap
,_args
,_kwargs
)
630 wx
._StdWindowCallbacks
(self
)
635 class wxRadioBoxPtr(wxControlPtr
):
636 def __init__(self
,this
):
639 def Enable(self
, *_args
, **_kwargs
):
640 val
= apply(controlsc
.wxRadioBox_Enable
,(self
,) + _args
, _kwargs
)
642 def EnableItem(self
, *_args
, **_kwargs
):
643 val
= apply(controlsc
.wxRadioBox_EnableItem
,(self
,) + _args
, _kwargs
)
645 def FindString(self
, *_args
, **_kwargs
):
646 val
= apply(controlsc
.wxRadioBox_FindString
,(self
,) + _args
, _kwargs
)
648 def GetItemLabel(self
, *_args
, **_kwargs
):
649 val
= apply(controlsc
.wxRadioBox_GetItemLabel
,(self
,) + _args
, _kwargs
)
651 def GetSelection(self
, *_args
, **_kwargs
):
652 val
= apply(controlsc
.wxRadioBox_GetSelection
,(self
,) + _args
, _kwargs
)
654 def GetString(self
, *_args
, **_kwargs
):
655 val
= apply(controlsc
.wxRadioBox_GetString
,(self
,) + _args
, _kwargs
)
657 def GetStringSelection(self
, *_args
, **_kwargs
):
658 val
= apply(controlsc
.wxRadioBox_GetStringSelection
,(self
,) + _args
, _kwargs
)
660 def Number(self
, *_args
, **_kwargs
):
661 val
= apply(controlsc
.wxRadioBox_Number
,(self
,) + _args
, _kwargs
)
663 def SetItemLabel(self
, *_args
, **_kwargs
):
664 val
= apply(controlsc
.wxRadioBox_SetItemLabel
,(self
,) + _args
, _kwargs
)
666 def SetSelection(self
, *_args
, **_kwargs
):
667 val
= apply(controlsc
.wxRadioBox_SetSelection
,(self
,) + _args
, _kwargs
)
669 def SetStringSelection(self
, *_args
, **_kwargs
):
670 val
= apply(controlsc
.wxRadioBox_SetStringSelection
,(self
,) + _args
, _kwargs
)
672 def Show(self
, *_args
, **_kwargs
):
673 val
= apply(controlsc
.wxRadioBox_Show
,(self
,) + _args
, _kwargs
)
675 def ShowItem(self
, *_args
, **_kwargs
):
676 val
= apply(controlsc
.wxRadioBox_ShowItem
,(self
,) + _args
, _kwargs
)
679 return "<C wxRadioBox instance at %s>" % (self
.this
,)
680 class wxRadioBox(wxRadioBoxPtr
):
681 def __init__(self
,*_args
,**_kwargs
):
682 self
.this
= apply(controlsc
.new_wxRadioBox
,_args
,_kwargs
)
684 wx
._StdWindowCallbacks
(self
)
689 class wxRadioButtonPtr(wxControlPtr
):
690 def __init__(self
,this
):
693 def GetValue(self
, *_args
, **_kwargs
):
694 val
= apply(controlsc
.wxRadioButton_GetValue
,(self
,) + _args
, _kwargs
)
696 def SetValue(self
, *_args
, **_kwargs
):
697 val
= apply(controlsc
.wxRadioButton_SetValue
,(self
,) + _args
, _kwargs
)
700 return "<C wxRadioButton instance at %s>" % (self
.this
,)
701 class wxRadioButton(wxRadioButtonPtr
):
702 def __init__(self
,*_args
,**_kwargs
):
703 self
.this
= apply(controlsc
.new_wxRadioButton
,_args
,_kwargs
)
705 wx
._StdWindowCallbacks
(self
)
710 class wxSliderPtr(wxControlPtr
):
711 def __init__(self
,this
):
714 def ClearSel(self
, *_args
, **_kwargs
):
715 val
= apply(controlsc
.wxSlider_ClearSel
,(self
,) + _args
, _kwargs
)
717 def ClearTicks(self
, *_args
, **_kwargs
):
718 val
= apply(controlsc
.wxSlider_ClearTicks
,(self
,) + _args
, _kwargs
)
720 def GetLineSize(self
, *_args
, **_kwargs
):
721 val
= apply(controlsc
.wxSlider_GetLineSize
,(self
,) + _args
, _kwargs
)
723 def GetMax(self
, *_args
, **_kwargs
):
724 val
= apply(controlsc
.wxSlider_GetMax
,(self
,) + _args
, _kwargs
)
726 def GetMin(self
, *_args
, **_kwargs
):
727 val
= apply(controlsc
.wxSlider_GetMin
,(self
,) + _args
, _kwargs
)
729 def GetPageSize(self
, *_args
, **_kwargs
):
730 val
= apply(controlsc
.wxSlider_GetPageSize
,(self
,) + _args
, _kwargs
)
732 def GetSelEnd(self
, *_args
, **_kwargs
):
733 val
= apply(controlsc
.wxSlider_GetSelEnd
,(self
,) + _args
, _kwargs
)
735 def GetSelStart(self
, *_args
, **_kwargs
):
736 val
= apply(controlsc
.wxSlider_GetSelStart
,(self
,) + _args
, _kwargs
)
738 def GetThumbLength(self
, *_args
, **_kwargs
):
739 val
= apply(controlsc
.wxSlider_GetThumbLength
,(self
,) + _args
, _kwargs
)
741 def GetTickFreq(self
, *_args
, **_kwargs
):
742 val
= apply(controlsc
.wxSlider_GetTickFreq
,(self
,) + _args
, _kwargs
)
744 def GetValue(self
, *_args
, **_kwargs
):
745 val
= apply(controlsc
.wxSlider_GetValue
,(self
,) + _args
, _kwargs
)
747 def SetRange(self
, *_args
, **_kwargs
):
748 val
= apply(controlsc
.wxSlider_SetRange
,(self
,) + _args
, _kwargs
)
750 def SetTickFreq(self
, *_args
, **_kwargs
):
751 val
= apply(controlsc
.wxSlider_SetTickFreq
,(self
,) + _args
, _kwargs
)
753 def SetLineSize(self
, *_args
, **_kwargs
):
754 val
= apply(controlsc
.wxSlider_SetLineSize
,(self
,) + _args
, _kwargs
)
756 def SetPageSize(self
, *_args
, **_kwargs
):
757 val
= apply(controlsc
.wxSlider_SetPageSize
,(self
,) + _args
, _kwargs
)
759 def SetSelection(self
, *_args
, **_kwargs
):
760 val
= apply(controlsc
.wxSlider_SetSelection
,(self
,) + _args
, _kwargs
)
762 def SetThumbLength(self
, *_args
, **_kwargs
):
763 val
= apply(controlsc
.wxSlider_SetThumbLength
,(self
,) + _args
, _kwargs
)
765 def SetTick(self
, *_args
, **_kwargs
):
766 val
= apply(controlsc
.wxSlider_SetTick
,(self
,) + _args
, _kwargs
)
768 def SetValue(self
, *_args
, **_kwargs
):
769 val
= apply(controlsc
.wxSlider_SetValue
,(self
,) + _args
, _kwargs
)
772 return "<C wxSlider instance at %s>" % (self
.this
,)
773 class wxSlider(wxSliderPtr
):
774 def __init__(self
,*_args
,**_kwargs
):
775 self
.this
= apply(controlsc
.new_wxSlider
,_args
,_kwargs
)
777 wx
._StdWindowCallbacks
(self
)
784 #-------------- FUNCTION WRAPPERS ------------------
788 #-------------- VARIABLE WRAPPERS ------------------
790 cvar
= controlsc
.cvar
791 wxDefaultValidator
= wxValidatorPtr(controlsc
.cvar
.wxDefaultValidator
)