]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | # This file was created automatically by SWIG. |
d14a1e28 RD |
2 | # Don't modify this file, modify the SWIG interface instead. |
3 | ||
4 | import _grid | |
5 | ||
54f9ee45 RD |
6 | import _windows |
7 | import _core | |
8 | wx = _core | |
66c033b4 | 9 | __docfilter__ = wx.__DocFilter(globals()) |
d14a1e28 RD |
10 | GRID_VALUE_STRING = _grid.GRID_VALUE_STRING |
11 | GRID_VALUE_BOOL = _grid.GRID_VALUE_BOOL | |
12 | GRID_VALUE_NUMBER = _grid.GRID_VALUE_NUMBER | |
13 | GRID_VALUE_FLOAT = _grid.GRID_VALUE_FLOAT | |
14 | GRID_VALUE_CHOICE = _grid.GRID_VALUE_CHOICE | |
15 | GRID_VALUE_TEXT = _grid.GRID_VALUE_TEXT | |
16 | GRID_VALUE_LONG = _grid.GRID_VALUE_LONG | |
17 | GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT | |
18 | GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME | |
19 | class GridCellRenderer(object): | |
d14a1e28 | 20 | def __init__(self): raise RuntimeError, "No constructor defined" |
f6bcfd97 | 21 | def __repr__(self): |
d14a1e28 | 22 | return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
e811c8ce | 23 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 24 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
25 | return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) |
26 | ||
27 | def SetParameters(*args, **kwargs): | |
a95a7133 | 28 | """SetParameters(self, String params)""" |
e811c8ce RD |
29 | return _grid.GridCellRenderer_SetParameters(*args, **kwargs) |
30 | ||
31 | def IncRef(*args, **kwargs): | |
a95a7133 | 32 | """IncRef(self)""" |
e811c8ce RD |
33 | return _grid.GridCellRenderer_IncRef(*args, **kwargs) |
34 | ||
35 | def DecRef(*args, **kwargs): | |
a95a7133 | 36 | """DecRef(self)""" |
e811c8ce RD |
37 | return _grid.GridCellRenderer_DecRef(*args, **kwargs) |
38 | ||
39 | def Draw(*args, **kwargs): | |
0df68c9f | 40 | """ |
a95a7133 | 41 | Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, |
0df68c9f RD |
42 | int col, bool isSelected) |
43 | """ | |
e811c8ce RD |
44 | return _grid.GridCellRenderer_Draw(*args, **kwargs) |
45 | ||
46 | def GetBestSize(*args, **kwargs): | |
a95a7133 | 47 | """GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size""" |
e811c8ce RD |
48 | return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) |
49 | ||
50 | def Clone(*args, **kwargs): | |
a95a7133 | 51 | """Clone(self) -> GridCellRenderer""" |
e811c8ce RD |
52 | return _grid.GridCellRenderer_Clone(*args, **kwargs) |
53 | ||
d14a1e28 RD |
54 | |
55 | class GridCellRendererPtr(GridCellRenderer): | |
56 | def __init__(self, this): | |
57 | self.this = this | |
58 | if not hasattr(self,"thisown"): self.thisown = 0 | |
59 | self.__class__ = GridCellRenderer | |
60 | _grid.GridCellRenderer_swigregister(GridCellRendererPtr) | |
61 | cvar = _grid.cvar | |
b2dc1044 | 62 | DateTimeFormatStr = cvar.DateTimeFormatStr |
d14a1e28 RD |
63 | GridNoCellCoords = cvar.GridNoCellCoords |
64 | GridNoCellRect = cvar.GridNoCellRect | |
65 | ||
66 | class PyGridCellRenderer(GridCellRenderer): | |
e811c8ce RD |
67 | def __repr__(self): |
68 | return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 69 | def __init__(self, *args, **kwargs): |
a95a7133 | 70 | """__init__(self) -> PyGridCellRenderer""" |
d14a1e28 RD |
71 | newobj = _grid.new_PyGridCellRenderer(*args, **kwargs) |
72 | self.this = newobj.this | |
f6bcfd97 | 73 | self.thisown = 1 |
d14a1e28 RD |
74 | del newobj.thisown |
75 | self._setCallbackInfo(self, PyGridCellRenderer);self._setOORInfo(self) | |
e811c8ce RD |
76 | |
77 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 78 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
79 | return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) |
80 | ||
81 | def base_SetParameters(*args, **kwargs): | |
a95a7133 | 82 | """base_SetParameters(self, String params)""" |
e811c8ce RD |
83 | return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) |
84 | ||
f6bcfd97 | 85 | |
d14a1e28 RD |
86 | class PyGridCellRendererPtr(PyGridCellRenderer): |
87 | def __init__(self, this): | |
f6bcfd97 | 88 | self.this = this |
d14a1e28 RD |
89 | if not hasattr(self,"thisown"): self.thisown = 0 |
90 | self.__class__ = PyGridCellRenderer | |
91 | _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) | |
92 | ||
93 | class GridCellStringRenderer(GridCellRenderer): | |
e811c8ce RD |
94 | def __repr__(self): |
95 | return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 96 | def __init__(self, *args, **kwargs): |
a95a7133 | 97 | """__init__(self) -> GridCellStringRenderer""" |
d14a1e28 RD |
98 | newobj = _grid.new_GridCellStringRenderer(*args, **kwargs) |
99 | self.this = newobj.this | |
f6bcfd97 | 100 | self.thisown = 1 |
d14a1e28 | 101 | del newobj.thisown |
b98a5dfc | 102 | self._setOORInfo(self) |
e811c8ce | 103 | |
f6bcfd97 | 104 | |
d14a1e28 RD |
105 | class GridCellStringRendererPtr(GridCellStringRenderer): |
106 | def __init__(self, this): | |
f6bcfd97 | 107 | self.this = this |
d14a1e28 RD |
108 | if not hasattr(self,"thisown"): self.thisown = 0 |
109 | self.__class__ = GridCellStringRenderer | |
110 | _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) | |
111 | ||
112 | class GridCellNumberRenderer(GridCellStringRenderer): | |
e811c8ce RD |
113 | def __repr__(self): |
114 | return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 115 | def __init__(self, *args, **kwargs): |
a95a7133 | 116 | """__init__(self) -> GridCellNumberRenderer""" |
d14a1e28 RD |
117 | newobj = _grid.new_GridCellNumberRenderer(*args, **kwargs) |
118 | self.this = newobj.this | |
f6bcfd97 | 119 | self.thisown = 1 |
d14a1e28 | 120 | del newobj.thisown |
b98a5dfc | 121 | self._setOORInfo(self) |
e811c8ce | 122 | |
f6bcfd97 | 123 | |
d14a1e28 RD |
124 | class GridCellNumberRendererPtr(GridCellNumberRenderer): |
125 | def __init__(self, this): | |
f6bcfd97 | 126 | self.this = this |
d14a1e28 RD |
127 | if not hasattr(self,"thisown"): self.thisown = 0 |
128 | self.__class__ = GridCellNumberRenderer | |
129 | _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) | |
130 | ||
131 | class GridCellFloatRenderer(GridCellStringRenderer): | |
e811c8ce RD |
132 | def __repr__(self): |
133 | return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 134 | def __init__(self, *args, **kwargs): |
a95a7133 | 135 | """__init__(self, int width=-1, int precision=-1) -> GridCellFloatRenderer""" |
d14a1e28 RD |
136 | newobj = _grid.new_GridCellFloatRenderer(*args, **kwargs) |
137 | self.this = newobj.this | |
f6bcfd97 | 138 | self.thisown = 1 |
d14a1e28 | 139 | del newobj.thisown |
b98a5dfc | 140 | self._setOORInfo(self) |
e811c8ce RD |
141 | |
142 | def GetWidth(*args, **kwargs): | |
a95a7133 | 143 | """GetWidth(self) -> int""" |
e811c8ce RD |
144 | return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) |
145 | ||
146 | def SetWidth(*args, **kwargs): | |
a95a7133 | 147 | """SetWidth(self, int width)""" |
e811c8ce RD |
148 | return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) |
149 | ||
150 | def GetPrecision(*args, **kwargs): | |
a95a7133 | 151 | """GetPrecision(self) -> int""" |
e811c8ce RD |
152 | return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) |
153 | ||
154 | def SetPrecision(*args, **kwargs): | |
a95a7133 | 155 | """SetPrecision(self, int precision)""" |
e811c8ce RD |
156 | return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) |
157 | ||
f6bcfd97 | 158 | |
d14a1e28 RD |
159 | class GridCellFloatRendererPtr(GridCellFloatRenderer): |
160 | def __init__(self, this): | |
059a841c | 161 | self.this = this |
d14a1e28 RD |
162 | if not hasattr(self,"thisown"): self.thisown = 0 |
163 | self.__class__ = GridCellFloatRenderer | |
164 | _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) | |
165 | ||
166 | class GridCellBoolRenderer(GridCellRenderer): | |
e811c8ce RD |
167 | def __repr__(self): |
168 | return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 169 | def __init__(self, *args, **kwargs): |
a95a7133 | 170 | """__init__(self) -> GridCellBoolRenderer""" |
d14a1e28 RD |
171 | newobj = _grid.new_GridCellBoolRenderer(*args, **kwargs) |
172 | self.this = newobj.this | |
059a841c | 173 | self.thisown = 1 |
d14a1e28 | 174 | del newobj.thisown |
b98a5dfc | 175 | self._setOORInfo(self) |
e811c8ce | 176 | |
059a841c | 177 | |
d14a1e28 RD |
178 | class GridCellBoolRendererPtr(GridCellBoolRenderer): |
179 | def __init__(self, this): | |
059a841c | 180 | self.this = this |
d14a1e28 RD |
181 | if not hasattr(self,"thisown"): self.thisown = 0 |
182 | self.__class__ = GridCellBoolRenderer | |
183 | _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) | |
184 | ||
185 | class GridCellDateTimeRenderer(GridCellStringRenderer): | |
e811c8ce RD |
186 | def __repr__(self): |
187 | return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 188 | def __init__(self, *args, **kwargs): |
a95a7133 | 189 | """__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer""" |
d14a1e28 RD |
190 | newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) |
191 | self.this = newobj.this | |
059a841c | 192 | self.thisown = 1 |
d14a1e28 | 193 | del newobj.thisown |
b98a5dfc | 194 | self._setOORInfo(self) |
e811c8ce | 195 | |
059a841c | 196 | |
d14a1e28 RD |
197 | class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): |
198 | def __init__(self, this): | |
059a841c | 199 | self.this = this |
d14a1e28 RD |
200 | if not hasattr(self,"thisown"): self.thisown = 0 |
201 | self.__class__ = GridCellDateTimeRenderer | |
202 | _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) | |
203 | ||
204 | class GridCellEnumRenderer(GridCellStringRenderer): | |
e811c8ce RD |
205 | def __repr__(self): |
206 | return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 207 | def __init__(self, *args, **kwargs): |
a95a7133 | 208 | """__init__(self, String choices=EmptyString) -> GridCellEnumRenderer""" |
d14a1e28 RD |
209 | newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs) |
210 | self.this = newobj.this | |
059a841c | 211 | self.thisown = 1 |
d14a1e28 | 212 | del newobj.thisown |
b98a5dfc | 213 | self._setOORInfo(self) |
e811c8ce | 214 | |
f6bcfd97 | 215 | |
d14a1e28 RD |
216 | class GridCellEnumRendererPtr(GridCellEnumRenderer): |
217 | def __init__(self, this): | |
f6bcfd97 | 218 | self.this = this |
d14a1e28 RD |
219 | if not hasattr(self,"thisown"): self.thisown = 0 |
220 | self.__class__ = GridCellEnumRenderer | |
221 | _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) | |
222 | ||
223 | class GridCellAutoWrapStringRenderer(GridCellStringRenderer): | |
e811c8ce RD |
224 | def __repr__(self): |
225 | return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 226 | def __init__(self, *args, **kwargs): |
a95a7133 | 227 | """__init__(self) -> GridCellAutoWrapStringRenderer""" |
d14a1e28 RD |
228 | newobj = _grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs) |
229 | self.this = newobj.this | |
f6bcfd97 | 230 | self.thisown = 1 |
d14a1e28 | 231 | del newobj.thisown |
b98a5dfc | 232 | self._setOORInfo(self) |
e811c8ce | 233 | |
d14a1e28 RD |
234 | |
235 | class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): | |
236 | def __init__(self, this): | |
237 | self.this = this | |
238 | if not hasattr(self,"thisown"): self.thisown = 0 | |
239 | self.__class__ = GridCellAutoWrapStringRenderer | |
240 | _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) | |
241 | ||
242 | class GridCellEditor(object): | |
d14a1e28 RD |
243 | def __init__(self): raise RuntimeError, "No constructor defined" |
244 | def __repr__(self): | |
245 | return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e811c8ce | 246 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 247 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
248 | return _grid.GridCellEditor__setOORInfo(*args, **kwargs) |
249 | ||
250 | def IsCreated(*args, **kwargs): | |
a95a7133 | 251 | """IsCreated(self) -> bool""" |
e811c8ce RD |
252 | return _grid.GridCellEditor_IsCreated(*args, **kwargs) |
253 | ||
254 | def GetControl(*args, **kwargs): | |
a95a7133 | 255 | """GetControl(self) -> Control""" |
e811c8ce RD |
256 | return _grid.GridCellEditor_GetControl(*args, **kwargs) |
257 | ||
258 | def SetControl(*args, **kwargs): | |
a95a7133 | 259 | """SetControl(self, Control control)""" |
e811c8ce RD |
260 | return _grid.GridCellEditor_SetControl(*args, **kwargs) |
261 | ||
262 | def GetCellAttr(*args, **kwargs): | |
a95a7133 | 263 | """GetCellAttr(self) -> GridCellAttr""" |
e811c8ce RD |
264 | return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) |
265 | ||
266 | def SetCellAttr(*args, **kwargs): | |
a95a7133 | 267 | """SetCellAttr(self, GridCellAttr attr)""" |
e811c8ce RD |
268 | return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) |
269 | ||
270 | def SetParameters(*args, **kwargs): | |
a95a7133 | 271 | """SetParameters(self, String params)""" |
e811c8ce RD |
272 | return _grid.GridCellEditor_SetParameters(*args, **kwargs) |
273 | ||
274 | def IncRef(*args, **kwargs): | |
a95a7133 | 275 | """IncRef(self)""" |
e811c8ce RD |
276 | return _grid.GridCellEditor_IncRef(*args, **kwargs) |
277 | ||
278 | def DecRef(*args, **kwargs): | |
a95a7133 | 279 | """DecRef(self)""" |
e811c8ce RD |
280 | return _grid.GridCellEditor_DecRef(*args, **kwargs) |
281 | ||
282 | def Create(*args, **kwargs): | |
a95a7133 | 283 | """Create(self, Window parent, int id, EvtHandler evtHandler)""" |
e811c8ce RD |
284 | return _grid.GridCellEditor_Create(*args, **kwargs) |
285 | ||
286 | def BeginEdit(*args, **kwargs): | |
a95a7133 | 287 | """BeginEdit(self, int row, int col, Grid grid)""" |
e811c8ce RD |
288 | return _grid.GridCellEditor_BeginEdit(*args, **kwargs) |
289 | ||
290 | def EndEdit(*args, **kwargs): | |
a95a7133 | 291 | """EndEdit(self, int row, int col, Grid grid) -> bool""" |
e811c8ce RD |
292 | return _grid.GridCellEditor_EndEdit(*args, **kwargs) |
293 | ||
294 | def Reset(*args, **kwargs): | |
a95a7133 | 295 | """Reset(self)""" |
e811c8ce RD |
296 | return _grid.GridCellEditor_Reset(*args, **kwargs) |
297 | ||
298 | def Clone(*args, **kwargs): | |
a95a7133 | 299 | """Clone(self) -> GridCellEditor""" |
e811c8ce RD |
300 | return _grid.GridCellEditor_Clone(*args, **kwargs) |
301 | ||
302 | def SetSize(*args, **kwargs): | |
a95a7133 | 303 | """SetSize(self, Rect rect)""" |
e811c8ce RD |
304 | return _grid.GridCellEditor_SetSize(*args, **kwargs) |
305 | ||
306 | def Show(*args, **kwargs): | |
a95a7133 | 307 | """Show(self, bool show, GridCellAttr attr=None)""" |
e811c8ce RD |
308 | return _grid.GridCellEditor_Show(*args, **kwargs) |
309 | ||
310 | def PaintBackground(*args, **kwargs): | |
a95a7133 | 311 | """PaintBackground(self, Rect rectCell, GridCellAttr attr)""" |
e811c8ce RD |
312 | return _grid.GridCellEditor_PaintBackground(*args, **kwargs) |
313 | ||
314 | def IsAcceptedKey(*args, **kwargs): | |
a95a7133 | 315 | """IsAcceptedKey(self, KeyEvent event) -> bool""" |
e811c8ce RD |
316 | return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) |
317 | ||
318 | def StartingKey(*args, **kwargs): | |
a95a7133 | 319 | """StartingKey(self, KeyEvent event)""" |
e811c8ce RD |
320 | return _grid.GridCellEditor_StartingKey(*args, **kwargs) |
321 | ||
322 | def StartingClick(*args, **kwargs): | |
a95a7133 | 323 | """StartingClick(self)""" |
e811c8ce RD |
324 | return _grid.GridCellEditor_StartingClick(*args, **kwargs) |
325 | ||
326 | def HandleReturn(*args, **kwargs): | |
a95a7133 | 327 | """HandleReturn(self, KeyEvent event)""" |
e811c8ce RD |
328 | return _grid.GridCellEditor_HandleReturn(*args, **kwargs) |
329 | ||
330 | def Destroy(*args, **kwargs): | |
a95a7133 | 331 | """Destroy(self)""" |
e811c8ce RD |
332 | return _grid.GridCellEditor_Destroy(*args, **kwargs) |
333 | ||
f6bcfd97 | 334 | |
d14a1e28 RD |
335 | class GridCellEditorPtr(GridCellEditor): |
336 | def __init__(self, this): | |
337 | self.this = this | |
338 | if not hasattr(self,"thisown"): self.thisown = 0 | |
339 | self.__class__ = GridCellEditor | |
340 | _grid.GridCellEditor_swigregister(GridCellEditorPtr) | |
f6bcfd97 | 341 | |
d14a1e28 | 342 | class PyGridCellEditor(GridCellEditor): |
e811c8ce RD |
343 | def __repr__(self): |
344 | return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 345 | def __init__(self, *args, **kwargs): |
a95a7133 | 346 | """__init__(self) -> PyGridCellEditor""" |
d14a1e28 RD |
347 | newobj = _grid.new_PyGridCellEditor(*args, **kwargs) |
348 | self.this = newobj.this | |
349 | self.thisown = 1 | |
350 | del newobj.thisown | |
351 | self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self) | |
e811c8ce RD |
352 | |
353 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 354 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
355 | return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) |
356 | ||
357 | def base_SetSize(*args, **kwargs): | |
a95a7133 | 358 | """base_SetSize(self, Rect rect)""" |
e811c8ce RD |
359 | return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) |
360 | ||
361 | def base_Show(*args, **kwargs): | |
a95a7133 | 362 | """base_Show(self, bool show, GridCellAttr attr=None)""" |
e811c8ce RD |
363 | return _grid.PyGridCellEditor_base_Show(*args, **kwargs) |
364 | ||
365 | def base_PaintBackground(*args, **kwargs): | |
a95a7133 | 366 | """base_PaintBackground(self, Rect rectCell, GridCellAttr attr)""" |
e811c8ce RD |
367 | return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) |
368 | ||
369 | def base_IsAcceptedKey(*args, **kwargs): | |
a95a7133 | 370 | """base_IsAcceptedKey(self, KeyEvent event) -> bool""" |
e811c8ce RD |
371 | return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) |
372 | ||
373 | def base_StartingKey(*args, **kwargs): | |
a95a7133 | 374 | """base_StartingKey(self, KeyEvent event)""" |
e811c8ce RD |
375 | return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) |
376 | ||
377 | def base_StartingClick(*args, **kwargs): | |
a95a7133 | 378 | """base_StartingClick(self)""" |
e811c8ce RD |
379 | return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) |
380 | ||
381 | def base_HandleReturn(*args, **kwargs): | |
a95a7133 | 382 | """base_HandleReturn(self, KeyEvent event)""" |
e811c8ce RD |
383 | return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) |
384 | ||
385 | def base_Destroy(*args, **kwargs): | |
a95a7133 | 386 | """base_Destroy(self)""" |
e811c8ce RD |
387 | return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) |
388 | ||
389 | def base_SetParameters(*args, **kwargs): | |
a95a7133 | 390 | """base_SetParameters(self, String params)""" |
e811c8ce RD |
391 | return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) |
392 | ||
f6bcfd97 | 393 | |
d14a1e28 RD |
394 | class PyGridCellEditorPtr(PyGridCellEditor): |
395 | def __init__(self, this): | |
f6bcfd97 | 396 | self.this = this |
d14a1e28 RD |
397 | if not hasattr(self,"thisown"): self.thisown = 0 |
398 | self.__class__ = PyGridCellEditor | |
399 | _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) | |
400 | ||
401 | class GridCellTextEditor(GridCellEditor): | |
e811c8ce RD |
402 | def __repr__(self): |
403 | return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 404 | def __init__(self, *args, **kwargs): |
a95a7133 | 405 | """__init__(self) -> GridCellTextEditor""" |
d14a1e28 RD |
406 | newobj = _grid.new_GridCellTextEditor(*args, **kwargs) |
407 | self.this = newobj.this | |
f6bcfd97 | 408 | self.thisown = 1 |
d14a1e28 | 409 | del newobj.thisown |
b98a5dfc | 410 | self._setOORInfo(self) |
e811c8ce RD |
411 | |
412 | def GetValue(*args, **kwargs): | |
a95a7133 | 413 | """GetValue(self) -> String""" |
e811c8ce RD |
414 | return _grid.GridCellTextEditor_GetValue(*args, **kwargs) |
415 | ||
f6bcfd97 | 416 | |
d14a1e28 RD |
417 | class GridCellTextEditorPtr(GridCellTextEditor): |
418 | def __init__(self, this): | |
f6bcfd97 | 419 | self.this = this |
d14a1e28 RD |
420 | if not hasattr(self,"thisown"): self.thisown = 0 |
421 | self.__class__ = GridCellTextEditor | |
422 | _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) | |
423 | ||
424 | class GridCellNumberEditor(GridCellTextEditor): | |
e811c8ce RD |
425 | def __repr__(self): |
426 | return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 427 | def __init__(self, *args, **kwargs): |
a95a7133 | 428 | """__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor""" |
d14a1e28 RD |
429 | newobj = _grid.new_GridCellNumberEditor(*args, **kwargs) |
430 | self.this = newobj.this | |
f6bcfd97 | 431 | self.thisown = 1 |
d14a1e28 | 432 | del newobj.thisown |
b98a5dfc | 433 | self._setOORInfo(self) |
e811c8ce RD |
434 | |
435 | def GetValue(*args, **kwargs): | |
a95a7133 | 436 | """GetValue(self) -> String""" |
e811c8ce RD |
437 | return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) |
438 | ||
f6bcfd97 | 439 | |
d14a1e28 RD |
440 | class GridCellNumberEditorPtr(GridCellNumberEditor): |
441 | def __init__(self, this): | |
f6bcfd97 | 442 | self.this = this |
d14a1e28 RD |
443 | if not hasattr(self,"thisown"): self.thisown = 0 |
444 | self.__class__ = GridCellNumberEditor | |
445 | _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) | |
446 | ||
447 | class GridCellFloatEditor(GridCellTextEditor): | |
e811c8ce RD |
448 | def __repr__(self): |
449 | return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 450 | def __init__(self, *args, **kwargs): |
a95a7133 | 451 | """__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor""" |
d14a1e28 RD |
452 | newobj = _grid.new_GridCellFloatEditor(*args, **kwargs) |
453 | self.this = newobj.this | |
f6bcfd97 | 454 | self.thisown = 1 |
d14a1e28 | 455 | del newobj.thisown |
b98a5dfc | 456 | self._setOORInfo(self) |
e811c8ce RD |
457 | |
458 | def GetValue(*args, **kwargs): | |
a95a7133 | 459 | """GetValue(self) -> String""" |
e811c8ce RD |
460 | return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) |
461 | ||
f6bcfd97 | 462 | |
d14a1e28 RD |
463 | class GridCellFloatEditorPtr(GridCellFloatEditor): |
464 | def __init__(self, this): | |
f6bcfd97 | 465 | self.this = this |
d14a1e28 RD |
466 | if not hasattr(self,"thisown"): self.thisown = 0 |
467 | self.__class__ = GridCellFloatEditor | |
468 | _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) | |
469 | ||
470 | class GridCellBoolEditor(GridCellEditor): | |
e811c8ce RD |
471 | def __repr__(self): |
472 | return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 473 | def __init__(self, *args, **kwargs): |
a95a7133 | 474 | """__init__(self) -> GridCellBoolEditor""" |
d14a1e28 RD |
475 | newobj = _grid.new_GridCellBoolEditor(*args, **kwargs) |
476 | self.this = newobj.this | |
f6bcfd97 | 477 | self.thisown = 1 |
d14a1e28 | 478 | del newobj.thisown |
b98a5dfc | 479 | self._setOORInfo(self) |
e811c8ce RD |
480 | |
481 | def GetValue(*args, **kwargs): | |
a95a7133 | 482 | """GetValue(self) -> String""" |
e811c8ce RD |
483 | return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) |
484 | ||
f6bcfd97 | 485 | |
d14a1e28 RD |
486 | class GridCellBoolEditorPtr(GridCellBoolEditor): |
487 | def __init__(self, this): | |
f6bcfd97 | 488 | self.this = this |
d14a1e28 RD |
489 | if not hasattr(self,"thisown"): self.thisown = 0 |
490 | self.__class__ = GridCellBoolEditor | |
491 | _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) | |
492 | ||
493 | class GridCellChoiceEditor(GridCellEditor): | |
e811c8ce RD |
494 | def __repr__(self): |
495 | return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 496 | def __init__(self, *args, **kwargs): |
a95a7133 | 497 | """__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor""" |
d14a1e28 RD |
498 | newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs) |
499 | self.this = newobj.this | |
f6bcfd97 | 500 | self.thisown = 1 |
d14a1e28 | 501 | del newobj.thisown |
b98a5dfc | 502 | self._setOORInfo(self) |
e811c8ce RD |
503 | |
504 | def GetValue(*args, **kwargs): | |
a95a7133 | 505 | """GetValue(self) -> String""" |
e811c8ce RD |
506 | return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) |
507 | ||
f6bcfd97 | 508 | |
d14a1e28 RD |
509 | class GridCellChoiceEditorPtr(GridCellChoiceEditor): |
510 | def __init__(self, this): | |
059a841c | 511 | self.this = this |
d14a1e28 RD |
512 | if not hasattr(self,"thisown"): self.thisown = 0 |
513 | self.__class__ = GridCellChoiceEditor | |
514 | _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) | |
515 | ||
516 | class GridCellEnumEditor(GridCellChoiceEditor): | |
e811c8ce RD |
517 | def __repr__(self): |
518 | return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 519 | def __init__(self, *args, **kwargs): |
a95a7133 | 520 | """__init__(self, String choices=EmptyString) -> GridCellEnumEditor""" |
d14a1e28 RD |
521 | newobj = _grid.new_GridCellEnumEditor(*args, **kwargs) |
522 | self.this = newobj.this | |
059a841c | 523 | self.thisown = 1 |
d14a1e28 | 524 | del newobj.thisown |
b98a5dfc | 525 | self._setOORInfo(self) |
e811c8ce RD |
526 | |
527 | def GetValue(*args, **kwargs): | |
a95a7133 | 528 | """GetValue(self) -> String""" |
e811c8ce RD |
529 | return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) |
530 | ||
059a841c | 531 | |
d14a1e28 RD |
532 | class GridCellEnumEditorPtr(GridCellEnumEditor): |
533 | def __init__(self, this): | |
059a841c | 534 | self.this = this |
d14a1e28 RD |
535 | if not hasattr(self,"thisown"): self.thisown = 0 |
536 | self.__class__ = GridCellEnumEditor | |
537 | _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) | |
538 | ||
539 | class GridCellAutoWrapStringEditor(GridCellTextEditor): | |
e811c8ce RD |
540 | def __repr__(self): |
541 | return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 542 | def __init__(self, *args, **kwargs): |
a95a7133 | 543 | """__init__(self) -> GridCellAutoWrapStringEditor""" |
d14a1e28 RD |
544 | newobj = _grid.new_GridCellAutoWrapStringEditor(*args, **kwargs) |
545 | self.this = newobj.this | |
059a841c | 546 | self.thisown = 1 |
d14a1e28 | 547 | del newobj.thisown |
b98a5dfc | 548 | self._setOORInfo(self) |
e811c8ce RD |
549 | |
550 | def GetValue(*args, **kwargs): | |
a95a7133 | 551 | """GetValue(self) -> String""" |
e811c8ce RD |
552 | return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) |
553 | ||
d14a1e28 RD |
554 | |
555 | class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): | |
556 | def __init__(self, this): | |
557 | self.this = this | |
558 | if not hasattr(self,"thisown"): self.thisown = 0 | |
559 | self.__class__ = GridCellAutoWrapStringEditor | |
560 | _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) | |
561 | ||
562 | class GridCellAttr(object): | |
e811c8ce RD |
563 | def __repr__(self): |
564 | return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 RD |
565 | Any = _grid.GridCellAttr_Any |
566 | Default = _grid.GridCellAttr_Default | |
567 | Cell = _grid.GridCellAttr_Cell | |
568 | Row = _grid.GridCellAttr_Row | |
569 | Col = _grid.GridCellAttr_Col | |
570 | Merged = _grid.GridCellAttr_Merged | |
e811c8ce | 571 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 572 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
573 | return _grid.GridCellAttr__setOORInfo(*args, **kwargs) |
574 | ||
d14a1e28 | 575 | def __init__(self, *args, **kwargs): |
a95a7133 | 576 | """__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr""" |
d14a1e28 RD |
577 | newobj = _grid.new_GridCellAttr(*args, **kwargs) |
578 | self.this = newobj.this | |
f6bcfd97 | 579 | self.thisown = 1 |
d14a1e28 | 580 | del newobj.thisown |
b98a5dfc | 581 | self._setOORInfo(self) |
e811c8ce RD |
582 | |
583 | def Clone(*args, **kwargs): | |
a95a7133 | 584 | """Clone(self) -> GridCellAttr""" |
e811c8ce RD |
585 | return _grid.GridCellAttr_Clone(*args, **kwargs) |
586 | ||
587 | def MergeWith(*args, **kwargs): | |
a95a7133 | 588 | """MergeWith(self, GridCellAttr mergefrom)""" |
e811c8ce RD |
589 | return _grid.GridCellAttr_MergeWith(*args, **kwargs) |
590 | ||
591 | def IncRef(*args, **kwargs): | |
a95a7133 | 592 | """IncRef(self)""" |
e811c8ce RD |
593 | return _grid.GridCellAttr_IncRef(*args, **kwargs) |
594 | ||
595 | def DecRef(*args, **kwargs): | |
a95a7133 | 596 | """DecRef(self)""" |
e811c8ce RD |
597 | return _grid.GridCellAttr_DecRef(*args, **kwargs) |
598 | ||
599 | def SetTextColour(*args, **kwargs): | |
a95a7133 | 600 | """SetTextColour(self, Colour colText)""" |
e811c8ce RD |
601 | return _grid.GridCellAttr_SetTextColour(*args, **kwargs) |
602 | ||
603 | def SetBackgroundColour(*args, **kwargs): | |
a95a7133 | 604 | """SetBackgroundColour(self, Colour colBack)""" |
e811c8ce RD |
605 | return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) |
606 | ||
607 | def SetFont(*args, **kwargs): | |
a95a7133 | 608 | """SetFont(self, Font font)""" |
e811c8ce RD |
609 | return _grid.GridCellAttr_SetFont(*args, **kwargs) |
610 | ||
611 | def SetAlignment(*args, **kwargs): | |
a95a7133 | 612 | """SetAlignment(self, int hAlign, int vAlign)""" |
e811c8ce RD |
613 | return _grid.GridCellAttr_SetAlignment(*args, **kwargs) |
614 | ||
615 | def SetSize(*args, **kwargs): | |
a95a7133 | 616 | """SetSize(self, int num_rows, int num_cols)""" |
e811c8ce RD |
617 | return _grid.GridCellAttr_SetSize(*args, **kwargs) |
618 | ||
619 | def SetOverflow(*args, **kwargs): | |
a95a7133 | 620 | """SetOverflow(self, bool allow=True)""" |
e811c8ce RD |
621 | return _grid.GridCellAttr_SetOverflow(*args, **kwargs) |
622 | ||
623 | def SetReadOnly(*args, **kwargs): | |
a95a7133 | 624 | """SetReadOnly(self, bool isReadOnly=True)""" |
e811c8ce RD |
625 | return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) |
626 | ||
627 | def SetRenderer(*args, **kwargs): | |
a95a7133 | 628 | """SetRenderer(self, GridCellRenderer renderer)""" |
e811c8ce RD |
629 | return _grid.GridCellAttr_SetRenderer(*args, **kwargs) |
630 | ||
631 | def SetEditor(*args, **kwargs): | |
a95a7133 | 632 | """SetEditor(self, GridCellEditor editor)""" |
e811c8ce RD |
633 | return _grid.GridCellAttr_SetEditor(*args, **kwargs) |
634 | ||
635 | def SetKind(*args, **kwargs): | |
a95a7133 | 636 | """SetKind(self, int kind)""" |
e811c8ce RD |
637 | return _grid.GridCellAttr_SetKind(*args, **kwargs) |
638 | ||
639 | def HasTextColour(*args, **kwargs): | |
a95a7133 | 640 | """HasTextColour(self) -> bool""" |
e811c8ce RD |
641 | return _grid.GridCellAttr_HasTextColour(*args, **kwargs) |
642 | ||
643 | def HasBackgroundColour(*args, **kwargs): | |
a95a7133 | 644 | """HasBackgroundColour(self) -> bool""" |
e811c8ce RD |
645 | return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) |
646 | ||
647 | def HasFont(*args, **kwargs): | |
a95a7133 | 648 | """HasFont(self) -> bool""" |
e811c8ce RD |
649 | return _grid.GridCellAttr_HasFont(*args, **kwargs) |
650 | ||
651 | def HasAlignment(*args, **kwargs): | |
a95a7133 | 652 | """HasAlignment(self) -> bool""" |
e811c8ce RD |
653 | return _grid.GridCellAttr_HasAlignment(*args, **kwargs) |
654 | ||
655 | def HasRenderer(*args, **kwargs): | |
a95a7133 | 656 | """HasRenderer(self) -> bool""" |
e811c8ce RD |
657 | return _grid.GridCellAttr_HasRenderer(*args, **kwargs) |
658 | ||
659 | def HasEditor(*args, **kwargs): | |
a95a7133 | 660 | """HasEditor(self) -> bool""" |
e811c8ce RD |
661 | return _grid.GridCellAttr_HasEditor(*args, **kwargs) |
662 | ||
663 | def HasReadWriteMode(*args, **kwargs): | |
a95a7133 | 664 | """HasReadWriteMode(self) -> bool""" |
e811c8ce RD |
665 | return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) |
666 | ||
667 | def HasOverflowMode(*args, **kwargs): | |
a95a7133 | 668 | """HasOverflowMode(self) -> bool""" |
e811c8ce RD |
669 | return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) |
670 | ||
671 | def GetTextColour(*args, **kwargs): | |
a95a7133 | 672 | """GetTextColour(self) -> Colour""" |
e811c8ce RD |
673 | return _grid.GridCellAttr_GetTextColour(*args, **kwargs) |
674 | ||
675 | def GetBackgroundColour(*args, **kwargs): | |
a95a7133 | 676 | """GetBackgroundColour(self) -> Colour""" |
e811c8ce RD |
677 | return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) |
678 | ||
679 | def GetFont(*args, **kwargs): | |
a95a7133 | 680 | """GetFont(self) -> Font""" |
e811c8ce RD |
681 | return _grid.GridCellAttr_GetFont(*args, **kwargs) |
682 | ||
683 | def GetAlignment(*args, **kwargs): | |
322913ce | 684 | """GetAlignment() -> (hAlign, vAlign)""" |
e811c8ce RD |
685 | return _grid.GridCellAttr_GetAlignment(*args, **kwargs) |
686 | ||
687 | def GetSize(*args, **kwargs): | |
322913ce | 688 | """GetSize() -> (num_rows, num_cols)""" |
e811c8ce RD |
689 | return _grid.GridCellAttr_GetSize(*args, **kwargs) |
690 | ||
691 | def GetOverflow(*args, **kwargs): | |
a95a7133 | 692 | """GetOverflow(self) -> bool""" |
e811c8ce RD |
693 | return _grid.GridCellAttr_GetOverflow(*args, **kwargs) |
694 | ||
695 | def GetRenderer(*args, **kwargs): | |
a95a7133 | 696 | """GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer""" |
e811c8ce RD |
697 | return _grid.GridCellAttr_GetRenderer(*args, **kwargs) |
698 | ||
699 | def GetEditor(*args, **kwargs): | |
a95a7133 | 700 | """GetEditor(self, Grid grid, int row, int col) -> GridCellEditor""" |
e811c8ce RD |
701 | return _grid.GridCellAttr_GetEditor(*args, **kwargs) |
702 | ||
703 | def IsReadOnly(*args, **kwargs): | |
a95a7133 | 704 | """IsReadOnly(self) -> bool""" |
e811c8ce RD |
705 | return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) |
706 | ||
707 | def SetDefAttr(*args, **kwargs): | |
a95a7133 | 708 | """SetDefAttr(self, GridCellAttr defAttr)""" |
e811c8ce RD |
709 | return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) |
710 | ||
f6bcfd97 | 711 | |
d14a1e28 RD |
712 | class GridCellAttrPtr(GridCellAttr): |
713 | def __init__(self, this): | |
f6bcfd97 | 714 | self.this = this |
d14a1e28 RD |
715 | if not hasattr(self,"thisown"): self.thisown = 0 |
716 | self.__class__ = GridCellAttr | |
717 | _grid.GridCellAttr_swigregister(GridCellAttrPtr) | |
718 | ||
719 | class GridCellAttrProvider(object): | |
e811c8ce RD |
720 | def __repr__(self): |
721 | return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 722 | def __init__(self, *args, **kwargs): |
a95a7133 | 723 | """__init__(self) -> GridCellAttrProvider""" |
d14a1e28 RD |
724 | newobj = _grid.new_GridCellAttrProvider(*args, **kwargs) |
725 | self.this = newobj.this | |
f6bcfd97 | 726 | self.thisown = 1 |
d14a1e28 | 727 | del newobj.thisown |
b98a5dfc | 728 | self._setOORInfo(self) |
e811c8ce RD |
729 | |
730 | def _setOORInfo(*args, **kwargs): | |
a95a7133 | 731 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
732 | return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) |
733 | ||
734 | def GetAttr(*args, **kwargs): | |
a95a7133 | 735 | """GetAttr(self, int row, int col, int kind) -> GridCellAttr""" |
e811c8ce RD |
736 | return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) |
737 | ||
738 | def SetAttr(*args, **kwargs): | |
a95a7133 | 739 | """SetAttr(self, GridCellAttr attr, int row, int col)""" |
e811c8ce RD |
740 | return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) |
741 | ||
742 | def SetRowAttr(*args, **kwargs): | |
a95a7133 | 743 | """SetRowAttr(self, GridCellAttr attr, int row)""" |
e811c8ce RD |
744 | return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) |
745 | ||
746 | def SetColAttr(*args, **kwargs): | |
a95a7133 | 747 | """SetColAttr(self, GridCellAttr attr, int col)""" |
e811c8ce RD |
748 | return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) |
749 | ||
750 | def UpdateAttrRows(*args, **kwargs): | |
a95a7133 | 751 | """UpdateAttrRows(self, size_t pos, int numRows)""" |
e811c8ce RD |
752 | return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) |
753 | ||
754 | def UpdateAttrCols(*args, **kwargs): | |
a95a7133 | 755 | """UpdateAttrCols(self, size_t pos, int numCols)""" |
e811c8ce RD |
756 | return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) |
757 | ||
f6bcfd97 | 758 | |
d14a1e28 RD |
759 | class GridCellAttrProviderPtr(GridCellAttrProvider): |
760 | def __init__(self, this): | |
f6bcfd97 | 761 | self.this = this |
d14a1e28 RD |
762 | if not hasattr(self,"thisown"): self.thisown = 0 |
763 | self.__class__ = GridCellAttrProvider | |
764 | _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) | |
f6bcfd97 | 765 | |
d14a1e28 | 766 | class PyGridCellAttrProvider(GridCellAttrProvider): |
e811c8ce RD |
767 | def __repr__(self): |
768 | return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 769 | def __init__(self, *args, **kwargs): |
a95a7133 | 770 | """__init__(self) -> PyGridCellAttrProvider""" |
d14a1e28 RD |
771 | newobj = _grid.new_PyGridCellAttrProvider(*args, **kwargs) |
772 | self.this = newobj.this | |
f6bcfd97 | 773 | self.thisown = 1 |
d14a1e28 RD |
774 | del newobj.thisown |
775 | self._setCallbackInfo(self, PyGridCellAttrProvider) | |
e811c8ce RD |
776 | |
777 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 778 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
779 | return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) |
780 | ||
781 | def base_GetAttr(*args, **kwargs): | |
a95a7133 | 782 | """base_GetAttr(self, int row, int col, int kind) -> GridCellAttr""" |
e811c8ce RD |
783 | return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) |
784 | ||
785 | def base_SetAttr(*args, **kwargs): | |
a95a7133 | 786 | """base_SetAttr(self, GridCellAttr attr, int row, int col)""" |
e811c8ce RD |
787 | return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) |
788 | ||
789 | def base_SetRowAttr(*args, **kwargs): | |
a95a7133 | 790 | """base_SetRowAttr(self, GridCellAttr attr, int row)""" |
e811c8ce RD |
791 | return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) |
792 | ||
793 | def base_SetColAttr(*args, **kwargs): | |
a95a7133 | 794 | """base_SetColAttr(self, GridCellAttr attr, int col)""" |
e811c8ce RD |
795 | return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) |
796 | ||
d14a1e28 RD |
797 | |
798 | class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): | |
799 | def __init__(self, this): | |
800 | self.this = this | |
801 | if not hasattr(self,"thisown"): self.thisown = 0 | |
802 | self.__class__ = PyGridCellAttrProvider | |
803 | _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) | |
804 | ||
54f9ee45 | 805 | class GridTableBase(_core.Object): |
d14a1e28 RD |
806 | def __init__(self): raise RuntimeError, "No constructor defined" |
807 | def __repr__(self): | |
808 | return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e811c8ce | 809 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 810 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
811 | return _grid.GridTableBase__setOORInfo(*args, **kwargs) |
812 | ||
813 | def SetAttrProvider(*args, **kwargs): | |
a95a7133 | 814 | """SetAttrProvider(self, GridCellAttrProvider attrProvider)""" |
e811c8ce RD |
815 | return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) |
816 | ||
817 | def GetAttrProvider(*args, **kwargs): | |
a95a7133 | 818 | """GetAttrProvider(self) -> GridCellAttrProvider""" |
e811c8ce RD |
819 | return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) |
820 | ||
821 | def SetView(*args, **kwargs): | |
a95a7133 | 822 | """SetView(self, Grid grid)""" |
e811c8ce RD |
823 | return _grid.GridTableBase_SetView(*args, **kwargs) |
824 | ||
825 | def GetView(*args, **kwargs): | |
a95a7133 | 826 | """GetView(self) -> Grid""" |
e811c8ce RD |
827 | return _grid.GridTableBase_GetView(*args, **kwargs) |
828 | ||
829 | def GetNumberRows(*args, **kwargs): | |
a95a7133 | 830 | """GetNumberRows(self) -> int""" |
e811c8ce RD |
831 | return _grid.GridTableBase_GetNumberRows(*args, **kwargs) |
832 | ||
833 | def GetNumberCols(*args, **kwargs): | |
a95a7133 | 834 | """GetNumberCols(self) -> int""" |
e811c8ce RD |
835 | return _grid.GridTableBase_GetNumberCols(*args, **kwargs) |
836 | ||
837 | def IsEmptyCell(*args, **kwargs): | |
a95a7133 | 838 | """IsEmptyCell(self, int row, int col) -> bool""" |
e811c8ce RD |
839 | return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) |
840 | ||
841 | def GetValue(*args, **kwargs): | |
a95a7133 | 842 | """GetValue(self, int row, int col) -> String""" |
e811c8ce RD |
843 | return _grid.GridTableBase_GetValue(*args, **kwargs) |
844 | ||
845 | def SetValue(*args, **kwargs): | |
a95a7133 | 846 | """SetValue(self, int row, int col, String value)""" |
e811c8ce RD |
847 | return _grid.GridTableBase_SetValue(*args, **kwargs) |
848 | ||
849 | def GetTypeName(*args, **kwargs): | |
a95a7133 | 850 | """GetTypeName(self, int row, int col) -> String""" |
e811c8ce RD |
851 | return _grid.GridTableBase_GetTypeName(*args, **kwargs) |
852 | ||
853 | def CanGetValueAs(*args, **kwargs): | |
a95a7133 | 854 | """CanGetValueAs(self, int row, int col, String typeName) -> bool""" |
e811c8ce RD |
855 | return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) |
856 | ||
857 | def CanSetValueAs(*args, **kwargs): | |
a95a7133 | 858 | """CanSetValueAs(self, int row, int col, String typeName) -> bool""" |
e811c8ce RD |
859 | return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) |
860 | ||
861 | def GetValueAsLong(*args, **kwargs): | |
a95a7133 | 862 | """GetValueAsLong(self, int row, int col) -> long""" |
e811c8ce RD |
863 | return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) |
864 | ||
865 | def GetValueAsDouble(*args, **kwargs): | |
a95a7133 | 866 | """GetValueAsDouble(self, int row, int col) -> double""" |
e811c8ce RD |
867 | return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) |
868 | ||
869 | def GetValueAsBool(*args, **kwargs): | |
a95a7133 | 870 | """GetValueAsBool(self, int row, int col) -> bool""" |
e811c8ce RD |
871 | return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) |
872 | ||
873 | def SetValueAsLong(*args, **kwargs): | |
a95a7133 | 874 | """SetValueAsLong(self, int row, int col, long value)""" |
e811c8ce RD |
875 | return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) |
876 | ||
877 | def SetValueAsDouble(*args, **kwargs): | |
a95a7133 | 878 | """SetValueAsDouble(self, int row, int col, double value)""" |
e811c8ce RD |
879 | return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) |
880 | ||
881 | def SetValueAsBool(*args, **kwargs): | |
a95a7133 | 882 | """SetValueAsBool(self, int row, int col, bool value)""" |
e811c8ce RD |
883 | return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) |
884 | ||
885 | def Clear(*args, **kwargs): | |
a95a7133 | 886 | """Clear(self)""" |
e811c8ce RD |
887 | return _grid.GridTableBase_Clear(*args, **kwargs) |
888 | ||
889 | def InsertRows(*args, **kwargs): | |
a95a7133 | 890 | """InsertRows(self, size_t pos=0, size_t numRows=1) -> bool""" |
e811c8ce RD |
891 | return _grid.GridTableBase_InsertRows(*args, **kwargs) |
892 | ||
893 | def AppendRows(*args, **kwargs): | |
a95a7133 | 894 | """AppendRows(self, size_t numRows=1) -> bool""" |
e811c8ce RD |
895 | return _grid.GridTableBase_AppendRows(*args, **kwargs) |
896 | ||
897 | def DeleteRows(*args, **kwargs): | |
a95a7133 | 898 | """DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool""" |
e811c8ce RD |
899 | return _grid.GridTableBase_DeleteRows(*args, **kwargs) |
900 | ||
901 | def InsertCols(*args, **kwargs): | |
a95a7133 | 902 | """InsertCols(self, size_t pos=0, size_t numCols=1) -> bool""" |
e811c8ce RD |
903 | return _grid.GridTableBase_InsertCols(*args, **kwargs) |
904 | ||
905 | def AppendCols(*args, **kwargs): | |
a95a7133 | 906 | """AppendCols(self, size_t numCols=1) -> bool""" |
e811c8ce RD |
907 | return _grid.GridTableBase_AppendCols(*args, **kwargs) |
908 | ||
909 | def DeleteCols(*args, **kwargs): | |
a95a7133 | 910 | """DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool""" |
e811c8ce RD |
911 | return _grid.GridTableBase_DeleteCols(*args, **kwargs) |
912 | ||
913 | def GetRowLabelValue(*args, **kwargs): | |
a95a7133 | 914 | """GetRowLabelValue(self, int row) -> String""" |
e811c8ce RD |
915 | return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) |
916 | ||
917 | def GetColLabelValue(*args, **kwargs): | |
a95a7133 | 918 | """GetColLabelValue(self, int col) -> String""" |
e811c8ce RD |
919 | return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) |
920 | ||
921 | def SetRowLabelValue(*args, **kwargs): | |
a95a7133 | 922 | """SetRowLabelValue(self, int row, String value)""" |
e811c8ce RD |
923 | return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) |
924 | ||
925 | def SetColLabelValue(*args, **kwargs): | |
a95a7133 | 926 | """SetColLabelValue(self, int col, String value)""" |
e811c8ce RD |
927 | return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) |
928 | ||
929 | def CanHaveAttributes(*args, **kwargs): | |
a95a7133 | 930 | """CanHaveAttributes(self) -> bool""" |
e811c8ce RD |
931 | return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) |
932 | ||
933 | def GetAttr(*args, **kwargs): | |
a95a7133 | 934 | """GetAttr(self, int row, int col, int kind) -> GridCellAttr""" |
e811c8ce RD |
935 | return _grid.GridTableBase_GetAttr(*args, **kwargs) |
936 | ||
937 | def SetAttr(*args, **kwargs): | |
a95a7133 | 938 | """SetAttr(self, GridCellAttr attr, int row, int col)""" |
e811c8ce RD |
939 | return _grid.GridTableBase_SetAttr(*args, **kwargs) |
940 | ||
941 | def SetRowAttr(*args, **kwargs): | |
a95a7133 | 942 | """SetRowAttr(self, GridCellAttr attr, int row)""" |
e811c8ce RD |
943 | return _grid.GridTableBase_SetRowAttr(*args, **kwargs) |
944 | ||
945 | def SetColAttr(*args, **kwargs): | |
a95a7133 | 946 | """SetColAttr(self, GridCellAttr attr, int col)""" |
e811c8ce RD |
947 | return _grid.GridTableBase_SetColAttr(*args, **kwargs) |
948 | ||
f6bcfd97 | 949 | |
d14a1e28 RD |
950 | class GridTableBasePtr(GridTableBase): |
951 | def __init__(self, this): | |
952 | self.this = this | |
953 | if not hasattr(self,"thisown"): self.thisown = 0 | |
954 | self.__class__ = GridTableBase | |
955 | _grid.GridTableBase_swigregister(GridTableBasePtr) | |
f6bcfd97 | 956 | |
d14a1e28 | 957 | class PyGridTableBase(GridTableBase): |
e811c8ce RD |
958 | def __repr__(self): |
959 | return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 960 | def __init__(self, *args, **kwargs): |
a95a7133 | 961 | """__init__(self) -> PyGridTableBase""" |
d14a1e28 RD |
962 | newobj = _grid.new_PyGridTableBase(*args, **kwargs) |
963 | self.this = newobj.this | |
964 | self.thisown = 1 | |
965 | del newobj.thisown | |
966 | self._setCallbackInfo(self, PyGridTableBase);self._setOORInfo(self) | |
e811c8ce RD |
967 | |
968 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 969 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
970 | return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) |
971 | ||
972 | def Destroy(*args, **kwargs): | |
0df68c9f | 973 | """ |
a95a7133 | 974 | Destroy(self) |
e811c8ce | 975 | |
0df68c9f RD |
976 | Deletes the C++ object this Python object is a proxy for. |
977 | """ | |
e811c8ce RD |
978 | return _grid.PyGridTableBase_Destroy(*args, **kwargs) |
979 | ||
980 | def base_GetTypeName(*args, **kwargs): | |
a95a7133 | 981 | """base_GetTypeName(self, int row, int col) -> String""" |
e811c8ce RD |
982 | return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) |
983 | ||
984 | def base_CanGetValueAs(*args, **kwargs): | |
a95a7133 | 985 | """base_CanGetValueAs(self, int row, int col, String typeName) -> bool""" |
e811c8ce RD |
986 | return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) |
987 | ||
988 | def base_CanSetValueAs(*args, **kwargs): | |
a95a7133 | 989 | """base_CanSetValueAs(self, int row, int col, String typeName) -> bool""" |
e811c8ce RD |
990 | return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) |
991 | ||
992 | def base_Clear(*args, **kwargs): | |
a95a7133 | 993 | """base_Clear(self)""" |
e811c8ce RD |
994 | return _grid.PyGridTableBase_base_Clear(*args, **kwargs) |
995 | ||
996 | def base_InsertRows(*args, **kwargs): | |
a95a7133 | 997 | """base_InsertRows(self, size_t pos=0, size_t numRows=1) -> bool""" |
e811c8ce RD |
998 | return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) |
999 | ||
1000 | def base_AppendRows(*args, **kwargs): | |
a95a7133 | 1001 | """base_AppendRows(self, size_t numRows=1) -> bool""" |
e811c8ce RD |
1002 | return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) |
1003 | ||
1004 | def base_DeleteRows(*args, **kwargs): | |
a95a7133 | 1005 | """base_DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool""" |
e811c8ce RD |
1006 | return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) |
1007 | ||
1008 | def base_InsertCols(*args, **kwargs): | |
a95a7133 | 1009 | """base_InsertCols(self, size_t pos=0, size_t numCols=1) -> bool""" |
e811c8ce RD |
1010 | return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) |
1011 | ||
1012 | def base_AppendCols(*args, **kwargs): | |
a95a7133 | 1013 | """base_AppendCols(self, size_t numCols=1) -> bool""" |
e811c8ce RD |
1014 | return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) |
1015 | ||
1016 | def base_DeleteCols(*args, **kwargs): | |
a95a7133 | 1017 | """base_DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool""" |
e811c8ce RD |
1018 | return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) |
1019 | ||
1020 | def base_GetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1021 | """base_GetRowLabelValue(self, int row) -> String""" |
e811c8ce RD |
1022 | return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) |
1023 | ||
1024 | def base_GetColLabelValue(*args, **kwargs): | |
a95a7133 | 1025 | """base_GetColLabelValue(self, int col) -> String""" |
e811c8ce RD |
1026 | return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) |
1027 | ||
1028 | def base_SetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1029 | """base_SetRowLabelValue(self, int row, String value)""" |
e811c8ce RD |
1030 | return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) |
1031 | ||
1032 | def base_SetColLabelValue(*args, **kwargs): | |
a95a7133 | 1033 | """base_SetColLabelValue(self, int col, String value)""" |
e811c8ce RD |
1034 | return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) |
1035 | ||
1036 | def base_CanHaveAttributes(*args, **kwargs): | |
a95a7133 | 1037 | """base_CanHaveAttributes(self) -> bool""" |
e811c8ce RD |
1038 | return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) |
1039 | ||
1040 | def base_GetAttr(*args, **kwargs): | |
a95a7133 | 1041 | """base_GetAttr(self, int row, int col, int kind) -> GridCellAttr""" |
e811c8ce RD |
1042 | return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) |
1043 | ||
1044 | def base_SetAttr(*args, **kwargs): | |
a95a7133 | 1045 | """base_SetAttr(self, GridCellAttr attr, int row, int col)""" |
e811c8ce RD |
1046 | return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) |
1047 | ||
1048 | def base_SetRowAttr(*args, **kwargs): | |
a95a7133 | 1049 | """base_SetRowAttr(self, GridCellAttr attr, int row)""" |
e811c8ce RD |
1050 | return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) |
1051 | ||
1052 | def base_SetColAttr(*args, **kwargs): | |
a95a7133 | 1053 | """base_SetColAttr(self, GridCellAttr attr, int col)""" |
e811c8ce RD |
1054 | return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) |
1055 | ||
f6bcfd97 | 1056 | |
d14a1e28 RD |
1057 | class PyGridTableBasePtr(PyGridTableBase): |
1058 | def __init__(self, this): | |
f6bcfd97 | 1059 | self.this = this |
d14a1e28 RD |
1060 | if not hasattr(self,"thisown"): self.thisown = 0 |
1061 | self.__class__ = PyGridTableBase | |
1062 | _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) | |
1063 | ||
1064 | class GridStringTable(GridTableBase): | |
e811c8ce RD |
1065 | def __repr__(self): |
1066 | return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1067 | def __init__(self, *args, **kwargs): |
a95a7133 | 1068 | """__init__(self, int numRows=0, int numCols=0) -> GridStringTable""" |
d14a1e28 RD |
1069 | newobj = _grid.new_GridStringTable(*args, **kwargs) |
1070 | self.this = newobj.this | |
f6bcfd97 | 1071 | self.thisown = 1 |
d14a1e28 | 1072 | del newobj.thisown |
b98a5dfc | 1073 | self._setOORInfo(self) |
e811c8ce | 1074 | |
d14a1e28 RD |
1075 | |
1076 | class GridStringTablePtr(GridStringTable): | |
1077 | def __init__(self, this): | |
1078 | self.this = this | |
1079 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1080 | self.__class__ = GridStringTable | |
1081 | _grid.GridStringTable_swigregister(GridStringTablePtr) | |
1082 | ||
1083 | GRIDTABLE_REQUEST_VIEW_GET_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES | |
1084 | GRIDTABLE_REQUEST_VIEW_SEND_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES | |
1085 | GRIDTABLE_NOTIFY_ROWS_INSERTED = _grid.GRIDTABLE_NOTIFY_ROWS_INSERTED | |
1086 | GRIDTABLE_NOTIFY_ROWS_APPENDED = _grid.GRIDTABLE_NOTIFY_ROWS_APPENDED | |
1087 | GRIDTABLE_NOTIFY_ROWS_DELETED = _grid.GRIDTABLE_NOTIFY_ROWS_DELETED | |
1088 | GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED | |
1089 | GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED | |
1090 | GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED | |
1091 | class GridTableMessage(object): | |
e811c8ce RD |
1092 | def __repr__(self): |
1093 | return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1094 | def __init__(self, *args, **kwargs): |
a95a7133 | 1095 | """__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage""" |
d14a1e28 RD |
1096 | newobj = _grid.new_GridTableMessage(*args, **kwargs) |
1097 | self.this = newobj.this | |
f6bcfd97 | 1098 | self.thisown = 1 |
d14a1e28 RD |
1099 | del newobj.thisown |
1100 | def __del__(self, destroy=_grid.delete_GridTableMessage): | |
a95a7133 | 1101 | """__del__(self)""" |
d14a1e28 RD |
1102 | try: |
1103 | if self.thisown: destroy(self) | |
1104 | except: pass | |
e811c8ce RD |
1105 | |
1106 | def SetTableObject(*args, **kwargs): | |
a95a7133 | 1107 | """SetTableObject(self, GridTableBase table)""" |
e811c8ce RD |
1108 | return _grid.GridTableMessage_SetTableObject(*args, **kwargs) |
1109 | ||
1110 | def GetTableObject(*args, **kwargs): | |
a95a7133 | 1111 | """GetTableObject(self) -> GridTableBase""" |
e811c8ce RD |
1112 | return _grid.GridTableMessage_GetTableObject(*args, **kwargs) |
1113 | ||
1114 | def SetId(*args, **kwargs): | |
a95a7133 | 1115 | """SetId(self, int id)""" |
e811c8ce RD |
1116 | return _grid.GridTableMessage_SetId(*args, **kwargs) |
1117 | ||
1118 | def GetId(*args, **kwargs): | |
a95a7133 | 1119 | """GetId(self) -> int""" |
e811c8ce RD |
1120 | return _grid.GridTableMessage_GetId(*args, **kwargs) |
1121 | ||
1122 | def SetCommandInt(*args, **kwargs): | |
a95a7133 | 1123 | """SetCommandInt(self, int comInt1)""" |
e811c8ce RD |
1124 | return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) |
1125 | ||
1126 | def GetCommandInt(*args, **kwargs): | |
a95a7133 | 1127 | """GetCommandInt(self) -> int""" |
e811c8ce RD |
1128 | return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) |
1129 | ||
1130 | def SetCommandInt2(*args, **kwargs): | |
a95a7133 | 1131 | """SetCommandInt2(self, int comInt2)""" |
e811c8ce RD |
1132 | return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) |
1133 | ||
1134 | def GetCommandInt2(*args, **kwargs): | |
a95a7133 | 1135 | """GetCommandInt2(self) -> int""" |
e811c8ce RD |
1136 | return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) |
1137 | ||
f6bcfd97 | 1138 | |
d14a1e28 RD |
1139 | class GridTableMessagePtr(GridTableMessage): |
1140 | def __init__(self, this): | |
f6bcfd97 | 1141 | self.this = this |
d14a1e28 RD |
1142 | if not hasattr(self,"thisown"): self.thisown = 0 |
1143 | self.__class__ = GridTableMessage | |
1144 | _grid.GridTableMessage_swigregister(GridTableMessagePtr) | |
1145 | ||
1146 | class GridCellCoords(object): | |
e811c8ce RD |
1147 | def __repr__(self): |
1148 | return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1149 | def __init__(self, *args, **kwargs): |
a95a7133 | 1150 | """__init__(self, int r=-1, int c=-1) -> GridCellCoords""" |
d14a1e28 RD |
1151 | newobj = _grid.new_GridCellCoords(*args, **kwargs) |
1152 | self.this = newobj.this | |
1153 | self.thisown = 1 | |
1154 | del newobj.thisown | |
1155 | def __del__(self, destroy=_grid.delete_GridCellCoords): | |
a95a7133 | 1156 | """__del__(self)""" |
d14a1e28 RD |
1157 | try: |
1158 | if self.thisown: destroy(self) | |
1159 | except: pass | |
e811c8ce RD |
1160 | |
1161 | def GetRow(*args, **kwargs): | |
a95a7133 | 1162 | """GetRow(self) -> int""" |
e811c8ce RD |
1163 | return _grid.GridCellCoords_GetRow(*args, **kwargs) |
1164 | ||
1165 | def SetRow(*args, **kwargs): | |
a95a7133 | 1166 | """SetRow(self, int n)""" |
e811c8ce RD |
1167 | return _grid.GridCellCoords_SetRow(*args, **kwargs) |
1168 | ||
1169 | def GetCol(*args, **kwargs): | |
a95a7133 | 1170 | """GetCol(self) -> int""" |
e811c8ce RD |
1171 | return _grid.GridCellCoords_GetCol(*args, **kwargs) |
1172 | ||
1173 | def SetCol(*args, **kwargs): | |
a95a7133 | 1174 | """SetCol(self, int n)""" |
e811c8ce RD |
1175 | return _grid.GridCellCoords_SetCol(*args, **kwargs) |
1176 | ||
1177 | def Set(*args, **kwargs): | |
a95a7133 | 1178 | """Set(self, int row, int col)""" |
e811c8ce RD |
1179 | return _grid.GridCellCoords_Set(*args, **kwargs) |
1180 | ||
1181 | def __eq__(*args, **kwargs): | |
a95a7133 | 1182 | """__eq__(self, GridCellCoords other) -> bool""" |
e811c8ce RD |
1183 | return _grid.GridCellCoords___eq__(*args, **kwargs) |
1184 | ||
1185 | def __ne__(*args, **kwargs): | |
a95a7133 | 1186 | """__ne__(self, GridCellCoords other) -> bool""" |
e811c8ce RD |
1187 | return _grid.GridCellCoords___ne__(*args, **kwargs) |
1188 | ||
1189 | def asTuple(*args, **kwargs): | |
a95a7133 | 1190 | """asTuple(self) -> PyObject""" |
e811c8ce RD |
1191 | return _grid.GridCellCoords_asTuple(*args, **kwargs) |
1192 | ||
b67a9327 RD |
1193 | def __str__(self): return str(self.asTuple()) |
1194 | def __repr__(self): return 'wxGridCellCoords'+str(self.asTuple()) | |
1195 | def __len__(self): return len(self.asTuple()) | |
1196 | def __getitem__(self, index): return self.asTuple()[index] | |
1197 | def __setitem__(self, index, val): | |
1198 | if index == 0: self.SetRow(val) | |
1199 | elif index == 1: self.SetCol(val) | |
1200 | else: raise IndexError | |
f6bcfd97 BP |
1201 | |
1202 | ||
d14a1e28 RD |
1203 | class GridCellCoordsPtr(GridCellCoords): |
1204 | def __init__(self, this): | |
f6bcfd97 | 1205 | self.this = this |
d14a1e28 RD |
1206 | if not hasattr(self,"thisown"): self.thisown = 0 |
1207 | self.__class__ = GridCellCoords | |
1208 | _grid.GridCellCoords_swigregister(GridCellCoordsPtr) | |
1209 | ||
54f9ee45 | 1210 | class Grid(_windows.ScrolledWindow): |
e811c8ce RD |
1211 | def __repr__(self): |
1212 | return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1213 | def __init__(self, *args, **kwargs): |
0df68c9f | 1214 | """ |
a95a7133 | 1215 | __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, |
0df68c9f | 1216 | long style=WANTS_CHARS, |
196addbf | 1217 | String name=PanelNameStr) -> Grid |
0df68c9f | 1218 | """ |
d14a1e28 RD |
1219 | newobj = _grid.new_Grid(*args, **kwargs) |
1220 | self.this = newobj.this | |
f6bcfd97 | 1221 | self.thisown = 1 |
d14a1e28 | 1222 | del newobj.thisown |
0220cbc1 | 1223 | self._setOORInfo(self) |
e811c8ce | 1224 | |
d14a1e28 RD |
1225 | wxGridSelectCells = _grid.Grid_wxGridSelectCells |
1226 | wxGridSelectRows = _grid.Grid_wxGridSelectRows | |
1227 | wxGridSelectColumns = _grid.Grid_wxGridSelectColumns | |
33b885b9 RD |
1228 | SelectCells = wxGridSelectCells |
1229 | SelectRows = wxGridSelectRows | |
4276dc52 | 1230 | SelectColumns = wxGridSelectColumns |
33b885b9 | 1231 | |
e811c8ce | 1232 | def CreateGrid(*args, **kwargs): |
a95a7133 | 1233 | """CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" |
e811c8ce RD |
1234 | return _grid.Grid_CreateGrid(*args, **kwargs) |
1235 | ||
1236 | def SetSelectionMode(*args, **kwargs): | |
a95a7133 | 1237 | """SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)""" |
e811c8ce RD |
1238 | return _grid.Grid_SetSelectionMode(*args, **kwargs) |
1239 | ||
1240 | def GetSelectionMode(*args, **kwargs): | |
a95a7133 | 1241 | """GetSelectionMode(self) -> WXGRIDSELECTIONMODES""" |
e811c8ce RD |
1242 | return _grid.Grid_GetSelectionMode(*args, **kwargs) |
1243 | ||
1244 | def GetNumberRows(*args, **kwargs): | |
a95a7133 | 1245 | """GetNumberRows(self) -> int""" |
e811c8ce RD |
1246 | return _grid.Grid_GetNumberRows(*args, **kwargs) |
1247 | ||
1248 | def GetNumberCols(*args, **kwargs): | |
a95a7133 | 1249 | """GetNumberCols(self) -> int""" |
e811c8ce RD |
1250 | return _grid.Grid_GetNumberCols(*args, **kwargs) |
1251 | ||
1252 | def ProcessTableMessage(*args, **kwargs): | |
a95a7133 | 1253 | """ProcessTableMessage(self, GridTableMessage ??) -> bool""" |
e811c8ce RD |
1254 | return _grid.Grid_ProcessTableMessage(*args, **kwargs) |
1255 | ||
1256 | def GetTable(*args, **kwargs): | |
a95a7133 | 1257 | """GetTable(self) -> GridTableBase""" |
e811c8ce RD |
1258 | return _grid.Grid_GetTable(*args, **kwargs) |
1259 | ||
1260 | def SetTable(*args, **kwargs): | |
a95a7133 | 1261 | """SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" |
e811c8ce RD |
1262 | return _grid.Grid_SetTable(*args, **kwargs) |
1263 | ||
1264 | def ClearGrid(*args, **kwargs): | |
a95a7133 | 1265 | """ClearGrid(self)""" |
e811c8ce RD |
1266 | return _grid.Grid_ClearGrid(*args, **kwargs) |
1267 | ||
1268 | def InsertRows(*args, **kwargs): | |
a95a7133 | 1269 | """InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1270 | return _grid.Grid_InsertRows(*args, **kwargs) |
1271 | ||
1272 | def AppendRows(*args, **kwargs): | |
a95a7133 | 1273 | """AppendRows(self, int numRows=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1274 | return _grid.Grid_AppendRows(*args, **kwargs) |
1275 | ||
1276 | def DeleteRows(*args, **kwargs): | |
a95a7133 | 1277 | """DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1278 | return _grid.Grid_DeleteRows(*args, **kwargs) |
1279 | ||
1280 | def InsertCols(*args, **kwargs): | |
a95a7133 | 1281 | """InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1282 | return _grid.Grid_InsertCols(*args, **kwargs) |
1283 | ||
1284 | def AppendCols(*args, **kwargs): | |
a95a7133 | 1285 | """AppendCols(self, int numCols=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1286 | return _grid.Grid_AppendCols(*args, **kwargs) |
1287 | ||
1288 | def DeleteCols(*args, **kwargs): | |
a95a7133 | 1289 | """DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1290 | return _grid.Grid_DeleteCols(*args, **kwargs) |
1291 | ||
1292 | def DrawCellHighlight(*args, **kwargs): | |
a95a7133 | 1293 | """DrawCellHighlight(self, DC dc, GridCellAttr attr)""" |
e811c8ce RD |
1294 | return _grid.Grid_DrawCellHighlight(*args, **kwargs) |
1295 | ||
1296 | def DrawTextRectangle(*args, **kwargs): | |
0df68c9f | 1297 | """ |
a95a7133 | 1298 | DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, |
0df68c9f RD |
1299 | int verticalAlignment=TOP, int textOrientation=HORIZONTAL) |
1300 | """ | |
e811c8ce RD |
1301 | return _grid.Grid_DrawTextRectangle(*args, **kwargs) |
1302 | ||
1303 | def GetTextBoxSize(*args, **kwargs): | |
322913ce | 1304 | """GetTextBoxSize(DC dc, list lines) -> (width, height)""" |
e811c8ce RD |
1305 | return _grid.Grid_GetTextBoxSize(*args, **kwargs) |
1306 | ||
1307 | def BeginBatch(*args, **kwargs): | |
a95a7133 | 1308 | """BeginBatch(self)""" |
e811c8ce RD |
1309 | return _grid.Grid_BeginBatch(*args, **kwargs) |
1310 | ||
1311 | def EndBatch(*args, **kwargs): | |
a95a7133 | 1312 | """EndBatch(self)""" |
e811c8ce RD |
1313 | return _grid.Grid_EndBatch(*args, **kwargs) |
1314 | ||
1315 | def GetBatchCount(*args, **kwargs): | |
a95a7133 | 1316 | """GetBatchCount(self) -> int""" |
e811c8ce RD |
1317 | return _grid.Grid_GetBatchCount(*args, **kwargs) |
1318 | ||
1319 | def ForceRefresh(*args, **kwargs): | |
a95a7133 | 1320 | """ForceRefresh(self)""" |
e811c8ce RD |
1321 | return _grid.Grid_ForceRefresh(*args, **kwargs) |
1322 | ||
e811c8ce | 1323 | def IsEditable(*args, **kwargs): |
a95a7133 | 1324 | """IsEditable(self) -> bool""" |
e811c8ce RD |
1325 | return _grid.Grid_IsEditable(*args, **kwargs) |
1326 | ||
1327 | def EnableEditing(*args, **kwargs): | |
a95a7133 | 1328 | """EnableEditing(self, bool edit)""" |
e811c8ce RD |
1329 | return _grid.Grid_EnableEditing(*args, **kwargs) |
1330 | ||
1331 | def EnableCellEditControl(*args, **kwargs): | |
a95a7133 | 1332 | """EnableCellEditControl(self, bool enable=True)""" |
e811c8ce RD |
1333 | return _grid.Grid_EnableCellEditControl(*args, **kwargs) |
1334 | ||
1335 | def DisableCellEditControl(*args, **kwargs): | |
a95a7133 | 1336 | """DisableCellEditControl(self)""" |
e811c8ce RD |
1337 | return _grid.Grid_DisableCellEditControl(*args, **kwargs) |
1338 | ||
1339 | def CanEnableCellControl(*args, **kwargs): | |
a95a7133 | 1340 | """CanEnableCellControl(self) -> bool""" |
e811c8ce RD |
1341 | return _grid.Grid_CanEnableCellControl(*args, **kwargs) |
1342 | ||
1343 | def IsCellEditControlEnabled(*args, **kwargs): | |
a95a7133 | 1344 | """IsCellEditControlEnabled(self) -> bool""" |
e811c8ce RD |
1345 | return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) |
1346 | ||
1347 | def IsCellEditControlShown(*args, **kwargs): | |
a95a7133 | 1348 | """IsCellEditControlShown(self) -> bool""" |
e811c8ce RD |
1349 | return _grid.Grid_IsCellEditControlShown(*args, **kwargs) |
1350 | ||
1351 | def IsCurrentCellReadOnly(*args, **kwargs): | |
a95a7133 | 1352 | """IsCurrentCellReadOnly(self) -> bool""" |
e811c8ce RD |
1353 | return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) |
1354 | ||
1355 | def ShowCellEditControl(*args, **kwargs): | |
a95a7133 | 1356 | """ShowCellEditControl(self)""" |
e811c8ce RD |
1357 | return _grid.Grid_ShowCellEditControl(*args, **kwargs) |
1358 | ||
1359 | def HideCellEditControl(*args, **kwargs): | |
a95a7133 | 1360 | """HideCellEditControl(self)""" |
e811c8ce RD |
1361 | return _grid.Grid_HideCellEditControl(*args, **kwargs) |
1362 | ||
1363 | def SaveEditControlValue(*args, **kwargs): | |
a95a7133 | 1364 | """SaveEditControlValue(self)""" |
e811c8ce RD |
1365 | return _grid.Grid_SaveEditControlValue(*args, **kwargs) |
1366 | ||
1367 | def XYToCell(*args, **kwargs): | |
a95a7133 | 1368 | """XYToCell(self, int x, int y) -> GridCellCoords""" |
e811c8ce RD |
1369 | return _grid.Grid_XYToCell(*args, **kwargs) |
1370 | ||
1371 | def YToRow(*args, **kwargs): | |
a95a7133 | 1372 | """YToRow(self, int y) -> int""" |
e811c8ce RD |
1373 | return _grid.Grid_YToRow(*args, **kwargs) |
1374 | ||
1375 | def XToCol(*args, **kwargs): | |
a95a7133 | 1376 | """XToCol(self, int x) -> int""" |
e811c8ce RD |
1377 | return _grid.Grid_XToCol(*args, **kwargs) |
1378 | ||
1379 | def YToEdgeOfRow(*args, **kwargs): | |
a95a7133 | 1380 | """YToEdgeOfRow(self, int y) -> int""" |
e811c8ce RD |
1381 | return _grid.Grid_YToEdgeOfRow(*args, **kwargs) |
1382 | ||
1383 | def XToEdgeOfCol(*args, **kwargs): | |
a95a7133 | 1384 | """XToEdgeOfCol(self, int x) -> int""" |
e811c8ce RD |
1385 | return _grid.Grid_XToEdgeOfCol(*args, **kwargs) |
1386 | ||
1387 | def CellToRect(*args, **kwargs): | |
a95a7133 | 1388 | """CellToRect(self, int row, int col) -> Rect""" |
e811c8ce RD |
1389 | return _grid.Grid_CellToRect(*args, **kwargs) |
1390 | ||
1391 | def GetGridCursorRow(*args, **kwargs): | |
a95a7133 | 1392 | """GetGridCursorRow(self) -> int""" |
e811c8ce RD |
1393 | return _grid.Grid_GetGridCursorRow(*args, **kwargs) |
1394 | ||
1395 | def GetGridCursorCol(*args, **kwargs): | |
a95a7133 | 1396 | """GetGridCursorCol(self) -> int""" |
e811c8ce RD |
1397 | return _grid.Grid_GetGridCursorCol(*args, **kwargs) |
1398 | ||
1399 | def IsVisible(*args, **kwargs): | |
a95a7133 | 1400 | """IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool""" |
e811c8ce RD |
1401 | return _grid.Grid_IsVisible(*args, **kwargs) |
1402 | ||
1403 | def MakeCellVisible(*args, **kwargs): | |
a95a7133 | 1404 | """MakeCellVisible(self, int row, int col)""" |
e811c8ce RD |
1405 | return _grid.Grid_MakeCellVisible(*args, **kwargs) |
1406 | ||
1407 | def SetGridCursor(*args, **kwargs): | |
a95a7133 | 1408 | """SetGridCursor(self, int row, int col)""" |
e811c8ce RD |
1409 | return _grid.Grid_SetGridCursor(*args, **kwargs) |
1410 | ||
1411 | def MoveCursorUp(*args, **kwargs): | |
a95a7133 | 1412 | """MoveCursorUp(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1413 | return _grid.Grid_MoveCursorUp(*args, **kwargs) |
1414 | ||
1415 | def MoveCursorDown(*args, **kwargs): | |
a95a7133 | 1416 | """MoveCursorDown(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1417 | return _grid.Grid_MoveCursorDown(*args, **kwargs) |
1418 | ||
1419 | def MoveCursorLeft(*args, **kwargs): | |
a95a7133 | 1420 | """MoveCursorLeft(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1421 | return _grid.Grid_MoveCursorLeft(*args, **kwargs) |
1422 | ||
1423 | def MoveCursorRight(*args, **kwargs): | |
a95a7133 | 1424 | """MoveCursorRight(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1425 | return _grid.Grid_MoveCursorRight(*args, **kwargs) |
1426 | ||
1427 | def MovePageDown(*args, **kwargs): | |
a95a7133 | 1428 | """MovePageDown(self) -> bool""" |
e811c8ce RD |
1429 | return _grid.Grid_MovePageDown(*args, **kwargs) |
1430 | ||
1431 | def MovePageUp(*args, **kwargs): | |
a95a7133 | 1432 | """MovePageUp(self) -> bool""" |
e811c8ce RD |
1433 | return _grid.Grid_MovePageUp(*args, **kwargs) |
1434 | ||
1435 | def MoveCursorUpBlock(*args, **kwargs): | |
a95a7133 | 1436 | """MoveCursorUpBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1437 | return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) |
1438 | ||
1439 | def MoveCursorDownBlock(*args, **kwargs): | |
a95a7133 | 1440 | """MoveCursorDownBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1441 | return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) |
1442 | ||
1443 | def MoveCursorLeftBlock(*args, **kwargs): | |
a95a7133 | 1444 | """MoveCursorLeftBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1445 | return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) |
1446 | ||
1447 | def MoveCursorRightBlock(*args, **kwargs): | |
a95a7133 | 1448 | """MoveCursorRightBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1449 | return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) |
1450 | ||
1451 | def GetDefaultRowLabelSize(*args, **kwargs): | |
a95a7133 | 1452 | """GetDefaultRowLabelSize(self) -> int""" |
e811c8ce RD |
1453 | return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) |
1454 | ||
1455 | def GetRowLabelSize(*args, **kwargs): | |
a95a7133 | 1456 | """GetRowLabelSize(self) -> int""" |
e811c8ce RD |
1457 | return _grid.Grid_GetRowLabelSize(*args, **kwargs) |
1458 | ||
1459 | def GetDefaultColLabelSize(*args, **kwargs): | |
a95a7133 | 1460 | """GetDefaultColLabelSize(self) -> int""" |
e811c8ce RD |
1461 | return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) |
1462 | ||
1463 | def GetColLabelSize(*args, **kwargs): | |
a95a7133 | 1464 | """GetColLabelSize(self) -> int""" |
e811c8ce RD |
1465 | return _grid.Grid_GetColLabelSize(*args, **kwargs) |
1466 | ||
1467 | def GetLabelBackgroundColour(*args, **kwargs): | |
a95a7133 | 1468 | """GetLabelBackgroundColour(self) -> Colour""" |
e811c8ce RD |
1469 | return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) |
1470 | ||
1471 | def GetLabelTextColour(*args, **kwargs): | |
a95a7133 | 1472 | """GetLabelTextColour(self) -> Colour""" |
e811c8ce RD |
1473 | return _grid.Grid_GetLabelTextColour(*args, **kwargs) |
1474 | ||
1475 | def GetLabelFont(*args, **kwargs): | |
a95a7133 | 1476 | """GetLabelFont(self) -> Font""" |
e811c8ce RD |
1477 | return _grid.Grid_GetLabelFont(*args, **kwargs) |
1478 | ||
1479 | def GetRowLabelAlignment(*args, **kwargs): | |
322913ce | 1480 | """GetRowLabelAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1481 | return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) |
1482 | ||
1483 | def GetColLabelAlignment(*args, **kwargs): | |
322913ce | 1484 | """GetColLabelAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1485 | return _grid.Grid_GetColLabelAlignment(*args, **kwargs) |
1486 | ||
1487 | def GetColLabelTextOrientation(*args, **kwargs): | |
a95a7133 | 1488 | """GetColLabelTextOrientation(self) -> int""" |
e811c8ce RD |
1489 | return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) |
1490 | ||
1491 | def GetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1492 | """GetRowLabelValue(self, int row) -> String""" |
e811c8ce RD |
1493 | return _grid.Grid_GetRowLabelValue(*args, **kwargs) |
1494 | ||
1495 | def GetColLabelValue(*args, **kwargs): | |
a95a7133 | 1496 | """GetColLabelValue(self, int col) -> String""" |
e811c8ce RD |
1497 | return _grid.Grid_GetColLabelValue(*args, **kwargs) |
1498 | ||
1499 | def GetGridLineColour(*args, **kwargs): | |
a95a7133 | 1500 | """GetGridLineColour(self) -> Colour""" |
e811c8ce RD |
1501 | return _grid.Grid_GetGridLineColour(*args, **kwargs) |
1502 | ||
1503 | def GetCellHighlightColour(*args, **kwargs): | |
a95a7133 | 1504 | """GetCellHighlightColour(self) -> Colour""" |
e811c8ce RD |
1505 | return _grid.Grid_GetCellHighlightColour(*args, **kwargs) |
1506 | ||
1507 | def GetCellHighlightPenWidth(*args, **kwargs): | |
a95a7133 | 1508 | """GetCellHighlightPenWidth(self) -> int""" |
e811c8ce RD |
1509 | return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) |
1510 | ||
1511 | def GetCellHighlightROPenWidth(*args, **kwargs): | |
a95a7133 | 1512 | """GetCellHighlightROPenWidth(self) -> int""" |
e811c8ce RD |
1513 | return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) |
1514 | ||
1515 | def SetRowLabelSize(*args, **kwargs): | |
a95a7133 | 1516 | """SetRowLabelSize(self, int width)""" |
e811c8ce RD |
1517 | return _grid.Grid_SetRowLabelSize(*args, **kwargs) |
1518 | ||
1519 | def SetColLabelSize(*args, **kwargs): | |
a95a7133 | 1520 | """SetColLabelSize(self, int height)""" |
e811c8ce RD |
1521 | return _grid.Grid_SetColLabelSize(*args, **kwargs) |
1522 | ||
1523 | def SetLabelBackgroundColour(*args, **kwargs): | |
a95a7133 | 1524 | """SetLabelBackgroundColour(self, Colour ??)""" |
e811c8ce RD |
1525 | return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) |
1526 | ||
1527 | def SetLabelTextColour(*args, **kwargs): | |
a95a7133 | 1528 | """SetLabelTextColour(self, Colour ??)""" |
e811c8ce RD |
1529 | return _grid.Grid_SetLabelTextColour(*args, **kwargs) |
1530 | ||
1531 | def SetLabelFont(*args, **kwargs): | |
a95a7133 | 1532 | """SetLabelFont(self, Font ??)""" |
e811c8ce RD |
1533 | return _grid.Grid_SetLabelFont(*args, **kwargs) |
1534 | ||
1535 | def SetRowLabelAlignment(*args, **kwargs): | |
a95a7133 | 1536 | """SetRowLabelAlignment(self, int horiz, int vert)""" |
e811c8ce RD |
1537 | return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) |
1538 | ||
1539 | def SetColLabelAlignment(*args, **kwargs): | |
a95a7133 | 1540 | """SetColLabelAlignment(self, int horiz, int vert)""" |
e811c8ce RD |
1541 | return _grid.Grid_SetColLabelAlignment(*args, **kwargs) |
1542 | ||
1543 | def SetColLabelTextOrientation(*args, **kwargs): | |
a95a7133 | 1544 | """SetColLabelTextOrientation(self, int textOrientation)""" |
e811c8ce RD |
1545 | return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) |
1546 | ||
1547 | def SetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1548 | """SetRowLabelValue(self, int row, String ??)""" |
e811c8ce RD |
1549 | return _grid.Grid_SetRowLabelValue(*args, **kwargs) |
1550 | ||
1551 | def SetColLabelValue(*args, **kwargs): | |
a95a7133 | 1552 | """SetColLabelValue(self, int col, String ??)""" |
e811c8ce RD |
1553 | return _grid.Grid_SetColLabelValue(*args, **kwargs) |
1554 | ||
1555 | def SetGridLineColour(*args, **kwargs): | |
a95a7133 | 1556 | """SetGridLineColour(self, Colour ??)""" |
e811c8ce RD |
1557 | return _grid.Grid_SetGridLineColour(*args, **kwargs) |
1558 | ||
1559 | def SetCellHighlightColour(*args, **kwargs): | |
a95a7133 | 1560 | """SetCellHighlightColour(self, Colour ??)""" |
e811c8ce RD |
1561 | return _grid.Grid_SetCellHighlightColour(*args, **kwargs) |
1562 | ||
1563 | def SetCellHighlightPenWidth(*args, **kwargs): | |
a95a7133 | 1564 | """SetCellHighlightPenWidth(self, int width)""" |
e811c8ce RD |
1565 | return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) |
1566 | ||
1567 | def SetCellHighlightROPenWidth(*args, **kwargs): | |
a95a7133 | 1568 | """SetCellHighlightROPenWidth(self, int width)""" |
e811c8ce RD |
1569 | return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) |
1570 | ||
1571 | def EnableDragRowSize(*args, **kwargs): | |
a95a7133 | 1572 | """EnableDragRowSize(self, bool enable=True)""" |
e811c8ce RD |
1573 | return _grid.Grid_EnableDragRowSize(*args, **kwargs) |
1574 | ||
1575 | def DisableDragRowSize(*args, **kwargs): | |
a95a7133 | 1576 | """DisableDragRowSize(self)""" |
e811c8ce RD |
1577 | return _grid.Grid_DisableDragRowSize(*args, **kwargs) |
1578 | ||
1579 | def CanDragRowSize(*args, **kwargs): | |
a95a7133 | 1580 | """CanDragRowSize(self) -> bool""" |
e811c8ce RD |
1581 | return _grid.Grid_CanDragRowSize(*args, **kwargs) |
1582 | ||
1583 | def EnableDragColSize(*args, **kwargs): | |
a95a7133 | 1584 | """EnableDragColSize(self, bool enable=True)""" |
e811c8ce RD |
1585 | return _grid.Grid_EnableDragColSize(*args, **kwargs) |
1586 | ||
1587 | def DisableDragColSize(*args, **kwargs): | |
a95a7133 | 1588 | """DisableDragColSize(self)""" |
e811c8ce RD |
1589 | return _grid.Grid_DisableDragColSize(*args, **kwargs) |
1590 | ||
1591 | def CanDragColSize(*args, **kwargs): | |
a95a7133 | 1592 | """CanDragColSize(self) -> bool""" |
e811c8ce RD |
1593 | return _grid.Grid_CanDragColSize(*args, **kwargs) |
1594 | ||
1595 | def EnableDragGridSize(*args, **kwargs): | |
a95a7133 | 1596 | """EnableDragGridSize(self, bool enable=True)""" |
e811c8ce RD |
1597 | return _grid.Grid_EnableDragGridSize(*args, **kwargs) |
1598 | ||
1599 | def DisableDragGridSize(*args, **kwargs): | |
a95a7133 | 1600 | """DisableDragGridSize(self)""" |
e811c8ce RD |
1601 | return _grid.Grid_DisableDragGridSize(*args, **kwargs) |
1602 | ||
1603 | def CanDragGridSize(*args, **kwargs): | |
a95a7133 | 1604 | """CanDragGridSize(self) -> bool""" |
e811c8ce RD |
1605 | return _grid.Grid_CanDragGridSize(*args, **kwargs) |
1606 | ||
1607 | def SetAttr(*args, **kwargs): | |
a95a7133 | 1608 | """SetAttr(self, int row, int col, GridCellAttr attr)""" |
e811c8ce RD |
1609 | return _grid.Grid_SetAttr(*args, **kwargs) |
1610 | ||
1611 | def SetRowAttr(*args, **kwargs): | |
a95a7133 | 1612 | """SetRowAttr(self, int row, GridCellAttr attr)""" |
e811c8ce RD |
1613 | return _grid.Grid_SetRowAttr(*args, **kwargs) |
1614 | ||
1615 | def SetColAttr(*args, **kwargs): | |
a95a7133 | 1616 | """SetColAttr(self, int col, GridCellAttr attr)""" |
e811c8ce RD |
1617 | return _grid.Grid_SetColAttr(*args, **kwargs) |
1618 | ||
1619 | def SetColFormatBool(*args, **kwargs): | |
a95a7133 | 1620 | """SetColFormatBool(self, int col)""" |
e811c8ce RD |
1621 | return _grid.Grid_SetColFormatBool(*args, **kwargs) |
1622 | ||
1623 | def SetColFormatNumber(*args, **kwargs): | |
a95a7133 | 1624 | """SetColFormatNumber(self, int col)""" |
e811c8ce RD |
1625 | return _grid.Grid_SetColFormatNumber(*args, **kwargs) |
1626 | ||
1627 | def SetColFormatFloat(*args, **kwargs): | |
a95a7133 | 1628 | """SetColFormatFloat(self, int col, int width=-1, int precision=-1)""" |
e811c8ce RD |
1629 | return _grid.Grid_SetColFormatFloat(*args, **kwargs) |
1630 | ||
1631 | def SetColFormatCustom(*args, **kwargs): | |
a95a7133 | 1632 | """SetColFormatCustom(self, int col, String typeName)""" |
e811c8ce RD |
1633 | return _grid.Grid_SetColFormatCustom(*args, **kwargs) |
1634 | ||
1635 | def EnableGridLines(*args, **kwargs): | |
a95a7133 | 1636 | """EnableGridLines(self, bool enable=True)""" |
e811c8ce RD |
1637 | return _grid.Grid_EnableGridLines(*args, **kwargs) |
1638 | ||
1639 | def GridLinesEnabled(*args, **kwargs): | |
a95a7133 | 1640 | """GridLinesEnabled(self) -> bool""" |
e811c8ce RD |
1641 | return _grid.Grid_GridLinesEnabled(*args, **kwargs) |
1642 | ||
1643 | def GetDefaultRowSize(*args, **kwargs): | |
a95a7133 | 1644 | """GetDefaultRowSize(self) -> int""" |
e811c8ce RD |
1645 | return _grid.Grid_GetDefaultRowSize(*args, **kwargs) |
1646 | ||
1647 | def GetRowSize(*args, **kwargs): | |
a95a7133 | 1648 | """GetRowSize(self, int row) -> int""" |
e811c8ce RD |
1649 | return _grid.Grid_GetRowSize(*args, **kwargs) |
1650 | ||
1651 | def GetDefaultColSize(*args, **kwargs): | |
a95a7133 | 1652 | """GetDefaultColSize(self) -> int""" |
e811c8ce RD |
1653 | return _grid.Grid_GetDefaultColSize(*args, **kwargs) |
1654 | ||
1655 | def GetColSize(*args, **kwargs): | |
a95a7133 | 1656 | """GetColSize(self, int col) -> int""" |
e811c8ce RD |
1657 | return _grid.Grid_GetColSize(*args, **kwargs) |
1658 | ||
1659 | def GetDefaultCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 1660 | """GetDefaultCellBackgroundColour(self) -> Colour""" |
e811c8ce RD |
1661 | return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) |
1662 | ||
1663 | def GetCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 1664 | """GetCellBackgroundColour(self, int row, int col) -> Colour""" |
e811c8ce RD |
1665 | return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) |
1666 | ||
1667 | def GetDefaultCellTextColour(*args, **kwargs): | |
a95a7133 | 1668 | """GetDefaultCellTextColour(self) -> Colour""" |
e811c8ce RD |
1669 | return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) |
1670 | ||
1671 | def GetCellTextColour(*args, **kwargs): | |
a95a7133 | 1672 | """GetCellTextColour(self, int row, int col) -> Colour""" |
e811c8ce RD |
1673 | return _grid.Grid_GetCellTextColour(*args, **kwargs) |
1674 | ||
1675 | def GetDefaultCellFont(*args, **kwargs): | |
a95a7133 | 1676 | """GetDefaultCellFont(self) -> Font""" |
e811c8ce RD |
1677 | return _grid.Grid_GetDefaultCellFont(*args, **kwargs) |
1678 | ||
1679 | def GetCellFont(*args, **kwargs): | |
a95a7133 | 1680 | """GetCellFont(self, int row, int col) -> Font""" |
e811c8ce RD |
1681 | return _grid.Grid_GetCellFont(*args, **kwargs) |
1682 | ||
1683 | def GetDefaultCellAlignment(*args, **kwargs): | |
322913ce | 1684 | """GetDefaultCellAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1685 | return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) |
1686 | ||
1687 | def GetCellAlignment(*args, **kwargs): | |
322913ce | 1688 | """GetCellAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1689 | return _grid.Grid_GetCellAlignment(*args, **kwargs) |
1690 | ||
1691 | def GetDefaultCellOverflow(*args, **kwargs): | |
a95a7133 | 1692 | """GetDefaultCellOverflow(self) -> bool""" |
e811c8ce RD |
1693 | return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) |
1694 | ||
1695 | def GetCellOverflow(*args, **kwargs): | |
a95a7133 | 1696 | """GetCellOverflow(self, int row, int col) -> bool""" |
e811c8ce RD |
1697 | return _grid.Grid_GetCellOverflow(*args, **kwargs) |
1698 | ||
1699 | def GetCellSize(*args, **kwargs): | |
322913ce | 1700 | """GetCellSize(int row, int col) -> (num_rows, num_cols)""" |
e811c8ce RD |
1701 | return _grid.Grid_GetCellSize(*args, **kwargs) |
1702 | ||
1703 | def SetDefaultRowSize(*args, **kwargs): | |
a95a7133 | 1704 | """SetDefaultRowSize(self, int height, bool resizeExistingRows=False)""" |
e811c8ce RD |
1705 | return _grid.Grid_SetDefaultRowSize(*args, **kwargs) |
1706 | ||
1707 | def SetRowSize(*args, **kwargs): | |
a95a7133 | 1708 | """SetRowSize(self, int row, int height)""" |
e811c8ce RD |
1709 | return _grid.Grid_SetRowSize(*args, **kwargs) |
1710 | ||
1711 | def SetDefaultColSize(*args, **kwargs): | |
a95a7133 | 1712 | """SetDefaultColSize(self, int width, bool resizeExistingCols=False)""" |
e811c8ce RD |
1713 | return _grid.Grid_SetDefaultColSize(*args, **kwargs) |
1714 | ||
1715 | def SetColSize(*args, **kwargs): | |
a95a7133 | 1716 | """SetColSize(self, int col, int width)""" |
e811c8ce RD |
1717 | return _grid.Grid_SetColSize(*args, **kwargs) |
1718 | ||
1719 | def AutoSizeColumn(*args, **kwargs): | |
a95a7133 | 1720 | """AutoSizeColumn(self, int col, bool setAsMin=True)""" |
e811c8ce RD |
1721 | return _grid.Grid_AutoSizeColumn(*args, **kwargs) |
1722 | ||
1723 | def AutoSizeRow(*args, **kwargs): | |
a95a7133 | 1724 | """AutoSizeRow(self, int row, bool setAsMin=True)""" |
e811c8ce RD |
1725 | return _grid.Grid_AutoSizeRow(*args, **kwargs) |
1726 | ||
1727 | def AutoSizeColumns(*args, **kwargs): | |
a95a7133 | 1728 | """AutoSizeColumns(self, bool setAsMin=True)""" |
e811c8ce RD |
1729 | return _grid.Grid_AutoSizeColumns(*args, **kwargs) |
1730 | ||
1731 | def AutoSizeRows(*args, **kwargs): | |
a95a7133 | 1732 | """AutoSizeRows(self, bool setAsMin=True)""" |
e811c8ce RD |
1733 | return _grid.Grid_AutoSizeRows(*args, **kwargs) |
1734 | ||
1735 | def AutoSize(*args, **kwargs): | |
a95a7133 | 1736 | """AutoSize(self)""" |
e811c8ce RD |
1737 | return _grid.Grid_AutoSize(*args, **kwargs) |
1738 | ||
1739 | def AutoSizeRowLabelSize(*args, **kwargs): | |
a95a7133 | 1740 | """AutoSizeRowLabelSize(self, int row)""" |
e811c8ce RD |
1741 | return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) |
1742 | ||
1743 | def AutoSizeColLabelSize(*args, **kwargs): | |
a95a7133 | 1744 | """AutoSizeColLabelSize(self, int col)""" |
e811c8ce RD |
1745 | return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) |
1746 | ||
1747 | def SetColMinimalWidth(*args, **kwargs): | |
a95a7133 | 1748 | """SetColMinimalWidth(self, int col, int width)""" |
e811c8ce RD |
1749 | return _grid.Grid_SetColMinimalWidth(*args, **kwargs) |
1750 | ||
1751 | def SetRowMinimalHeight(*args, **kwargs): | |
a95a7133 | 1752 | """SetRowMinimalHeight(self, int row, int width)""" |
e811c8ce RD |
1753 | return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) |
1754 | ||
1755 | def SetColMinimalAcceptableWidth(*args, **kwargs): | |
a95a7133 | 1756 | """SetColMinimalAcceptableWidth(self, int width)""" |
e811c8ce RD |
1757 | return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) |
1758 | ||
1759 | def SetRowMinimalAcceptableHeight(*args, **kwargs): | |
a95a7133 | 1760 | """SetRowMinimalAcceptableHeight(self, int width)""" |
e811c8ce RD |
1761 | return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) |
1762 | ||
1763 | def GetColMinimalAcceptableWidth(*args, **kwargs): | |
a95a7133 | 1764 | """GetColMinimalAcceptableWidth(self) -> int""" |
e811c8ce RD |
1765 | return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) |
1766 | ||
1767 | def GetRowMinimalAcceptableHeight(*args, **kwargs): | |
a95a7133 | 1768 | """GetRowMinimalAcceptableHeight(self) -> int""" |
e811c8ce RD |
1769 | return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) |
1770 | ||
1771 | def SetDefaultCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 1772 | """SetDefaultCellBackgroundColour(self, Colour ??)""" |
e811c8ce RD |
1773 | return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) |
1774 | ||
1775 | def SetCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 1776 | """SetCellBackgroundColour(self, int row, int col, Colour ??)""" |
e811c8ce RD |
1777 | return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) |
1778 | ||
1779 | def SetDefaultCellTextColour(*args, **kwargs): | |
a95a7133 | 1780 | """SetDefaultCellTextColour(self, Colour ??)""" |
e811c8ce RD |
1781 | return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) |
1782 | ||
1783 | def SetCellTextColour(*args, **kwargs): | |
a95a7133 | 1784 | """SetCellTextColour(self, int row, int col, Colour ??)""" |
e811c8ce RD |
1785 | return _grid.Grid_SetCellTextColour(*args, **kwargs) |
1786 | ||
1787 | def SetDefaultCellFont(*args, **kwargs): | |
a95a7133 | 1788 | """SetDefaultCellFont(self, Font ??)""" |
e811c8ce RD |
1789 | return _grid.Grid_SetDefaultCellFont(*args, **kwargs) |
1790 | ||
1791 | def SetCellFont(*args, **kwargs): | |
a95a7133 | 1792 | """SetCellFont(self, int row, int col, Font ??)""" |
e811c8ce RD |
1793 | return _grid.Grid_SetCellFont(*args, **kwargs) |
1794 | ||
1795 | def SetDefaultCellAlignment(*args, **kwargs): | |
a95a7133 | 1796 | """SetDefaultCellAlignment(self, int horiz, int vert)""" |
e811c8ce RD |
1797 | return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) |
1798 | ||
1799 | def SetCellAlignment(*args, **kwargs): | |
a95a7133 | 1800 | """SetCellAlignment(self, int row, int col, int horiz, int vert)""" |
e811c8ce RD |
1801 | return _grid.Grid_SetCellAlignment(*args, **kwargs) |
1802 | ||
1803 | def SetDefaultCellOverflow(*args, **kwargs): | |
a95a7133 | 1804 | """SetDefaultCellOverflow(self, bool allow)""" |
e811c8ce RD |
1805 | return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) |
1806 | ||
1807 | def SetCellOverflow(*args, **kwargs): | |
a95a7133 | 1808 | """SetCellOverflow(self, int row, int col, bool allow)""" |
e811c8ce RD |
1809 | return _grid.Grid_SetCellOverflow(*args, **kwargs) |
1810 | ||
1811 | def SetCellSize(*args, **kwargs): | |
a95a7133 | 1812 | """SetCellSize(self, int row, int col, int num_rows, int num_cols)""" |
e811c8ce RD |
1813 | return _grid.Grid_SetCellSize(*args, **kwargs) |
1814 | ||
1815 | def SetDefaultRenderer(*args, **kwargs): | |
a95a7133 | 1816 | """SetDefaultRenderer(self, GridCellRenderer renderer)""" |
e811c8ce RD |
1817 | return _grid.Grid_SetDefaultRenderer(*args, **kwargs) |
1818 | ||
1819 | def SetCellRenderer(*args, **kwargs): | |
a95a7133 | 1820 | """SetCellRenderer(self, int row, int col, GridCellRenderer renderer)""" |
e811c8ce RD |
1821 | return _grid.Grid_SetCellRenderer(*args, **kwargs) |
1822 | ||
1823 | def GetDefaultRenderer(*args, **kwargs): | |
a95a7133 | 1824 | """GetDefaultRenderer(self) -> GridCellRenderer""" |
e811c8ce RD |
1825 | return _grid.Grid_GetDefaultRenderer(*args, **kwargs) |
1826 | ||
1827 | def GetCellRenderer(*args, **kwargs): | |
a95a7133 | 1828 | """GetCellRenderer(self, int row, int col) -> GridCellRenderer""" |
e811c8ce RD |
1829 | return _grid.Grid_GetCellRenderer(*args, **kwargs) |
1830 | ||
1831 | def SetDefaultEditor(*args, **kwargs): | |
a95a7133 | 1832 | """SetDefaultEditor(self, GridCellEditor editor)""" |
e811c8ce RD |
1833 | return _grid.Grid_SetDefaultEditor(*args, **kwargs) |
1834 | ||
1835 | def SetCellEditor(*args, **kwargs): | |
a95a7133 | 1836 | """SetCellEditor(self, int row, int col, GridCellEditor editor)""" |
e811c8ce RD |
1837 | return _grid.Grid_SetCellEditor(*args, **kwargs) |
1838 | ||
1839 | def GetDefaultEditor(*args, **kwargs): | |
a95a7133 | 1840 | """GetDefaultEditor(self) -> GridCellEditor""" |
e811c8ce RD |
1841 | return _grid.Grid_GetDefaultEditor(*args, **kwargs) |
1842 | ||
1843 | def GetCellEditor(*args, **kwargs): | |
a95a7133 | 1844 | """GetCellEditor(self, int row, int col) -> GridCellEditor""" |
e811c8ce RD |
1845 | return _grid.Grid_GetCellEditor(*args, **kwargs) |
1846 | ||
1847 | def GetCellValue(*args, **kwargs): | |
a95a7133 | 1848 | """GetCellValue(self, int row, int col) -> String""" |
e811c8ce RD |
1849 | return _grid.Grid_GetCellValue(*args, **kwargs) |
1850 | ||
1851 | def SetCellValue(*args, **kwargs): | |
a95a7133 | 1852 | """SetCellValue(self, int row, int col, String s)""" |
e811c8ce RD |
1853 | return _grid.Grid_SetCellValue(*args, **kwargs) |
1854 | ||
1855 | def IsReadOnly(*args, **kwargs): | |
a95a7133 | 1856 | """IsReadOnly(self, int row, int col) -> bool""" |
e811c8ce RD |
1857 | return _grid.Grid_IsReadOnly(*args, **kwargs) |
1858 | ||
1859 | def SetReadOnly(*args, **kwargs): | |
a95a7133 | 1860 | """SetReadOnly(self, int row, int col, bool isReadOnly=True)""" |
e811c8ce RD |
1861 | return _grid.Grid_SetReadOnly(*args, **kwargs) |
1862 | ||
1863 | def SelectRow(*args, **kwargs): | |
a95a7133 | 1864 | """SelectRow(self, int row, bool addToSelected=False)""" |
e811c8ce RD |
1865 | return _grid.Grid_SelectRow(*args, **kwargs) |
1866 | ||
1867 | def SelectCol(*args, **kwargs): | |
a95a7133 | 1868 | """SelectCol(self, int col, bool addToSelected=False)""" |
e811c8ce RD |
1869 | return _grid.Grid_SelectCol(*args, **kwargs) |
1870 | ||
1871 | def SelectBlock(*args, **kwargs): | |
0df68c9f | 1872 | """ |
a95a7133 | 1873 | SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol, |
0df68c9f RD |
1874 | bool addToSelected=False) |
1875 | """ | |
e811c8ce RD |
1876 | return _grid.Grid_SelectBlock(*args, **kwargs) |
1877 | ||
1878 | def SelectAll(*args, **kwargs): | |
a95a7133 | 1879 | """SelectAll(self)""" |
e811c8ce RD |
1880 | return _grid.Grid_SelectAll(*args, **kwargs) |
1881 | ||
1882 | def IsSelection(*args, **kwargs): | |
a95a7133 | 1883 | """IsSelection(self) -> bool""" |
e811c8ce RD |
1884 | return _grid.Grid_IsSelection(*args, **kwargs) |
1885 | ||
1886 | def ClearSelection(*args, **kwargs): | |
a95a7133 | 1887 | """ClearSelection(self)""" |
e811c8ce RD |
1888 | return _grid.Grid_ClearSelection(*args, **kwargs) |
1889 | ||
1890 | def IsInSelection(*args, **kwargs): | |
a95a7133 | 1891 | """IsInSelection(self, int row, int col) -> bool""" |
e811c8ce RD |
1892 | return _grid.Grid_IsInSelection(*args, **kwargs) |
1893 | ||
1894 | def GetSelectedCells(*args, **kwargs): | |
a95a7133 | 1895 | """GetSelectedCells(self) -> wxGridCellCoordsArray""" |
e811c8ce RD |
1896 | return _grid.Grid_GetSelectedCells(*args, **kwargs) |
1897 | ||
1898 | def GetSelectionBlockTopLeft(*args, **kwargs): | |
a95a7133 | 1899 | """GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray""" |
e811c8ce RD |
1900 | return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) |
1901 | ||
1902 | def GetSelectionBlockBottomRight(*args, **kwargs): | |
a95a7133 | 1903 | """GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray""" |
e811c8ce RD |
1904 | return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) |
1905 | ||
1906 | def GetSelectedRows(*args, **kwargs): | |
a95a7133 | 1907 | """GetSelectedRows(self) -> wxArrayInt""" |
e811c8ce RD |
1908 | return _grid.Grid_GetSelectedRows(*args, **kwargs) |
1909 | ||
1910 | def GetSelectedCols(*args, **kwargs): | |
a95a7133 | 1911 | """GetSelectedCols(self) -> wxArrayInt""" |
e811c8ce RD |
1912 | return _grid.Grid_GetSelectedCols(*args, **kwargs) |
1913 | ||
1914 | def DeselectRow(*args, **kwargs): | |
a95a7133 | 1915 | """DeselectRow(self, int row)""" |
e811c8ce RD |
1916 | return _grid.Grid_DeselectRow(*args, **kwargs) |
1917 | ||
1918 | def DeselectCol(*args, **kwargs): | |
a95a7133 | 1919 | """DeselectCol(self, int col)""" |
e811c8ce RD |
1920 | return _grid.Grid_DeselectCol(*args, **kwargs) |
1921 | ||
1922 | def DeselectCell(*args, **kwargs): | |
a95a7133 | 1923 | """DeselectCell(self, int row, int col)""" |
e811c8ce RD |
1924 | return _grid.Grid_DeselectCell(*args, **kwargs) |
1925 | ||
1926 | def BlockToDeviceRect(*args, **kwargs): | |
a95a7133 | 1927 | """BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect""" |
e811c8ce RD |
1928 | return _grid.Grid_BlockToDeviceRect(*args, **kwargs) |
1929 | ||
1930 | def GetSelectionBackground(*args, **kwargs): | |
a95a7133 | 1931 | """GetSelectionBackground(self) -> Colour""" |
e811c8ce RD |
1932 | return _grid.Grid_GetSelectionBackground(*args, **kwargs) |
1933 | ||
1934 | def GetSelectionForeground(*args, **kwargs): | |
a95a7133 | 1935 | """GetSelectionForeground(self) -> Colour""" |
e811c8ce RD |
1936 | return _grid.Grid_GetSelectionForeground(*args, **kwargs) |
1937 | ||
1938 | def SetSelectionBackground(*args, **kwargs): | |
a95a7133 | 1939 | """SetSelectionBackground(self, Colour c)""" |
e811c8ce RD |
1940 | return _grid.Grid_SetSelectionBackground(*args, **kwargs) |
1941 | ||
1942 | def SetSelectionForeground(*args, **kwargs): | |
a95a7133 | 1943 | """SetSelectionForeground(self, Colour c)""" |
e811c8ce RD |
1944 | return _grid.Grid_SetSelectionForeground(*args, **kwargs) |
1945 | ||
1946 | def RegisterDataType(*args, **kwargs): | |
a95a7133 | 1947 | """RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)""" |
e811c8ce RD |
1948 | return _grid.Grid_RegisterDataType(*args, **kwargs) |
1949 | ||
1950 | def GetDefaultEditorForCell(*args, **kwargs): | |
a95a7133 | 1951 | """GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor""" |
e811c8ce RD |
1952 | return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) |
1953 | ||
1954 | def GetDefaultRendererForCell(*args, **kwargs): | |
a95a7133 | 1955 | """GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer""" |
e811c8ce RD |
1956 | return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) |
1957 | ||
1958 | def GetDefaultEditorForType(*args, **kwargs): | |
a95a7133 | 1959 | """GetDefaultEditorForType(self, String typeName) -> GridCellEditor""" |
e811c8ce RD |
1960 | return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) |
1961 | ||
1962 | def GetDefaultRendererForType(*args, **kwargs): | |
a95a7133 | 1963 | """GetDefaultRendererForType(self, String typeName) -> GridCellRenderer""" |
e811c8ce RD |
1964 | return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) |
1965 | ||
1966 | def SetMargins(*args, **kwargs): | |
a95a7133 | 1967 | """SetMargins(self, int extraWidth, int extraHeight)""" |
e811c8ce RD |
1968 | return _grid.Grid_SetMargins(*args, **kwargs) |
1969 | ||
1970 | def GetGridWindow(*args, **kwargs): | |
a95a7133 | 1971 | """GetGridWindow(self) -> Window""" |
e811c8ce RD |
1972 | return _grid.Grid_GetGridWindow(*args, **kwargs) |
1973 | ||
1974 | def GetGridRowLabelWindow(*args, **kwargs): | |
a95a7133 | 1975 | """GetGridRowLabelWindow(self) -> Window""" |
e811c8ce RD |
1976 | return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) |
1977 | ||
1978 | def GetGridColLabelWindow(*args, **kwargs): | |
a95a7133 | 1979 | """GetGridColLabelWindow(self) -> Window""" |
e811c8ce RD |
1980 | return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) |
1981 | ||
1982 | def GetGridCornerLabelWindow(*args, **kwargs): | |
a95a7133 | 1983 | """GetGridCornerLabelWindow(self) -> Window""" |
e811c8ce RD |
1984 | return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) |
1985 | ||
f6bcfd97 | 1986 | |
d14a1e28 RD |
1987 | class GridPtr(Grid): |
1988 | def __init__(self, this): | |
f6bcfd97 | 1989 | self.this = this |
d14a1e28 RD |
1990 | if not hasattr(self,"thisown"): self.thisown = 0 |
1991 | self.__class__ = Grid | |
1992 | _grid.Grid_swigregister(GridPtr) | |
f6bcfd97 | 1993 | |
54f9ee45 | 1994 | class GridEvent(_core.NotifyEvent): |
e811c8ce RD |
1995 | def __repr__(self): |
1996 | return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1997 | def __init__(self, *args, **kwargs): |
0df68c9f | 1998 | """ |
a95a7133 | 1999 | __init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1, |
0df68c9f RD |
2000 | int x=-1, int y=-1, bool sel=True, bool control=False, |
2001 | bool shift=False, bool alt=False, | |
2002 | bool meta=False) -> GridEvent | |
2003 | """ | |
d14a1e28 RD |
2004 | newobj = _grid.new_GridEvent(*args, **kwargs) |
2005 | self.this = newobj.this | |
f6bcfd97 | 2006 | self.thisown = 1 |
d14a1e28 | 2007 | del newobj.thisown |
e811c8ce | 2008 | def GetRow(*args, **kwargs): |
a95a7133 | 2009 | """GetRow(self) -> int""" |
e811c8ce RD |
2010 | return _grid.GridEvent_GetRow(*args, **kwargs) |
2011 | ||
2012 | def GetCol(*args, **kwargs): | |
a95a7133 | 2013 | """GetCol(self) -> int""" |
e811c8ce RD |
2014 | return _grid.GridEvent_GetCol(*args, **kwargs) |
2015 | ||
2016 | def GetPosition(*args, **kwargs): | |
a95a7133 | 2017 | """GetPosition(self) -> Point""" |
e811c8ce RD |
2018 | return _grid.GridEvent_GetPosition(*args, **kwargs) |
2019 | ||
2020 | def Selecting(*args, **kwargs): | |
a95a7133 | 2021 | """Selecting(self) -> bool""" |
e811c8ce RD |
2022 | return _grid.GridEvent_Selecting(*args, **kwargs) |
2023 | ||
2024 | def ControlDown(*args, **kwargs): | |
a95a7133 | 2025 | """ControlDown(self) -> bool""" |
e811c8ce RD |
2026 | return _grid.GridEvent_ControlDown(*args, **kwargs) |
2027 | ||
2028 | def MetaDown(*args, **kwargs): | |
a95a7133 | 2029 | """MetaDown(self) -> bool""" |
e811c8ce RD |
2030 | return _grid.GridEvent_MetaDown(*args, **kwargs) |
2031 | ||
2032 | def ShiftDown(*args, **kwargs): | |
a95a7133 | 2033 | """ShiftDown(self) -> bool""" |
e811c8ce RD |
2034 | return _grid.GridEvent_ShiftDown(*args, **kwargs) |
2035 | ||
2036 | def AltDown(*args, **kwargs): | |
a95a7133 | 2037 | """AltDown(self) -> bool""" |
e811c8ce RD |
2038 | return _grid.GridEvent_AltDown(*args, **kwargs) |
2039 | ||
f6bcfd97 | 2040 | |
d14a1e28 RD |
2041 | class GridEventPtr(GridEvent): |
2042 | def __init__(self, this): | |
9d6da64a | 2043 | self.this = this |
d14a1e28 RD |
2044 | if not hasattr(self,"thisown"): self.thisown = 0 |
2045 | self.__class__ = GridEvent | |
2046 | _grid.GridEvent_swigregister(GridEventPtr) | |
2047 | ||
54f9ee45 | 2048 | class GridSizeEvent(_core.NotifyEvent): |
e811c8ce RD |
2049 | def __repr__(self): |
2050 | return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2051 | def __init__(self, *args, **kwargs): |
0df68c9f | 2052 | """ |
a95a7133 | 2053 | __init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1, |
0df68c9f RD |
2054 | int x=-1, int y=-1, bool control=False, bool shift=False, |
2055 | bool alt=False, bool meta=False) -> GridSizeEvent | |
2056 | """ | |
d14a1e28 RD |
2057 | newobj = _grid.new_GridSizeEvent(*args, **kwargs) |
2058 | self.this = newobj.this | |
9d6da64a | 2059 | self.thisown = 1 |
d14a1e28 | 2060 | del newobj.thisown |
e811c8ce | 2061 | def GetRowOrCol(*args, **kwargs): |
a95a7133 | 2062 | """GetRowOrCol(self) -> int""" |
e811c8ce RD |
2063 | return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) |
2064 | ||
2065 | def GetPosition(*args, **kwargs): | |
a95a7133 | 2066 | """GetPosition(self) -> Point""" |
e811c8ce RD |
2067 | return _grid.GridSizeEvent_GetPosition(*args, **kwargs) |
2068 | ||
2069 | def ControlDown(*args, **kwargs): | |
a95a7133 | 2070 | """ControlDown(self) -> bool""" |
e811c8ce RD |
2071 | return _grid.GridSizeEvent_ControlDown(*args, **kwargs) |
2072 | ||
2073 | def MetaDown(*args, **kwargs): | |
a95a7133 | 2074 | """MetaDown(self) -> bool""" |
e811c8ce RD |
2075 | return _grid.GridSizeEvent_MetaDown(*args, **kwargs) |
2076 | ||
2077 | def ShiftDown(*args, **kwargs): | |
a95a7133 | 2078 | """ShiftDown(self) -> bool""" |
e811c8ce RD |
2079 | return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) |
2080 | ||
2081 | def AltDown(*args, **kwargs): | |
a95a7133 | 2082 | """AltDown(self) -> bool""" |
e811c8ce RD |
2083 | return _grid.GridSizeEvent_AltDown(*args, **kwargs) |
2084 | ||
9d6da64a | 2085 | |
d14a1e28 RD |
2086 | class GridSizeEventPtr(GridSizeEvent): |
2087 | def __init__(self, this): | |
2088 | self.this = this | |
2089 | if not hasattr(self,"thisown"): self.thisown = 0 | |
2090 | self.__class__ = GridSizeEvent | |
2091 | _grid.GridSizeEvent_swigregister(GridSizeEventPtr) | |
9d6da64a | 2092 | |
54f9ee45 | 2093 | class GridRangeSelectEvent(_core.NotifyEvent): |
e811c8ce RD |
2094 | def __repr__(self): |
2095 | return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2096 | def __init__(self, *args, **kwargs): |
0df68c9f | 2097 | """ |
a95a7133 | 2098 | __init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft, |
0df68c9f RD |
2099 | GridCellCoords bottomRight, bool sel=True, |
2100 | bool control=False, bool shift=False, | |
2101 | bool alt=False, bool meta=False) -> GridRangeSelectEvent | |
2102 | """ | |
d14a1e28 RD |
2103 | newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) |
2104 | self.this = newobj.this | |
2105 | self.thisown = 1 | |
2106 | del newobj.thisown | |
e811c8ce | 2107 | def GetTopLeftCoords(*args, **kwargs): |
a95a7133 | 2108 | """GetTopLeftCoords(self) -> GridCellCoords""" |
e811c8ce RD |
2109 | return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) |
2110 | ||
2111 | def GetBottomRightCoords(*args, **kwargs): | |
a95a7133 | 2112 | """GetBottomRightCoords(self) -> GridCellCoords""" |
e811c8ce RD |
2113 | return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) |
2114 | ||
2115 | def GetTopRow(*args, **kwargs): | |
a95a7133 | 2116 | """GetTopRow(self) -> int""" |
e811c8ce RD |
2117 | return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) |
2118 | ||
2119 | def GetBottomRow(*args, **kwargs): | |
a95a7133 | 2120 | """GetBottomRow(self) -> int""" |
e811c8ce RD |
2121 | return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) |
2122 | ||
2123 | def GetLeftCol(*args, **kwargs): | |
a95a7133 | 2124 | """GetLeftCol(self) -> int""" |
e811c8ce RD |
2125 | return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) |
2126 | ||
2127 | def GetRightCol(*args, **kwargs): | |
a95a7133 | 2128 | """GetRightCol(self) -> int""" |
e811c8ce RD |
2129 | return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) |
2130 | ||
2131 | def Selecting(*args, **kwargs): | |
a95a7133 | 2132 | """Selecting(self) -> bool""" |
e811c8ce RD |
2133 | return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) |
2134 | ||
2135 | def ControlDown(*args, **kwargs): | |
a95a7133 | 2136 | """ControlDown(self) -> bool""" |
e811c8ce RD |
2137 | return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) |
2138 | ||
2139 | def MetaDown(*args, **kwargs): | |
a95a7133 | 2140 | """MetaDown(self) -> bool""" |
e811c8ce RD |
2141 | return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) |
2142 | ||
2143 | def ShiftDown(*args, **kwargs): | |
a95a7133 | 2144 | """ShiftDown(self) -> bool""" |
e811c8ce RD |
2145 | return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) |
2146 | ||
2147 | def AltDown(*args, **kwargs): | |
a95a7133 | 2148 | """AltDown(self) -> bool""" |
e811c8ce RD |
2149 | return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) |
2150 | ||
9d6da64a | 2151 | |
d14a1e28 RD |
2152 | class GridRangeSelectEventPtr(GridRangeSelectEvent): |
2153 | def __init__(self, this): | |
2154 | self.this = this | |
2155 | if not hasattr(self,"thisown"): self.thisown = 0 | |
2156 | self.__class__ = GridRangeSelectEvent | |
2157 | _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) | |
9d6da64a | 2158 | |
54f9ee45 | 2159 | class GridEditorCreatedEvent(_core.CommandEvent): |
e811c8ce RD |
2160 | def __repr__(self): |
2161 | return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2162 | def __init__(self, *args, **kwargs): |
0df68c9f | 2163 | """ |
a95a7133 | 2164 | __init__(self, int id, wxEventType type, Object obj, int row, int col, |
0df68c9f RD |
2165 | Control ctrl) -> GridEditorCreatedEvent |
2166 | """ | |
d14a1e28 RD |
2167 | newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) |
2168 | self.this = newobj.this | |
2169 | self.thisown = 1 | |
2170 | del newobj.thisown | |
e811c8ce | 2171 | def GetRow(*args, **kwargs): |
a95a7133 | 2172 | """GetRow(self) -> int""" |
e811c8ce RD |
2173 | return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) |
2174 | ||
2175 | def GetCol(*args, **kwargs): | |
a95a7133 | 2176 | """GetCol(self) -> int""" |
e811c8ce RD |
2177 | return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) |
2178 | ||
2179 | def GetControl(*args, **kwargs): | |
a95a7133 | 2180 | """GetControl(self) -> Control""" |
e811c8ce RD |
2181 | return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) |
2182 | ||
2183 | def SetRow(*args, **kwargs): | |
a95a7133 | 2184 | """SetRow(self, int row)""" |
e811c8ce RD |
2185 | return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) |
2186 | ||
2187 | def SetCol(*args, **kwargs): | |
a95a7133 | 2188 | """SetCol(self, int col)""" |
e811c8ce RD |
2189 | return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) |
2190 | ||
2191 | def SetControl(*args, **kwargs): | |
a95a7133 | 2192 | """SetControl(self, Control ctrl)""" |
e811c8ce RD |
2193 | return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) |
2194 | ||
d14a1e28 RD |
2195 | |
2196 | class GridEditorCreatedEventPtr(GridEditorCreatedEvent): | |
2197 | def __init__(self, this): | |
2198 | self.this = this | |
2199 | if not hasattr(self,"thisown"): self.thisown = 0 | |
2200 | self.__class__ = GridEditorCreatedEvent | |
2201 | _grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr) | |
2202 | ||
2203 | wxEVT_GRID_CELL_LEFT_CLICK = _grid.wxEVT_GRID_CELL_LEFT_CLICK | |
2204 | wxEVT_GRID_CELL_RIGHT_CLICK = _grid.wxEVT_GRID_CELL_RIGHT_CLICK | |
2205 | wxEVT_GRID_CELL_LEFT_DCLICK = _grid.wxEVT_GRID_CELL_LEFT_DCLICK | |
2206 | wxEVT_GRID_CELL_RIGHT_DCLICK = _grid.wxEVT_GRID_CELL_RIGHT_DCLICK | |
2207 | wxEVT_GRID_LABEL_LEFT_CLICK = _grid.wxEVT_GRID_LABEL_LEFT_CLICK | |
2208 | wxEVT_GRID_LABEL_RIGHT_CLICK = _grid.wxEVT_GRID_LABEL_RIGHT_CLICK | |
2209 | wxEVT_GRID_LABEL_LEFT_DCLICK = _grid.wxEVT_GRID_LABEL_LEFT_DCLICK | |
2210 | wxEVT_GRID_LABEL_RIGHT_DCLICK = _grid.wxEVT_GRID_LABEL_RIGHT_DCLICK | |
2211 | wxEVT_GRID_ROW_SIZE = _grid.wxEVT_GRID_ROW_SIZE | |
2212 | wxEVT_GRID_COL_SIZE = _grid.wxEVT_GRID_COL_SIZE | |
2213 | wxEVT_GRID_RANGE_SELECT = _grid.wxEVT_GRID_RANGE_SELECT | |
2214 | wxEVT_GRID_CELL_CHANGE = _grid.wxEVT_GRID_CELL_CHANGE | |
2215 | wxEVT_GRID_SELECT_CELL = _grid.wxEVT_GRID_SELECT_CELL | |
2216 | wxEVT_GRID_EDITOR_SHOWN = _grid.wxEVT_GRID_EDITOR_SHOWN | |
2217 | wxEVT_GRID_EDITOR_HIDDEN = _grid.wxEVT_GRID_EDITOR_HIDDEN | |
2218 | wxEVT_GRID_EDITOR_CREATED = _grid.wxEVT_GRID_EDITOR_CREATED | |
2219 | EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK ) | |
2220 | EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK ) | |
2221 | EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK ) | |
2222 | EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK ) | |
2223 | EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK ) | |
2224 | EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK ) | |
2225 | EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK ) | |
2226 | EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK ) | |
2227 | EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE ) | |
2228 | EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE ) | |
2229 | EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT ) | |
2230 | EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE ) | |
2231 | EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL ) | |
2232 | EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN ) | |
2233 | EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN ) | |
2234 | EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) | |
f6bcfd97 BP |
2235 | |
2236 |