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