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