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