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