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