]>
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 | |
3ef86e32 RD |
607 | def Init(self, *_args, **_kwargs): |
608 | val = controlsc.wxTextAttr_Init(self, *_args, **_kwargs) | |
609 | return val | |
9d6da64a | 610 | def SetTextColour(self, *_args, **_kwargs): |
1fded56b | 611 | val = controlsc.wxTextAttr_SetTextColour(self, *_args, **_kwargs) |
9d6da64a RD |
612 | return val |
613 | def SetBackgroundColour(self, *_args, **_kwargs): | |
1fded56b | 614 | val = controlsc.wxTextAttr_SetBackgroundColour(self, *_args, **_kwargs) |
9d6da64a RD |
615 | return val |
616 | def SetFont(self, *_args, **_kwargs): | |
1fded56b | 617 | val = controlsc.wxTextAttr_SetFont(self, *_args, **_kwargs) |
9d6da64a | 618 | return val |
3ef86e32 RD |
619 | def SetAlignment(self, *_args, **_kwargs): |
620 | val = controlsc.wxTextAttr_SetAlignment(self, *_args, **_kwargs) | |
621 | return val | |
622 | def SetTabs(self, *_args, **_kwargs): | |
623 | val = controlsc.wxTextAttr_SetTabs(self, *_args, **_kwargs) | |
624 | return val | |
625 | def SetLeftIndent(self, *_args, **_kwargs): | |
626 | val = controlsc.wxTextAttr_SetLeftIndent(self, *_args, **_kwargs) | |
627 | return val | |
628 | def SetRightIndent(self, *_args, **_kwargs): | |
629 | val = controlsc.wxTextAttr_SetRightIndent(self, *_args, **_kwargs) | |
630 | return val | |
631 | def SetFlags(self, *_args, **_kwargs): | |
632 | val = controlsc.wxTextAttr_SetFlags(self, *_args, **_kwargs) | |
633 | return val | |
9d6da64a | 634 | def HasTextColour(self, *_args, **_kwargs): |
1fded56b | 635 | val = controlsc.wxTextAttr_HasTextColour(self, *_args, **_kwargs) |
9d6da64a RD |
636 | return val |
637 | def HasBackgroundColour(self, *_args, **_kwargs): | |
1fded56b | 638 | val = controlsc.wxTextAttr_HasBackgroundColour(self, *_args, **_kwargs) |
9d6da64a RD |
639 | return val |
640 | def HasFont(self, *_args, **_kwargs): | |
1fded56b | 641 | val = controlsc.wxTextAttr_HasFont(self, *_args, **_kwargs) |
9d6da64a | 642 | return val |
3ef86e32 RD |
643 | def HasAlignment(self, *_args, **_kwargs): |
644 | val = controlsc.wxTextAttr_HasAlignment(self, *_args, **_kwargs) | |
645 | return val | |
646 | def HasTabs(self, *_args, **_kwargs): | |
647 | val = controlsc.wxTextAttr_HasTabs(self, *_args, **_kwargs) | |
648 | return val | |
649 | def HasLeftIndent(self, *_args, **_kwargs): | |
650 | val = controlsc.wxTextAttr_HasLeftIndent(self, *_args, **_kwargs) | |
651 | return val | |
652 | def HasRightIndent(self, *_args, **_kwargs): | |
653 | val = controlsc.wxTextAttr_HasRightIndent(self, *_args, **_kwargs) | |
654 | return val | |
655 | def HasFlag(self, *_args, **_kwargs): | |
656 | val = controlsc.wxTextAttr_HasFlag(self, *_args, **_kwargs) | |
657 | return val | |
9d6da64a | 658 | def GetTextColour(self, *_args, **_kwargs): |
1fded56b | 659 | val = controlsc.wxTextAttr_GetTextColour(self, *_args, **_kwargs) |
3e212503 | 660 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
9d6da64a RD |
661 | return val |
662 | def GetBackgroundColour(self, *_args, **_kwargs): | |
1fded56b | 663 | val = controlsc.wxTextAttr_GetBackgroundColour(self, *_args, **_kwargs) |
3e212503 | 664 | if val: val = wxColourPtr(val) ; val.thisown = 1 |
9d6da64a RD |
665 | return val |
666 | def GetFont(self, *_args, **_kwargs): | |
1fded56b | 667 | val = controlsc.wxTextAttr_GetFont(self, *_args, **_kwargs) |
3e212503 | 668 | if val: val = wxFontPtr(val) ; val.thisown = 1 |
9d6da64a | 669 | return val |
3ef86e32 RD |
670 | def GetAlignment(self, *_args, **_kwargs): |
671 | val = controlsc.wxTextAttr_GetAlignment(self, *_args, **_kwargs) | |
672 | return val | |
673 | def GetTabs(self, *_args, **_kwargs): | |
674 | val = controlsc.wxTextAttr_GetTabs(self, *_args, **_kwargs) | |
675 | return val | |
676 | def GetLeftIndent(self, *_args, **_kwargs): | |
677 | val = controlsc.wxTextAttr_GetLeftIndent(self, *_args, **_kwargs) | |
678 | return val | |
679 | def GetRightIndent(self, *_args, **_kwargs): | |
680 | val = controlsc.wxTextAttr_GetRightIndent(self, *_args, **_kwargs) | |
681 | return val | |
682 | def GetFlags(self, *_args, **_kwargs): | |
683 | val = controlsc.wxTextAttr_GetFlags(self, *_args, **_kwargs) | |
684 | return val | |
a57d56d6 | 685 | def IsDefault(self, *_args, **_kwargs): |
1fded56b | 686 | val = controlsc.wxTextAttr_IsDefault(self, *_args, **_kwargs) |
a57d56d6 | 687 | return val |
9d6da64a | 688 | def __repr__(self): |
1fded56b | 689 | return "<%s.%s instance; proxy of C++ wxTextAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
9d6da64a RD |
690 | class wxTextAttr(wxTextAttrPtr): |
691 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 692 | self.this = controlsc.new_wxTextAttr(*_args,**_kwargs) |
9d6da64a RD |
693 | self.thisown = 1 |
694 | ||
695 | ||
696 | ||
697 | ||
70551f47 RD |
698 | class wxTextCtrlPtr(wxControlPtr): |
699 | def __init__(self,this): | |
700 | self.this = this | |
701 | self.thisown = 0 | |
aa2a5b86 | 702 | def Create(self, *_args, **_kwargs): |
1fded56b | 703 | val = controlsc.wxTextCtrl_Create(self, *_args, **_kwargs) |
aa2a5b86 | 704 | return val |
a57d56d6 | 705 | def GetValue(self, *_args, **_kwargs): |
1fded56b | 706 | val = controlsc.wxTextCtrl_GetValue(self, *_args, **_kwargs) |
70551f47 | 707 | return val |
a57d56d6 | 708 | def SetValue(self, *_args, **_kwargs): |
1fded56b | 709 | val = controlsc.wxTextCtrl_SetValue(self, *_args, **_kwargs) |
70551f47 | 710 | return val |
db34b2d4 | 711 | def GetRange(self, *_args, **_kwargs): |
1fded56b | 712 | val = controlsc.wxTextCtrl_GetRange(self, *_args, **_kwargs) |
db34b2d4 | 713 | return val |
2d091820 | 714 | def GetLineLength(self, *_args, **_kwargs): |
1fded56b | 715 | val = controlsc.wxTextCtrl_GetLineLength(self, *_args, **_kwargs) |
faf3cb35 | 716 | return val |
2d091820 | 717 | def GetLineText(self, *_args, **_kwargs): |
1fded56b | 718 | val = controlsc.wxTextCtrl_GetLineText(self, *_args, **_kwargs) |
faf3cb35 | 719 | return val |
2d091820 | 720 | def GetNumberOfLines(self, *_args, **_kwargs): |
1fded56b | 721 | val = controlsc.wxTextCtrl_GetNumberOfLines(self, *_args, **_kwargs) |
faf3cb35 | 722 | return val |
2d091820 | 723 | def IsModified(self, *_args, **_kwargs): |
1fded56b | 724 | val = controlsc.wxTextCtrl_IsModified(self, *_args, **_kwargs) |
70551f47 | 725 | return val |
a57d56d6 | 726 | def IsEditable(self, *_args, **_kwargs): |
1fded56b | 727 | val = controlsc.wxTextCtrl_IsEditable(self, *_args, **_kwargs) |
70551f47 | 728 | return val |
a57d56d6 | 729 | def GetSelection(self, *_args, **_kwargs): |
1fded56b | 730 | val = controlsc.wxTextCtrl_GetSelection(self, *_args, **_kwargs) |
70551f47 | 731 | return val |
93283355 | 732 | def GetStringSelection(self, *_args, **_kwargs): |
1fded56b | 733 | val = controlsc.wxTextCtrl_GetStringSelection(self, *_args, **_kwargs) |
93283355 | 734 | return val |
a57d56d6 | 735 | def Clear(self, *_args, **_kwargs): |
1fded56b | 736 | val = controlsc.wxTextCtrl_Clear(self, *_args, **_kwargs) |
a57d56d6 RD |
737 | return val |
738 | def Replace(self, *_args, **_kwargs): | |
1fded56b | 739 | val = controlsc.wxTextCtrl_Replace(self, *_args, **_kwargs) |
faf3cb35 | 740 | return val |
2d091820 | 741 | def Remove(self, *_args, **_kwargs): |
1fded56b | 742 | val = controlsc.wxTextCtrl_Remove(self, *_args, **_kwargs) |
70551f47 | 743 | return val |
a57d56d6 | 744 | def LoadFile(self, *_args, **_kwargs): |
1fded56b | 745 | val = controlsc.wxTextCtrl_LoadFile(self, *_args, **_kwargs) |
70551f47 | 746 | return val |
2d091820 | 747 | def SaveFile(self, *_args, **_kwargs): |
1fded56b | 748 | val = controlsc.wxTextCtrl_SaveFile(self, *_args, **_kwargs) |
70551f47 | 749 | return val |
a57d56d6 | 750 | def DiscardEdits(self, *_args, **_kwargs): |
1fded56b | 751 | val = controlsc.wxTextCtrl_DiscardEdits(self, *_args, **_kwargs) |
70551f47 | 752 | return val |
a57d56d6 | 753 | def SetMaxLength(self, *_args, **_kwargs): |
1fded56b | 754 | val = controlsc.wxTextCtrl_SetMaxLength(self, *_args, **_kwargs) |
70551f47 | 755 | return val |
2d091820 | 756 | def WriteText(self, *_args, **_kwargs): |
1fded56b | 757 | val = controlsc.wxTextCtrl_WriteText(self, *_args, **_kwargs) |
70551f47 | 758 | return val |
2d091820 | 759 | def AppendText(self, *_args, **_kwargs): |
1fded56b | 760 | val = controlsc.wxTextCtrl_AppendText(self, *_args, **_kwargs) |
ab9bc19b | 761 | return val |
87439dd8 | 762 | def EmulateKeyPress(self, *_args, **_kwargs): |
1fded56b | 763 | val = controlsc.wxTextCtrl_EmulateKeyPress(self, *_args, **_kwargs) |
87439dd8 | 764 | return val |
a57d56d6 | 765 | def SetStyle(self, *_args, **_kwargs): |
1fded56b | 766 | val = controlsc.wxTextCtrl_SetStyle(self, *_args, **_kwargs) |
a57d56d6 RD |
767 | return val |
768 | def SetDefaultStyle(self, *_args, **_kwargs): | |
1fded56b | 769 | val = controlsc.wxTextCtrl_SetDefaultStyle(self, *_args, **_kwargs) |
a57d56d6 RD |
770 | return val |
771 | def GetDefaultStyle(self, *_args, **_kwargs): | |
1fded56b | 772 | val = controlsc.wxTextCtrl_GetDefaultStyle(self, *_args, **_kwargs) |
a57d56d6 RD |
773 | if val: val = wxTextAttrPtr(val) |
774 | return val | |
3ef86e32 RD |
775 | def GetStyle(self, *_args, **_kwargs): |
776 | val = controlsc.wxTextCtrl_GetStyle(self, *_args, **_kwargs) | |
777 | return val | |
2d091820 | 778 | def XYToPosition(self, *_args, **_kwargs): |
1fded56b | 779 | val = controlsc.wxTextCtrl_XYToPosition(self, *_args, **_kwargs) |
faf3cb35 | 780 | return val |
a57d56d6 | 781 | def PositionToXY(self, *_args, **_kwargs): |
1fded56b | 782 | val = controlsc.wxTextCtrl_PositionToXY(self, *_args, **_kwargs) |
a57d56d6 RD |
783 | return val |
784 | def ShowPosition(self, *_args, **_kwargs): | |
1fded56b | 785 | val = controlsc.wxTextCtrl_ShowPosition(self, *_args, **_kwargs) |
a57d56d6 RD |
786 | return val |
787 | def Copy(self, *_args, **_kwargs): | |
1fded56b | 788 | val = controlsc.wxTextCtrl_Copy(self, *_args, **_kwargs) |
a57d56d6 RD |
789 | return val |
790 | def Cut(self, *_args, **_kwargs): | |
1fded56b | 791 | val = controlsc.wxTextCtrl_Cut(self, *_args, **_kwargs) |
a57d56d6 RD |
792 | return val |
793 | def Paste(self, *_args, **_kwargs): | |
1fded56b | 794 | val = controlsc.wxTextCtrl_Paste(self, *_args, **_kwargs) |
a57d56d6 | 795 | return val |
2d091820 | 796 | def CanCopy(self, *_args, **_kwargs): |
1fded56b | 797 | val = controlsc.wxTextCtrl_CanCopy(self, *_args, **_kwargs) |
53920141 | 798 | return val |
2d091820 | 799 | def CanCut(self, *_args, **_kwargs): |
1fded56b | 800 | val = controlsc.wxTextCtrl_CanCut(self, *_args, **_kwargs) |
53920141 | 801 | return val |
2d091820 | 802 | def CanPaste(self, *_args, **_kwargs): |
1fded56b | 803 | val = controlsc.wxTextCtrl_CanPaste(self, *_args, **_kwargs) |
53920141 | 804 | return val |
a57d56d6 | 805 | def Undo(self, *_args, **_kwargs): |
1fded56b | 806 | val = controlsc.wxTextCtrl_Undo(self, *_args, **_kwargs) |
a57d56d6 RD |
807 | return val |
808 | def Redo(self, *_args, **_kwargs): | |
1fded56b | 809 | val = controlsc.wxTextCtrl_Redo(self, *_args, **_kwargs) |
53920141 | 810 | return val |
2d091820 | 811 | def CanUndo(self, *_args, **_kwargs): |
1fded56b | 812 | val = controlsc.wxTextCtrl_CanUndo(self, *_args, **_kwargs) |
53920141 | 813 | return val |
a57d56d6 | 814 | def CanRedo(self, *_args, **_kwargs): |
1fded56b | 815 | val = controlsc.wxTextCtrl_CanRedo(self, *_args, **_kwargs) |
53920141 | 816 | return val |
a57d56d6 | 817 | def SetInsertionPoint(self, *_args, **_kwargs): |
1fded56b | 818 | val = controlsc.wxTextCtrl_SetInsertionPoint(self, *_args, **_kwargs) |
53920141 | 819 | return val |
a57d56d6 | 820 | def SetInsertionPointEnd(self, *_args, **_kwargs): |
1fded56b | 821 | val = controlsc.wxTextCtrl_SetInsertionPointEnd(self, *_args, **_kwargs) |
4120ef2b | 822 | return val |
a57d56d6 | 823 | def GetInsertionPoint(self, *_args, **_kwargs): |
1fded56b | 824 | val = controlsc.wxTextCtrl_GetInsertionPoint(self, *_args, **_kwargs) |
4120ef2b | 825 | return val |
a57d56d6 | 826 | def GetLastPosition(self, *_args, **_kwargs): |
1fded56b | 827 | val = controlsc.wxTextCtrl_GetLastPosition(self, *_args, **_kwargs) |
9d6da64a | 828 | return val |
a57d56d6 | 829 | def SetSelection(self, *_args, **_kwargs): |
1fded56b | 830 | val = controlsc.wxTextCtrl_SetSelection(self, *_args, **_kwargs) |
9d6da64a | 831 | return val |
a57d56d6 | 832 | def SelectAll(self, *_args, **_kwargs): |
1fded56b | 833 | val = controlsc.wxTextCtrl_SelectAll(self, *_args, **_kwargs) |
9d6da64a | 834 | return val |
a57d56d6 | 835 | def SetEditable(self, *_args, **_kwargs): |
1fded56b | 836 | val = controlsc.wxTextCtrl_SetEditable(self, *_args, **_kwargs) |
aa2a5b86 | 837 | return val |
d99400b2 | 838 | def IsSingleLine(self, *_args, **_kwargs): |
1fded56b | 839 | val = controlsc.wxTextCtrl_IsSingleLine(self, *_args, **_kwargs) |
d99400b2 RD |
840 | return val |
841 | def IsMultiLine(self, *_args, **_kwargs): | |
1fded56b | 842 | val = controlsc.wxTextCtrl_IsMultiLine(self, *_args, **_kwargs) |
d99400b2 | 843 | return val |
4120ef2b | 844 | def write(self, *_args, **_kwargs): |
1fded56b | 845 | val = controlsc.wxTextCtrl_write(self, *_args, **_kwargs) |
4120ef2b | 846 | return val |
7a9b33db | 847 | def GetString(self, *_args, **_kwargs): |
1fded56b | 848 | val = controlsc.wxTextCtrl_GetString(self, *_args, **_kwargs) |
7a9b33db | 849 | return val |
70551f47 | 850 | def __repr__(self): |
1fded56b | 851 | return "<%s.%s instance; proxy of C++ wxTextCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
70551f47 | 852 | class wxTextCtrl(wxTextCtrlPtr): |
2d091820 | 853 | def __init__(self,*_args,**_kwargs): |
1fded56b | 854 | self.this = controlsc.new_wxTextCtrl(*_args,**_kwargs) |
70551f47 | 855 | self.thisown = 1 |
0220cbc1 | 856 | self._setOORInfo(self) |
70551f47 RD |
857 | |
858 | ||
859 | ||
aa2a5b86 | 860 | def wxPreTextCtrl(*_args,**_kwargs): |
1fded56b | 861 | val = wxTextCtrlPtr(controlsc.new_wxPreTextCtrl(*_args,**_kwargs)) |
aa2a5b86 | 862 | val.thisown = 1 |
17c0e08c | 863 | val._setOORInfo(val) |
aa2a5b86 RD |
864 | return val |
865 | ||
70551f47 RD |
866 | |
867 | class wxScrollBarPtr(wxControlPtr): | |
868 | def __init__(self,this): | |
869 | self.this = this | |
870 | self.thisown = 0 | |
aa2a5b86 | 871 | def Create(self, *_args, **_kwargs): |
1fded56b | 872 | val = controlsc.wxScrollBar_Create(self, *_args, **_kwargs) |
aa2a5b86 | 873 | return val |
2d091820 | 874 | def GetRange(self, *_args, **_kwargs): |
1fded56b | 875 | val = controlsc.wxScrollBar_GetRange(self, *_args, **_kwargs) |
70551f47 | 876 | return val |
2d091820 | 877 | def GetPageSize(self, *_args, **_kwargs): |
1fded56b | 878 | val = controlsc.wxScrollBar_GetPageSize(self, *_args, **_kwargs) |
70551f47 | 879 | return val |
2d091820 | 880 | def GetThumbPosition(self, *_args, **_kwargs): |
1fded56b | 881 | val = controlsc.wxScrollBar_GetThumbPosition(self, *_args, **_kwargs) |
70551f47 | 882 | return val |
2d091820 | 883 | def GetThumbSize(self, *_args, **_kwargs): |
1fded56b | 884 | val = controlsc.wxScrollBar_GetThumbSize(self, *_args, **_kwargs) |
70551f47 | 885 | return val |
2fc99549 | 886 | def GetThumbLength(self, *_args, **_kwargs): |
1fded56b | 887 | val = controlsc.wxScrollBar_GetThumbLength(self, *_args, **_kwargs) |
2fc99549 | 888 | return val |
6e8a778a | 889 | def IsVertical(self, *_args, **_kwargs): |
1fded56b | 890 | val = controlsc.wxScrollBar_IsVertical(self, *_args, **_kwargs) |
6e8a778a | 891 | return val |
2d091820 | 892 | def SetThumbPosition(self, *_args, **_kwargs): |
1fded56b | 893 | val = controlsc.wxScrollBar_SetThumbPosition(self, *_args, **_kwargs) |
70551f47 | 894 | return val |
2d091820 | 895 | def SetScrollbar(self, *_args, **_kwargs): |
1fded56b | 896 | val = controlsc.wxScrollBar_SetScrollbar(self, *_args, **_kwargs) |
70551f47 RD |
897 | return val |
898 | def __repr__(self): | |
1fded56b | 899 | return "<%s.%s instance; proxy of C++ wxScrollBar instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
70551f47 | 900 | class wxScrollBar(wxScrollBarPtr): |
2d091820 | 901 | def __init__(self,*_args,**_kwargs): |
1fded56b | 902 | self.this = controlsc.new_wxScrollBar(*_args,**_kwargs) |
70551f47 | 903 | self.thisown = 1 |
0220cbc1 | 904 | self._setOORInfo(self) |
70551f47 RD |
905 | |
906 | ||
907 | ||
aa2a5b86 | 908 | def wxPreScrollBar(*_args,**_kwargs): |
1fded56b | 909 | val = wxScrollBarPtr(controlsc.new_wxPreScrollBar(*_args,**_kwargs)) |
aa2a5b86 | 910 | val.thisown = 1 |
17c0e08c | 911 | val._setOORInfo(val) |
aa2a5b86 RD |
912 | return val |
913 | ||
70551f47 | 914 | |
62bd0874 RD |
915 | class wxSpinButtonPtr(wxControlPtr): |
916 | def __init__(self,this): | |
917 | self.this = this | |
918 | self.thisown = 0 | |
aa2a5b86 | 919 | def Create(self, *_args, **_kwargs): |
1fded56b | 920 | val = controlsc.wxSpinButton_Create(self, *_args, **_kwargs) |
aa2a5b86 | 921 | return val |
2d091820 | 922 | def GetMax(self, *_args, **_kwargs): |
1fded56b | 923 | val = controlsc.wxSpinButton_GetMax(self, *_args, **_kwargs) |
62bd0874 | 924 | return val |
2d091820 | 925 | def GetMin(self, *_args, **_kwargs): |
1fded56b | 926 | val = controlsc.wxSpinButton_GetMin(self, *_args, **_kwargs) |
62bd0874 | 927 | return val |
2d091820 | 928 | def GetValue(self, *_args, **_kwargs): |
1fded56b | 929 | val = controlsc.wxSpinButton_GetValue(self, *_args, **_kwargs) |
62bd0874 | 930 | return val |
2d091820 | 931 | def SetRange(self, *_args, **_kwargs): |
1fded56b | 932 | val = controlsc.wxSpinButton_SetRange(self, *_args, **_kwargs) |
62bd0874 | 933 | return val |
2d091820 | 934 | def SetValue(self, *_args, **_kwargs): |
1fded56b | 935 | val = controlsc.wxSpinButton_SetValue(self, *_args, **_kwargs) |
62bd0874 RD |
936 | return val |
937 | def __repr__(self): | |
1fded56b | 938 | return "<%s.%s instance; proxy of C++ wxSpinButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
62bd0874 | 939 | class wxSpinButton(wxSpinButtonPtr): |
2d091820 | 940 | def __init__(self,*_args,**_kwargs): |
1fded56b | 941 | self.this = controlsc.new_wxSpinButton(*_args,**_kwargs) |
62bd0874 | 942 | self.thisown = 1 |
0220cbc1 | 943 | self._setOORInfo(self) |
62bd0874 RD |
944 | |
945 | ||
946 | ||
aa2a5b86 | 947 | def wxPreSpinButton(*_args,**_kwargs): |
1fded56b | 948 | val = wxSpinButtonPtr(controlsc.new_wxPreSpinButton(*_args,**_kwargs)) |
aa2a5b86 | 949 | val.thisown = 1 |
17c0e08c | 950 | val._setOORInfo(val) |
aa2a5b86 RD |
951 | return val |
952 | ||
62bd0874 | 953 | |
70551f47 RD |
954 | class wxStaticBitmapPtr(wxControlPtr): |
955 | def __init__(self,this): | |
956 | self.this = this | |
957 | self.thisown = 0 | |
aa2a5b86 | 958 | def Create(self, *_args, **_kwargs): |
1fded56b | 959 | val = controlsc.wxStaticBitmap_Create(self, *_args, **_kwargs) |
aa2a5b86 | 960 | return val |
2d091820 | 961 | def GetBitmap(self, *_args, **_kwargs): |
1fded56b | 962 | val = controlsc.wxStaticBitmap_GetBitmap(self, *_args, **_kwargs) |
3e212503 | 963 | if val: val = wxBitmapPtr(val) ; val.thisown = 1 |
70551f47 | 964 | return val |
2d091820 | 965 | def SetBitmap(self, *_args, **_kwargs): |
1fded56b | 966 | val = controlsc.wxStaticBitmap_SetBitmap(self, *_args, **_kwargs) |
70551f47 | 967 | return val |
2d091820 | 968 | def SetIcon(self, *_args, **_kwargs): |
1fded56b | 969 | val = controlsc.wxStaticBitmap_SetIcon(self, *_args, **_kwargs) |
8bf5d46e | 970 | return val |
70551f47 | 971 | def __repr__(self): |
1fded56b | 972 | return "<%s.%s instance; proxy of C++ wxStaticBitmap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
70551f47 | 973 | class wxStaticBitmap(wxStaticBitmapPtr): |
2d091820 | 974 | def __init__(self,*_args,**_kwargs): |
1fded56b | 975 | self.this = controlsc.new_wxStaticBitmap(*_args,**_kwargs) |
70551f47 | 976 | self.thisown = 1 |
0220cbc1 | 977 | self._setOORInfo(self) |
70551f47 RD |
978 | |
979 | ||
980 | ||
aa2a5b86 | 981 | def wxPreStaticBitmap(*_args,**_kwargs): |
1fded56b | 982 | val = wxStaticBitmapPtr(controlsc.new_wxPreStaticBitmap(*_args,**_kwargs)) |
aa2a5b86 | 983 | val.thisown = 1 |
17c0e08c | 984 | val._setOORInfo(val) |
aa2a5b86 RD |
985 | return val |
986 | ||
70551f47 RD |
987 | |
988 | class wxRadioBoxPtr(wxControlPtr): | |
989 | def __init__(self,this): | |
990 | self.this = this | |
991 | self.thisown = 0 | |
aa2a5b86 | 992 | def Create(self, *_args, **_kwargs): |
1fded56b | 993 | val = controlsc.wxRadioBox_Create(self, *_args, **_kwargs) |
aa2a5b86 | 994 | return val |
2d091820 | 995 | def Enable(self, *_args, **_kwargs): |
1fded56b | 996 | val = controlsc.wxRadioBox_Enable(self, *_args, **_kwargs) |
70551f47 | 997 | return val |
2d091820 | 998 | def EnableItem(self, *_args, **_kwargs): |
1fded56b | 999 | val = controlsc.wxRadioBox_EnableItem(self, *_args, **_kwargs) |
70551f47 | 1000 | return val |
2d091820 | 1001 | def FindString(self, *_args, **_kwargs): |
1fded56b | 1002 | val = controlsc.wxRadioBox_FindString(self, *_args, **_kwargs) |
70551f47 | 1003 | return val |
2c8a649d | 1004 | def GetString(self, *_args, **_kwargs): |
1fded56b | 1005 | val = controlsc.wxRadioBox_GetString(self, *_args, **_kwargs) |
2c8a649d | 1006 | return val |
b67a9327 | 1007 | def SetString(self, *_args, **_kwargs): |
1fded56b | 1008 | val = controlsc.wxRadioBox_SetString(self, *_args, **_kwargs) |
2c8a649d | 1009 | return val |
2d091820 | 1010 | def GetSelection(self, *_args, **_kwargs): |
1fded56b | 1011 | val = controlsc.wxRadioBox_GetSelection(self, *_args, **_kwargs) |
70551f47 | 1012 | return val |
2d091820 | 1013 | def GetStringSelection(self, *_args, **_kwargs): |
1fded56b | 1014 | val = controlsc.wxRadioBox_GetStringSelection(self, *_args, **_kwargs) |
70551f47 | 1015 | return val |
2c8a649d | 1016 | def GetCount(self, *_args, **_kwargs): |
1fded56b | 1017 | val = controlsc.wxRadioBox_GetCount(self, *_args, **_kwargs) |
70551f47 | 1018 | return val |
2d091820 | 1019 | def SetSelection(self, *_args, **_kwargs): |
1fded56b | 1020 | val = controlsc.wxRadioBox_SetSelection(self, *_args, **_kwargs) |
70551f47 | 1021 | return val |
2d091820 | 1022 | def SetStringSelection(self, *_args, **_kwargs): |
1fded56b | 1023 | val = controlsc.wxRadioBox_SetStringSelection(self, *_args, **_kwargs) |
70551f47 | 1024 | return val |
2d091820 | 1025 | def Show(self, *_args, **_kwargs): |
1fded56b | 1026 | val = controlsc.wxRadioBox_Show(self, *_args, **_kwargs) |
70551f47 | 1027 | return val |
2d091820 | 1028 | def ShowItem(self, *_args, **_kwargs): |
1fded56b | 1029 | val = controlsc.wxRadioBox_ShowItem(self, *_args, **_kwargs) |
70551f47 RD |
1030 | return val |
1031 | def __repr__(self): | |
1fded56b | 1032 | return "<%s.%s instance; proxy of C++ wxRadioBox instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
b67a9327 RD |
1033 | |
1034 | GetItemLabel = GetString | |
1035 | SetItemLabel = SetString | |
1036 | ||
2c8a649d | 1037 | Number = GetCount |
70551f47 | 1038 | class wxRadioBox(wxRadioBoxPtr): |
2d091820 | 1039 | def __init__(self,*_args,**_kwargs): |
1fded56b | 1040 | self.this = controlsc.new_wxRadioBox(*_args,**_kwargs) |
70551f47 | 1041 | self.thisown = 1 |
0220cbc1 | 1042 | self._setOORInfo(self) |
70551f47 RD |
1043 | |
1044 | ||
1045 | ||
aa2a5b86 | 1046 | def wxPreRadioBox(*_args,**_kwargs): |
1fded56b | 1047 | val = wxRadioBoxPtr(controlsc.new_wxPreRadioBox(*_args,**_kwargs)) |
aa2a5b86 | 1048 | val.thisown = 1 |
17c0e08c | 1049 | val._setOORInfo(val) |
aa2a5b86 RD |
1050 | return val |
1051 | ||
70551f47 RD |
1052 | |
1053 | class wxRadioButtonPtr(wxControlPtr): | |
1054 | def __init__(self,this): | |
1055 | self.this = this | |
1056 | self.thisown = 0 | |
aa2a5b86 | 1057 | def Create(self, *_args, **_kwargs): |
1fded56b | 1058 | val = controlsc.wxRadioButton_Create(self, *_args, **_kwargs) |
aa2a5b86 | 1059 | return val |
2d091820 | 1060 | def GetValue(self, *_args, **_kwargs): |
1fded56b | 1061 | val = controlsc.wxRadioButton_GetValue(self, *_args, **_kwargs) |
70551f47 | 1062 | return val |
2d091820 | 1063 | def SetValue(self, *_args, **_kwargs): |
1fded56b | 1064 | val = controlsc.wxRadioButton_SetValue(self, *_args, **_kwargs) |
70551f47 RD |
1065 | return val |
1066 | def __repr__(self): | |
1fded56b | 1067 | return "<%s.%s instance; proxy of C++ wxRadioButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
70551f47 | 1068 | class wxRadioButton(wxRadioButtonPtr): |
2d091820 | 1069 | def __init__(self,*_args,**_kwargs): |
1fded56b | 1070 | self.this = controlsc.new_wxRadioButton(*_args,**_kwargs) |
70551f47 | 1071 | self.thisown = 1 |
0220cbc1 | 1072 | self._setOORInfo(self) |
70551f47 RD |
1073 | |
1074 | ||
1075 | ||
aa2a5b86 | 1076 | def wxPreRadioButton(*_args,**_kwargs): |
1fded56b | 1077 | val = wxRadioButtonPtr(controlsc.new_wxPreRadioButton(*_args,**_kwargs)) |
aa2a5b86 | 1078 | val.thisown = 1 |
17c0e08c | 1079 | val._setOORInfo(val) |
aa2a5b86 RD |
1080 | return val |
1081 | ||
70551f47 RD |
1082 | |
1083 | class wxSliderPtr(wxControlPtr): | |
1084 | def __init__(self,this): | |
1085 | self.this = this | |
1086 | self.thisown = 0 | |
aa2a5b86 | 1087 | def Create(self, *_args, **_kwargs): |
1fded56b | 1088 | val = controlsc.wxSlider_Create(self, *_args, **_kwargs) |
aa2a5b86 | 1089 | return val |
2d091820 | 1090 | def ClearSel(self, *_args, **_kwargs): |
1fded56b | 1091 | val = controlsc.wxSlider_ClearSel(self, *_args, **_kwargs) |
70551f47 | 1092 | return val |
2d091820 | 1093 | def ClearTicks(self, *_args, **_kwargs): |
1fded56b | 1094 | val = controlsc.wxSlider_ClearTicks(self, *_args, **_kwargs) |
70551f47 | 1095 | return val |
2d091820 | 1096 | def GetLineSize(self, *_args, **_kwargs): |
1fded56b | 1097 | val = controlsc.wxSlider_GetLineSize(self, *_args, **_kwargs) |
70551f47 | 1098 | return val |
2d091820 | 1099 | def GetMax(self, *_args, **_kwargs): |
1fded56b | 1100 | val = controlsc.wxSlider_GetMax(self, *_args, **_kwargs) |
70551f47 | 1101 | return val |
2d091820 | 1102 | def GetMin(self, *_args, **_kwargs): |
1fded56b | 1103 | val = controlsc.wxSlider_GetMin(self, *_args, **_kwargs) |
70551f47 | 1104 | return val |
2d091820 | 1105 | def GetPageSize(self, *_args, **_kwargs): |
1fded56b | 1106 | val = controlsc.wxSlider_GetPageSize(self, *_args, **_kwargs) |
70551f47 | 1107 | return val |
2d091820 | 1108 | def GetSelEnd(self, *_args, **_kwargs): |
1fded56b | 1109 | val = controlsc.wxSlider_GetSelEnd(self, *_args, **_kwargs) |
70551f47 | 1110 | return val |
2d091820 | 1111 | def GetSelStart(self, *_args, **_kwargs): |
1fded56b | 1112 | val = controlsc.wxSlider_GetSelStart(self, *_args, **_kwargs) |
70551f47 | 1113 | return val |
2d091820 | 1114 | def GetThumbLength(self, *_args, **_kwargs): |
1fded56b | 1115 | val = controlsc.wxSlider_GetThumbLength(self, *_args, **_kwargs) |
70551f47 | 1116 | return val |
2d091820 | 1117 | def GetTickFreq(self, *_args, **_kwargs): |
1fded56b | 1118 | val = controlsc.wxSlider_GetTickFreq(self, *_args, **_kwargs) |
70551f47 | 1119 | return val |
2d091820 | 1120 | def GetValue(self, *_args, **_kwargs): |
1fded56b | 1121 | val = controlsc.wxSlider_GetValue(self, *_args, **_kwargs) |
70551f47 | 1122 | return val |
2d091820 | 1123 | def SetRange(self, *_args, **_kwargs): |
1fded56b | 1124 | val = controlsc.wxSlider_SetRange(self, *_args, **_kwargs) |
70551f47 | 1125 | return val |
2d091820 | 1126 | def SetTickFreq(self, *_args, **_kwargs): |
1fded56b | 1127 | val = controlsc.wxSlider_SetTickFreq(self, *_args, **_kwargs) |
70551f47 | 1128 | return val |
2d091820 | 1129 | def SetLineSize(self, *_args, **_kwargs): |
1fded56b | 1130 | val = controlsc.wxSlider_SetLineSize(self, *_args, **_kwargs) |
70551f47 | 1131 | return val |
2d091820 | 1132 | def SetPageSize(self, *_args, **_kwargs): |
1fded56b | 1133 | val = controlsc.wxSlider_SetPageSize(self, *_args, **_kwargs) |
70551f47 | 1134 | return val |
2d091820 | 1135 | def SetSelection(self, *_args, **_kwargs): |
1fded56b | 1136 | val = controlsc.wxSlider_SetSelection(self, *_args, **_kwargs) |
70551f47 | 1137 | return val |
2d091820 | 1138 | def SetThumbLength(self, *_args, **_kwargs): |
1fded56b | 1139 | val = controlsc.wxSlider_SetThumbLength(self, *_args, **_kwargs) |
70551f47 | 1140 | return val |
2d091820 | 1141 | def SetTick(self, *_args, **_kwargs): |
1fded56b | 1142 | val = controlsc.wxSlider_SetTick(self, *_args, **_kwargs) |
70551f47 | 1143 | return val |
2d091820 | 1144 | def SetValue(self, *_args, **_kwargs): |
1fded56b | 1145 | val = controlsc.wxSlider_SetValue(self, *_args, **_kwargs) |
70551f47 RD |
1146 | return val |
1147 | def __repr__(self): | |
1fded56b | 1148 | return "<%s.%s instance; proxy of C++ wxSlider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
70551f47 | 1149 | class wxSlider(wxSliderPtr): |
2d091820 | 1150 | def __init__(self,*_args,**_kwargs): |
1fded56b | 1151 | self.this = controlsc.new_wxSlider(*_args,**_kwargs) |
70551f47 | 1152 | self.thisown = 1 |
0220cbc1 | 1153 | self._setOORInfo(self) |
f6bcfd97 BP |
1154 | |
1155 | ||
1156 | ||
aa2a5b86 | 1157 | def wxPreSlider(*_args,**_kwargs): |
1fded56b | 1158 | val = wxSliderPtr(controlsc.new_wxPreSlider(*_args,**_kwargs)) |
aa2a5b86 | 1159 | val.thisown = 1 |
17c0e08c | 1160 | val._setOORInfo(val) |
aa2a5b86 RD |
1161 | return val |
1162 | ||
f6bcfd97 BP |
1163 | |
1164 | class wxSpinCtrlPtr(wxSpinButtonPtr): | |
1165 | def __init__(self,this): | |
1166 | self.this = this | |
1167 | self.thisown = 0 | |
aa2a5b86 | 1168 | def Create(self, *_args, **_kwargs): |
1fded56b | 1169 | val = controlsc.wxSpinCtrl_Create(self, *_args, **_kwargs) |
aa2a5b86 | 1170 | return val |
c368d904 | 1171 | def GetMax(self, *_args, **_kwargs): |
1fded56b | 1172 | val = controlsc.wxSpinCtrl_GetMax(self, *_args, **_kwargs) |
c368d904 RD |
1173 | return val |
1174 | def GetMin(self, *_args, **_kwargs): | |
1fded56b | 1175 | val = controlsc.wxSpinCtrl_GetMin(self, *_args, **_kwargs) |
c368d904 RD |
1176 | return val |
1177 | def GetValue(self, *_args, **_kwargs): | |
1fded56b | 1178 | val = controlsc.wxSpinCtrl_GetValue(self, *_args, **_kwargs) |
c368d904 RD |
1179 | return val |
1180 | def SetRange(self, *_args, **_kwargs): | |
1fded56b | 1181 | val = controlsc.wxSpinCtrl_SetRange(self, *_args, **_kwargs) |
c368d904 RD |
1182 | return val |
1183 | def SetValue(self, *_args, **_kwargs): | |
1fded56b RD |
1184 | val = controlsc.wxSpinCtrl_SetValue(self, *_args, **_kwargs) |
1185 | return val | |
1186 | def SetSelection(self, *_args, **_kwargs): | |
1187 | val = controlsc.wxSpinCtrl_SetSelection(self, *_args, **_kwargs) | |
c368d904 | 1188 | return val |
f6bcfd97 | 1189 | def __repr__(self): |
1fded56b | 1190 | return "<%s.%s instance; proxy of C++ wxSpinCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
f6bcfd97 BP |
1191 | class wxSpinCtrl(wxSpinCtrlPtr): |
1192 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 1193 | self.this = controlsc.new_wxSpinCtrl(*_args,**_kwargs) |
f6bcfd97 | 1194 | self.thisown = 1 |
0220cbc1 | 1195 | self._setOORInfo(self) |
70551f47 RD |
1196 | |
1197 | ||
1198 | ||
aa2a5b86 | 1199 | def wxPreSpinCtrl(*_args,**_kwargs): |
1fded56b | 1200 | val = wxSpinCtrlPtr(controlsc.new_wxPreSpinCtrl(*_args,**_kwargs)) |
aa2a5b86 | 1201 | val.thisown = 1 |
17c0e08c | 1202 | val._setOORInfo(val) |
aa2a5b86 RD |
1203 | return val |
1204 | ||
70551f47 | 1205 | |
7a446686 RD |
1206 | class wxToggleButtonPtr(wxControlPtr): |
1207 | def __init__(self,this): | |
1208 | self.this = this | |
1209 | self.thisown = 0 | |
aa2a5b86 | 1210 | def Create(self, *_args, **_kwargs): |
1fded56b | 1211 | val = controlsc.wxToggleButton_Create(self, *_args, **_kwargs) |
aa2a5b86 | 1212 | return val |
7a446686 | 1213 | def SetValue(self, *_args, **_kwargs): |
1fded56b | 1214 | val = controlsc.wxToggleButton_SetValue(self, *_args, **_kwargs) |
7a446686 RD |
1215 | return val |
1216 | def GetValue(self, *_args, **_kwargs): | |
1fded56b | 1217 | val = controlsc.wxToggleButton_GetValue(self, *_args, **_kwargs) |
7a446686 RD |
1218 | return val |
1219 | def SetLabel(self, *_args, **_kwargs): | |
1fded56b | 1220 | val = controlsc.wxToggleButton_SetLabel(self, *_args, **_kwargs) |
7a446686 RD |
1221 | return val |
1222 | def __repr__(self): | |
1fded56b | 1223 | return "<%s.%s instance; proxy of C++ wxToggleButton instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) |
7a446686 RD |
1224 | class wxToggleButton(wxToggleButtonPtr): |
1225 | def __init__(self,*_args,**_kwargs): | |
1fded56b | 1226 | self.this = controlsc.new_wxToggleButton(*_args,**_kwargs) |
7a446686 | 1227 | self.thisown = 1 |
0220cbc1 | 1228 | self._setOORInfo(self) |
7a446686 RD |
1229 | |
1230 | ||
1231 | ||
aa2a5b86 | 1232 | def wxPreToggleButton(*_args,**_kwargs): |
1fded56b | 1233 | val = wxToggleButtonPtr(controlsc.new_wxPreToggleButton(*_args,**_kwargs)) |
aa2a5b86 | 1234 | val.thisown = 1 |
17c0e08c | 1235 | val._setOORInfo(val) |
aa2a5b86 RD |
1236 | return val |
1237 | ||
7a446686 | 1238 | |
70551f47 RD |
1239 | |
1240 | ||
1241 | #-------------- FUNCTION WRAPPERS ------------------ | |
1242 | ||
56f5d962 | 1243 | def wxButton_GetDefaultSize(*_args, **_kwargs): |
1fded56b | 1244 | val = controlsc.wxButton_GetDefaultSize(*_args,**_kwargs) |
56f5d962 RD |
1245 | if val: val = wxSizePtr(val); val.thisown = 1 |
1246 | return val | |
1247 | ||
7a9b33db | 1248 | def wxTextAttr_Combine(*_args, **_kwargs): |
1fded56b | 1249 | val = controlsc.wxTextAttr_Combine(*_args,**_kwargs) |
7a9b33db RD |
1250 | if val: val = wxTextAttrPtr(val); val.thisown = 1 |
1251 | return val | |
1252 | ||
70551f47 RD |
1253 | |
1254 | ||
1255 | #-------------- VARIABLE WRAPPERS ------------------ | |
1256 | ||
37f6a977 RD |
1257 | cvar = controlsc.cvar |
1258 | wxDefaultValidator = wxValidatorPtr(controlsc.cvar.wxDefaultValidator) | |
3ef86e32 RD |
1259 | wxTE_NO_VSCROLL = controlsc.wxTE_NO_VSCROLL |
1260 | wxTE_AUTO_SCROLL = controlsc.wxTE_AUTO_SCROLL | |
1261 | wxTE_READONLY = controlsc.wxTE_READONLY | |
1262 | wxTE_MULTILINE = controlsc.wxTE_MULTILINE | |
1263 | wxTE_PROCESS_TAB = controlsc.wxTE_PROCESS_TAB | |
1264 | wxTE_LEFT = controlsc.wxTE_LEFT | |
1265 | wxTE_CENTER = controlsc.wxTE_CENTER | |
1266 | wxTE_RIGHT = controlsc.wxTE_RIGHT | |
1267 | wxTE_CENTRE = controlsc.wxTE_CENTRE | |
1268 | wxTE_RICH = controlsc.wxTE_RICH | |
1269 | wxTE_PROCESS_ENTER = controlsc.wxTE_PROCESS_ENTER | |
1270 | wxTE_PASSWORD = controlsc.wxTE_PASSWORD | |
1271 | wxTE_AUTO_URL = controlsc.wxTE_AUTO_URL | |
1272 | wxTE_NOHIDESEL = controlsc.wxTE_NOHIDESEL | |
1273 | wxTE_DONTWRAP = controlsc.wxTE_DONTWRAP | |
1274 | wxTE_LINEWRAP = controlsc.wxTE_LINEWRAP | |
1275 | wxTE_WORDWRAP = controlsc.wxTE_WORDWRAP | |
1276 | wxTE_RICH2 = controlsc.wxTE_RICH2 | |
1277 | wxTEXT_ATTR_TEXT_COLOUR = controlsc.wxTEXT_ATTR_TEXT_COLOUR | |
1278 | wxTEXT_ATTR_BACKGROUND_COLOUR = controlsc.wxTEXT_ATTR_BACKGROUND_COLOUR | |
1279 | wxTEXT_ATTR_FONT_FACE = controlsc.wxTEXT_ATTR_FONT_FACE | |
1280 | wxTEXT_ATTR_FONT_SIZE = controlsc.wxTEXT_ATTR_FONT_SIZE | |
1281 | wxTEXT_ATTR_FONT_WEIGHT = controlsc.wxTEXT_ATTR_FONT_WEIGHT | |
1282 | wxTEXT_ATTR_FONT_ITALIC = controlsc.wxTEXT_ATTR_FONT_ITALIC | |
1283 | wxTEXT_ATTR_FONT_UNDERLINE = controlsc.wxTEXT_ATTR_FONT_UNDERLINE | |
1284 | wxTEXT_ATTR_FONT = controlsc.wxTEXT_ATTR_FONT | |
1285 | wxTEXT_ATTR_ALIGNMENT = controlsc.wxTEXT_ATTR_ALIGNMENT | |
1286 | wxTEXT_ATTR_LEFT_INDENT = controlsc.wxTEXT_ATTR_LEFT_INDENT | |
1287 | wxTEXT_ATTR_RIGHT_INDENT = controlsc.wxTEXT_ATTR_RIGHT_INDENT | |
1288 | wxTEXT_ATTR_TABS = controlsc.wxTEXT_ATTR_TABS | |
1289 | wxTEXT_ALIGNMENT_DEFAULT = controlsc.wxTEXT_ALIGNMENT_DEFAULT | |
1290 | wxTEXT_ALIGNMENT_LEFT = controlsc.wxTEXT_ALIGNMENT_LEFT | |
1291 | wxTEXT_ALIGNMENT_CENTRE = controlsc.wxTEXT_ALIGNMENT_CENTRE | |
1292 | wxTEXT_ALIGNMENT_CENTER = controlsc.wxTEXT_ALIGNMENT_CENTER | |
1293 | wxTEXT_ALIGNMENT_RIGHT = controlsc.wxTEXT_ALIGNMENT_RIGHT | |
1294 | wxTEXT_ALIGNMENT_JUSTIFIED = controlsc.wxTEXT_ALIGNMENT_JUSTIFIED | |
7a446686 | 1295 | wxEVT_COMMAND_TOGGLEBUTTON_CLICKED = controlsc.wxEVT_COMMAND_TOGGLEBUTTON_CLICKED |