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