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