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