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