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