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