]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/controls.py
New SWIG generated sources
[wxWidgets.git] / utils / wxPython / src / msw / controls.py
1 # This file was created automatically by SWIG.
2 import controlsc
3
4 from misc import *
5
6 from windows import *
7
8 from gdi import *
9
10 from clip_dnd import *
11
12 from events import *
13 import wx
14 class wxControlPtr(wxWindowPtr):
15 def __init__(self,this):
16 self.this = this
17 self.thisown = 0
18 def Command(self, *_args, **_kwargs):
19 val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs)
20 return val
21 def GetLabel(self, *_args, **_kwargs):
22 val = apply(controlsc.wxControl_GetLabel,(self,) + _args, _kwargs)
23 return val
24 def SetLabel(self, *_args, **_kwargs):
25 val = apply(controlsc.wxControl_SetLabel,(self,) + _args, _kwargs)
26 return val
27 def __repr__(self):
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)
32 self.thisown = 1
33
34
35
36
37 class wxButtonPtr(wxControlPtr):
38 def __init__(self,this):
39 self.this = this
40 self.thisown = 0
41 def SetDefault(self, *_args, **_kwargs):
42 val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs)
43 return val
44 def __repr__(self):
45 return "<C wxButton instance at %s>" % (self.this,)
46 class wxButton(wxButtonPtr):
47 def __init__(self,*_args,**_kwargs):
48 self.this = apply(controlsc.new_wxButton,_args,_kwargs)
49 self.thisown = 1
50 wx._StdWindowCallbacks(self)
51
52
53
54
55 class wxBitmapButtonPtr(wxButtonPtr):
56 def __init__(self,this):
57 self.this = this
58 self.thisown = 0
59 def GetBitmapLabel(self, *_args, **_kwargs):
60 val = apply(controlsc.wxBitmapButton_GetBitmapLabel,(self,) + _args, _kwargs)
61 if val: val = wxBitmapPtr(val)
62 return val
63 def GetBitmapDisabled(self, *_args, **_kwargs):
64 val = apply(controlsc.wxBitmapButton_GetBitmapDisabled,(self,) + _args, _kwargs)
65 if val: val = wxBitmapPtr(val)
66 return val
67 def GetBitmapFocus(self, *_args, **_kwargs):
68 val = apply(controlsc.wxBitmapButton_GetBitmapFocus,(self,) + _args, _kwargs)
69 if val: val = wxBitmapPtr(val)
70 return val
71 def GetBitmapSelected(self, *_args, **_kwargs):
72 val = apply(controlsc.wxBitmapButton_GetBitmapSelected,(self,) + _args, _kwargs)
73 if val: val = wxBitmapPtr(val)
74 return val
75 def SetBitmapDisabled(self, *_args, **_kwargs):
76 val = apply(controlsc.wxBitmapButton_SetBitmapDisabled,(self,) + _args, _kwargs)
77 return val
78 def SetBitmapFocus(self, *_args, **_kwargs):
79 val = apply(controlsc.wxBitmapButton_SetBitmapFocus,(self,) + _args, _kwargs)
80 return val
81 def SetBitmapSelected(self, *_args, **_kwargs):
82 val = apply(controlsc.wxBitmapButton_SetBitmapSelected,(self,) + _args, _kwargs)
83 return val
84 def SetBitmapLabel(self, *_args, **_kwargs):
85 val = apply(controlsc.wxBitmapButton_SetBitmapLabel,(self,) + _args, _kwargs)
86 return val
87 def __repr__(self):
88 return "<C wxBitmapButton instance at %s>" % (self.this,)
89 class wxBitmapButton(wxBitmapButtonPtr):
90 def __init__(self,*_args,**_kwargs):
91 self.this = apply(controlsc.new_wxBitmapButton,_args,_kwargs)
92 self.thisown = 1
93 wx._StdWindowCallbacks(self)
94
95
96
97
98 class wxCheckBoxPtr(wxControlPtr):
99 def __init__(self,this):
100 self.this = this
101 self.thisown = 0
102 def GetValue(self, *_args, **_kwargs):
103 val = apply(controlsc.wxCheckBox_GetValue,(self,) + _args, _kwargs)
104 return val
105 def SetValue(self, *_args, **_kwargs):
106 val = apply(controlsc.wxCheckBox_SetValue,(self,) + _args, _kwargs)
107 return val
108 def __repr__(self):
109 return "<C wxCheckBox instance at %s>" % (self.this,)
110 class wxCheckBox(wxCheckBoxPtr):
111 def __init__(self,*_args,**_kwargs):
112 self.this = apply(controlsc.new_wxCheckBox,_args,_kwargs)
113 self.thisown = 1
114 wx._StdWindowCallbacks(self)
115
116
117
118
119 class wxChoicePtr(wxControlPtr):
120 def __init__(self,this):
121 self.this = this
122 self.thisown = 0
123 def Append(self, *_args, **_kwargs):
124 val = apply(controlsc.wxChoice_Append,(self,) + _args, _kwargs)
125 return val
126 def Clear(self, *_args, **_kwargs):
127 val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs)
128 return val
129 def FindString(self, *_args, **_kwargs):
130 val = apply(controlsc.wxChoice_FindString,(self,) + _args, _kwargs)
131 return val
132 def GetColumns(self, *_args, **_kwargs):
133 val = apply(controlsc.wxChoice_GetColumns,(self,) + _args, _kwargs)
134 return val
135 def GetSelection(self, *_args, **_kwargs):
136 val = apply(controlsc.wxChoice_GetSelection,(self,) + _args, _kwargs)
137 return val
138 def GetString(self, *_args, **_kwargs):
139 val = apply(controlsc.wxChoice_GetString,(self,) + _args, _kwargs)
140 return val
141 def GetStringSelection(self, *_args, **_kwargs):
142 val = apply(controlsc.wxChoice_GetStringSelection,(self,) + _args, _kwargs)
143 return val
144 def Number(self, *_args, **_kwargs):
145 val = apply(controlsc.wxChoice_Number,(self,) + _args, _kwargs)
146 return val
147 def SetColumns(self, *_args, **_kwargs):
148 val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs)
149 return val
150 def SetSelection(self, *_args, **_kwargs):
151 val = apply(controlsc.wxChoice_SetSelection,(self,) + _args, _kwargs)
152 return val
153 def SetStringSelection(self, *_args, **_kwargs):
154 val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs)
155 return val
156 def __repr__(self):
157 return "<C wxChoice instance at %s>" % (self.this,)
158 class wxChoice(wxChoicePtr):
159 def __init__(self,*_args,**_kwargs):
160 self.this = apply(controlsc.new_wxChoice,_args,_kwargs)
161 self.thisown = 1
162 wx._StdWindowCallbacks(self)
163
164
165
166
167 class wxComboBoxPtr(wxChoicePtr):
168 def __init__(self,this):
169 self.this = this
170 self.thisown = 0
171 def Append(self, *_args, **_kwargs):
172 val = apply(controlsc.wxComboBox_Append,(self,) + _args, _kwargs)
173 return val
174 def Clear(self, *_args, **_kwargs):
175 val = apply(controlsc.wxComboBox_Clear,(self,) + _args, _kwargs)
176 return val
177 def Copy(self, *_args, **_kwargs):
178 val = apply(controlsc.wxComboBox_Copy,(self,) + _args, _kwargs)
179 return val
180 def Cut(self, *_args, **_kwargs):
181 val = apply(controlsc.wxComboBox_Cut,(self,) + _args, _kwargs)
182 return val
183 def Delete(self, *_args, **_kwargs):
184 val = apply(controlsc.wxComboBox_Delete,(self,) + _args, _kwargs)
185 return val
186 def FindString(self, *_args, **_kwargs):
187 val = apply(controlsc.wxComboBox_FindString,(self,) + _args, _kwargs)
188 return val
189 def GetInsertionPoint(self, *_args, **_kwargs):
190 val = apply(controlsc.wxComboBox_GetInsertionPoint,(self,) + _args, _kwargs)
191 return val
192 def GetLastPosition(self, *_args, **_kwargs):
193 val = apply(controlsc.wxComboBox_GetLastPosition,(self,) + _args, _kwargs)
194 return val
195 def GetSelection(self, *_args, **_kwargs):
196 val = apply(controlsc.wxComboBox_GetSelection,(self,) + _args, _kwargs)
197 return val
198 def GetString(self, *_args, **_kwargs):
199 val = apply(controlsc.wxComboBox_GetString,(self,) + _args, _kwargs)
200 return val
201 def GetStringSelection(self, *_args, **_kwargs):
202 val = apply(controlsc.wxComboBox_GetStringSelection,(self,) + _args, _kwargs)
203 return val
204 def GetValue(self, *_args, **_kwargs):
205 val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs)
206 return val
207 def Number(self, *_args, **_kwargs):
208 val = apply(controlsc.wxComboBox_Number,(self,) + _args, _kwargs)
209 return val
210 def Paste(self, *_args, **_kwargs):
211 val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs)
212 return val
213 def Replace(self, *_args, **_kwargs):
214 val = apply(controlsc.wxComboBox_Replace,(self,) + _args, _kwargs)
215 return val
216 def Remove(self, *_args, **_kwargs):
217 val = apply(controlsc.wxComboBox_Remove,(self,) + _args, _kwargs)
218 return val
219 def SetInsertionPoint(self, *_args, **_kwargs):
220 val = apply(controlsc.wxComboBox_SetInsertionPoint,(self,) + _args, _kwargs)
221 return val
222 def SetInsertionPointEnd(self, *_args, **_kwargs):
223 val = apply(controlsc.wxComboBox_SetInsertionPointEnd,(self,) + _args, _kwargs)
224 return val
225 def SetSelection(self, *_args, **_kwargs):
226 val = apply(controlsc.wxComboBox_SetSelection,(self,) + _args, _kwargs)
227 return val
228 def SetMark(self, *_args, **_kwargs):
229 val = apply(controlsc.wxComboBox_SetMark,(self,) + _args, _kwargs)
230 return val
231 def SetValue(self, *_args, **_kwargs):
232 val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs)
233 return val
234 def __repr__(self):
235 return "<C wxComboBox instance at %s>" % (self.this,)
236 class wxComboBox(wxComboBoxPtr):
237 def __init__(self,*_args,**_kwargs):
238 self.this = apply(controlsc.new_wxComboBox,_args,_kwargs)
239 self.thisown = 1
240 wx._StdWindowCallbacks(self)
241
242
243
244
245 class wxGaugePtr(wxControlPtr):
246 def __init__(self,this):
247 self.this = this
248 self.thisown = 0
249 def GetBezelFace(self, *_args, **_kwargs):
250 val = apply(controlsc.wxGauge_GetBezelFace,(self,) + _args, _kwargs)
251 return val
252 def GetRange(self, *_args, **_kwargs):
253 val = apply(controlsc.wxGauge_GetRange,(self,) + _args, _kwargs)
254 return val
255 def GetShadowWidth(self, *_args, **_kwargs):
256 val = apply(controlsc.wxGauge_GetShadowWidth,(self,) + _args, _kwargs)
257 return val
258 def GetValue(self, *_args, **_kwargs):
259 val = apply(controlsc.wxGauge_GetValue,(self,) + _args, _kwargs)
260 return val
261 def SetBezelFace(self, *_args, **_kwargs):
262 val = apply(controlsc.wxGauge_SetBezelFace,(self,) + _args, _kwargs)
263 return val
264 def SetRange(self, *_args, **_kwargs):
265 val = apply(controlsc.wxGauge_SetRange,(self,) + _args, _kwargs)
266 return val
267 def SetShadowWidth(self, *_args, **_kwargs):
268 val = apply(controlsc.wxGauge_SetShadowWidth,(self,) + _args, _kwargs)
269 return val
270 def SetValue(self, *_args, **_kwargs):
271 val = apply(controlsc.wxGauge_SetValue,(self,) + _args, _kwargs)
272 return val
273 def __repr__(self):
274 return "<C wxGauge instance at %s>" % (self.this,)
275 class wxGauge(wxGaugePtr):
276 def __init__(self,*_args,**_kwargs):
277 self.this = apply(controlsc.new_wxGauge,_args,_kwargs)
278 self.thisown = 1
279 wx._StdWindowCallbacks(self)
280
281
282
283
284 class wxStaticBoxPtr(wxControlPtr):
285 def __init__(self,this):
286 self.this = this
287 self.thisown = 0
288 def __repr__(self):
289 return "<C wxStaticBox instance at %s>" % (self.this,)
290 class wxStaticBox(wxStaticBoxPtr):
291 def __init__(self,*_args,**_kwargs):
292 self.this = apply(controlsc.new_wxStaticBox,_args,_kwargs)
293 self.thisown = 1
294
295
296
297
298 class wxStaticLinePtr(wxControlPtr):
299 def __init__(self,this):
300 self.this = this
301 self.thisown = 0
302 def __repr__(self):
303 return "<C wxStaticLine instance at %s>" % (self.this,)
304 class wxStaticLine(wxStaticLinePtr):
305 def __init__(self,*_args,**_kwargs):
306 self.this = apply(controlsc.new_wxStaticLine,_args,_kwargs)
307 self.thisown = 1
308
309
310
311
312 class wxStaticTextPtr(wxControlPtr):
313 def __init__(self,this):
314 self.this = this
315 self.thisown = 0
316 def GetLabel(self, *_args, **_kwargs):
317 val = apply(controlsc.wxStaticText_GetLabel,(self,) + _args, _kwargs)
318 return val
319 def SetLabel(self, *_args, **_kwargs):
320 val = apply(controlsc.wxStaticText_SetLabel,(self,) + _args, _kwargs)
321 return val
322 def __repr__(self):
323 return "<C wxStaticText instance at %s>" % (self.this,)
324 class wxStaticText(wxStaticTextPtr):
325 def __init__(self,*_args,**_kwargs):
326 self.this = apply(controlsc.new_wxStaticText,_args,_kwargs)
327 self.thisown = 1
328 wx._StdWindowCallbacks(self)
329
330
331
332
333 class wxListBoxPtr(wxControlPtr):
334 def __init__(self,this):
335 self.this = this
336 self.thisown = 0
337 def Append(self, *_args, **_kwargs):
338 val = apply(controlsc.wxListBox_Append,(self,) + _args, _kwargs)
339 return val
340 def Clear(self, *_args, **_kwargs):
341 val = apply(controlsc.wxListBox_Clear,(self,) + _args, _kwargs)
342 return val
343 def Delete(self, *_args, **_kwargs):
344 val = apply(controlsc.wxListBox_Delete,(self,) + _args, _kwargs)
345 return val
346 def Deselect(self, *_args, **_kwargs):
347 val = apply(controlsc.wxListBox_Deselect,(self,) + _args, _kwargs)
348 return val
349 def FindString(self, *_args, **_kwargs):
350 val = apply(controlsc.wxListBox_FindString,(self,) + _args, _kwargs)
351 return val
352 def GetSelection(self, *_args, **_kwargs):
353 val = apply(controlsc.wxListBox_GetSelection,(self,) + _args, _kwargs)
354 return val
355 def GetSelections(self, *_args, **_kwargs):
356 val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs)
357 return val
358 def InsertItems(self, *_args, **_kwargs):
359 val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs)
360 return val
361 def GetString(self, *_args, **_kwargs):
362 val = apply(controlsc.wxListBox_GetString,(self,) + _args, _kwargs)
363 return val
364 def GetStringSelection(self, *_args, **_kwargs):
365 val = apply(controlsc.wxListBox_GetStringSelection,(self,) + _args, _kwargs)
366 return val
367 def Number(self, *_args, **_kwargs):
368 val = apply(controlsc.wxListBox_Number,(self,) + _args, _kwargs)
369 return val
370 def Selected(self, *_args, **_kwargs):
371 val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs)
372 return val
373 def Set(self, *_args, **_kwargs):
374 val = apply(controlsc.wxListBox_Set,(self,) + _args, _kwargs)
375 return val
376 def SetFirstItem(self, *_args, **_kwargs):
377 val = apply(controlsc.wxListBox_SetFirstItem,(self,) + _args, _kwargs)
378 return val
379 def SetFirstItemStr(self, *_args, **_kwargs):
380 val = apply(controlsc.wxListBox_SetFirstItemStr,(self,) + _args, _kwargs)
381 return val
382 def SetSelection(self, *_args, **_kwargs):
383 val = apply(controlsc.wxListBox_SetSelection,(self,) + _args, _kwargs)
384 return val
385 def SetString(self, *_args, **_kwargs):
386 val = apply(controlsc.wxListBox_SetString,(self,) + _args, _kwargs)
387 return val
388 def SetStringSelection(self, *_args, **_kwargs):
389 val = apply(controlsc.wxListBox_SetStringSelection,(self,) + _args, _kwargs)
390 return val
391 def __repr__(self):
392 return "<C wxListBox instance at %s>" % (self.this,)
393 class wxListBox(wxListBoxPtr):
394 def __init__(self,*_args,**_kwargs):
395 self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
396 self.thisown = 1
397 wx._StdWindowCallbacks(self)
398
399
400
401
402 class wxCheckListBoxPtr(wxListBoxPtr):
403 def __init__(self,this):
404 self.this = this
405 self.thisown = 0
406 def IsChecked(self, *_args, **_kwargs):
407 val = apply(controlsc.wxCheckListBox_IsChecked,(self,) + _args, _kwargs)
408 return val
409 def Check(self, *_args, **_kwargs):
410 val = apply(controlsc.wxCheckListBox_Check,(self,) + _args, _kwargs)
411 return val
412 def InsertItems(self, *_args, **_kwargs):
413 val = apply(controlsc.wxCheckListBox_InsertItems,(self,) + _args, _kwargs)
414 return val
415 def GetItemHeight(self, *_args, **_kwargs):
416 val = apply(controlsc.wxCheckListBox_GetItemHeight,(self,) + _args, _kwargs)
417 return val
418 def __repr__(self):
419 return "<C wxCheckListBox instance at %s>" % (self.this,)
420 class wxCheckListBox(wxCheckListBoxPtr):
421 def __init__(self,*_args,**_kwargs):
422 self.this = apply(controlsc.new_wxCheckListBox,_args,_kwargs)
423 self.thisown = 1
424 wx._StdWindowCallbacks(self)
425
426
427
428
429 class wxTextCtrlPtr(wxControlPtr):
430 def __init__(self,this):
431 self.this = this
432 self.thisown = 0
433 def Clear(self, *_args, **_kwargs):
434 val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs)
435 return val
436 def Copy(self, *_args, **_kwargs):
437 val = apply(controlsc.wxTextCtrl_Copy,(self,) + _args, _kwargs)
438 return val
439 def Cut(self, *_args, **_kwargs):
440 val = apply(controlsc.wxTextCtrl_Cut,(self,) + _args, _kwargs)
441 return val
442 def DiscardEdits(self, *_args, **_kwargs):
443 val = apply(controlsc.wxTextCtrl_DiscardEdits,(self,) + _args, _kwargs)
444 return val
445 def GetInsertionPoint(self, *_args, **_kwargs):
446 val = apply(controlsc.wxTextCtrl_GetInsertionPoint,(self,) + _args, _kwargs)
447 return val
448 def GetLastPosition(self, *_args, **_kwargs):
449 val = apply(controlsc.wxTextCtrl_GetLastPosition,(self,) + _args, _kwargs)
450 return val
451 def GetLineLength(self, *_args, **_kwargs):
452 val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs)
453 return val
454 def GetLineText(self, *_args, **_kwargs):
455 val = apply(controlsc.wxTextCtrl_GetLineText,(self,) + _args, _kwargs)
456 return val
457 def GetNumberOfLines(self, *_args, **_kwargs):
458 val = apply(controlsc.wxTextCtrl_GetNumberOfLines,(self,) + _args, _kwargs)
459 return val
460 def GetValue(self, *_args, **_kwargs):
461 val = apply(controlsc.wxTextCtrl_GetValue,(self,) + _args, _kwargs)
462 return val
463 def IsModified(self, *_args, **_kwargs):
464 val = apply(controlsc.wxTextCtrl_IsModified,(self,) + _args, _kwargs)
465 return val
466 def LoadFile(self, *_args, **_kwargs):
467 val = apply(controlsc.wxTextCtrl_LoadFile,(self,) + _args, _kwargs)
468 return val
469 def Paste(self, *_args, **_kwargs):
470 val = apply(controlsc.wxTextCtrl_Paste,(self,) + _args, _kwargs)
471 return val
472 def PositionToXY(self, *_args, **_kwargs):
473 val = apply(controlsc.wxTextCtrl_PositionToXY,(self,) + _args, _kwargs)
474 return val
475 def Remove(self, *_args, **_kwargs):
476 val = apply(controlsc.wxTextCtrl_Remove,(self,) + _args, _kwargs)
477 return val
478 def Replace(self, *_args, **_kwargs):
479 val = apply(controlsc.wxTextCtrl_Replace,(self,) + _args, _kwargs)
480 return val
481 def SaveFile(self, *_args, **_kwargs):
482 val = apply(controlsc.wxTextCtrl_SaveFile,(self,) + _args, _kwargs)
483 return val
484 def SetEditable(self, *_args, **_kwargs):
485 val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs)
486 return val
487 def SetInsertionPoint(self, *_args, **_kwargs):
488 val = apply(controlsc.wxTextCtrl_SetInsertionPoint,(self,) + _args, _kwargs)
489 return val
490 def SetInsertionPointEnd(self, *_args, **_kwargs):
491 val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd,(self,) + _args, _kwargs)
492 return val
493 def SetSelection(self, *_args, **_kwargs):
494 val = apply(controlsc.wxTextCtrl_SetSelection,(self,) + _args, _kwargs)
495 return val
496 def SetValue(self, *_args, **_kwargs):
497 val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs)
498 return val
499 def ShowPosition(self, *_args, **_kwargs):
500 val = apply(controlsc.wxTextCtrl_ShowPosition,(self,) + _args, _kwargs)
501 return val
502 def WriteText(self, *_args, **_kwargs):
503 val = apply(controlsc.wxTextCtrl_WriteText,(self,) + _args, _kwargs)
504 return val
505 def AppendText(self, *_args, **_kwargs):
506 val = apply(controlsc.wxTextCtrl_AppendText,(self,) + _args, _kwargs)
507 return val
508 def XYToPosition(self, *_args, **_kwargs):
509 val = apply(controlsc.wxTextCtrl_XYToPosition,(self,) + _args, _kwargs)
510 return val
511 def CanCopy(self, *_args, **_kwargs):
512 val = apply(controlsc.wxTextCtrl_CanCopy,(self,) + _args, _kwargs)
513 return val
514 def CanCut(self, *_args, **_kwargs):
515 val = apply(controlsc.wxTextCtrl_CanCut,(self,) + _args, _kwargs)
516 return val
517 def CanPaste(self, *_args, **_kwargs):
518 val = apply(controlsc.wxTextCtrl_CanPaste,(self,) + _args, _kwargs)
519 return val
520 def CanRedo(self, *_args, **_kwargs):
521 val = apply(controlsc.wxTextCtrl_CanRedo,(self,) + _args, _kwargs)
522 return val
523 def CanUndo(self, *_args, **_kwargs):
524 val = apply(controlsc.wxTextCtrl_CanUndo,(self,) + _args, _kwargs)
525 return val
526 def GetSelection(self, *_args, **_kwargs):
527 val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs)
528 return val
529 def IsEditable(self, *_args, **_kwargs):
530 val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs)
531 return val
532 def Undo(self, *_args, **_kwargs):
533 val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs)
534 return val
535 def Redo(self, *_args, **_kwargs):
536 val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs)
537 return val
538 def write(self, *_args, **_kwargs):
539 val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
540 return val
541 def __repr__(self):
542 return "<C wxTextCtrl instance at %s>" % (self.this,)
543 class wxTextCtrl(wxTextCtrlPtr):
544 def __init__(self,*_args,**_kwargs):
545 self.this = apply(controlsc.new_wxTextCtrl,_args,_kwargs)
546 self.thisown = 1
547 wx._StdWindowCallbacks(self)
548
549
550
551
552 class wxScrollBarPtr(wxControlPtr):
553 def __init__(self,this):
554 self.this = this
555 self.thisown = 0
556 def GetRange(self, *_args, **_kwargs):
557 val = apply(controlsc.wxScrollBar_GetRange,(self,) + _args, _kwargs)
558 return val
559 def GetPageSize(self, *_args, **_kwargs):
560 val = apply(controlsc.wxScrollBar_GetPageSize,(self,) + _args, _kwargs)
561 return val
562 def GetThumbPosition(self, *_args, **_kwargs):
563 val = apply(controlsc.wxScrollBar_GetThumbPosition,(self,) + _args, _kwargs)
564 return val
565 def GetThumbSize(self, *_args, **_kwargs):
566 val = apply(controlsc.wxScrollBar_GetThumbSize,(self,) + _args, _kwargs)
567 return val
568 def SetThumbPosition(self, *_args, **_kwargs):
569 val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs)
570 return val
571 def SetScrollbar(self, *_args, **_kwargs):
572 val = apply(controlsc.wxScrollBar_SetScrollbar,(self,) + _args, _kwargs)
573 return val
574 def __repr__(self):
575 return "<C wxScrollBar instance at %s>" % (self.this,)
576 class wxScrollBar(wxScrollBarPtr):
577 def __init__(self,*_args,**_kwargs):
578 self.this = apply(controlsc.new_wxScrollBar,_args,_kwargs)
579 self.thisown = 1
580 wx._StdWindowCallbacks(self)
581
582
583
584
585 class wxSpinButtonPtr(wxControlPtr):
586 def __init__(self,this):
587 self.this = this
588 self.thisown = 0
589 def GetMax(self, *_args, **_kwargs):
590 val = apply(controlsc.wxSpinButton_GetMax,(self,) + _args, _kwargs)
591 return val
592 def GetMin(self, *_args, **_kwargs):
593 val = apply(controlsc.wxSpinButton_GetMin,(self,) + _args, _kwargs)
594 return val
595 def GetValue(self, *_args, **_kwargs):
596 val = apply(controlsc.wxSpinButton_GetValue,(self,) + _args, _kwargs)
597 return val
598 def SetRange(self, *_args, **_kwargs):
599 val = apply(controlsc.wxSpinButton_SetRange,(self,) + _args, _kwargs)
600 return val
601 def SetValue(self, *_args, **_kwargs):
602 val = apply(controlsc.wxSpinButton_SetValue,(self,) + _args, _kwargs)
603 return val
604 def __repr__(self):
605 return "<C wxSpinButton instance at %s>" % (self.this,)
606 class wxSpinButton(wxSpinButtonPtr):
607 def __init__(self,*_args,**_kwargs):
608 self.this = apply(controlsc.new_wxSpinButton,_args,_kwargs)
609 self.thisown = 1
610
611
612
613
614 class wxStaticBitmapPtr(wxControlPtr):
615 def __init__(self,this):
616 self.this = this
617 self.thisown = 0
618 def GetBitmap(self, *_args, **_kwargs):
619 val = apply(controlsc.wxStaticBitmap_GetBitmap,(self,) + _args, _kwargs)
620 if val: val = wxBitmapPtr(val)
621 return val
622 def SetBitmap(self, *_args, **_kwargs):
623 val = apply(controlsc.wxStaticBitmap_SetBitmap,(self,) + _args, _kwargs)
624 return val
625 def SetIcon(self, *_args, **_kwargs):
626 val = apply(controlsc.wxStaticBitmap_SetIcon,(self,) + _args, _kwargs)
627 return val
628 def __repr__(self):
629 return "<C wxStaticBitmap instance at %s>" % (self.this,)
630 class wxStaticBitmap(wxStaticBitmapPtr):
631 def __init__(self,*_args,**_kwargs):
632 self.this = apply(controlsc.new_wxStaticBitmap,_args,_kwargs)
633 self.thisown = 1
634 wx._StdWindowCallbacks(self)
635
636
637
638
639 class wxRadioBoxPtr(wxControlPtr):
640 def __init__(self,this):
641 self.this = this
642 self.thisown = 0
643 def Enable(self, *_args, **_kwargs):
644 val = apply(controlsc.wxRadioBox_Enable,(self,) + _args, _kwargs)
645 return val
646 def EnableItem(self, *_args, **_kwargs):
647 val = apply(controlsc.wxRadioBox_EnableItem,(self,) + _args, _kwargs)
648 return val
649 def FindString(self, *_args, **_kwargs):
650 val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs)
651 return val
652 def GetItemLabel(self, *_args, **_kwargs):
653 val = apply(controlsc.wxRadioBox_GetItemLabel,(self,) + _args, _kwargs)
654 return val
655 def GetSelection(self, *_args, **_kwargs):
656 val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
657 return val
658 def GetString(self, *_args, **_kwargs):
659 val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs)
660 return val
661 def GetStringSelection(self, *_args, **_kwargs):
662 val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs)
663 return val
664 def Number(self, *_args, **_kwargs):
665 val = apply(controlsc.wxRadioBox_Number,(self,) + _args, _kwargs)
666 return val
667 def SetItemLabel(self, *_args, **_kwargs):
668 val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs)
669 return val
670 def SetSelection(self, *_args, **_kwargs):
671 val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
672 return val
673 def SetStringSelection(self, *_args, **_kwargs):
674 val = apply(controlsc.wxRadioBox_SetStringSelection,(self,) + _args, _kwargs)
675 return val
676 def Show(self, *_args, **_kwargs):
677 val = apply(controlsc.wxRadioBox_Show,(self,) + _args, _kwargs)
678 return val
679 def ShowItem(self, *_args, **_kwargs):
680 val = apply(controlsc.wxRadioBox_ShowItem,(self,) + _args, _kwargs)
681 return val
682 def __repr__(self):
683 return "<C wxRadioBox instance at %s>" % (self.this,)
684 class wxRadioBox(wxRadioBoxPtr):
685 def __init__(self,*_args,**_kwargs):
686 self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs)
687 self.thisown = 1
688 wx._StdWindowCallbacks(self)
689
690
691
692
693 class wxRadioButtonPtr(wxControlPtr):
694 def __init__(self,this):
695 self.this = this
696 self.thisown = 0
697 def GetValue(self, *_args, **_kwargs):
698 val = apply(controlsc.wxRadioButton_GetValue,(self,) + _args, _kwargs)
699 return val
700 def SetValue(self, *_args, **_kwargs):
701 val = apply(controlsc.wxRadioButton_SetValue,(self,) + _args, _kwargs)
702 return val
703 def __repr__(self):
704 return "<C wxRadioButton instance at %s>" % (self.this,)
705 class wxRadioButton(wxRadioButtonPtr):
706 def __init__(self,*_args,**_kwargs):
707 self.this = apply(controlsc.new_wxRadioButton,_args,_kwargs)
708 self.thisown = 1
709 wx._StdWindowCallbacks(self)
710
711
712
713
714 class wxSliderPtr(wxControlPtr):
715 def __init__(self,this):
716 self.this = this
717 self.thisown = 0
718 def ClearSel(self, *_args, **_kwargs):
719 val = apply(controlsc.wxSlider_ClearSel,(self,) + _args, _kwargs)
720 return val
721 def ClearTicks(self, *_args, **_kwargs):
722 val = apply(controlsc.wxSlider_ClearTicks,(self,) + _args, _kwargs)
723 return val
724 def GetLineSize(self, *_args, **_kwargs):
725 val = apply(controlsc.wxSlider_GetLineSize,(self,) + _args, _kwargs)
726 return val
727 def GetMax(self, *_args, **_kwargs):
728 val = apply(controlsc.wxSlider_GetMax,(self,) + _args, _kwargs)
729 return val
730 def GetMin(self, *_args, **_kwargs):
731 val = apply(controlsc.wxSlider_GetMin,(self,) + _args, _kwargs)
732 return val
733 def GetPageSize(self, *_args, **_kwargs):
734 val = apply(controlsc.wxSlider_GetPageSize,(self,) + _args, _kwargs)
735 return val
736 def GetSelEnd(self, *_args, **_kwargs):
737 val = apply(controlsc.wxSlider_GetSelEnd,(self,) + _args, _kwargs)
738 return val
739 def GetSelStart(self, *_args, **_kwargs):
740 val = apply(controlsc.wxSlider_GetSelStart,(self,) + _args, _kwargs)
741 return val
742 def GetThumbLength(self, *_args, **_kwargs):
743 val = apply(controlsc.wxSlider_GetThumbLength,(self,) + _args, _kwargs)
744 return val
745 def GetTickFreq(self, *_args, **_kwargs):
746 val = apply(controlsc.wxSlider_GetTickFreq,(self,) + _args, _kwargs)
747 return val
748 def GetValue(self, *_args, **_kwargs):
749 val = apply(controlsc.wxSlider_GetValue,(self,) + _args, _kwargs)
750 return val
751 def SetRange(self, *_args, **_kwargs):
752 val = apply(controlsc.wxSlider_SetRange,(self,) + _args, _kwargs)
753 return val
754 def SetTickFreq(self, *_args, **_kwargs):
755 val = apply(controlsc.wxSlider_SetTickFreq,(self,) + _args, _kwargs)
756 return val
757 def SetLineSize(self, *_args, **_kwargs):
758 val = apply(controlsc.wxSlider_SetLineSize,(self,) + _args, _kwargs)
759 return val
760 def SetPageSize(self, *_args, **_kwargs):
761 val = apply(controlsc.wxSlider_SetPageSize,(self,) + _args, _kwargs)
762 return val
763 def SetSelection(self, *_args, **_kwargs):
764 val = apply(controlsc.wxSlider_SetSelection,(self,) + _args, _kwargs)
765 return val
766 def SetThumbLength(self, *_args, **_kwargs):
767 val = apply(controlsc.wxSlider_SetThumbLength,(self,) + _args, _kwargs)
768 return val
769 def SetTick(self, *_args, **_kwargs):
770 val = apply(controlsc.wxSlider_SetTick,(self,) + _args, _kwargs)
771 return val
772 def SetValue(self, *_args, **_kwargs):
773 val = apply(controlsc.wxSlider_SetValue,(self,) + _args, _kwargs)
774 return val
775 def __repr__(self):
776 return "<C wxSlider instance at %s>" % (self.this,)
777 class wxSlider(wxSliderPtr):
778 def __init__(self,*_args,**_kwargs):
779 self.this = apply(controlsc.new_wxSlider,_args,_kwargs)
780 self.thisown = 1
781 wx._StdWindowCallbacks(self)
782
783
784
785
786
787
788 #-------------- FUNCTION WRAPPERS ------------------
789
790 def wxButton_GetDefaultSize(*_args, **_kwargs):
791 val = apply(controlsc.wxButton_GetDefaultSize,_args,_kwargs)
792 if val: val = wxSizePtr(val); val.thisown = 1
793 return val
794
795
796
797 #-------------- VARIABLE WRAPPERS ------------------
798
799 cvar = controlsc.cvar
800 wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)