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