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