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