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