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