]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls.py
cleaned a bit of mess in wxX11
[wxWidgets.git] / wxPython / src / gtk / 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 Create(self, *_args, **_kwargs):
19 val = apply(controlsc.wxControl_Create,(self,) + _args, _kwargs)
20 return val
21 def Command(self, *_args, **_kwargs):
22 val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs)
23 return val
24 def GetLabel(self, *_args, **_kwargs):
25 val = apply(controlsc.wxControl_GetLabel,(self,) + _args, _kwargs)
26 return val
27 def SetLabel(self, *_args, **_kwargs):
28 val = apply(controlsc.wxControl_SetLabel,(self,) + _args, _kwargs)
29 return val
30 def __repr__(self):
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)
35 self.thisown = 1
36 self._setOORInfo(self)
37
38
39
40 def wxPreControl(*_args,**_kwargs):
41 val = wxControlPtr(apply(controlsc.new_wxPreControl,_args,_kwargs))
42 val.thisown = 1
43 val._setOORInfo(val)
44 return val
45
46
47 class wxControlWithItemsPtr(wxControlPtr):
48 def __init__(self,this):
49 self.this = this
50 self.thisown = 0
51 def Delete(self, *_args, **_kwargs):
52 val = apply(controlsc.wxControlWithItems_Delete,(self,) + _args, _kwargs)
53 return val
54 def GetCount(self, *_args, **_kwargs):
55 val = apply(controlsc.wxControlWithItems_GetCount,(self,) + _args, _kwargs)
56 return val
57 def GetString(self, *_args, **_kwargs):
58 val = apply(controlsc.wxControlWithItems_GetString,(self,) + _args, _kwargs)
59 return val
60 def SetString(self, *_args, **_kwargs):
61 val = apply(controlsc.wxControlWithItems_SetString,(self,) + _args, _kwargs)
62 return val
63 def FindString(self, *_args, **_kwargs):
64 val = apply(controlsc.wxControlWithItems_FindString,(self,) + _args, _kwargs)
65 return val
66 def Select(self, *_args, **_kwargs):
67 val = apply(controlsc.wxControlWithItems_Select,(self,) + _args, _kwargs)
68 return val
69 def GetSelection(self, *_args, **_kwargs):
70 val = apply(controlsc.wxControlWithItems_GetSelection,(self,) + _args, _kwargs)
71 return val
72 def GetStringSelection(self, *_args, **_kwargs):
73 val = apply(controlsc.wxControlWithItems_GetStringSelection,(self,) + _args, _kwargs)
74 return val
75 def Append(self, *_args, **_kwargs):
76 val = apply(controlsc.wxControlWithItems_Append,(self,) + _args, _kwargs)
77 return val
78 def GetClientData(self, *_args, **_kwargs):
79 val = apply(controlsc.wxControlWithItems_GetClientData,(self,) + _args, _kwargs)
80 return val
81 def SetClientData(self, *_args, **_kwargs):
82 val = apply(controlsc.wxControlWithItems_SetClientData,(self,) + _args, _kwargs)
83 return val
84 def AppendItems(self, *_args, **_kwargs):
85 val = apply(controlsc.wxControlWithItems_AppendItems,(self,) + _args, _kwargs)
86 return val
87 def __repr__(self):
88 return "<C wxControlWithItems instance at %s>" % (self.this,)
89 Number = GetCount
90 class wxControlWithItems(wxControlWithItemsPtr):
91 def __init__(self,this):
92 self.this = this
93
94
95
96
97 class wxButtonPtr(wxControlPtr):
98 def __init__(self,this):
99 self.this = this
100 self.thisown = 0
101 def Create(self, *_args, **_kwargs):
102 val = apply(controlsc.wxButton_Create,(self,) + _args, _kwargs)
103 return val
104 def SetDefault(self, *_args, **_kwargs):
105 val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs)
106 return val
107 def SetBackgroundColour(self, *_args, **_kwargs):
108 val = apply(controlsc.wxButton_SetBackgroundColour,(self,) + _args, _kwargs)
109 return val
110 def SetForegroundColour(self, *_args, **_kwargs):
111 val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs)
112 return val
113 def __repr__(self):
114 return "<C wxButton instance at %s>" % (self.this,)
115 class wxButton(wxButtonPtr):
116 def __init__(self,*_args,**_kwargs):
117 self.this = apply(controlsc.new_wxButton,_args,_kwargs)
118 self.thisown = 1
119 self._setOORInfo(self)
120
121
122
123 def wxPreButton(*_args,**_kwargs):
124 val = wxButtonPtr(apply(controlsc.new_wxPreButton,_args,_kwargs))
125 val.thisown = 1
126 val._setOORInfo(val)
127 return val
128
129
130 class wxBitmapButtonPtr(wxButtonPtr):
131 def __init__(self,this):
132 self.this = this
133 self.thisown = 0
134 def Create(self, *_args, **_kwargs):
135 val = apply(controlsc.wxBitmapButton_Create,(self,) + _args, _kwargs)
136 return val
137 def GetBitmapLabel(self, *_args, **_kwargs):
138 val = apply(controlsc.wxBitmapButton_GetBitmapLabel,(self,) + _args, _kwargs)
139 if val: val = wxBitmapPtr(val) ; val.thisown = 1
140 return val
141 def GetBitmapDisabled(self, *_args, **_kwargs):
142 val = apply(controlsc.wxBitmapButton_GetBitmapDisabled,(self,) + _args, _kwargs)
143 if val: val = wxBitmapPtr(val) ; val.thisown = 1
144 return val
145 def GetBitmapFocus(self, *_args, **_kwargs):
146 val = apply(controlsc.wxBitmapButton_GetBitmapFocus,(self,) + _args, _kwargs)
147 if val: val = wxBitmapPtr(val) ; val.thisown = 1
148 return val
149 def GetBitmapSelected(self, *_args, **_kwargs):
150 val = apply(controlsc.wxBitmapButton_GetBitmapSelected,(self,) + _args, _kwargs)
151 if val: val = wxBitmapPtr(val) ; val.thisown = 1
152 return val
153 def SetBitmapDisabled(self, *_args, **_kwargs):
154 val = apply(controlsc.wxBitmapButton_SetBitmapDisabled,(self,) + _args, _kwargs)
155 return val
156 def SetBitmapFocus(self, *_args, **_kwargs):
157 val = apply(controlsc.wxBitmapButton_SetBitmapFocus,(self,) + _args, _kwargs)
158 return val
159 def SetBitmapSelected(self, *_args, **_kwargs):
160 val = apply(controlsc.wxBitmapButton_SetBitmapSelected,(self,) + _args, _kwargs)
161 return val
162 def SetBitmapLabel(self, *_args, **_kwargs):
163 val = apply(controlsc.wxBitmapButton_SetBitmapLabel,(self,) + _args, _kwargs)
164 return val
165 def SetMargins(self, *_args, **_kwargs):
166 val = apply(controlsc.wxBitmapButton_SetMargins,(self,) + _args, _kwargs)
167 return val
168 def GetMarginX(self, *_args, **_kwargs):
169 val = apply(controlsc.wxBitmapButton_GetMarginX,(self,) + _args, _kwargs)
170 return val
171 def GetMarginY(self, *_args, **_kwargs):
172 val = apply(controlsc.wxBitmapButton_GetMarginY,(self,) + _args, _kwargs)
173 return val
174 def __repr__(self):
175 return "<C wxBitmapButton instance at %s>" % (self.this,)
176 class wxBitmapButton(wxBitmapButtonPtr):
177 def __init__(self,*_args,**_kwargs):
178 self.this = apply(controlsc.new_wxBitmapButton,_args,_kwargs)
179 self.thisown = 1
180 self._setOORInfo(self)
181
182
183
184 def wxPreBitmapButton(*_args,**_kwargs):
185 val = wxBitmapButtonPtr(apply(controlsc.new_wxPreBitmapButton,_args,_kwargs))
186 val.thisown = 1
187 val._setOORInfo(val)
188 return val
189
190
191 class wxCheckBoxPtr(wxControlPtr):
192 def __init__(self,this):
193 self.this = this
194 self.thisown = 0
195 def Create(self, *_args, **_kwargs):
196 val = apply(controlsc.wxCheckBox_Create,(self,) + _args, _kwargs)
197 return val
198 def GetValue(self, *_args, **_kwargs):
199 val = apply(controlsc.wxCheckBox_GetValue,(self,) + _args, _kwargs)
200 return val
201 def SetValue(self, *_args, **_kwargs):
202 val = apply(controlsc.wxCheckBox_SetValue,(self,) + _args, _kwargs)
203 return val
204 def __repr__(self):
205 return "<C wxCheckBox instance at %s>" % (self.this,)
206 class wxCheckBox(wxCheckBoxPtr):
207 def __init__(self,*_args,**_kwargs):
208 self.this = apply(controlsc.new_wxCheckBox,_args,_kwargs)
209 self.thisown = 1
210 self._setOORInfo(self)
211
212
213
214 def wxPreCheckBox(*_args,**_kwargs):
215 val = wxCheckBoxPtr(apply(controlsc.new_wxPreCheckBox,_args,_kwargs))
216 val.thisown = 1
217 val._setOORInfo(val)
218 return val
219
220
221 class wxChoicePtr(wxControlWithItemsPtr):
222 def __init__(self,this):
223 self.this = this
224 self.thisown = 0
225 def Create(self, *_args, **_kwargs):
226 val = apply(controlsc.wxChoice_Create,(self,) + _args, _kwargs)
227 return val
228 def Clear(self, *_args, **_kwargs):
229 val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs)
230 return val
231 def GetColumns(self, *_args, **_kwargs):
232 val = apply(controlsc.wxChoice_GetColumns,(self,) + _args, _kwargs)
233 return val
234 def SetColumns(self, *_args, **_kwargs):
235 val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs)
236 return val
237 def SetSelection(self, *_args, **_kwargs):
238 val = apply(controlsc.wxChoice_SetSelection,(self,) + _args, _kwargs)
239 return val
240 def SetStringSelection(self, *_args, **_kwargs):
241 val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs)
242 return val
243 def SetString(self, *_args, **_kwargs):
244 val = apply(controlsc.wxChoice_SetString,(self,) + _args, _kwargs)
245 return val
246 def __repr__(self):
247 return "<C wxChoice instance at %s>" % (self.this,)
248
249 Select = SetSelection
250
251 class wxChoice(wxChoicePtr):
252 def __init__(self,*_args,**_kwargs):
253 self.this = apply(controlsc.new_wxChoice,_args,_kwargs)
254 self.thisown = 1
255 self._setOORInfo(self)
256
257
258
259 def wxPreChoice(*_args,**_kwargs):
260 val = wxChoicePtr(apply(controlsc.new_wxPreChoice,_args,_kwargs))
261 val.thisown = 1
262 val._setOORInfo(val)
263 return val
264
265
266 class wxComboBoxPtr(wxControlPtr):
267 def __init__(self,this):
268 self.this = this
269 self.thisown = 0
270 def Create(self, *_args, **_kwargs):
271 val = apply(controlsc.wxComboBox_Create,(self,) + _args, _kwargs)
272 return val
273 def Copy(self, *_args, **_kwargs):
274 val = apply(controlsc.wxComboBox_Copy,(self,) + _args, _kwargs)
275 return val
276 def Cut(self, *_args, **_kwargs):
277 val = apply(controlsc.wxComboBox_Cut,(self,) + _args, _kwargs)
278 return val
279 def GetInsertionPoint(self, *_args, **_kwargs):
280 val = apply(controlsc.wxComboBox_GetInsertionPoint,(self,) + _args, _kwargs)
281 return val
282 def GetLastPosition(self, *_args, **_kwargs):
283 val = apply(controlsc.wxComboBox_GetLastPosition,(self,) + _args, _kwargs)
284 return val
285 def GetValue(self, *_args, **_kwargs):
286 val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs)
287 return val
288 def Paste(self, *_args, **_kwargs):
289 val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs)
290 return val
291 def Replace(self, *_args, **_kwargs):
292 val = apply(controlsc.wxComboBox_Replace,(self,) + _args, _kwargs)
293 return val
294 def Remove(self, *_args, **_kwargs):
295 val = apply(controlsc.wxComboBox_Remove,(self,) + _args, _kwargs)
296 return val
297 def SetInsertionPoint(self, *_args, **_kwargs):
298 val = apply(controlsc.wxComboBox_SetInsertionPoint,(self,) + _args, _kwargs)
299 return val
300 def SetInsertionPointEnd(self, *_args, **_kwargs):
301 val = apply(controlsc.wxComboBox_SetInsertionPointEnd,(self,) + _args, _kwargs)
302 return val
303 def SetSelection(self, *_args, **_kwargs):
304 val = apply(controlsc.wxComboBox_SetSelection,(self,) + _args, _kwargs)
305 return val
306 def SetMark(self, *_args, **_kwargs):
307 val = apply(controlsc.wxComboBox_SetMark,(self,) + _args, _kwargs)
308 return val
309 def SetValue(self, *_args, **_kwargs):
310 val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs)
311 return val
312 def SetEditable(self, *_args, **_kwargs):
313 val = apply(controlsc.wxComboBox_SetEditable,(self,) + _args, _kwargs)
314 return val
315 def Clear(self, *_args, **_kwargs):
316 val = apply(controlsc.wxComboBox_Clear,(self,) + _args, _kwargs)
317 return val
318 def Delete(self, *_args, **_kwargs):
319 val = apply(controlsc.wxComboBox_Delete,(self,) + _args, _kwargs)
320 return val
321 def GetCount(self, *_args, **_kwargs):
322 val = apply(controlsc.wxComboBox_GetCount,(self,) + _args, _kwargs)
323 return val
324 def GetString(self, *_args, **_kwargs):
325 val = apply(controlsc.wxComboBox_GetString,(self,) + _args, _kwargs)
326 return val
327 def FindString(self, *_args, **_kwargs):
328 val = apply(controlsc.wxComboBox_FindString,(self,) + _args, _kwargs)
329 return val
330 def GetSelection(self, *_args, **_kwargs):
331 val = apply(controlsc.wxComboBox_GetSelection,(self,) + _args, _kwargs)
332 return val
333 def GetStringSelection(self, *_args, **_kwargs):
334 val = apply(controlsc.wxComboBox_GetStringSelection,(self,) + _args, _kwargs)
335 return val
336 def Append(self, *_args, **_kwargs):
337 val = apply(controlsc.wxComboBox_Append,(self,) + _args, _kwargs)
338 return val
339 def GetClientData(self, *_args, **_kwargs):
340 val = apply(controlsc.wxComboBox_GetClientData,(self,) + _args, _kwargs)
341 return val
342 def SetClientData(self, *_args, **_kwargs):
343 val = apply(controlsc.wxComboBox_SetClientData,(self,) + _args, _kwargs)
344 return val
345 def __repr__(self):
346 return "<C wxComboBox instance at %s>" % (self.this,)
347 Number = GetCount
348 Select = SetSelection
349 class wxComboBox(wxComboBoxPtr):
350 def __init__(self,*_args,**_kwargs):
351 self.this = apply(controlsc.new_wxComboBox,_args,_kwargs)
352 self.thisown = 1
353 self._setOORInfo(self)
354
355
356
357 def wxPreComboBox(*_args,**_kwargs):
358 val = wxComboBoxPtr(apply(controlsc.new_wxPreComboBox,_args,_kwargs))
359 val.thisown = 1
360 val._setOORInfo(val)
361 return val
362
363
364 class wxGaugePtr(wxControlPtr):
365 def __init__(self,this):
366 self.this = this
367 self.thisown = 0
368 def Create(self, *_args, **_kwargs):
369 val = apply(controlsc.wxGauge_Create,(self,) + _args, _kwargs)
370 return val
371 def GetBezelFace(self, *_args, **_kwargs):
372 val = apply(controlsc.wxGauge_GetBezelFace,(self,) + _args, _kwargs)
373 return val
374 def GetRange(self, *_args, **_kwargs):
375 val = apply(controlsc.wxGauge_GetRange,(self,) + _args, _kwargs)
376 return val
377 def GetShadowWidth(self, *_args, **_kwargs):
378 val = apply(controlsc.wxGauge_GetShadowWidth,(self,) + _args, _kwargs)
379 return val
380 def GetValue(self, *_args, **_kwargs):
381 val = apply(controlsc.wxGauge_GetValue,(self,) + _args, _kwargs)
382 return val
383 def SetBezelFace(self, *_args, **_kwargs):
384 val = apply(controlsc.wxGauge_SetBezelFace,(self,) + _args, _kwargs)
385 return val
386 def SetRange(self, *_args, **_kwargs):
387 val = apply(controlsc.wxGauge_SetRange,(self,) + _args, _kwargs)
388 return val
389 def SetShadowWidth(self, *_args, **_kwargs):
390 val = apply(controlsc.wxGauge_SetShadowWidth,(self,) + _args, _kwargs)
391 return val
392 def SetValue(self, *_args, **_kwargs):
393 val = apply(controlsc.wxGauge_SetValue,(self,) + _args, _kwargs)
394 return val
395 def __repr__(self):
396 return "<C wxGauge instance at %s>" % (self.this,)
397 class wxGauge(wxGaugePtr):
398 def __init__(self,*_args,**_kwargs):
399 self.this = apply(controlsc.new_wxGauge,_args,_kwargs)
400 self.thisown = 1
401 self._setOORInfo(self)
402
403
404
405 def wxPreGauge(*_args,**_kwargs):
406 val = wxGaugePtr(apply(controlsc.new_wxPreGauge,_args,_kwargs))
407 val.thisown = 1
408 val._setOORInfo(val)
409 return val
410
411
412 class wxStaticBoxPtr(wxControlPtr):
413 def __init__(self,this):
414 self.this = this
415 self.thisown = 0
416 def Create(self, *_args, **_kwargs):
417 val = apply(controlsc.wxStaticBox_Create,(self,) + _args, _kwargs)
418 return val
419 def __repr__(self):
420 return "<C wxStaticBox instance at %s>" % (self.this,)
421 class wxStaticBox(wxStaticBoxPtr):
422 def __init__(self,*_args,**_kwargs):
423 self.this = apply(controlsc.new_wxStaticBox,_args,_kwargs)
424 self.thisown = 1
425 self._setOORInfo(self)
426
427
428
429 def wxPreStaticBox(*_args,**_kwargs):
430 val = wxStaticBoxPtr(apply(controlsc.new_wxPreStaticBox,_args,_kwargs))
431 val.thisown = 1
432 val._setOORInfo(val)
433 return val
434
435
436 class wxStaticLinePtr(wxControlPtr):
437 def __init__(self,this):
438 self.this = this
439 self.thisown = 0
440 def Create(self, *_args, **_kwargs):
441 val = apply(controlsc.wxStaticLine_Create,(self,) + _args, _kwargs)
442 return val
443 def __repr__(self):
444 return "<C wxStaticLine instance at %s>" % (self.this,)
445 class wxStaticLine(wxStaticLinePtr):
446 def __init__(self,*_args,**_kwargs):
447 self.this = apply(controlsc.new_wxStaticLine,_args,_kwargs)
448 self.thisown = 1
449 self._setOORInfo(self)
450
451
452
453 def wxPreStaticLine(*_args,**_kwargs):
454 val = wxStaticLinePtr(apply(controlsc.new_wxPreStaticLine,_args,_kwargs))
455 val.thisown = 1
456 val._setOORInfo(val)
457 return val
458
459
460 class wxStaticTextPtr(wxControlPtr):
461 def __init__(self,this):
462 self.this = this
463 self.thisown = 0
464 def Create(self, *_args, **_kwargs):
465 val = apply(controlsc.wxStaticText_Create,(self,) + _args, _kwargs)
466 return val
467 def GetLabel(self, *_args, **_kwargs):
468 val = apply(controlsc.wxStaticText_GetLabel,(self,) + _args, _kwargs)
469 return val
470 def SetLabel(self, *_args, **_kwargs):
471 val = apply(controlsc.wxStaticText_SetLabel,(self,) + _args, _kwargs)
472 return val
473 def __repr__(self):
474 return "<C wxStaticText instance at %s>" % (self.this,)
475 class wxStaticText(wxStaticTextPtr):
476 def __init__(self,*_args,**_kwargs):
477 self.this = apply(controlsc.new_wxStaticText,_args,_kwargs)
478 self.thisown = 1
479 self._setOORInfo(self)
480
481
482
483 def wxPreStaticText(*_args,**_kwargs):
484 val = wxStaticTextPtr(apply(controlsc.new_wxPreStaticText,_args,_kwargs))
485 val.thisown = 1
486 val._setOORInfo(val)
487 return val
488
489
490 class wxListBoxPtr(wxControlWithItemsPtr):
491 def __init__(self,this):
492 self.this = this
493 self.thisown = 0
494 def Create(self, *_args, **_kwargs):
495 val = apply(controlsc.wxListBox_Create,(self,) + _args, _kwargs)
496 return val
497 def Clear(self, *_args, **_kwargs):
498 val = apply(controlsc.wxListBox_Clear,(self,) + _args, _kwargs)
499 return val
500 def Deselect(self, *_args, **_kwargs):
501 val = apply(controlsc.wxListBox_Deselect,(self,) + _args, _kwargs)
502 return val
503 def GetSelections(self, *_args, **_kwargs):
504 val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs)
505 return val
506 def InsertItems(self, *_args, **_kwargs):
507 val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs)
508 return val
509 def IsSelected(self, *_args, **_kwargs):
510 val = apply(controlsc.wxListBox_IsSelected,(self,) + _args, _kwargs)
511 return val
512 def Selected(self, *_args, **_kwargs):
513 val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs)
514 return val
515 def Set(self, *_args, **_kwargs):
516 val = apply(controlsc.wxListBox_Set,(self,) + _args, _kwargs)
517 return val
518 def SetFirstItem(self, *_args, **_kwargs):
519 val = apply(controlsc.wxListBox_SetFirstItem,(self,) + _args, _kwargs)
520 return val
521 def SetFirstItemStr(self, *_args, **_kwargs):
522 val = apply(controlsc.wxListBox_SetFirstItemStr,(self,) + _args, _kwargs)
523 return val
524 def SetSelection(self, *_args, **_kwargs):
525 val = apply(controlsc.wxListBox_SetSelection,(self,) + _args, _kwargs)
526 return val
527 def SetString(self, *_args, **_kwargs):
528 val = apply(controlsc.wxListBox_SetString,(self,) + _args, _kwargs)
529 return val
530 def SetStringSelection(self, *_args, **_kwargs):
531 val = apply(controlsc.wxListBox_SetStringSelection,(self,) + _args, _kwargs)
532 return val
533 def __repr__(self):
534 return "<C wxListBox instance at %s>" % (self.this,)
535 class wxListBox(wxListBoxPtr):
536 def __init__(self,*_args,**_kwargs):
537 self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
538 self.thisown = 1
539 self._setOORInfo(self)
540
541
542
543 def wxPreListBox(*_args,**_kwargs):
544 val = wxListBoxPtr(apply(controlsc.new_wxPreListBox,_args,_kwargs))
545 val.thisown = 1
546 val._setOORInfo(val)
547 return val
548
549
550 class wxCheckListBoxPtr(wxListBoxPtr):
551 def __init__(self,this):
552 self.this = this
553 self.thisown = 0
554 def Create(self, *_args, **_kwargs):
555 val = apply(controlsc.wxCheckListBox_Create,(self,) + _args, _kwargs)
556 return val
557 def IsChecked(self, *_args, **_kwargs):
558 val = apply(controlsc.wxCheckListBox_IsChecked,(self,) + _args, _kwargs)
559 return val
560 def Check(self, *_args, **_kwargs):
561 val = apply(controlsc.wxCheckListBox_Check,(self,) + _args, _kwargs)
562 return val
563 def InsertItems(self, *_args, **_kwargs):
564 val = apply(controlsc.wxCheckListBox_InsertItems,(self,) + _args, _kwargs)
565 return val
566 def GetItemHeight(self, *_args, **_kwargs):
567 val = apply(controlsc.wxCheckListBox_GetItemHeight,(self,) + _args, _kwargs)
568 return val
569 def __repr__(self):
570 return "<C wxCheckListBox instance at %s>" % (self.this,)
571 class wxCheckListBox(wxCheckListBoxPtr):
572 def __init__(self,*_args,**_kwargs):
573 self.this = apply(controlsc.new_wxCheckListBox,_args,_kwargs)
574 self.thisown = 1
575 self._setOORInfo(self)
576
577
578
579 def wxPreCheckListBox(*_args,**_kwargs):
580 val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox,_args,_kwargs))
581 val.thisown = 1
582 val._setOORInfo(val)
583 return val
584
585
586 class wxTextAttrPtr :
587 def __init__(self,this):
588 self.this = this
589 self.thisown = 0
590 def __del__(self,controlsc=controlsc):
591 if self.thisown == 1 :
592 controlsc.delete_wxTextAttr(self)
593 def SetTextColour(self, *_args, **_kwargs):
594 val = apply(controlsc.wxTextAttr_SetTextColour,(self,) + _args, _kwargs)
595 return val
596 def SetBackgroundColour(self, *_args, **_kwargs):
597 val = apply(controlsc.wxTextAttr_SetBackgroundColour,(self,) + _args, _kwargs)
598 return val
599 def SetFont(self, *_args, **_kwargs):
600 val = apply(controlsc.wxTextAttr_SetFont,(self,) + _args, _kwargs)
601 return val
602 def HasTextColour(self, *_args, **_kwargs):
603 val = apply(controlsc.wxTextAttr_HasTextColour,(self,) + _args, _kwargs)
604 return val
605 def HasBackgroundColour(self, *_args, **_kwargs):
606 val = apply(controlsc.wxTextAttr_HasBackgroundColour,(self,) + _args, _kwargs)
607 return val
608 def HasFont(self, *_args, **_kwargs):
609 val = apply(controlsc.wxTextAttr_HasFont,(self,) + _args, _kwargs)
610 return val
611 def GetTextColour(self, *_args, **_kwargs):
612 val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs)
613 if val: val = wxColourPtr(val) ; val.thisown = 1
614 return val
615 def GetBackgroundColour(self, *_args, **_kwargs):
616 val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs)
617 if val: val = wxColourPtr(val) ; val.thisown = 1
618 return val
619 def GetFont(self, *_args, **_kwargs):
620 val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs)
621 if val: val = wxFontPtr(val) ; val.thisown = 1
622 return val
623 def IsDefault(self, *_args, **_kwargs):
624 val = apply(controlsc.wxTextAttr_IsDefault,(self,) + _args, _kwargs)
625 return val
626 def __repr__(self):
627 return "<C wxTextAttr instance at %s>" % (self.this,)
628 class wxTextAttr(wxTextAttrPtr):
629 def __init__(self,*_args,**_kwargs):
630 self.this = apply(controlsc.new_wxTextAttr,_args,_kwargs)
631 self.thisown = 1
632
633
634
635
636 class wxTextCtrlPtr(wxControlPtr):
637 def __init__(self,this):
638 self.this = this
639 self.thisown = 0
640 def Create(self, *_args, **_kwargs):
641 val = apply(controlsc.wxTextCtrl_Create,(self,) + _args, _kwargs)
642 return val
643 def GetValue(self, *_args, **_kwargs):
644 val = apply(controlsc.wxTextCtrl_GetValue,(self,) + _args, _kwargs)
645 return val
646 def SetValue(self, *_args, **_kwargs):
647 val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs)
648 return val
649 def GetRange(self, *_args, **_kwargs):
650 val = apply(controlsc.wxTextCtrl_GetRange,(self,) + _args, _kwargs)
651 return val
652 def GetLineLength(self, *_args, **_kwargs):
653 val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs)
654 return val
655 def GetLineText(self, *_args, **_kwargs):
656 val = apply(controlsc.wxTextCtrl_GetLineText,(self,) + _args, _kwargs)
657 return val
658 def GetNumberOfLines(self, *_args, **_kwargs):
659 val = apply(controlsc.wxTextCtrl_GetNumberOfLines,(self,) + _args, _kwargs)
660 return val
661 def IsModified(self, *_args, **_kwargs):
662 val = apply(controlsc.wxTextCtrl_IsModified,(self,) + _args, _kwargs)
663 return val
664 def IsEditable(self, *_args, **_kwargs):
665 val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs)
666 return val
667 def GetSelection(self, *_args, **_kwargs):
668 val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs)
669 return val
670 def GetStringSelection(self, *_args, **_kwargs):
671 val = apply(controlsc.wxTextCtrl_GetStringSelection,(self,) + _args, _kwargs)
672 return val
673 def Clear(self, *_args, **_kwargs):
674 val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs)
675 return val
676 def Replace(self, *_args, **_kwargs):
677 val = apply(controlsc.wxTextCtrl_Replace,(self,) + _args, _kwargs)
678 return val
679 def Remove(self, *_args, **_kwargs):
680 val = apply(controlsc.wxTextCtrl_Remove,(self,) + _args, _kwargs)
681 return val
682 def LoadFile(self, *_args, **_kwargs):
683 val = apply(controlsc.wxTextCtrl_LoadFile,(self,) + _args, _kwargs)
684 return val
685 def SaveFile(self, *_args, **_kwargs):
686 val = apply(controlsc.wxTextCtrl_SaveFile,(self,) + _args, _kwargs)
687 return val
688 def DiscardEdits(self, *_args, **_kwargs):
689 val = apply(controlsc.wxTextCtrl_DiscardEdits,(self,) + _args, _kwargs)
690 return val
691 def SetMaxLength(self, *_args, **_kwargs):
692 val = apply(controlsc.wxTextCtrl_SetMaxLength,(self,) + _args, _kwargs)
693 return val
694 def WriteText(self, *_args, **_kwargs):
695 val = apply(controlsc.wxTextCtrl_WriteText,(self,) + _args, _kwargs)
696 return val
697 def AppendText(self, *_args, **_kwargs):
698 val = apply(controlsc.wxTextCtrl_AppendText,(self,) + _args, _kwargs)
699 return val
700 def SetStyle(self, *_args, **_kwargs):
701 val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs)
702 return val
703 def SetDefaultStyle(self, *_args, **_kwargs):
704 val = apply(controlsc.wxTextCtrl_SetDefaultStyle,(self,) + _args, _kwargs)
705 return val
706 def GetDefaultStyle(self, *_args, **_kwargs):
707 val = apply(controlsc.wxTextCtrl_GetDefaultStyle,(self,) + _args, _kwargs)
708 if val: val = wxTextAttrPtr(val)
709 return val
710 def XYToPosition(self, *_args, **_kwargs):
711 val = apply(controlsc.wxTextCtrl_XYToPosition,(self,) + _args, _kwargs)
712 return val
713 def PositionToXY(self, *_args, **_kwargs):
714 val = apply(controlsc.wxTextCtrl_PositionToXY,(self,) + _args, _kwargs)
715 return val
716 def ShowPosition(self, *_args, **_kwargs):
717 val = apply(controlsc.wxTextCtrl_ShowPosition,(self,) + _args, _kwargs)
718 return val
719 def Copy(self, *_args, **_kwargs):
720 val = apply(controlsc.wxTextCtrl_Copy,(self,) + _args, _kwargs)
721 return val
722 def Cut(self, *_args, **_kwargs):
723 val = apply(controlsc.wxTextCtrl_Cut,(self,) + _args, _kwargs)
724 return val
725 def Paste(self, *_args, **_kwargs):
726 val = apply(controlsc.wxTextCtrl_Paste,(self,) + _args, _kwargs)
727 return val
728 def CanCopy(self, *_args, **_kwargs):
729 val = apply(controlsc.wxTextCtrl_CanCopy,(self,) + _args, _kwargs)
730 return val
731 def CanCut(self, *_args, **_kwargs):
732 val = apply(controlsc.wxTextCtrl_CanCut,(self,) + _args, _kwargs)
733 return val
734 def CanPaste(self, *_args, **_kwargs):
735 val = apply(controlsc.wxTextCtrl_CanPaste,(self,) + _args, _kwargs)
736 return val
737 def Undo(self, *_args, **_kwargs):
738 val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs)
739 return val
740 def Redo(self, *_args, **_kwargs):
741 val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs)
742 return val
743 def CanUndo(self, *_args, **_kwargs):
744 val = apply(controlsc.wxTextCtrl_CanUndo,(self,) + _args, _kwargs)
745 return val
746 def CanRedo(self, *_args, **_kwargs):
747 val = apply(controlsc.wxTextCtrl_CanRedo,(self,) + _args, _kwargs)
748 return val
749 def SetInsertionPoint(self, *_args, **_kwargs):
750 val = apply(controlsc.wxTextCtrl_SetInsertionPoint,(self,) + _args, _kwargs)
751 return val
752 def SetInsertionPointEnd(self, *_args, **_kwargs):
753 val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd,(self,) + _args, _kwargs)
754 return val
755 def GetInsertionPoint(self, *_args, **_kwargs):
756 val = apply(controlsc.wxTextCtrl_GetInsertionPoint,(self,) + _args, _kwargs)
757 return val
758 def GetLastPosition(self, *_args, **_kwargs):
759 val = apply(controlsc.wxTextCtrl_GetLastPosition,(self,) + _args, _kwargs)
760 return val
761 def SetSelection(self, *_args, **_kwargs):
762 val = apply(controlsc.wxTextCtrl_SetSelection,(self,) + _args, _kwargs)
763 return val
764 def SelectAll(self, *_args, **_kwargs):
765 val = apply(controlsc.wxTextCtrl_SelectAll,(self,) + _args, _kwargs)
766 return val
767 def SetEditable(self, *_args, **_kwargs):
768 val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs)
769 return val
770 def write(self, *_args, **_kwargs):
771 val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs)
772 return val
773 def GetString(self, *_args, **_kwargs):
774 val = apply(controlsc.wxTextCtrl_GetString,(self,) + _args, _kwargs)
775 return val
776 def __repr__(self):
777 return "<C wxTextCtrl instance at %s>" % (self.this,)
778 class wxTextCtrl(wxTextCtrlPtr):
779 def __init__(self,*_args,**_kwargs):
780 self.this = apply(controlsc.new_wxTextCtrl,_args,_kwargs)
781 self.thisown = 1
782 self._setOORInfo(self)
783
784
785
786 def wxPreTextCtrl(*_args,**_kwargs):
787 val = wxTextCtrlPtr(apply(controlsc.new_wxPreTextCtrl,_args,_kwargs))
788 val.thisown = 1
789 val._setOORInfo(val)
790 return val
791
792
793 class wxScrollBarPtr(wxControlPtr):
794 def __init__(self,this):
795 self.this = this
796 self.thisown = 0
797 def Create(self, *_args, **_kwargs):
798 val = apply(controlsc.wxScrollBar_Create,(self,) + _args, _kwargs)
799 return val
800 def GetRange(self, *_args, **_kwargs):
801 val = apply(controlsc.wxScrollBar_GetRange,(self,) + _args, _kwargs)
802 return val
803 def GetPageSize(self, *_args, **_kwargs):
804 val = apply(controlsc.wxScrollBar_GetPageSize,(self,) + _args, _kwargs)
805 return val
806 def GetThumbPosition(self, *_args, **_kwargs):
807 val = apply(controlsc.wxScrollBar_GetThumbPosition,(self,) + _args, _kwargs)
808 return val
809 def GetThumbSize(self, *_args, **_kwargs):
810 val = apply(controlsc.wxScrollBar_GetThumbSize,(self,) + _args, _kwargs)
811 return val
812 def GetThumbLength(self, *_args, **_kwargs):
813 val = apply(controlsc.wxScrollBar_GetThumbLength,(self,) + _args, _kwargs)
814 return val
815 def IsVertical(self, *_args, **_kwargs):
816 val = apply(controlsc.wxScrollBar_IsVertical,(self,) + _args, _kwargs)
817 return val
818 def SetThumbPosition(self, *_args, **_kwargs):
819 val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs)
820 return val
821 def SetScrollbar(self, *_args, **_kwargs):
822 val = apply(controlsc.wxScrollBar_SetScrollbar,(self,) + _args, _kwargs)
823 return val
824 def __repr__(self):
825 return "<C wxScrollBar instance at %s>" % (self.this,)
826 class wxScrollBar(wxScrollBarPtr):
827 def __init__(self,*_args,**_kwargs):
828 self.this = apply(controlsc.new_wxScrollBar,_args,_kwargs)
829 self.thisown = 1
830 self._setOORInfo(self)
831
832
833
834 def wxPreScrollBar(*_args,**_kwargs):
835 val = wxScrollBarPtr(apply(controlsc.new_wxPreScrollBar,_args,_kwargs))
836 val.thisown = 1
837 val._setOORInfo(val)
838 return val
839
840
841 class wxSpinButtonPtr(wxControlPtr):
842 def __init__(self,this):
843 self.this = this
844 self.thisown = 0
845 def Create(self, *_args, **_kwargs):
846 val = apply(controlsc.wxSpinButton_Create,(self,) + _args, _kwargs)
847 return val
848 def GetMax(self, *_args, **_kwargs):
849 val = apply(controlsc.wxSpinButton_GetMax,(self,) + _args, _kwargs)
850 return val
851 def GetMin(self, *_args, **_kwargs):
852 val = apply(controlsc.wxSpinButton_GetMin,(self,) + _args, _kwargs)
853 return val
854 def GetValue(self, *_args, **_kwargs):
855 val = apply(controlsc.wxSpinButton_GetValue,(self,) + _args, _kwargs)
856 return val
857 def SetRange(self, *_args, **_kwargs):
858 val = apply(controlsc.wxSpinButton_SetRange,(self,) + _args, _kwargs)
859 return val
860 def SetValue(self, *_args, **_kwargs):
861 val = apply(controlsc.wxSpinButton_SetValue,(self,) + _args, _kwargs)
862 return val
863 def __repr__(self):
864 return "<C wxSpinButton instance at %s>" % (self.this,)
865 class wxSpinButton(wxSpinButtonPtr):
866 def __init__(self,*_args,**_kwargs):
867 self.this = apply(controlsc.new_wxSpinButton,_args,_kwargs)
868 self.thisown = 1
869 self._setOORInfo(self)
870
871
872
873 def wxPreSpinButton(*_args,**_kwargs):
874 val = wxSpinButtonPtr(apply(controlsc.new_wxPreSpinButton,_args,_kwargs))
875 val.thisown = 1
876 val._setOORInfo(val)
877 return val
878
879
880 class wxStaticBitmapPtr(wxControlPtr):
881 def __init__(self,this):
882 self.this = this
883 self.thisown = 0
884 def Create(self, *_args, **_kwargs):
885 val = apply(controlsc.wxStaticBitmap_Create,(self,) + _args, _kwargs)
886 return val
887 def GetBitmap(self, *_args, **_kwargs):
888 val = apply(controlsc.wxStaticBitmap_GetBitmap,(self,) + _args, _kwargs)
889 if val: val = wxBitmapPtr(val) ; val.thisown = 1
890 return val
891 def SetBitmap(self, *_args, **_kwargs):
892 val = apply(controlsc.wxStaticBitmap_SetBitmap,(self,) + _args, _kwargs)
893 return val
894 def SetIcon(self, *_args, **_kwargs):
895 val = apply(controlsc.wxStaticBitmap_SetIcon,(self,) + _args, _kwargs)
896 return val
897 def __repr__(self):
898 return "<C wxStaticBitmap instance at %s>" % (self.this,)
899 class wxStaticBitmap(wxStaticBitmapPtr):
900 def __init__(self,*_args,**_kwargs):
901 self.this = apply(controlsc.new_wxStaticBitmap,_args,_kwargs)
902 self.thisown = 1
903 self._setOORInfo(self)
904
905
906
907 def wxPreStaticBitmap(*_args,**_kwargs):
908 val = wxStaticBitmapPtr(apply(controlsc.new_wxPreStaticBitmap,_args,_kwargs))
909 val.thisown = 1
910 val._setOORInfo(val)
911 return val
912
913
914 class wxRadioBoxPtr(wxControlPtr):
915 def __init__(self,this):
916 self.this = this
917 self.thisown = 0
918 def Create(self, *_args, **_kwargs):
919 val = apply(controlsc.wxRadioBox_Create,(self,) + _args, _kwargs)
920 return val
921 def Enable(self, *_args, **_kwargs):
922 val = apply(controlsc.wxRadioBox_Enable,(self,) + _args, _kwargs)
923 return val
924 def EnableItem(self, *_args, **_kwargs):
925 val = apply(controlsc.wxRadioBox_EnableItem,(self,) + _args, _kwargs)
926 return val
927 def FindString(self, *_args, **_kwargs):
928 val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs)
929 return val
930 def GetString(self, *_args, **_kwargs):
931 val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs)
932 return val
933 def GetItemLabel(self, *_args, **_kwargs):
934 val = apply(controlsc.wxRadioBox_GetItemLabel,(self,) + _args, _kwargs)
935 return val
936 def SetItemLabel(self, *_args, **_kwargs):
937 val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs)
938 return val
939 def GetSelection(self, *_args, **_kwargs):
940 val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs)
941 return val
942 def GetStringSelection(self, *_args, **_kwargs):
943 val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs)
944 return val
945 def GetCount(self, *_args, **_kwargs):
946 val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs)
947 return val
948 def SetSelection(self, *_args, **_kwargs):
949 val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs)
950 return val
951 def SetStringSelection(self, *_args, **_kwargs):
952 val = apply(controlsc.wxRadioBox_SetStringSelection,(self,) + _args, _kwargs)
953 return val
954 def Show(self, *_args, **_kwargs):
955 val = apply(controlsc.wxRadioBox_Show,(self,) + _args, _kwargs)
956 return val
957 def ShowItem(self, *_args, **_kwargs):
958 val = apply(controlsc.wxRadioBox_ShowItem,(self,) + _args, _kwargs)
959 return val
960 def __repr__(self):
961 return "<C wxRadioBox instance at %s>" % (self.this,)
962 Number = GetCount
963 class wxRadioBox(wxRadioBoxPtr):
964 def __init__(self,*_args,**_kwargs):
965 self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs)
966 self.thisown = 1
967 self._setOORInfo(self)
968
969
970
971 def wxPreRadioBox(*_args,**_kwargs):
972 val = wxRadioBoxPtr(apply(controlsc.new_wxPreRadioBox,_args,_kwargs))
973 val.thisown = 1
974 val._setOORInfo(val)
975 return val
976
977
978 class wxRadioButtonPtr(wxControlPtr):
979 def __init__(self,this):
980 self.this = this
981 self.thisown = 0
982 def Create(self, *_args, **_kwargs):
983 val = apply(controlsc.wxRadioButton_Create,(self,) + _args, _kwargs)
984 return val
985 def GetValue(self, *_args, **_kwargs):
986 val = apply(controlsc.wxRadioButton_GetValue,(self,) + _args, _kwargs)
987 return val
988 def SetValue(self, *_args, **_kwargs):
989 val = apply(controlsc.wxRadioButton_SetValue,(self,) + _args, _kwargs)
990 return val
991 def __repr__(self):
992 return "<C wxRadioButton instance at %s>" % (self.this,)
993 class wxRadioButton(wxRadioButtonPtr):
994 def __init__(self,*_args,**_kwargs):
995 self.this = apply(controlsc.new_wxRadioButton,_args,_kwargs)
996 self.thisown = 1
997 self._setOORInfo(self)
998
999
1000
1001 def wxPreRadioButton(*_args,**_kwargs):
1002 val = wxRadioButtonPtr(apply(controlsc.new_wxPreRadioButton,_args,_kwargs))
1003 val.thisown = 1
1004 val._setOORInfo(val)
1005 return val
1006
1007
1008 class wxSliderPtr(wxControlPtr):
1009 def __init__(self,this):
1010 self.this = this
1011 self.thisown = 0
1012 def Create(self, *_args, **_kwargs):
1013 val = apply(controlsc.wxSlider_Create,(self,) + _args, _kwargs)
1014 return val
1015 def ClearSel(self, *_args, **_kwargs):
1016 val = apply(controlsc.wxSlider_ClearSel,(self,) + _args, _kwargs)
1017 return val
1018 def ClearTicks(self, *_args, **_kwargs):
1019 val = apply(controlsc.wxSlider_ClearTicks,(self,) + _args, _kwargs)
1020 return val
1021 def GetLineSize(self, *_args, **_kwargs):
1022 val = apply(controlsc.wxSlider_GetLineSize,(self,) + _args, _kwargs)
1023 return val
1024 def GetMax(self, *_args, **_kwargs):
1025 val = apply(controlsc.wxSlider_GetMax,(self,) + _args, _kwargs)
1026 return val
1027 def GetMin(self, *_args, **_kwargs):
1028 val = apply(controlsc.wxSlider_GetMin,(self,) + _args, _kwargs)
1029 return val
1030 def GetPageSize(self, *_args, **_kwargs):
1031 val = apply(controlsc.wxSlider_GetPageSize,(self,) + _args, _kwargs)
1032 return val
1033 def GetSelEnd(self, *_args, **_kwargs):
1034 val = apply(controlsc.wxSlider_GetSelEnd,(self,) + _args, _kwargs)
1035 return val
1036 def GetSelStart(self, *_args, **_kwargs):
1037 val = apply(controlsc.wxSlider_GetSelStart,(self,) + _args, _kwargs)
1038 return val
1039 def GetThumbLength(self, *_args, **_kwargs):
1040 val = apply(controlsc.wxSlider_GetThumbLength,(self,) + _args, _kwargs)
1041 return val
1042 def GetTickFreq(self, *_args, **_kwargs):
1043 val = apply(controlsc.wxSlider_GetTickFreq,(self,) + _args, _kwargs)
1044 return val
1045 def GetValue(self, *_args, **_kwargs):
1046 val = apply(controlsc.wxSlider_GetValue,(self,) + _args, _kwargs)
1047 return val
1048 def SetRange(self, *_args, **_kwargs):
1049 val = apply(controlsc.wxSlider_SetRange,(self,) + _args, _kwargs)
1050 return val
1051 def SetTickFreq(self, *_args, **_kwargs):
1052 val = apply(controlsc.wxSlider_SetTickFreq,(self,) + _args, _kwargs)
1053 return val
1054 def SetLineSize(self, *_args, **_kwargs):
1055 val = apply(controlsc.wxSlider_SetLineSize,(self,) + _args, _kwargs)
1056 return val
1057 def SetPageSize(self, *_args, **_kwargs):
1058 val = apply(controlsc.wxSlider_SetPageSize,(self,) + _args, _kwargs)
1059 return val
1060 def SetSelection(self, *_args, **_kwargs):
1061 val = apply(controlsc.wxSlider_SetSelection,(self,) + _args, _kwargs)
1062 return val
1063 def SetThumbLength(self, *_args, **_kwargs):
1064 val = apply(controlsc.wxSlider_SetThumbLength,(self,) + _args, _kwargs)
1065 return val
1066 def SetTick(self, *_args, **_kwargs):
1067 val = apply(controlsc.wxSlider_SetTick,(self,) + _args, _kwargs)
1068 return val
1069 def SetValue(self, *_args, **_kwargs):
1070 val = apply(controlsc.wxSlider_SetValue,(self,) + _args, _kwargs)
1071 return val
1072 def __repr__(self):
1073 return "<C wxSlider instance at %s>" % (self.this,)
1074 class wxSlider(wxSliderPtr):
1075 def __init__(self,*_args,**_kwargs):
1076 self.this = apply(controlsc.new_wxSlider,_args,_kwargs)
1077 self.thisown = 1
1078 self._setOORInfo(self)
1079
1080
1081
1082 def wxPreSlider(*_args,**_kwargs):
1083 val = wxSliderPtr(apply(controlsc.new_wxPreSlider,_args,_kwargs))
1084 val.thisown = 1
1085 val._setOORInfo(val)
1086 return val
1087
1088
1089 class wxSpinCtrlPtr(wxSpinButtonPtr):
1090 def __init__(self,this):
1091 self.this = this
1092 self.thisown = 0
1093 def Create(self, *_args, **_kwargs):
1094 val = apply(controlsc.wxSpinCtrl_Create,(self,) + _args, _kwargs)
1095 return val
1096 def GetMax(self, *_args, **_kwargs):
1097 val = apply(controlsc.wxSpinCtrl_GetMax,(self,) + _args, _kwargs)
1098 return val
1099 def GetMin(self, *_args, **_kwargs):
1100 val = apply(controlsc.wxSpinCtrl_GetMin,(self,) + _args, _kwargs)
1101 return val
1102 def GetValue(self, *_args, **_kwargs):
1103 val = apply(controlsc.wxSpinCtrl_GetValue,(self,) + _args, _kwargs)
1104 return val
1105 def SetRange(self, *_args, **_kwargs):
1106 val = apply(controlsc.wxSpinCtrl_SetRange,(self,) + _args, _kwargs)
1107 return val
1108 def SetValue(self, *_args, **_kwargs):
1109 val = apply(controlsc.wxSpinCtrl_SetValue,(self,) + _args, _kwargs)
1110 return val
1111 def __repr__(self):
1112 return "<C wxSpinCtrl instance at %s>" % (self.this,)
1113 class wxSpinCtrl(wxSpinCtrlPtr):
1114 def __init__(self,*_args,**_kwargs):
1115 self.this = apply(controlsc.new_wxSpinCtrl,_args,_kwargs)
1116 self.thisown = 1
1117 self._setOORInfo(self)
1118
1119
1120
1121 def wxPreSpinCtrl(*_args,**_kwargs):
1122 val = wxSpinCtrlPtr(apply(controlsc.new_wxPreSpinCtrl,_args,_kwargs))
1123 val.thisown = 1
1124 val._setOORInfo(val)
1125 return val
1126
1127
1128 class wxToggleButtonPtr(wxControlPtr):
1129 def __init__(self,this):
1130 self.this = this
1131 self.thisown = 0
1132 def Create(self, *_args, **_kwargs):
1133 val = apply(controlsc.wxToggleButton_Create,(self,) + _args, _kwargs)
1134 return val
1135 def SetValue(self, *_args, **_kwargs):
1136 val = apply(controlsc.wxToggleButton_SetValue,(self,) + _args, _kwargs)
1137 return val
1138 def GetValue(self, *_args, **_kwargs):
1139 val = apply(controlsc.wxToggleButton_GetValue,(self,) + _args, _kwargs)
1140 return val
1141 def SetLabel(self, *_args, **_kwargs):
1142 val = apply(controlsc.wxToggleButton_SetLabel,(self,) + _args, _kwargs)
1143 return val
1144 def __repr__(self):
1145 return "<C wxToggleButton instance at %s>" % (self.this,)
1146 class wxToggleButton(wxToggleButtonPtr):
1147 def __init__(self,*_args,**_kwargs):
1148 self.this = apply(controlsc.new_wxToggleButton,_args,_kwargs)
1149 self.thisown = 1
1150 self._setOORInfo(self)
1151
1152
1153
1154 def wxPreToggleButton(*_args,**_kwargs):
1155 val = wxToggleButtonPtr(apply(controlsc.new_wxPreToggleButton,_args,_kwargs))
1156 val.thisown = 1
1157 val._setOORInfo(val)
1158 return val
1159
1160
1161
1162
1163 #-------------- FUNCTION WRAPPERS ------------------
1164
1165 def wxButton_GetDefaultSize(*_args, **_kwargs):
1166 val = apply(controlsc.wxButton_GetDefaultSize,_args,_kwargs)
1167 if val: val = wxSizePtr(val); val.thisown = 1
1168 return val
1169
1170 def wxTextAttr_Combine(*_args, **_kwargs):
1171 val = apply(controlsc.wxTextAttr_Combine,_args,_kwargs)
1172 if val: val = wxTextAttrPtr(val); val.thisown = 1
1173 return val
1174
1175
1176
1177 #-------------- VARIABLE WRAPPERS ------------------
1178
1179 cvar = controlsc.cvar
1180 wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator)
1181 wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED