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