]>
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 | |
aa2a5b86 RD |
18 | def Create(self, *_args, **_kwargs): |
19 | val = apply(controlsc.wxControl_Create,(self,) + _args, _kwargs) | |
20 | return val | |
56f5d962 RD |
21 | def Command(self, *_args, **_kwargs): |
22 | val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs) | |
23 | return val | |
2d091820 RD |
24 | def GetLabel(self, *_args, **_kwargs): |
25 | val = apply(controlsc.wxControl_GetLabel,(self,) + _args, _kwargs) | |
70551f47 | 26 | return val |
2d091820 RD |
27 | def SetLabel(self, *_args, **_kwargs): |
28 | val = apply(controlsc.wxControl_SetLabel,(self,) + _args, _kwargs) | |
70551f47 RD |
29 | return val |
30 | def __repr__(self): | |
2d091820 | 31 | return "<C wxControl instance at %s>" % (self.this,) |
70551f47 | 32 | class wxControl(wxControlPtr): |
56f5d962 RD |
33 | def __init__(self,*_args,**_kwargs): |
34 | self.this = apply(controlsc.new_wxControl,_args,_kwargs) | |
35 | self.thisown = 1 | |
0220cbc1 | 36 | self._setOORInfo(self) |
70551f47 RD |
37 | |
38 | ||
39 | ||
aa2a5b86 RD |
40 | def wxPreControl(*_args,**_kwargs): |
41 | val = wxControlPtr(apply(controlsc.new_wxPreControl,_args,_kwargs)) | |
42 | val.thisown = 1 | |
17c0e08c | 43 | val._setOORInfo(val) |
aa2a5b86 RD |
44 | return val |
45 | ||
70551f47 | 46 | |
65191ae8 RD |
47 | class wxControlWithItemsPtr(wxControlPtr): |
48 | def __init__(self,this): | |
49 | self.this = this | |
50 | self.thisown = 0 | |
51 | def Delete(self, *_args, **_kwargs): | |
52 | val = apply(controlsc.wxControlWithItems_Delete,(self,) + _args, _kwargs) | |
53 | return val | |
54 | def GetCount(self, *_args, **_kwargs): | |
55 | val = apply(controlsc.wxControlWithItems_GetCount,(self,) + _args, _kwargs) | |
56 | return val | |
57 | def GetString(self, *_args, **_kwargs): | |
58 | val = apply(controlsc.wxControlWithItems_GetString,(self,) + _args, _kwargs) | |
59 | return val | |
60 | def SetString(self, *_args, **_kwargs): | |
61 | val = apply(controlsc.wxControlWithItems_SetString,(self,) + _args, _kwargs) | |
62 | return val | |
63 | def FindString(self, *_args, **_kwargs): | |
64 | val = apply(controlsc.wxControlWithItems_FindString,(self,) + _args, _kwargs) | |
65 | return val | |
66 | def Select(self, *_args, **_kwargs): | |
67 | val = apply(controlsc.wxControlWithItems_Select,(self,) + _args, _kwargs) | |
68 | return val | |
69 | def GetSelection(self, *_args, **_kwargs): | |
70 | val = apply(controlsc.wxControlWithItems_GetSelection,(self,) + _args, _kwargs) | |
71 | return val | |
72 | def GetStringSelection(self, *_args, **_kwargs): | |
73 | val = apply(controlsc.wxControlWithItems_GetStringSelection,(self,) + _args, _kwargs) | |
74 | return val | |
75 | def Append(self, *_args, **_kwargs): | |
76 | val = apply(controlsc.wxControlWithItems_Append,(self,) + _args, _kwargs) | |
77 | return val | |
78 | def GetClientData(self, *_args, **_kwargs): | |
79 | val = apply(controlsc.wxControlWithItems_GetClientData,(self,) + _args, _kwargs) | |
80 | return val | |
81 | def SetClientData(self, *_args, **_kwargs): | |
82 | val = apply(controlsc.wxControlWithItems_SetClientData,(self,) + _args, _kwargs) | |
83 | return val | |
84 | def __repr__(self): | |
85 | return "<C wxControlWithItems instance at %s>" % (self.this,) | |
86 | Number = GetCount | |
87 | class wxControlWithItems(wxControlWithItemsPtr): | |
88 | def __init__(self,this): | |
89 | self.this = this | |
90 | ||
91 | ||
92 | ||
93 | ||
70551f47 RD |
94 | class wxButtonPtr(wxControlPtr): |
95 | def __init__(self,this): | |
96 | self.this = this | |
97 | self.thisown = 0 | |
aa2a5b86 RD |
98 | def Create(self, *_args, **_kwargs): |
99 | val = apply(controlsc.wxButton_Create,(self,) + _args, _kwargs) | |
100 | return val | |
2d091820 RD |
101 | def SetDefault(self, *_args, **_kwargs): |
102 | val = apply(controlsc.wxButton_SetDefault,(self,) + _args, _kwargs) | |
70551f47 | 103 | return val |
ab2208b5 RD |
104 | def SetBackgroundColour(self, *_args, **_kwargs): |
105 | val = apply(controlsc.wxButton_SetBackgroundColour,(self,) + _args, _kwargs) | |
106 | return val | |
107 | def SetForegroundColour(self, *_args, **_kwargs): | |
108 | val = apply(controlsc.wxButton_SetForegroundColour,(self,) + _args, _kwargs) | |
109 | return val | |
70551f47 | 110 | def __repr__(self): |
2d091820 | 111 | return "<C wxButton instance at %s>" % (self.this,) |
70551f47 | 112 | class wxButton(wxButtonPtr): |
2d091820 RD |
113 | def __init__(self,*_args,**_kwargs): |
114 | self.this = apply(controlsc.new_wxButton,_args,_kwargs) | |
70551f47 | 115 | self.thisown = 1 |
0220cbc1 | 116 | self._setOORInfo(self) |
70551f47 RD |
117 | |
118 | ||
119 | ||
aa2a5b86 RD |
120 | def wxPreButton(*_args,**_kwargs): |
121 | val = wxButtonPtr(apply(controlsc.new_wxPreButton,_args,_kwargs)) | |
122 | val.thisown = 1 | |
17c0e08c | 123 | val._setOORInfo(val) |
aa2a5b86 RD |
124 | return val |
125 | ||
70551f47 RD |
126 | |
127 | class wxBitmapButtonPtr(wxButtonPtr): | |
128 | def __init__(self,this): | |
129 | self.this = this | |
130 | self.thisown = 0 | |
aa2a5b86 RD |
131 | def Create(self, *_args, **_kwargs): |
132 | val = apply(controlsc.wxBitmapButton_Create,(self,) + _args, _kwargs) | |
133 | return val | |
2d091820 RD |
134 | def GetBitmapLabel(self, *_args, **_kwargs): |
135 | val = apply(controlsc.wxBitmapButton_GetBitmapLabel,(self,) + _args, _kwargs) | |
136 | if val: val = wxBitmapPtr(val) | |
70551f47 | 137 | return val |
2d091820 RD |
138 | def GetBitmapDisabled(self, *_args, **_kwargs): |
139 | val = apply(controlsc.wxBitmapButton_GetBitmapDisabled,(self,) + _args, _kwargs) | |
140 | if val: val = wxBitmapPtr(val) | |
c95e68d8 | 141 | return val |
2d091820 RD |
142 | def GetBitmapFocus(self, *_args, **_kwargs): |
143 | val = apply(controlsc.wxBitmapButton_GetBitmapFocus,(self,) + _args, _kwargs) | |
144 | if val: val = wxBitmapPtr(val) | |
c95e68d8 | 145 | return val |
2d091820 RD |
146 | def GetBitmapSelected(self, *_args, **_kwargs): |
147 | val = apply(controlsc.wxBitmapButton_GetBitmapSelected,(self,) + _args, _kwargs) | |
148 | if val: val = wxBitmapPtr(val) | |
c95e68d8 | 149 | return val |
2d091820 RD |
150 | def SetBitmapDisabled(self, *_args, **_kwargs): |
151 | val = apply(controlsc.wxBitmapButton_SetBitmapDisabled,(self,) + _args, _kwargs) | |
c95e68d8 | 152 | return val |
2d091820 RD |
153 | def SetBitmapFocus(self, *_args, **_kwargs): |
154 | val = apply(controlsc.wxBitmapButton_SetBitmapFocus,(self,) + _args, _kwargs) | |
c95e68d8 | 155 | return val |
2d091820 RD |
156 | def SetBitmapSelected(self, *_args, **_kwargs): |
157 | val = apply(controlsc.wxBitmapButton_SetBitmapSelected,(self,) + _args, _kwargs) | |
c95e68d8 | 158 | return val |
2d091820 RD |
159 | def SetBitmapLabel(self, *_args, **_kwargs): |
160 | val = apply(controlsc.wxBitmapButton_SetBitmapLabel,(self,) + _args, _kwargs) | |
70551f47 | 161 | return val |
f6bcfd97 BP |
162 | def SetMargins(self, *_args, **_kwargs): |
163 | val = apply(controlsc.wxBitmapButton_SetMargins,(self,) + _args, _kwargs) | |
164 | return val | |
165 | def GetMarginX(self, *_args, **_kwargs): | |
166 | val = apply(controlsc.wxBitmapButton_GetMarginX,(self,) + _args, _kwargs) | |
167 | return val | |
168 | def GetMarginY(self, *_args, **_kwargs): | |
169 | val = apply(controlsc.wxBitmapButton_GetMarginY,(self,) + _args, _kwargs) | |
170 | return val | |
70551f47 | 171 | def __repr__(self): |
2d091820 | 172 | return "<C wxBitmapButton instance at %s>" % (self.this,) |
70551f47 | 173 | class wxBitmapButton(wxBitmapButtonPtr): |
2d091820 RD |
174 | def __init__(self,*_args,**_kwargs): |
175 | self.this = apply(controlsc.new_wxBitmapButton,_args,_kwargs) | |
70551f47 | 176 | self.thisown = 1 |
0220cbc1 | 177 | self._setOORInfo(self) |
70551f47 RD |
178 | |
179 | ||
180 | ||
aa2a5b86 RD |
181 | def wxPreBitmapButton(*_args,**_kwargs): |
182 | val = wxBitmapButtonPtr(apply(controlsc.new_wxPreBitmapButton,_args,_kwargs)) | |
183 | val.thisown = 1 | |
17c0e08c | 184 | val._setOORInfo(val) |
aa2a5b86 RD |
185 | return val |
186 | ||
70551f47 RD |
187 | |
188 | class wxCheckBoxPtr(wxControlPtr): | |
189 | def __init__(self,this): | |
190 | self.this = this | |
191 | self.thisown = 0 | |
aa2a5b86 RD |
192 | def Create(self, *_args, **_kwargs): |
193 | val = apply(controlsc.wxCheckBox_Create,(self,) + _args, _kwargs) | |
194 | return val | |
2d091820 RD |
195 | def GetValue(self, *_args, **_kwargs): |
196 | val = apply(controlsc.wxCheckBox_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 197 | return val |
2d091820 RD |
198 | def SetValue(self, *_args, **_kwargs): |
199 | val = apply(controlsc.wxCheckBox_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
200 | return val |
201 | def __repr__(self): | |
2d091820 | 202 | return "<C wxCheckBox instance at %s>" % (self.this,) |
70551f47 | 203 | class wxCheckBox(wxCheckBoxPtr): |
2d091820 RD |
204 | def __init__(self,*_args,**_kwargs): |
205 | self.this = apply(controlsc.new_wxCheckBox,_args,_kwargs) | |
70551f47 | 206 | self.thisown = 1 |
0220cbc1 | 207 | self._setOORInfo(self) |
70551f47 RD |
208 | |
209 | ||
210 | ||
aa2a5b86 RD |
211 | def wxPreCheckBox(*_args,**_kwargs): |
212 | val = wxCheckBoxPtr(apply(controlsc.new_wxPreCheckBox,_args,_kwargs)) | |
213 | val.thisown = 1 | |
17c0e08c | 214 | val._setOORInfo(val) |
aa2a5b86 RD |
215 | return val |
216 | ||
70551f47 | 217 | |
65191ae8 | 218 | class wxChoicePtr(wxControlWithItemsPtr): |
70551f47 RD |
219 | def __init__(self,this): |
220 | self.this = this | |
221 | self.thisown = 0 | |
aa2a5b86 RD |
222 | def Create(self, *_args, **_kwargs): |
223 | val = apply(controlsc.wxChoice_Create,(self,) + _args, _kwargs) | |
224 | return val | |
2d091820 RD |
225 | def Clear(self, *_args, **_kwargs): |
226 | val = apply(controlsc.wxChoice_Clear,(self,) + _args, _kwargs) | |
70551f47 | 227 | return val |
2d091820 RD |
228 | def GetColumns(self, *_args, **_kwargs): |
229 | val = apply(controlsc.wxChoice_GetColumns,(self,) + _args, _kwargs) | |
70551f47 | 230 | return val |
2d091820 RD |
231 | def SetColumns(self, *_args, **_kwargs): |
232 | val = apply(controlsc.wxChoice_SetColumns,(self,) + _args, _kwargs) | |
70551f47 | 233 | return val |
2d091820 RD |
234 | def SetSelection(self, *_args, **_kwargs): |
235 | val = apply(controlsc.wxChoice_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 236 | return val |
2d091820 RD |
237 | def SetStringSelection(self, *_args, **_kwargs): |
238 | val = apply(controlsc.wxChoice_SetStringSelection,(self,) + _args, _kwargs) | |
70551f47 | 239 | return val |
2c8a649d RD |
240 | def SetString(self, *_args, **_kwargs): |
241 | val = apply(controlsc.wxChoice_SetString,(self,) + _args, _kwargs) | |
242 | return val | |
70551f47 | 243 | def __repr__(self): |
2d091820 | 244 | return "<C wxChoice instance at %s>" % (self.this,) |
2c8a649d | 245 | |
2c8a649d RD |
246 | Select = SetSelection |
247 | ||
70551f47 | 248 | class wxChoice(wxChoicePtr): |
2d091820 RD |
249 | def __init__(self,*_args,**_kwargs): |
250 | self.this = apply(controlsc.new_wxChoice,_args,_kwargs) | |
70551f47 | 251 | self.thisown = 1 |
0220cbc1 | 252 | self._setOORInfo(self) |
70551f47 RD |
253 | |
254 | ||
255 | ||
aa2a5b86 RD |
256 | def wxPreChoice(*_args,**_kwargs): |
257 | val = wxChoicePtr(apply(controlsc.new_wxPreChoice,_args,_kwargs)) | |
258 | val.thisown = 1 | |
17c0e08c | 259 | val._setOORInfo(val) |
aa2a5b86 RD |
260 | return val |
261 | ||
70551f47 | 262 | |
c70fd24f | 263 | class wxComboBoxPtr(wxControlPtr): |
70551f47 RD |
264 | def __init__(self,this): |
265 | self.this = this | |
266 | self.thisown = 0 | |
aa2a5b86 RD |
267 | def Create(self, *_args, **_kwargs): |
268 | val = apply(controlsc.wxComboBox_Create,(self,) + _args, _kwargs) | |
269 | return val | |
2d091820 RD |
270 | def Copy(self, *_args, **_kwargs): |
271 | val = apply(controlsc.wxComboBox_Copy,(self,) + _args, _kwargs) | |
70551f47 | 272 | return val |
2d091820 RD |
273 | def Cut(self, *_args, **_kwargs): |
274 | val = apply(controlsc.wxComboBox_Cut,(self,) + _args, _kwargs) | |
70551f47 | 275 | return val |
2d091820 RD |
276 | def GetInsertionPoint(self, *_args, **_kwargs): |
277 | val = apply(controlsc.wxComboBox_GetInsertionPoint,(self,) + _args, _kwargs) | |
70551f47 | 278 | return val |
2d091820 RD |
279 | def GetLastPosition(self, *_args, **_kwargs): |
280 | val = apply(controlsc.wxComboBox_GetLastPosition,(self,) + _args, _kwargs) | |
70551f47 | 281 | return val |
2d091820 RD |
282 | def GetValue(self, *_args, **_kwargs): |
283 | val = apply(controlsc.wxComboBox_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 284 | return val |
2d091820 RD |
285 | def Paste(self, *_args, **_kwargs): |
286 | val = apply(controlsc.wxComboBox_Paste,(self,) + _args, _kwargs) | |
70551f47 | 287 | return val |
2d091820 RD |
288 | def Replace(self, *_args, **_kwargs): |
289 | val = apply(controlsc.wxComboBox_Replace,(self,) + _args, _kwargs) | |
70551f47 | 290 | return val |
2d091820 RD |
291 | def Remove(self, *_args, **_kwargs): |
292 | val = apply(controlsc.wxComboBox_Remove,(self,) + _args, _kwargs) | |
70551f47 | 293 | return val |
2d091820 RD |
294 | def SetInsertionPoint(self, *_args, **_kwargs): |
295 | val = apply(controlsc.wxComboBox_SetInsertionPoint,(self,) + _args, _kwargs) | |
70551f47 | 296 | return val |
2d091820 RD |
297 | def SetInsertionPointEnd(self, *_args, **_kwargs): |
298 | val = apply(controlsc.wxComboBox_SetInsertionPointEnd,(self,) + _args, _kwargs) | |
70551f47 | 299 | return val |
2d091820 RD |
300 | def SetSelection(self, *_args, **_kwargs): |
301 | val = apply(controlsc.wxComboBox_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 302 | return val |
2d091820 RD |
303 | def SetMark(self, *_args, **_kwargs): |
304 | val = apply(controlsc.wxComboBox_SetMark,(self,) + _args, _kwargs) | |
305 | return val | |
306 | def SetValue(self, *_args, **_kwargs): | |
307 | val = apply(controlsc.wxComboBox_SetValue,(self,) + _args, _kwargs) | |
70551f47 | 308 | return val |
2c8a649d RD |
309 | def SetEditable(self, *_args, **_kwargs): |
310 | val = apply(controlsc.wxComboBox_SetEditable,(self,) + _args, _kwargs) | |
311 | return val | |
c70fd24f RD |
312 | def Clear(self, *_args, **_kwargs): |
313 | val = apply(controlsc.wxComboBox_Clear,(self,) + _args, _kwargs) | |
314 | return val | |
315 | def Delete(self, *_args, **_kwargs): | |
316 | val = apply(controlsc.wxComboBox_Delete,(self,) + _args, _kwargs) | |
317 | return val | |
318 | def GetCount(self, *_args, **_kwargs): | |
319 | val = apply(controlsc.wxComboBox_GetCount,(self,) + _args, _kwargs) | |
320 | return val | |
321 | def GetString(self, *_args, **_kwargs): | |
322 | val = apply(controlsc.wxComboBox_GetString,(self,) + _args, _kwargs) | |
323 | return val | |
324 | def FindString(self, *_args, **_kwargs): | |
325 | val = apply(controlsc.wxComboBox_FindString,(self,) + _args, _kwargs) | |
326 | return val | |
327 | def GetSelection(self, *_args, **_kwargs): | |
328 | val = apply(controlsc.wxComboBox_GetSelection,(self,) + _args, _kwargs) | |
329 | return val | |
330 | def GetStringSelection(self, *_args, **_kwargs): | |
331 | val = apply(controlsc.wxComboBox_GetStringSelection,(self,) + _args, _kwargs) | |
332 | return val | |
333 | def Append(self, *_args, **_kwargs): | |
334 | val = apply(controlsc.wxComboBox_Append,(self,) + _args, _kwargs) | |
335 | return val | |
336 | def GetClientData(self, *_args, **_kwargs): | |
337 | val = apply(controlsc.wxComboBox_GetClientData,(self,) + _args, _kwargs) | |
338 | return val | |
339 | def SetClientData(self, *_args, **_kwargs): | |
340 | val = apply(controlsc.wxComboBox_SetClientData,(self,) + _args, _kwargs) | |
341 | return val | |
70551f47 | 342 | def __repr__(self): |
2d091820 | 343 | return "<C wxComboBox instance at %s>" % (self.this,) |
c70fd24f RD |
344 | Number = GetCount |
345 | Select = SetSelection | |
70551f47 | 346 | class wxComboBox(wxComboBoxPtr): |
2d091820 RD |
347 | def __init__(self,*_args,**_kwargs): |
348 | self.this = apply(controlsc.new_wxComboBox,_args,_kwargs) | |
70551f47 | 349 | self.thisown = 1 |
0220cbc1 | 350 | self._setOORInfo(self) |
70551f47 RD |
351 | |
352 | ||
353 | ||
aa2a5b86 RD |
354 | def wxPreComboBox(*_args,**_kwargs): |
355 | val = wxComboBoxPtr(apply(controlsc.new_wxPreComboBox,_args,_kwargs)) | |
356 | val.thisown = 1 | |
17c0e08c | 357 | val._setOORInfo(val) |
aa2a5b86 RD |
358 | return val |
359 | ||
70551f47 RD |
360 | |
361 | class wxGaugePtr(wxControlPtr): | |
362 | def __init__(self,this): | |
363 | self.this = this | |
364 | self.thisown = 0 | |
aa2a5b86 RD |
365 | def Create(self, *_args, **_kwargs): |
366 | val = apply(controlsc.wxGauge_Create,(self,) + _args, _kwargs) | |
367 | return val | |
2d091820 RD |
368 | def GetBezelFace(self, *_args, **_kwargs): |
369 | val = apply(controlsc.wxGauge_GetBezelFace,(self,) + _args, _kwargs) | |
70551f47 | 370 | return val |
2d091820 RD |
371 | def GetRange(self, *_args, **_kwargs): |
372 | val = apply(controlsc.wxGauge_GetRange,(self,) + _args, _kwargs) | |
70551f47 | 373 | return val |
2d091820 RD |
374 | def GetShadowWidth(self, *_args, **_kwargs): |
375 | val = apply(controlsc.wxGauge_GetShadowWidth,(self,) + _args, _kwargs) | |
70551f47 | 376 | return val |
2d091820 RD |
377 | def GetValue(self, *_args, **_kwargs): |
378 | val = apply(controlsc.wxGauge_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 379 | return val |
2d091820 RD |
380 | def SetBezelFace(self, *_args, **_kwargs): |
381 | val = apply(controlsc.wxGauge_SetBezelFace,(self,) + _args, _kwargs) | |
70551f47 | 382 | return val |
2d091820 RD |
383 | def SetRange(self, *_args, **_kwargs): |
384 | val = apply(controlsc.wxGauge_SetRange,(self,) + _args, _kwargs) | |
70551f47 | 385 | return val |
2d091820 RD |
386 | def SetShadowWidth(self, *_args, **_kwargs): |
387 | val = apply(controlsc.wxGauge_SetShadowWidth,(self,) + _args, _kwargs) | |
70551f47 | 388 | return val |
2d091820 RD |
389 | def SetValue(self, *_args, **_kwargs): |
390 | val = apply(controlsc.wxGauge_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
391 | return val |
392 | def __repr__(self): | |
2d091820 | 393 | return "<C wxGauge instance at %s>" % (self.this,) |
70551f47 | 394 | class wxGauge(wxGaugePtr): |
2d091820 RD |
395 | def __init__(self,*_args,**_kwargs): |
396 | self.this = apply(controlsc.new_wxGauge,_args,_kwargs) | |
70551f47 | 397 | self.thisown = 1 |
0220cbc1 | 398 | self._setOORInfo(self) |
70551f47 RD |
399 | |
400 | ||
401 | ||
aa2a5b86 RD |
402 | def wxPreGauge(*_args,**_kwargs): |
403 | val = wxGaugePtr(apply(controlsc.new_wxPreGauge,_args,_kwargs)) | |
404 | val.thisown = 1 | |
17c0e08c | 405 | val._setOORInfo(val) |
aa2a5b86 RD |
406 | return val |
407 | ||
70551f47 RD |
408 | |
409 | class wxStaticBoxPtr(wxControlPtr): | |
410 | def __init__(self,this): | |
411 | self.this = this | |
412 | self.thisown = 0 | |
aa2a5b86 RD |
413 | def Create(self, *_args, **_kwargs): |
414 | val = apply(controlsc.wxStaticBox_Create,(self,) + _args, _kwargs) | |
415 | return val | |
70551f47 | 416 | def __repr__(self): |
2d091820 | 417 | return "<C wxStaticBox instance at %s>" % (self.this,) |
70551f47 | 418 | class wxStaticBox(wxStaticBoxPtr): |
2d091820 RD |
419 | def __init__(self,*_args,**_kwargs): |
420 | self.this = apply(controlsc.new_wxStaticBox,_args,_kwargs) | |
70551f47 | 421 | self.thisown = 1 |
0220cbc1 | 422 | self._setOORInfo(self) |
70551f47 RD |
423 | |
424 | ||
425 | ||
aa2a5b86 RD |
426 | def wxPreStaticBox(*_args,**_kwargs): |
427 | val = wxStaticBoxPtr(apply(controlsc.new_wxPreStaticBox,_args,_kwargs)) | |
428 | val.thisown = 1 | |
17c0e08c | 429 | val._setOORInfo(val) |
aa2a5b86 RD |
430 | return val |
431 | ||
70551f47 | 432 | |
d24a34bb RD |
433 | class wxStaticLinePtr(wxControlPtr): |
434 | def __init__(self,this): | |
435 | self.this = this | |
436 | self.thisown = 0 | |
aa2a5b86 RD |
437 | def Create(self, *_args, **_kwargs): |
438 | val = apply(controlsc.wxStaticLine_Create,(self,) + _args, _kwargs) | |
439 | return val | |
d24a34bb | 440 | def __repr__(self): |
2d091820 | 441 | return "<C wxStaticLine instance at %s>" % (self.this,) |
d24a34bb | 442 | class wxStaticLine(wxStaticLinePtr): |
2d091820 RD |
443 | def __init__(self,*_args,**_kwargs): |
444 | self.this = apply(controlsc.new_wxStaticLine,_args,_kwargs) | |
d24a34bb | 445 | self.thisown = 1 |
0220cbc1 | 446 | self._setOORInfo(self) |
d24a34bb RD |
447 | |
448 | ||
449 | ||
aa2a5b86 RD |
450 | def wxPreStaticLine(*_args,**_kwargs): |
451 | val = wxStaticLinePtr(apply(controlsc.new_wxPreStaticLine,_args,_kwargs)) | |
452 | val.thisown = 1 | |
17c0e08c | 453 | val._setOORInfo(val) |
aa2a5b86 RD |
454 | return val |
455 | ||
d24a34bb | 456 | |
70551f47 RD |
457 | class wxStaticTextPtr(wxControlPtr): |
458 | def __init__(self,this): | |
459 | self.this = this | |
460 | self.thisown = 0 | |
aa2a5b86 RD |
461 | def Create(self, *_args, **_kwargs): |
462 | val = apply(controlsc.wxStaticText_Create,(self,) + _args, _kwargs) | |
463 | return val | |
2d091820 RD |
464 | def GetLabel(self, *_args, **_kwargs): |
465 | val = apply(controlsc.wxStaticText_GetLabel,(self,) + _args, _kwargs) | |
70551f47 | 466 | return val |
2d091820 RD |
467 | def SetLabel(self, *_args, **_kwargs): |
468 | val = apply(controlsc.wxStaticText_SetLabel,(self,) + _args, _kwargs) | |
70551f47 RD |
469 | return val |
470 | def __repr__(self): | |
2d091820 | 471 | return "<C wxStaticText instance at %s>" % (self.this,) |
70551f47 | 472 | class wxStaticText(wxStaticTextPtr): |
2d091820 RD |
473 | def __init__(self,*_args,**_kwargs): |
474 | self.this = apply(controlsc.new_wxStaticText,_args,_kwargs) | |
70551f47 | 475 | self.thisown = 1 |
0220cbc1 | 476 | self._setOORInfo(self) |
70551f47 RD |
477 | |
478 | ||
479 | ||
aa2a5b86 RD |
480 | def wxPreStaticText(*_args,**_kwargs): |
481 | val = wxStaticTextPtr(apply(controlsc.new_wxPreStaticText,_args,_kwargs)) | |
482 | val.thisown = 1 | |
17c0e08c | 483 | val._setOORInfo(val) |
aa2a5b86 RD |
484 | return val |
485 | ||
70551f47 | 486 | |
65191ae8 | 487 | class wxListBoxPtr(wxControlWithItemsPtr): |
70551f47 RD |
488 | def __init__(self,this): |
489 | self.this = this | |
490 | self.thisown = 0 | |
aa2a5b86 RD |
491 | def Create(self, *_args, **_kwargs): |
492 | val = apply(controlsc.wxListBox_Create,(self,) + _args, _kwargs) | |
493 | return val | |
2d091820 RD |
494 | def Clear(self, *_args, **_kwargs): |
495 | val = apply(controlsc.wxListBox_Clear,(self,) + _args, _kwargs) | |
70551f47 | 496 | return val |
2d091820 RD |
497 | def Deselect(self, *_args, **_kwargs): |
498 | val = apply(controlsc.wxListBox_Deselect,(self,) + _args, _kwargs) | |
70551f47 | 499 | return val |
2d091820 RD |
500 | def GetSelections(self, *_args, **_kwargs): |
501 | val = apply(controlsc.wxListBox_GetSelections,(self,) + _args, _kwargs) | |
ab9bc19b | 502 | return val |
37f6a977 RD |
503 | def InsertItems(self, *_args, **_kwargs): |
504 | val = apply(controlsc.wxListBox_InsertItems,(self,) + _args, _kwargs) | |
505 | return val | |
2c8a649d RD |
506 | def IsSelected(self, *_args, **_kwargs): |
507 | val = apply(controlsc.wxListBox_IsSelected,(self,) + _args, _kwargs) | |
70551f47 | 508 | return val |
2d091820 RD |
509 | def Selected(self, *_args, **_kwargs): |
510 | val = apply(controlsc.wxListBox_Selected,(self,) + _args, _kwargs) | |
70551f47 | 511 | return val |
2d091820 RD |
512 | def Set(self, *_args, **_kwargs): |
513 | val = apply(controlsc.wxListBox_Set,(self,) + _args, _kwargs) | |
70551f47 | 514 | return val |
2d091820 RD |
515 | def SetFirstItem(self, *_args, **_kwargs): |
516 | val = apply(controlsc.wxListBox_SetFirstItem,(self,) + _args, _kwargs) | |
70551f47 | 517 | return val |
2d091820 RD |
518 | def SetFirstItemStr(self, *_args, **_kwargs): |
519 | val = apply(controlsc.wxListBox_SetFirstItemStr,(self,) + _args, _kwargs) | |
70551f47 | 520 | return val |
2d091820 RD |
521 | def SetSelection(self, *_args, **_kwargs): |
522 | val = apply(controlsc.wxListBox_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 523 | return val |
2d091820 RD |
524 | def SetString(self, *_args, **_kwargs): |
525 | val = apply(controlsc.wxListBox_SetString,(self,) + _args, _kwargs) | |
70551f47 | 526 | return val |
2d091820 RD |
527 | def SetStringSelection(self, *_args, **_kwargs): |
528 | val = apply(controlsc.wxListBox_SetStringSelection,(self,) + _args, _kwargs) | |
70551f47 RD |
529 | return val |
530 | def __repr__(self): | |
2d091820 | 531 | return "<C wxListBox instance at %s>" % (self.this,) |
70551f47 | 532 | class wxListBox(wxListBoxPtr): |
2d091820 RD |
533 | def __init__(self,*_args,**_kwargs): |
534 | self.this = apply(controlsc.new_wxListBox,_args,_kwargs) | |
70551f47 | 535 | self.thisown = 1 |
0220cbc1 | 536 | self._setOORInfo(self) |
70551f47 RD |
537 | |
538 | ||
539 | ||
aa2a5b86 RD |
540 | def wxPreListBox(*_args,**_kwargs): |
541 | val = wxListBoxPtr(apply(controlsc.new_wxPreListBox,_args,_kwargs)) | |
542 | val.thisown = 1 | |
17c0e08c | 543 | val._setOORInfo(val) |
aa2a5b86 RD |
544 | return val |
545 | ||
70551f47 | 546 | |
c95e68d8 RD |
547 | class wxCheckListBoxPtr(wxListBoxPtr): |
548 | def __init__(self,this): | |
549 | self.this = this | |
550 | self.thisown = 0 | |
aa2a5b86 RD |
551 | def Create(self, *_args, **_kwargs): |
552 | val = apply(controlsc.wxCheckListBox_Create,(self,) + _args, _kwargs) | |
553 | return val | |
2d091820 RD |
554 | def IsChecked(self, *_args, **_kwargs): |
555 | val = apply(controlsc.wxCheckListBox_IsChecked,(self,) + _args, _kwargs) | |
c95e68d8 | 556 | return val |
2d091820 RD |
557 | def Check(self, *_args, **_kwargs): |
558 | val = apply(controlsc.wxCheckListBox_Check,(self,) + _args, _kwargs) | |
c95e68d8 | 559 | return val |
d29aba2f RD |
560 | def InsertItems(self, *_args, **_kwargs): |
561 | val = apply(controlsc.wxCheckListBox_InsertItems,(self,) + _args, _kwargs) | |
562 | return val | |
2d091820 RD |
563 | def GetItemHeight(self, *_args, **_kwargs): |
564 | val = apply(controlsc.wxCheckListBox_GetItemHeight,(self,) + _args, _kwargs) | |
c95e68d8 RD |
565 | return val |
566 | def __repr__(self): | |
2d091820 | 567 | return "<C wxCheckListBox instance at %s>" % (self.this,) |
c95e68d8 | 568 | class wxCheckListBox(wxCheckListBoxPtr): |
2d091820 RD |
569 | def __init__(self,*_args,**_kwargs): |
570 | self.this = apply(controlsc.new_wxCheckListBox,_args,_kwargs) | |
c95e68d8 | 571 | self.thisown = 1 |
0220cbc1 | 572 | self._setOORInfo(self) |
c95e68d8 RD |
573 | |
574 | ||
575 | ||
aa2a5b86 RD |
576 | def wxPreCheckListBox(*_args,**_kwargs): |
577 | val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox,_args,_kwargs)) | |
578 | val.thisown = 1 | |
17c0e08c | 579 | val._setOORInfo(val) |
aa2a5b86 RD |
580 | return val |
581 | ||
c95e68d8 | 582 | |
9d6da64a RD |
583 | class wxTextAttrPtr : |
584 | def __init__(self,this): | |
585 | self.this = this | |
586 | self.thisown = 0 | |
587 | def __del__(self,controlsc=controlsc): | |
588 | if self.thisown == 1 : | |
589 | controlsc.delete_wxTextAttr(self) | |
590 | def SetTextColour(self, *_args, **_kwargs): | |
591 | val = apply(controlsc.wxTextAttr_SetTextColour,(self,) + _args, _kwargs) | |
592 | return val | |
593 | def SetBackgroundColour(self, *_args, **_kwargs): | |
594 | val = apply(controlsc.wxTextAttr_SetBackgroundColour,(self,) + _args, _kwargs) | |
595 | return val | |
596 | def SetFont(self, *_args, **_kwargs): | |
597 | val = apply(controlsc.wxTextAttr_SetFont,(self,) + _args, _kwargs) | |
598 | return val | |
599 | def HasTextColour(self, *_args, **_kwargs): | |
600 | val = apply(controlsc.wxTextAttr_HasTextColour,(self,) + _args, _kwargs) | |
601 | return val | |
602 | def HasBackgroundColour(self, *_args, **_kwargs): | |
603 | val = apply(controlsc.wxTextAttr_HasBackgroundColour,(self,) + _args, _kwargs) | |
604 | return val | |
605 | def HasFont(self, *_args, **_kwargs): | |
606 | val = apply(controlsc.wxTextAttr_HasFont,(self,) + _args, _kwargs) | |
607 | return val | |
608 | def GetTextColour(self, *_args, **_kwargs): | |
609 | val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs) | |
610 | if val: val = wxColourPtr(val) | |
611 | return val | |
612 | def GetBackgroundColour(self, *_args, **_kwargs): | |
613 | val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs) | |
614 | if val: val = wxColourPtr(val) | |
615 | return val | |
616 | def GetFont(self, *_args, **_kwargs): | |
617 | val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs) | |
618 | if val: val = wxFontPtr(val) | |
619 | return val | |
a57d56d6 RD |
620 | def IsDefault(self, *_args, **_kwargs): |
621 | val = apply(controlsc.wxTextAttr_IsDefault,(self,) + _args, _kwargs) | |
622 | return val | |
9d6da64a RD |
623 | def __repr__(self): |
624 | return "<C wxTextAttr instance at %s>" % (self.this,) | |
625 | class wxTextAttr(wxTextAttrPtr): | |
626 | def __init__(self,*_args,**_kwargs): | |
627 | self.this = apply(controlsc.new_wxTextAttr,_args,_kwargs) | |
628 | self.thisown = 1 | |
629 | ||
630 | ||
631 | ||
632 | ||
70551f47 RD |
633 | class wxTextCtrlPtr(wxControlPtr): |
634 | def __init__(self,this): | |
635 | self.this = this | |
636 | self.thisown = 0 | |
aa2a5b86 RD |
637 | def Create(self, *_args, **_kwargs): |
638 | val = apply(controlsc.wxTextCtrl_Create,(self,) + _args, _kwargs) | |
639 | return val | |
a57d56d6 RD |
640 | def GetValue(self, *_args, **_kwargs): |
641 | val = apply(controlsc.wxTextCtrl_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 642 | return val |
a57d56d6 RD |
643 | def SetValue(self, *_args, **_kwargs): |
644 | val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs) | |
70551f47 | 645 | return val |
2d091820 RD |
646 | def GetLineLength(self, *_args, **_kwargs): |
647 | val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs) | |
faf3cb35 | 648 | return val |
2d091820 RD |
649 | def GetLineText(self, *_args, **_kwargs): |
650 | val = apply(controlsc.wxTextCtrl_GetLineText,(self,) + _args, _kwargs) | |
faf3cb35 | 651 | return val |
2d091820 RD |
652 | def GetNumberOfLines(self, *_args, **_kwargs): |
653 | val = apply(controlsc.wxTextCtrl_GetNumberOfLines,(self,) + _args, _kwargs) | |
faf3cb35 | 654 | return val |
2d091820 RD |
655 | def IsModified(self, *_args, **_kwargs): |
656 | val = apply(controlsc.wxTextCtrl_IsModified,(self,) + _args, _kwargs) | |
70551f47 | 657 | return val |
a57d56d6 RD |
658 | def IsEditable(self, *_args, **_kwargs): |
659 | val = apply(controlsc.wxTextCtrl_IsEditable,(self,) + _args, _kwargs) | |
70551f47 | 660 | return val |
a57d56d6 RD |
661 | def GetSelection(self, *_args, **_kwargs): |
662 | val = apply(controlsc.wxTextCtrl_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 663 | return val |
93283355 RD |
664 | def GetStringSelection(self, *_args, **_kwargs): |
665 | val = apply(controlsc.wxTextCtrl_GetStringSelection,(self,) + _args, _kwargs) | |
666 | return val | |
a57d56d6 RD |
667 | def Clear(self, *_args, **_kwargs): |
668 | val = apply(controlsc.wxTextCtrl_Clear,(self,) + _args, _kwargs) | |
669 | return val | |
670 | def Replace(self, *_args, **_kwargs): | |
671 | val = apply(controlsc.wxTextCtrl_Replace,(self,) + _args, _kwargs) | |
faf3cb35 | 672 | return val |
2d091820 RD |
673 | def Remove(self, *_args, **_kwargs): |
674 | val = apply(controlsc.wxTextCtrl_Remove,(self,) + _args, _kwargs) | |
70551f47 | 675 | return val |
a57d56d6 RD |
676 | def LoadFile(self, *_args, **_kwargs): |
677 | val = apply(controlsc.wxTextCtrl_LoadFile,(self,) + _args, _kwargs) | |
70551f47 | 678 | return val |
2d091820 RD |
679 | def SaveFile(self, *_args, **_kwargs): |
680 | val = apply(controlsc.wxTextCtrl_SaveFile,(self,) + _args, _kwargs) | |
70551f47 | 681 | return val |
a57d56d6 RD |
682 | def DiscardEdits(self, *_args, **_kwargs): |
683 | val = apply(controlsc.wxTextCtrl_DiscardEdits,(self,) + _args, _kwargs) | |
70551f47 | 684 | return val |
a57d56d6 RD |
685 | def SetMaxLength(self, *_args, **_kwargs): |
686 | val = apply(controlsc.wxTextCtrl_SetMaxLength,(self,) + _args, _kwargs) | |
70551f47 | 687 | return val |
2d091820 RD |
688 | def WriteText(self, *_args, **_kwargs): |
689 | val = apply(controlsc.wxTextCtrl_WriteText,(self,) + _args, _kwargs) | |
70551f47 | 690 | return val |
2d091820 RD |
691 | def AppendText(self, *_args, **_kwargs): |
692 | val = apply(controlsc.wxTextCtrl_AppendText,(self,) + _args, _kwargs) | |
ab9bc19b | 693 | return val |
a57d56d6 RD |
694 | def SetStyle(self, *_args, **_kwargs): |
695 | val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs) | |
696 | return val | |
697 | def SetDefaultStyle(self, *_args, **_kwargs): | |
698 | val = apply(controlsc.wxTextCtrl_SetDefaultStyle,(self,) + _args, _kwargs) | |
699 | return val | |
700 | def GetDefaultStyle(self, *_args, **_kwargs): | |
701 | val = apply(controlsc.wxTextCtrl_GetDefaultStyle,(self,) + _args, _kwargs) | |
702 | if val: val = wxTextAttrPtr(val) | |
703 | return val | |
2d091820 RD |
704 | def XYToPosition(self, *_args, **_kwargs): |
705 | val = apply(controlsc.wxTextCtrl_XYToPosition,(self,) + _args, _kwargs) | |
faf3cb35 | 706 | return val |
a57d56d6 RD |
707 | def PositionToXY(self, *_args, **_kwargs): |
708 | val = apply(controlsc.wxTextCtrl_PositionToXY,(self,) + _args, _kwargs) | |
709 | return val | |
710 | def ShowPosition(self, *_args, **_kwargs): | |
711 | val = apply(controlsc.wxTextCtrl_ShowPosition,(self,) + _args, _kwargs) | |
712 | return val | |
713 | def Copy(self, *_args, **_kwargs): | |
714 | val = apply(controlsc.wxTextCtrl_Copy,(self,) + _args, _kwargs) | |
715 | return val | |
716 | def Cut(self, *_args, **_kwargs): | |
717 | val = apply(controlsc.wxTextCtrl_Cut,(self,) + _args, _kwargs) | |
718 | return val | |
719 | def Paste(self, *_args, **_kwargs): | |
720 | val = apply(controlsc.wxTextCtrl_Paste,(self,) + _args, _kwargs) | |
721 | return val | |
2d091820 RD |
722 | def CanCopy(self, *_args, **_kwargs): |
723 | val = apply(controlsc.wxTextCtrl_CanCopy,(self,) + _args, _kwargs) | |
53920141 | 724 | return val |
2d091820 RD |
725 | def CanCut(self, *_args, **_kwargs): |
726 | val = apply(controlsc.wxTextCtrl_CanCut,(self,) + _args, _kwargs) | |
53920141 | 727 | return val |
2d091820 RD |
728 | def CanPaste(self, *_args, **_kwargs): |
729 | val = apply(controlsc.wxTextCtrl_CanPaste,(self,) + _args, _kwargs) | |
53920141 | 730 | return val |
a57d56d6 RD |
731 | def Undo(self, *_args, **_kwargs): |
732 | val = apply(controlsc.wxTextCtrl_Undo,(self,) + _args, _kwargs) | |
733 | return val | |
734 | def Redo(self, *_args, **_kwargs): | |
735 | val = apply(controlsc.wxTextCtrl_Redo,(self,) + _args, _kwargs) | |
53920141 | 736 | return val |
2d091820 RD |
737 | def CanUndo(self, *_args, **_kwargs): |
738 | val = apply(controlsc.wxTextCtrl_CanUndo,(self,) + _args, _kwargs) | |
53920141 | 739 | return val |
a57d56d6 RD |
740 | def CanRedo(self, *_args, **_kwargs): |
741 | val = apply(controlsc.wxTextCtrl_CanRedo,(self,) + _args, _kwargs) | |
53920141 | 742 | return val |
a57d56d6 RD |
743 | def SetInsertionPoint(self, *_args, **_kwargs): |
744 | val = apply(controlsc.wxTextCtrl_SetInsertionPoint,(self,) + _args, _kwargs) | |
53920141 | 745 | return val |
a57d56d6 RD |
746 | def SetInsertionPointEnd(self, *_args, **_kwargs): |
747 | val = apply(controlsc.wxTextCtrl_SetInsertionPointEnd,(self,) + _args, _kwargs) | |
4120ef2b | 748 | return val |
a57d56d6 RD |
749 | def GetInsertionPoint(self, *_args, **_kwargs): |
750 | val = apply(controlsc.wxTextCtrl_GetInsertionPoint,(self,) + _args, _kwargs) | |
4120ef2b | 751 | return val |
a57d56d6 RD |
752 | def GetLastPosition(self, *_args, **_kwargs): |
753 | val = apply(controlsc.wxTextCtrl_GetLastPosition,(self,) + _args, _kwargs) | |
9d6da64a | 754 | return val |
a57d56d6 RD |
755 | def SetSelection(self, *_args, **_kwargs): |
756 | val = apply(controlsc.wxTextCtrl_SetSelection,(self,) + _args, _kwargs) | |
9d6da64a | 757 | return val |
a57d56d6 RD |
758 | def SelectAll(self, *_args, **_kwargs): |
759 | val = apply(controlsc.wxTextCtrl_SelectAll,(self,) + _args, _kwargs) | |
9d6da64a | 760 | return val |
a57d56d6 RD |
761 | def SetEditable(self, *_args, **_kwargs): |
762 | val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs) | |
aa2a5b86 | 763 | return val |
4120ef2b RD |
764 | def write(self, *_args, **_kwargs): |
765 | val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs) | |
766 | return val | |
70551f47 | 767 | def __repr__(self): |
2d091820 | 768 | return "<C wxTextCtrl instance at %s>" % (self.this,) |
70551f47 | 769 | class wxTextCtrl(wxTextCtrlPtr): |
2d091820 RD |
770 | def __init__(self,*_args,**_kwargs): |
771 | self.this = apply(controlsc.new_wxTextCtrl,_args,_kwargs) | |
70551f47 | 772 | self.thisown = 1 |
0220cbc1 | 773 | self._setOORInfo(self) |
70551f47 RD |
774 | |
775 | ||
776 | ||
aa2a5b86 RD |
777 | def wxPreTextCtrl(*_args,**_kwargs): |
778 | val = wxTextCtrlPtr(apply(controlsc.new_wxPreTextCtrl,_args,_kwargs)) | |
779 | val.thisown = 1 | |
17c0e08c | 780 | val._setOORInfo(val) |
aa2a5b86 RD |
781 | return val |
782 | ||
70551f47 RD |
783 | |
784 | class wxScrollBarPtr(wxControlPtr): | |
785 | def __init__(self,this): | |
786 | self.this = this | |
787 | self.thisown = 0 | |
aa2a5b86 RD |
788 | def Create(self, *_args, **_kwargs): |
789 | val = apply(controlsc.wxScrollBar_Create,(self,) + _args, _kwargs) | |
790 | return val | |
2d091820 RD |
791 | def GetRange(self, *_args, **_kwargs): |
792 | val = apply(controlsc.wxScrollBar_GetRange,(self,) + _args, _kwargs) | |
70551f47 | 793 | return val |
2d091820 RD |
794 | def GetPageSize(self, *_args, **_kwargs): |
795 | val = apply(controlsc.wxScrollBar_GetPageSize,(self,) + _args, _kwargs) | |
70551f47 | 796 | return val |
2d091820 RD |
797 | def GetThumbPosition(self, *_args, **_kwargs): |
798 | val = apply(controlsc.wxScrollBar_GetThumbPosition,(self,) + _args, _kwargs) | |
70551f47 | 799 | return val |
2d091820 RD |
800 | def GetThumbSize(self, *_args, **_kwargs): |
801 | val = apply(controlsc.wxScrollBar_GetThumbSize,(self,) + _args, _kwargs) | |
70551f47 | 802 | return val |
2fc99549 RD |
803 | def GetThumbLength(self, *_args, **_kwargs): |
804 | val = apply(controlsc.wxScrollBar_GetThumbLength,(self,) + _args, _kwargs) | |
805 | return val | |
2d091820 RD |
806 | def SetThumbPosition(self, *_args, **_kwargs): |
807 | val = apply(controlsc.wxScrollBar_SetThumbPosition,(self,) + _args, _kwargs) | |
70551f47 | 808 | return val |
2d091820 RD |
809 | def SetScrollbar(self, *_args, **_kwargs): |
810 | val = apply(controlsc.wxScrollBar_SetScrollbar,(self,) + _args, _kwargs) | |
70551f47 RD |
811 | return val |
812 | def __repr__(self): | |
2d091820 | 813 | return "<C wxScrollBar instance at %s>" % (self.this,) |
70551f47 | 814 | class wxScrollBar(wxScrollBarPtr): |
2d091820 RD |
815 | def __init__(self,*_args,**_kwargs): |
816 | self.this = apply(controlsc.new_wxScrollBar,_args,_kwargs) | |
70551f47 | 817 | self.thisown = 1 |
0220cbc1 | 818 | self._setOORInfo(self) |
70551f47 RD |
819 | |
820 | ||
821 | ||
aa2a5b86 RD |
822 | def wxPreScrollBar(*_args,**_kwargs): |
823 | val = wxScrollBarPtr(apply(controlsc.new_wxPreScrollBar,_args,_kwargs)) | |
824 | val.thisown = 1 | |
17c0e08c | 825 | val._setOORInfo(val) |
aa2a5b86 RD |
826 | return val |
827 | ||
70551f47 | 828 | |
62bd0874 RD |
829 | class wxSpinButtonPtr(wxControlPtr): |
830 | def __init__(self,this): | |
831 | self.this = this | |
832 | self.thisown = 0 | |
aa2a5b86 RD |
833 | def Create(self, *_args, **_kwargs): |
834 | val = apply(controlsc.wxSpinButton_Create,(self,) + _args, _kwargs) | |
835 | return val | |
2d091820 RD |
836 | def GetMax(self, *_args, **_kwargs): |
837 | val = apply(controlsc.wxSpinButton_GetMax,(self,) + _args, _kwargs) | |
62bd0874 | 838 | return val |
2d091820 RD |
839 | def GetMin(self, *_args, **_kwargs): |
840 | val = apply(controlsc.wxSpinButton_GetMin,(self,) + _args, _kwargs) | |
62bd0874 | 841 | return val |
2d091820 RD |
842 | def GetValue(self, *_args, **_kwargs): |
843 | val = apply(controlsc.wxSpinButton_GetValue,(self,) + _args, _kwargs) | |
62bd0874 | 844 | return val |
2d091820 RD |
845 | def SetRange(self, *_args, **_kwargs): |
846 | val = apply(controlsc.wxSpinButton_SetRange,(self,) + _args, _kwargs) | |
62bd0874 | 847 | return val |
2d091820 RD |
848 | def SetValue(self, *_args, **_kwargs): |
849 | val = apply(controlsc.wxSpinButton_SetValue,(self,) + _args, _kwargs) | |
62bd0874 RD |
850 | return val |
851 | def __repr__(self): | |
2d091820 | 852 | return "<C wxSpinButton instance at %s>" % (self.this,) |
62bd0874 | 853 | class wxSpinButton(wxSpinButtonPtr): |
2d091820 RD |
854 | def __init__(self,*_args,**_kwargs): |
855 | self.this = apply(controlsc.new_wxSpinButton,_args,_kwargs) | |
62bd0874 | 856 | self.thisown = 1 |
0220cbc1 | 857 | self._setOORInfo(self) |
62bd0874 RD |
858 | |
859 | ||
860 | ||
aa2a5b86 RD |
861 | def wxPreSpinButton(*_args,**_kwargs): |
862 | val = wxSpinButtonPtr(apply(controlsc.new_wxPreSpinButton,_args,_kwargs)) | |
863 | val.thisown = 1 | |
17c0e08c | 864 | val._setOORInfo(val) |
aa2a5b86 RD |
865 | return val |
866 | ||
62bd0874 | 867 | |
70551f47 RD |
868 | class wxStaticBitmapPtr(wxControlPtr): |
869 | def __init__(self,this): | |
870 | self.this = this | |
871 | self.thisown = 0 | |
aa2a5b86 RD |
872 | def Create(self, *_args, **_kwargs): |
873 | val = apply(controlsc.wxStaticBitmap_Create,(self,) + _args, _kwargs) | |
874 | return val | |
2d091820 RD |
875 | def GetBitmap(self, *_args, **_kwargs): |
876 | val = apply(controlsc.wxStaticBitmap_GetBitmap,(self,) + _args, _kwargs) | |
877 | if val: val = wxBitmapPtr(val) | |
70551f47 | 878 | return val |
2d091820 RD |
879 | def SetBitmap(self, *_args, **_kwargs): |
880 | val = apply(controlsc.wxStaticBitmap_SetBitmap,(self,) + _args, _kwargs) | |
70551f47 | 881 | return val |
2d091820 RD |
882 | def SetIcon(self, *_args, **_kwargs): |
883 | val = apply(controlsc.wxStaticBitmap_SetIcon,(self,) + _args, _kwargs) | |
8bf5d46e | 884 | return val |
70551f47 | 885 | def __repr__(self): |
2d091820 | 886 | return "<C wxStaticBitmap instance at %s>" % (self.this,) |
70551f47 | 887 | class wxStaticBitmap(wxStaticBitmapPtr): |
2d091820 RD |
888 | def __init__(self,*_args,**_kwargs): |
889 | self.this = apply(controlsc.new_wxStaticBitmap,_args,_kwargs) | |
70551f47 | 890 | self.thisown = 1 |
0220cbc1 | 891 | self._setOORInfo(self) |
70551f47 RD |
892 | |
893 | ||
894 | ||
aa2a5b86 RD |
895 | def wxPreStaticBitmap(*_args,**_kwargs): |
896 | val = wxStaticBitmapPtr(apply(controlsc.new_wxPreStaticBitmap,_args,_kwargs)) | |
897 | val.thisown = 1 | |
17c0e08c | 898 | val._setOORInfo(val) |
aa2a5b86 RD |
899 | return val |
900 | ||
70551f47 RD |
901 | |
902 | class wxRadioBoxPtr(wxControlPtr): | |
903 | def __init__(self,this): | |
904 | self.this = this | |
905 | self.thisown = 0 | |
aa2a5b86 RD |
906 | def Create(self, *_args, **_kwargs): |
907 | val = apply(controlsc.wxRadioBox_Create,(self,) + _args, _kwargs) | |
908 | return val | |
2d091820 RD |
909 | def Enable(self, *_args, **_kwargs): |
910 | val = apply(controlsc.wxRadioBox_Enable,(self,) + _args, _kwargs) | |
70551f47 | 911 | return val |
2d091820 RD |
912 | def EnableItem(self, *_args, **_kwargs): |
913 | val = apply(controlsc.wxRadioBox_EnableItem,(self,) + _args, _kwargs) | |
70551f47 | 914 | return val |
2d091820 RD |
915 | def FindString(self, *_args, **_kwargs): |
916 | val = apply(controlsc.wxRadioBox_FindString,(self,) + _args, _kwargs) | |
70551f47 | 917 | return val |
2c8a649d RD |
918 | def GetString(self, *_args, **_kwargs): |
919 | val = apply(controlsc.wxRadioBox_GetString,(self,) + _args, _kwargs) | |
920 | return val | |
2d091820 RD |
921 | def GetItemLabel(self, *_args, **_kwargs): |
922 | val = apply(controlsc.wxRadioBox_GetItemLabel,(self,) + _args, _kwargs) | |
70551f47 | 923 | return val |
2c8a649d RD |
924 | def SetItemLabel(self, *_args, **_kwargs): |
925 | val = apply(controlsc.wxRadioBox_SetItemLabel,(self,) + _args, _kwargs) | |
926 | return val | |
2d091820 RD |
927 | def GetSelection(self, *_args, **_kwargs): |
928 | val = apply(controlsc.wxRadioBox_GetSelection,(self,) + _args, _kwargs) | |
70551f47 | 929 | return val |
2d091820 RD |
930 | def GetStringSelection(self, *_args, **_kwargs): |
931 | val = apply(controlsc.wxRadioBox_GetStringSelection,(self,) + _args, _kwargs) | |
70551f47 | 932 | return val |
2c8a649d RD |
933 | def GetCount(self, *_args, **_kwargs): |
934 | val = apply(controlsc.wxRadioBox_GetCount,(self,) + _args, _kwargs) | |
70551f47 | 935 | return val |
2d091820 RD |
936 | def SetSelection(self, *_args, **_kwargs): |
937 | val = apply(controlsc.wxRadioBox_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 938 | return val |
2d091820 RD |
939 | def SetStringSelection(self, *_args, **_kwargs): |
940 | val = apply(controlsc.wxRadioBox_SetStringSelection,(self,) + _args, _kwargs) | |
70551f47 | 941 | return val |
2d091820 RD |
942 | def Show(self, *_args, **_kwargs): |
943 | val = apply(controlsc.wxRadioBox_Show,(self,) + _args, _kwargs) | |
70551f47 | 944 | return val |
2d091820 RD |
945 | def ShowItem(self, *_args, **_kwargs): |
946 | val = apply(controlsc.wxRadioBox_ShowItem,(self,) + _args, _kwargs) | |
70551f47 RD |
947 | return val |
948 | def __repr__(self): | |
2d091820 | 949 | return "<C wxRadioBox instance at %s>" % (self.this,) |
2c8a649d | 950 | Number = GetCount |
70551f47 | 951 | class wxRadioBox(wxRadioBoxPtr): |
2d091820 RD |
952 | def __init__(self,*_args,**_kwargs): |
953 | self.this = apply(controlsc.new_wxRadioBox,_args,_kwargs) | |
70551f47 | 954 | self.thisown = 1 |
0220cbc1 | 955 | self._setOORInfo(self) |
70551f47 RD |
956 | |
957 | ||
958 | ||
aa2a5b86 RD |
959 | def wxPreRadioBox(*_args,**_kwargs): |
960 | val = wxRadioBoxPtr(apply(controlsc.new_wxPreRadioBox,_args,_kwargs)) | |
961 | val.thisown = 1 | |
17c0e08c | 962 | val._setOORInfo(val) |
aa2a5b86 RD |
963 | return val |
964 | ||
70551f47 RD |
965 | |
966 | class wxRadioButtonPtr(wxControlPtr): | |
967 | def __init__(self,this): | |
968 | self.this = this | |
969 | self.thisown = 0 | |
aa2a5b86 RD |
970 | def Create(self, *_args, **_kwargs): |
971 | val = apply(controlsc.wxRadioButton_Create,(self,) + _args, _kwargs) | |
972 | return val | |
2d091820 RD |
973 | def GetValue(self, *_args, **_kwargs): |
974 | val = apply(controlsc.wxRadioButton_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 975 | return val |
2d091820 RD |
976 | def SetValue(self, *_args, **_kwargs): |
977 | val = apply(controlsc.wxRadioButton_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
978 | return val |
979 | def __repr__(self): | |
2d091820 | 980 | return "<C wxRadioButton instance at %s>" % (self.this,) |
70551f47 | 981 | class wxRadioButton(wxRadioButtonPtr): |
2d091820 RD |
982 | def __init__(self,*_args,**_kwargs): |
983 | self.this = apply(controlsc.new_wxRadioButton,_args,_kwargs) | |
70551f47 | 984 | self.thisown = 1 |
0220cbc1 | 985 | self._setOORInfo(self) |
70551f47 RD |
986 | |
987 | ||
988 | ||
aa2a5b86 RD |
989 | def wxPreRadioButton(*_args,**_kwargs): |
990 | val = wxRadioButtonPtr(apply(controlsc.new_wxPreRadioButton,_args,_kwargs)) | |
991 | val.thisown = 1 | |
17c0e08c | 992 | val._setOORInfo(val) |
aa2a5b86 RD |
993 | return val |
994 | ||
70551f47 RD |
995 | |
996 | class wxSliderPtr(wxControlPtr): | |
997 | def __init__(self,this): | |
998 | self.this = this | |
999 | self.thisown = 0 | |
aa2a5b86 RD |
1000 | def Create(self, *_args, **_kwargs): |
1001 | val = apply(controlsc.wxSlider_Create,(self,) + _args, _kwargs) | |
1002 | return val | |
2d091820 RD |
1003 | def ClearSel(self, *_args, **_kwargs): |
1004 | val = apply(controlsc.wxSlider_ClearSel,(self,) + _args, _kwargs) | |
70551f47 | 1005 | return val |
2d091820 RD |
1006 | def ClearTicks(self, *_args, **_kwargs): |
1007 | val = apply(controlsc.wxSlider_ClearTicks,(self,) + _args, _kwargs) | |
70551f47 | 1008 | return val |
2d091820 RD |
1009 | def GetLineSize(self, *_args, **_kwargs): |
1010 | val = apply(controlsc.wxSlider_GetLineSize,(self,) + _args, _kwargs) | |
70551f47 | 1011 | return val |
2d091820 RD |
1012 | def GetMax(self, *_args, **_kwargs): |
1013 | val = apply(controlsc.wxSlider_GetMax,(self,) + _args, _kwargs) | |
70551f47 | 1014 | return val |
2d091820 RD |
1015 | def GetMin(self, *_args, **_kwargs): |
1016 | val = apply(controlsc.wxSlider_GetMin,(self,) + _args, _kwargs) | |
70551f47 | 1017 | return val |
2d091820 RD |
1018 | def GetPageSize(self, *_args, **_kwargs): |
1019 | val = apply(controlsc.wxSlider_GetPageSize,(self,) + _args, _kwargs) | |
70551f47 | 1020 | return val |
2d091820 RD |
1021 | def GetSelEnd(self, *_args, **_kwargs): |
1022 | val = apply(controlsc.wxSlider_GetSelEnd,(self,) + _args, _kwargs) | |
70551f47 | 1023 | return val |
2d091820 RD |
1024 | def GetSelStart(self, *_args, **_kwargs): |
1025 | val = apply(controlsc.wxSlider_GetSelStart,(self,) + _args, _kwargs) | |
70551f47 | 1026 | return val |
2d091820 RD |
1027 | def GetThumbLength(self, *_args, **_kwargs): |
1028 | val = apply(controlsc.wxSlider_GetThumbLength,(self,) + _args, _kwargs) | |
70551f47 | 1029 | return val |
2d091820 RD |
1030 | def GetTickFreq(self, *_args, **_kwargs): |
1031 | val = apply(controlsc.wxSlider_GetTickFreq,(self,) + _args, _kwargs) | |
70551f47 | 1032 | return val |
2d091820 RD |
1033 | def GetValue(self, *_args, **_kwargs): |
1034 | val = apply(controlsc.wxSlider_GetValue,(self,) + _args, _kwargs) | |
70551f47 | 1035 | return val |
2d091820 RD |
1036 | def SetRange(self, *_args, **_kwargs): |
1037 | val = apply(controlsc.wxSlider_SetRange,(self,) + _args, _kwargs) | |
70551f47 | 1038 | return val |
2d091820 RD |
1039 | def SetTickFreq(self, *_args, **_kwargs): |
1040 | val = apply(controlsc.wxSlider_SetTickFreq,(self,) + _args, _kwargs) | |
70551f47 | 1041 | return val |
2d091820 RD |
1042 | def SetLineSize(self, *_args, **_kwargs): |
1043 | val = apply(controlsc.wxSlider_SetLineSize,(self,) + _args, _kwargs) | |
70551f47 | 1044 | return val |
2d091820 RD |
1045 | def SetPageSize(self, *_args, **_kwargs): |
1046 | val = apply(controlsc.wxSlider_SetPageSize,(self,) + _args, _kwargs) | |
70551f47 | 1047 | return val |
2d091820 RD |
1048 | def SetSelection(self, *_args, **_kwargs): |
1049 | val = apply(controlsc.wxSlider_SetSelection,(self,) + _args, _kwargs) | |
70551f47 | 1050 | return val |
2d091820 RD |
1051 | def SetThumbLength(self, *_args, **_kwargs): |
1052 | val = apply(controlsc.wxSlider_SetThumbLength,(self,) + _args, _kwargs) | |
70551f47 | 1053 | return val |
2d091820 RD |
1054 | def SetTick(self, *_args, **_kwargs): |
1055 | val = apply(controlsc.wxSlider_SetTick,(self,) + _args, _kwargs) | |
70551f47 | 1056 | return val |
2d091820 RD |
1057 | def SetValue(self, *_args, **_kwargs): |
1058 | val = apply(controlsc.wxSlider_SetValue,(self,) + _args, _kwargs) | |
70551f47 RD |
1059 | return val |
1060 | def __repr__(self): | |
2d091820 | 1061 | return "<C wxSlider instance at %s>" % (self.this,) |
70551f47 | 1062 | class wxSlider(wxSliderPtr): |
2d091820 RD |
1063 | def __init__(self,*_args,**_kwargs): |
1064 | self.this = apply(controlsc.new_wxSlider,_args,_kwargs) | |
70551f47 | 1065 | self.thisown = 1 |
0220cbc1 | 1066 | self._setOORInfo(self) |
f6bcfd97 BP |
1067 | |
1068 | ||
1069 | ||
aa2a5b86 RD |
1070 | def wxPreSlider(*_args,**_kwargs): |
1071 | val = wxSliderPtr(apply(controlsc.new_wxPreSlider,_args,_kwargs)) | |
1072 | val.thisown = 1 | |
17c0e08c | 1073 | val._setOORInfo(val) |
aa2a5b86 RD |
1074 | return val |
1075 | ||
f6bcfd97 BP |
1076 | |
1077 | class wxSpinCtrlPtr(wxSpinButtonPtr): | |
1078 | def __init__(self,this): | |
1079 | self.this = this | |
1080 | self.thisown = 0 | |
aa2a5b86 RD |
1081 | def Create(self, *_args, **_kwargs): |
1082 | val = apply(controlsc.wxSpinCtrl_Create,(self,) + _args, _kwargs) | |
1083 | return val | |
c368d904 RD |
1084 | def GetMax(self, *_args, **_kwargs): |
1085 | val = apply(controlsc.wxSpinCtrl_GetMax,(self,) + _args, _kwargs) | |
1086 | return val | |
1087 | def GetMin(self, *_args, **_kwargs): | |
1088 | val = apply(controlsc.wxSpinCtrl_GetMin,(self,) + _args, _kwargs) | |
1089 | return val | |
1090 | def GetValue(self, *_args, **_kwargs): | |
1091 | val = apply(controlsc.wxSpinCtrl_GetValue,(self,) + _args, _kwargs) | |
1092 | return val | |
1093 | def SetRange(self, *_args, **_kwargs): | |
1094 | val = apply(controlsc.wxSpinCtrl_SetRange,(self,) + _args, _kwargs) | |
1095 | return val | |
1096 | def SetValue(self, *_args, **_kwargs): | |
1097 | val = apply(controlsc.wxSpinCtrl_SetValue,(self,) + _args, _kwargs) | |
1098 | return val | |
f6bcfd97 BP |
1099 | def __repr__(self): |
1100 | return "<C wxSpinCtrl instance at %s>" % (self.this,) | |
1101 | class wxSpinCtrl(wxSpinCtrlPtr): | |
1102 | def __init__(self,*_args,**_kwargs): | |
1103 | self.this = apply(controlsc.new_wxSpinCtrl,_args,_kwargs) | |
1104 | self.thisown = 1 | |
0220cbc1 | 1105 | self._setOORInfo(self) |
70551f47 RD |
1106 | |
1107 | ||
1108 | ||
aa2a5b86 RD |
1109 | def wxPreSpinCtrl(*_args,**_kwargs): |
1110 | val = wxSpinCtrlPtr(apply(controlsc.new_wxPreSpinCtrl,_args,_kwargs)) | |
1111 | val.thisown = 1 | |
17c0e08c | 1112 | val._setOORInfo(val) |
aa2a5b86 RD |
1113 | return val |
1114 | ||
70551f47 | 1115 | |
7a446686 RD |
1116 | class wxToggleButtonPtr(wxControlPtr): |
1117 | def __init__(self,this): | |
1118 | self.this = this | |
1119 | self.thisown = 0 | |
aa2a5b86 RD |
1120 | def Create(self, *_args, **_kwargs): |
1121 | val = apply(controlsc.wxToggleButton_Create,(self,) + _args, _kwargs) | |
1122 | return val | |
7a446686 RD |
1123 | def SetValue(self, *_args, **_kwargs): |
1124 | val = apply(controlsc.wxToggleButton_SetValue,(self,) + _args, _kwargs) | |
1125 | return val | |
1126 | def GetValue(self, *_args, **_kwargs): | |
1127 | val = apply(controlsc.wxToggleButton_GetValue,(self,) + _args, _kwargs) | |
1128 | return val | |
1129 | def SetLabel(self, *_args, **_kwargs): | |
1130 | val = apply(controlsc.wxToggleButton_SetLabel,(self,) + _args, _kwargs) | |
1131 | return val | |
1132 | def __repr__(self): | |
1133 | return "<C wxToggleButton instance at %s>" % (self.this,) | |
1134 | class wxToggleButton(wxToggleButtonPtr): | |
1135 | def __init__(self,*_args,**_kwargs): | |
1136 | self.this = apply(controlsc.new_wxToggleButton,_args,_kwargs) | |
1137 | self.thisown = 1 | |
0220cbc1 | 1138 | self._setOORInfo(self) |
7a446686 RD |
1139 | |
1140 | ||
1141 | ||
aa2a5b86 RD |
1142 | def wxPreToggleButton(*_args,**_kwargs): |
1143 | val = wxToggleButtonPtr(apply(controlsc.new_wxPreToggleButton,_args,_kwargs)) | |
1144 | val.thisown = 1 | |
17c0e08c | 1145 | val._setOORInfo(val) |
aa2a5b86 RD |
1146 | return val |
1147 | ||
7a446686 | 1148 | |
70551f47 RD |
1149 | |
1150 | ||
1151 | #-------------- FUNCTION WRAPPERS ------------------ | |
1152 | ||
56f5d962 RD |
1153 | def wxButton_GetDefaultSize(*_args, **_kwargs): |
1154 | val = apply(controlsc.wxButton_GetDefaultSize,_args,_kwargs) | |
1155 | if val: val = wxSizePtr(val); val.thisown = 1 | |
1156 | return val | |
1157 | ||
70551f47 RD |
1158 | |
1159 | ||
1160 | #-------------- VARIABLE WRAPPERS ------------------ | |
1161 | ||
37f6a977 RD |
1162 | cvar = controlsc.cvar |
1163 | wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator) | |
7a446686 | 1164 | wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED |