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