1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
5 Classes for implementing a spreadsheet-like control.
10 def _swig_setattr_nondynamic(self
,class_type
,name
,value
,static
=1):
12 if isinstance(value
, class_type
):
13 self
.__dict
__[name
] = value
.this
14 if hasattr(value
,"thisown"): self
.__dict
__["thisown"] = value
.thisown
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
22 raise AttributeError("You cannot add attributes to %s" % self
)
24 def _swig_setattr(self
,class_type
,name
,value
):
25 return _swig_setattr_nondynamic(self
,class_type
,name
,value
,0)
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
34 _object
= types
.ObjectType
36 except AttributeError:
42 def _swig_setattr_nondynamic_method(set):
43 def set_attr(self
,name
,value
):
44 if hasattr(self
,name
) or (name
in ("this", "thisown")):
47 raise AttributeError("You cannot add attributes to %s" % self
)
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"
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
)
83 def SetParameters(*args
, **kwargs
):
84 """SetParameters(self, String params)"""
85 return _grid
.GridCellRenderer_SetParameters(*args
, **kwargs
)
87 def IncRef(*args
, **kwargs
):
89 return _grid
.GridCellRenderer_IncRef(*args
, **kwargs
)
91 def DecRef(*args
, **kwargs
):
93 return _grid
.GridCellRenderer_DecRef(*args
, **kwargs
)
95 def Draw(*args
, **kwargs
):
97 Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row,
98 int col, bool isSelected)
100 return _grid
.GridCellRenderer_Draw(*args
, **kwargs
)
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
)
106 def Clone(*args
, **kwargs
):
107 """Clone(self) -> GridCellRenderer"""
108 return _grid
.GridCellRenderer_Clone(*args
, **kwargs
)
111 class GridCellRendererPtr(GridCellRenderer
):
112 def __init__(self
, this
):
114 if not hasattr(self
,"thisown"): self
.thisown
= 0
115 self
.__class
__ = GridCellRenderer
116 _grid
.GridCellRenderer_swigregister(GridCellRendererPtr
)
118 DateTimeFormatStr
= cvar
.DateTimeFormatStr
119 GridNoCellCoords
= cvar
.GridNoCellCoords
120 GridNoCellRect
= cvar
.GridNoCellRect
122 class PyGridCellRenderer(GridCellRenderer
):
123 """Proxy of C++ PyGridCellRenderer class"""
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
132 self
._setCallbackInfo
(self
, PyGridCellRenderer
);self
._setOORInfo
(self
)
134 def _setCallbackInfo(*args
, **kwargs
):
135 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
136 return _grid
.PyGridCellRenderer__setCallbackInfo(*args
, **kwargs
)
138 def base_SetParameters(*args
, **kwargs
):
139 """base_SetParameters(self, String params)"""
140 return _grid
.PyGridCellRenderer_base_SetParameters(*args
, **kwargs
)
143 class PyGridCellRendererPtr(PyGridCellRenderer
):
144 def __init__(self
, this
):
146 if not hasattr(self
,"thisown"): self
.thisown
= 0
147 self
.__class
__ = PyGridCellRenderer
148 _grid
.PyGridCellRenderer_swigregister(PyGridCellRendererPtr
)
150 class GridCellStringRenderer(GridCellRenderer
):
151 """Proxy of C++ GridCellStringRenderer class"""
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
160 self
._setOORInfo
(self
)
163 class GridCellStringRendererPtr(GridCellStringRenderer
):
164 def __init__(self
, this
):
166 if not hasattr(self
,"thisown"): self
.thisown
= 0
167 self
.__class
__ = GridCellStringRenderer
168 _grid
.GridCellStringRenderer_swigregister(GridCellStringRendererPtr
)
170 class GridCellNumberRenderer(GridCellStringRenderer
):
171 """Proxy of C++ GridCellNumberRenderer class"""
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
180 self
._setOORInfo
(self
)
183 class GridCellNumberRendererPtr(GridCellNumberRenderer
):
184 def __init__(self
, this
):
186 if not hasattr(self
,"thisown"): self
.thisown
= 0
187 self
.__class
__ = GridCellNumberRenderer
188 _grid
.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr
)
190 class GridCellFloatRenderer(GridCellStringRenderer
):
191 """Proxy of C++ GridCellFloatRenderer class"""
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
200 self
._setOORInfo
(self
)
202 def GetWidth(*args
, **kwargs
):
203 """GetWidth(self) -> int"""
204 return _grid
.GridCellFloatRenderer_GetWidth(*args
, **kwargs
)
206 def SetWidth(*args
, **kwargs
):
207 """SetWidth(self, int width)"""
208 return _grid
.GridCellFloatRenderer_SetWidth(*args
, **kwargs
)
210 def GetPrecision(*args
, **kwargs
):
211 """GetPrecision(self) -> int"""
212 return _grid
.GridCellFloatRenderer_GetPrecision(*args
, **kwargs
)
214 def SetPrecision(*args
, **kwargs
):
215 """SetPrecision(self, int precision)"""
216 return _grid
.GridCellFloatRenderer_SetPrecision(*args
, **kwargs
)
219 class GridCellFloatRendererPtr(GridCellFloatRenderer
):
220 def __init__(self
, this
):
222 if not hasattr(self
,"thisown"): self
.thisown
= 0
223 self
.__class
__ = GridCellFloatRenderer
224 _grid
.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr
)
226 class GridCellBoolRenderer(GridCellRenderer
):
227 """Proxy of C++ GridCellBoolRenderer class"""
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
236 self
._setOORInfo
(self
)
239 class GridCellBoolRendererPtr(GridCellBoolRenderer
):
240 def __init__(self
, this
):
242 if not hasattr(self
,"thisown"): self
.thisown
= 0
243 self
.__class
__ = GridCellBoolRenderer
244 _grid
.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr
)
246 class GridCellDateTimeRenderer(GridCellStringRenderer
):
247 """Proxy of C++ GridCellDateTimeRenderer class"""
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
256 self
._setOORInfo
(self
)
259 class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer
):
260 def __init__(self
, this
):
262 if not hasattr(self
,"thisown"): self
.thisown
= 0
263 self
.__class
__ = GridCellDateTimeRenderer
264 _grid
.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr
)
266 class GridCellEnumRenderer(GridCellStringRenderer
):
267 """Proxy of C++ GridCellEnumRenderer class"""
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
276 self
._setOORInfo
(self
)
279 class GridCellEnumRendererPtr(GridCellEnumRenderer
):
280 def __init__(self
, this
):
282 if not hasattr(self
,"thisown"): self
.thisown
= 0
283 self
.__class
__ = GridCellEnumRenderer
284 _grid
.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr
)
286 class GridCellAutoWrapStringRenderer(GridCellStringRenderer
):
287 """Proxy of C++ GridCellAutoWrapStringRenderer class"""
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
296 self
._setOORInfo
(self
)
299 class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer
):
300 def __init__(self
, this
):
302 if not hasattr(self
,"thisown"): self
.thisown
= 0
303 self
.__class
__ = GridCellAutoWrapStringRenderer
304 _grid
.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr
)
306 class GridCellEditor(object):
307 """Proxy of C++ GridCellEditor class"""
308 def __init__(self
): raise RuntimeError, "No constructor defined"
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
)
315 def IsCreated(*args
, **kwargs
):
316 """IsCreated(self) -> bool"""
317 return _grid
.GridCellEditor_IsCreated(*args
, **kwargs
)
319 def GetControl(*args
, **kwargs
):
320 """GetControl(self) -> Control"""
321 return _grid
.GridCellEditor_GetControl(*args
, **kwargs
)
323 def SetControl(*args
, **kwargs
):
324 """SetControl(self, Control control)"""
325 return _grid
.GridCellEditor_SetControl(*args
, **kwargs
)
327 def GetCellAttr(*args
, **kwargs
):
328 """GetCellAttr(self) -> GridCellAttr"""
329 return _grid
.GridCellEditor_GetCellAttr(*args
, **kwargs
)
331 def SetCellAttr(*args
, **kwargs
):
332 """SetCellAttr(self, GridCellAttr attr)"""
333 return _grid
.GridCellEditor_SetCellAttr(*args
, **kwargs
)
335 def SetParameters(*args
, **kwargs
):
336 """SetParameters(self, String params)"""
337 return _grid
.GridCellEditor_SetParameters(*args
, **kwargs
)
339 def IncRef(*args
, **kwargs
):
341 return _grid
.GridCellEditor_IncRef(*args
, **kwargs
)
343 def DecRef(*args
, **kwargs
):
345 return _grid
.GridCellEditor_DecRef(*args
, **kwargs
)
347 def Create(*args
, **kwargs
):
348 """Create(self, Window parent, int id, EvtHandler evtHandler)"""
349 return _grid
.GridCellEditor_Create(*args
, **kwargs
)
351 def BeginEdit(*args
, **kwargs
):
352 """BeginEdit(self, int row, int col, Grid grid)"""
353 return _grid
.GridCellEditor_BeginEdit(*args
, **kwargs
)
355 def EndEdit(*args
, **kwargs
):
356 """EndEdit(self, int row, int col, Grid grid) -> bool"""
357 return _grid
.GridCellEditor_EndEdit(*args
, **kwargs
)
359 def Reset(*args
, **kwargs
):
361 return _grid
.GridCellEditor_Reset(*args
, **kwargs
)
363 def Clone(*args
, **kwargs
):
364 """Clone(self) -> GridCellEditor"""
365 return _grid
.GridCellEditor_Clone(*args
, **kwargs
)
367 def SetSize(*args
, **kwargs
):
368 """SetSize(self, Rect rect)"""
369 return _grid
.GridCellEditor_SetSize(*args
, **kwargs
)
371 def Show(*args
, **kwargs
):
372 """Show(self, bool show, GridCellAttr attr=None)"""
373 return _grid
.GridCellEditor_Show(*args
, **kwargs
)
375 def PaintBackground(*args
, **kwargs
):
376 """PaintBackground(self, Rect rectCell, GridCellAttr attr)"""
377 return _grid
.GridCellEditor_PaintBackground(*args
, **kwargs
)
379 def IsAcceptedKey(*args
, **kwargs
):
380 """IsAcceptedKey(self, KeyEvent event) -> bool"""
381 return _grid
.GridCellEditor_IsAcceptedKey(*args
, **kwargs
)
383 def StartingKey(*args
, **kwargs
):
384 """StartingKey(self, KeyEvent event)"""
385 return _grid
.GridCellEditor_StartingKey(*args
, **kwargs
)
387 def StartingClick(*args
, **kwargs
):
388 """StartingClick(self)"""
389 return _grid
.GridCellEditor_StartingClick(*args
, **kwargs
)
391 def HandleReturn(*args
, **kwargs
):
392 """HandleReturn(self, KeyEvent event)"""
393 return _grid
.GridCellEditor_HandleReturn(*args
, **kwargs
)
395 def Destroy(*args
, **kwargs
):
397 return _grid
.GridCellEditor_Destroy(*args
, **kwargs
)
400 class GridCellEditorPtr(GridCellEditor
):
401 def __init__(self
, this
):
403 if not hasattr(self
,"thisown"): self
.thisown
= 0
404 self
.__class
__ = GridCellEditor
405 _grid
.GridCellEditor_swigregister(GridCellEditorPtr
)
407 class PyGridCellEditor(GridCellEditor
):
408 """Proxy of C++ PyGridCellEditor class"""
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
417 self
._setCallbackInfo
(self
, PyGridCellEditor
);self
._setOORInfo
(self
)
419 def _setCallbackInfo(*args
, **kwargs
):
420 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
421 return _grid
.PyGridCellEditor__setCallbackInfo(*args
, **kwargs
)
423 def base_SetSize(*args
, **kwargs
):
424 """base_SetSize(self, Rect rect)"""
425 return _grid
.PyGridCellEditor_base_SetSize(*args
, **kwargs
)
427 def base_Show(*args
, **kwargs
):
428 """base_Show(self, bool show, GridCellAttr attr=None)"""
429 return _grid
.PyGridCellEditor_base_Show(*args
, **kwargs
)
431 def base_PaintBackground(*args
, **kwargs
):
432 """base_PaintBackground(self, Rect rectCell, GridCellAttr attr)"""
433 return _grid
.PyGridCellEditor_base_PaintBackground(*args
, **kwargs
)
435 def base_IsAcceptedKey(*args
, **kwargs
):
436 """base_IsAcceptedKey(self, KeyEvent event) -> bool"""
437 return _grid
.PyGridCellEditor_base_IsAcceptedKey(*args
, **kwargs
)
439 def base_StartingKey(*args
, **kwargs
):
440 """base_StartingKey(self, KeyEvent event)"""
441 return _grid
.PyGridCellEditor_base_StartingKey(*args
, **kwargs
)
443 def base_StartingClick(*args
, **kwargs
):
444 """base_StartingClick(self)"""
445 return _grid
.PyGridCellEditor_base_StartingClick(*args
, **kwargs
)
447 def base_HandleReturn(*args
, **kwargs
):
448 """base_HandleReturn(self, KeyEvent event)"""
449 return _grid
.PyGridCellEditor_base_HandleReturn(*args
, **kwargs
)
451 def base_Destroy(*args
, **kwargs
):
452 """base_Destroy(self)"""
453 return _grid
.PyGridCellEditor_base_Destroy(*args
, **kwargs
)
455 def base_SetParameters(*args
, **kwargs
):
456 """base_SetParameters(self, String params)"""
457 return _grid
.PyGridCellEditor_base_SetParameters(*args
, **kwargs
)
460 class PyGridCellEditorPtr(PyGridCellEditor
):
461 def __init__(self
, this
):
463 if not hasattr(self
,"thisown"): self
.thisown
= 0
464 self
.__class
__ = PyGridCellEditor
465 _grid
.PyGridCellEditor_swigregister(PyGridCellEditorPtr
)
467 class GridCellTextEditor(GridCellEditor
):
468 """Proxy of C++ GridCellTextEditor class"""
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
477 self
._setOORInfo
(self
)
479 def GetValue(*args
, **kwargs
):
480 """GetValue(self) -> String"""
481 return _grid
.GridCellTextEditor_GetValue(*args
, **kwargs
)
484 class GridCellTextEditorPtr(GridCellTextEditor
):
485 def __init__(self
, this
):
487 if not hasattr(self
,"thisown"): self
.thisown
= 0
488 self
.__class
__ = GridCellTextEditor
489 _grid
.GridCellTextEditor_swigregister(GridCellTextEditorPtr
)
491 class GridCellNumberEditor(GridCellTextEditor
):
492 """Proxy of C++ GridCellNumberEditor class"""
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
501 self
._setOORInfo
(self
)
503 def GetValue(*args
, **kwargs
):
504 """GetValue(self) -> String"""
505 return _grid
.GridCellNumberEditor_GetValue(*args
, **kwargs
)
508 class GridCellNumberEditorPtr(GridCellNumberEditor
):
509 def __init__(self
, this
):
511 if not hasattr(self
,"thisown"): self
.thisown
= 0
512 self
.__class
__ = GridCellNumberEditor
513 _grid
.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr
)
515 class GridCellFloatEditor(GridCellTextEditor
):
516 """Proxy of C++ GridCellFloatEditor class"""
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
525 self
._setOORInfo
(self
)
527 def GetValue(*args
, **kwargs
):
528 """GetValue(self) -> String"""
529 return _grid
.GridCellFloatEditor_GetValue(*args
, **kwargs
)
532 class GridCellFloatEditorPtr(GridCellFloatEditor
):
533 def __init__(self
, this
):
535 if not hasattr(self
,"thisown"): self
.thisown
= 0
536 self
.__class
__ = GridCellFloatEditor
537 _grid
.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr
)
539 class GridCellBoolEditor(GridCellEditor
):
540 """Proxy of C++ GridCellBoolEditor class"""
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
549 self
._setOORInfo
(self
)
551 def GetValue(*args
, **kwargs
):
552 """GetValue(self) -> String"""
553 return _grid
.GridCellBoolEditor_GetValue(*args
, **kwargs
)
556 class GridCellBoolEditorPtr(GridCellBoolEditor
):
557 def __init__(self
, this
):
559 if not hasattr(self
,"thisown"): self
.thisown
= 0
560 self
.__class
__ = GridCellBoolEditor
561 _grid
.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr
)
563 class GridCellChoiceEditor(GridCellEditor
):
564 """Proxy of C++ GridCellChoiceEditor class"""
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
573 self
._setOORInfo
(self
)
575 def GetValue(*args
, **kwargs
):
576 """GetValue(self) -> String"""
577 return _grid
.GridCellChoiceEditor_GetValue(*args
, **kwargs
)
580 class GridCellChoiceEditorPtr(GridCellChoiceEditor
):
581 def __init__(self
, this
):
583 if not hasattr(self
,"thisown"): self
.thisown
= 0
584 self
.__class
__ = GridCellChoiceEditor
585 _grid
.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr
)
587 class GridCellEnumEditor(GridCellChoiceEditor
):
588 """Proxy of C++ GridCellEnumEditor class"""
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
597 self
._setOORInfo
(self
)
599 def GetValue(*args
, **kwargs
):
600 """GetValue(self) -> String"""
601 return _grid
.GridCellEnumEditor_GetValue(*args
, **kwargs
)
604 class GridCellEnumEditorPtr(GridCellEnumEditor
):
605 def __init__(self
, this
):
607 if not hasattr(self
,"thisown"): self
.thisown
= 0
608 self
.__class
__ = GridCellEnumEditor
609 _grid
.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr
)
611 class GridCellAutoWrapStringEditor(GridCellTextEditor
):
612 """Proxy of C++ GridCellAutoWrapStringEditor class"""
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
621 self
._setOORInfo
(self
)
623 def GetValue(*args
, **kwargs
):
624 """GetValue(self) -> String"""
625 return _grid
.GridCellAutoWrapStringEditor_GetValue(*args
, **kwargs
)
628 class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor
):
629 def __init__(self
, this
):
631 if not hasattr(self
,"thisown"): self
.thisown
= 0
632 self
.__class
__ = GridCellAutoWrapStringEditor
633 _grid
.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr
)
635 class GridCellAttr(object):
636 """Proxy of C++ GridCellAttr class"""
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
)
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
655 self
._setOORInfo
(self
)
657 def Clone(*args
, **kwargs
):
658 """Clone(self) -> GridCellAttr"""
659 return _grid
.GridCellAttr_Clone(*args
, **kwargs
)
661 def MergeWith(*args
, **kwargs
):
662 """MergeWith(self, GridCellAttr mergefrom)"""
663 return _grid
.GridCellAttr_MergeWith(*args
, **kwargs
)
665 def IncRef(*args
, **kwargs
):
667 return _grid
.GridCellAttr_IncRef(*args
, **kwargs
)
669 def DecRef(*args
, **kwargs
):
671 return _grid
.GridCellAttr_DecRef(*args
, **kwargs
)
673 def SetTextColour(*args
, **kwargs
):
674 """SetTextColour(self, Colour colText)"""
675 return _grid
.GridCellAttr_SetTextColour(*args
, **kwargs
)
677 def SetBackgroundColour(*args
, **kwargs
):
678 """SetBackgroundColour(self, Colour colBack)"""
679 return _grid
.GridCellAttr_SetBackgroundColour(*args
, **kwargs
)
681 def SetFont(*args
, **kwargs
):
682 """SetFont(self, Font font)"""
683 return _grid
.GridCellAttr_SetFont(*args
, **kwargs
)
685 def SetAlignment(*args
, **kwargs
):
686 """SetAlignment(self, int hAlign, int vAlign)"""
687 return _grid
.GridCellAttr_SetAlignment(*args
, **kwargs
)
689 def SetSize(*args
, **kwargs
):
690 """SetSize(self, int num_rows, int num_cols)"""
691 return _grid
.GridCellAttr_SetSize(*args
, **kwargs
)
693 def SetOverflow(*args
, **kwargs
):
694 """SetOverflow(self, bool allow=True)"""
695 return _grid
.GridCellAttr_SetOverflow(*args
, **kwargs
)
697 def SetReadOnly(*args
, **kwargs
):
698 """SetReadOnly(self, bool isReadOnly=True)"""
699 return _grid
.GridCellAttr_SetReadOnly(*args
, **kwargs
)
701 def SetRenderer(*args
, **kwargs
):
702 """SetRenderer(self, GridCellRenderer renderer)"""
703 return _grid
.GridCellAttr_SetRenderer(*args
, **kwargs
)
705 def SetEditor(*args
, **kwargs
):
706 """SetEditor(self, GridCellEditor editor)"""
707 return _grid
.GridCellAttr_SetEditor(*args
, **kwargs
)
709 def SetKind(*args
, **kwargs
):
710 """SetKind(self, int kind)"""
711 return _grid
.GridCellAttr_SetKind(*args
, **kwargs
)
713 def HasTextColour(*args
, **kwargs
):
714 """HasTextColour(self) -> bool"""
715 return _grid
.GridCellAttr_HasTextColour(*args
, **kwargs
)
717 def HasBackgroundColour(*args
, **kwargs
):
718 """HasBackgroundColour(self) -> bool"""
719 return _grid
.GridCellAttr_HasBackgroundColour(*args
, **kwargs
)
721 def HasFont(*args
, **kwargs
):
722 """HasFont(self) -> bool"""
723 return _grid
.GridCellAttr_HasFont(*args
, **kwargs
)
725 def HasAlignment(*args
, **kwargs
):
726 """HasAlignment(self) -> bool"""
727 return _grid
.GridCellAttr_HasAlignment(*args
, **kwargs
)
729 def HasRenderer(*args
, **kwargs
):
730 """HasRenderer(self) -> bool"""
731 return _grid
.GridCellAttr_HasRenderer(*args
, **kwargs
)
733 def HasEditor(*args
, **kwargs
):
734 """HasEditor(self) -> bool"""
735 return _grid
.GridCellAttr_HasEditor(*args
, **kwargs
)
737 def HasReadWriteMode(*args
, **kwargs
):
738 """HasReadWriteMode(self) -> bool"""
739 return _grid
.GridCellAttr_HasReadWriteMode(*args
, **kwargs
)
741 def HasOverflowMode(*args
, **kwargs
):
742 """HasOverflowMode(self) -> bool"""
743 return _grid
.GridCellAttr_HasOverflowMode(*args
, **kwargs
)
745 def GetTextColour(*args
, **kwargs
):
746 """GetTextColour(self) -> Colour"""
747 return _grid
.GridCellAttr_GetTextColour(*args
, **kwargs
)
749 def GetBackgroundColour(*args
, **kwargs
):
750 """GetBackgroundColour(self) -> Colour"""
751 return _grid
.GridCellAttr_GetBackgroundColour(*args
, **kwargs
)
753 def GetFont(*args
, **kwargs
):
754 """GetFont(self) -> Font"""
755 return _grid
.GridCellAttr_GetFont(*args
, **kwargs
)
757 def GetAlignment(*args
, **kwargs
):
758 """GetAlignment() -> (hAlign, vAlign)"""
759 return _grid
.GridCellAttr_GetAlignment(*args
, **kwargs
)
761 def GetSize(*args
, **kwargs
):
762 """GetSize() -> (num_rows, num_cols)"""
763 return _grid
.GridCellAttr_GetSize(*args
, **kwargs
)
765 def GetOverflow(*args
, **kwargs
):
766 """GetOverflow(self) -> bool"""
767 return _grid
.GridCellAttr_GetOverflow(*args
, **kwargs
)
769 def GetRenderer(*args
, **kwargs
):
770 """GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer"""
771 return _grid
.GridCellAttr_GetRenderer(*args
, **kwargs
)
773 def GetEditor(*args
, **kwargs
):
774 """GetEditor(self, Grid grid, int row, int col) -> GridCellEditor"""
775 return _grid
.GridCellAttr_GetEditor(*args
, **kwargs
)
777 def IsReadOnly(*args
, **kwargs
):
778 """IsReadOnly(self) -> bool"""
779 return _grid
.GridCellAttr_IsReadOnly(*args
, **kwargs
)
781 def GetKind(*args
, **kwargs
):
782 """GetKind(self) -> int"""
783 return _grid
.GridCellAttr_GetKind(*args
, **kwargs
)
785 def SetDefAttr(*args
, **kwargs
):
786 """SetDefAttr(self, GridCellAttr defAttr)"""
787 return _grid
.GridCellAttr_SetDefAttr(*args
, **kwargs
)
790 class GridCellAttrPtr(GridCellAttr
):
791 def __init__(self
, this
):
793 if not hasattr(self
,"thisown"): self
.thisown
= 0
794 self
.__class
__ = GridCellAttr
795 _grid
.GridCellAttr_swigregister(GridCellAttrPtr
)
797 class GridCellAttrProvider(object):
798 """Proxy of C++ GridCellAttrProvider class"""
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
807 self
._setOORInfo
(self
)
809 def _setOORInfo(*args
, **kwargs
):
810 """_setOORInfo(self, PyObject _self)"""
811 return _grid
.GridCellAttrProvider__setOORInfo(*args
, **kwargs
)
813 def GetAttr(*args
, **kwargs
):
814 """GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
815 return _grid
.GridCellAttrProvider_GetAttr(*args
, **kwargs
)
817 def SetAttr(*args
, **kwargs
):
818 """SetAttr(self, GridCellAttr attr, int row, int col)"""
819 return _grid
.GridCellAttrProvider_SetAttr(*args
, **kwargs
)
821 def SetRowAttr(*args
, **kwargs
):
822 """SetRowAttr(self, GridCellAttr attr, int row)"""
823 return _grid
.GridCellAttrProvider_SetRowAttr(*args
, **kwargs
)
825 def SetColAttr(*args
, **kwargs
):
826 """SetColAttr(self, GridCellAttr attr, int col)"""
827 return _grid
.GridCellAttrProvider_SetColAttr(*args
, **kwargs
)
829 def UpdateAttrRows(*args
, **kwargs
):
830 """UpdateAttrRows(self, size_t pos, int numRows)"""
831 return _grid
.GridCellAttrProvider_UpdateAttrRows(*args
, **kwargs
)
833 def UpdateAttrCols(*args
, **kwargs
):
834 """UpdateAttrCols(self, size_t pos, int numCols)"""
835 return _grid
.GridCellAttrProvider_UpdateAttrCols(*args
, **kwargs
)
838 class GridCellAttrProviderPtr(GridCellAttrProvider
):
839 def __init__(self
, this
):
841 if not hasattr(self
,"thisown"): self
.thisown
= 0
842 self
.__class
__ = GridCellAttrProvider
843 _grid
.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr
)
845 class PyGridCellAttrProvider(GridCellAttrProvider
):
846 """Proxy of C++ PyGridCellAttrProvider class"""
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
855 self
._setCallbackInfo
(self
, PyGridCellAttrProvider
)
857 def _setCallbackInfo(*args
, **kwargs
):
858 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
859 return _grid
.PyGridCellAttrProvider__setCallbackInfo(*args
, **kwargs
)
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
)
865 def base_SetAttr(*args
, **kwargs
):
866 """base_SetAttr(self, GridCellAttr attr, int row, int col)"""
867 return _grid
.PyGridCellAttrProvider_base_SetAttr(*args
, **kwargs
)
869 def base_SetRowAttr(*args
, **kwargs
):
870 """base_SetRowAttr(self, GridCellAttr attr, int row)"""
871 return _grid
.PyGridCellAttrProvider_base_SetRowAttr(*args
, **kwargs
)
873 def base_SetColAttr(*args
, **kwargs
):
874 """base_SetColAttr(self, GridCellAttr attr, int col)"""
875 return _grid
.PyGridCellAttrProvider_base_SetColAttr(*args
, **kwargs
)
878 class PyGridCellAttrProviderPtr(PyGridCellAttrProvider
):
879 def __init__(self
, this
):
881 if not hasattr(self
,"thisown"): self
.thisown
= 0
882 self
.__class
__ = PyGridCellAttrProvider
883 _grid
.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr
)
885 class GridTableBase(_core
.Object
):
886 """Proxy of C++ GridTableBase class"""
887 def __init__(self
): raise RuntimeError, "No constructor defined"
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
)
894 def SetAttrProvider(*args
, **kwargs
):
895 """SetAttrProvider(self, GridCellAttrProvider attrProvider)"""
896 return _grid
.GridTableBase_SetAttrProvider(*args
, **kwargs
)
898 def GetAttrProvider(*args
, **kwargs
):
899 """GetAttrProvider(self) -> GridCellAttrProvider"""
900 return _grid
.GridTableBase_GetAttrProvider(*args
, **kwargs
)
902 def SetView(*args
, **kwargs
):
903 """SetView(self, Grid grid)"""
904 return _grid
.GridTableBase_SetView(*args
, **kwargs
)
906 def GetView(*args
, **kwargs
):
907 """GetView(self) -> Grid"""
908 return _grid
.GridTableBase_GetView(*args
, **kwargs
)
910 def GetNumberRows(*args
, **kwargs
):
911 """GetNumberRows(self) -> int"""
912 return _grid
.GridTableBase_GetNumberRows(*args
, **kwargs
)
914 def GetNumberCols(*args
, **kwargs
):
915 """GetNumberCols(self) -> int"""
916 return _grid
.GridTableBase_GetNumberCols(*args
, **kwargs
)
918 def IsEmptyCell(*args
, **kwargs
):
919 """IsEmptyCell(self, int row, int col) -> bool"""
920 return _grid
.GridTableBase_IsEmptyCell(*args
, **kwargs
)
922 def GetValue(*args
, **kwargs
):
923 """GetValue(self, int row, int col) -> String"""
924 return _grid
.GridTableBase_GetValue(*args
, **kwargs
)
926 def SetValue(*args
, **kwargs
):
927 """SetValue(self, int row, int col, String value)"""
928 return _grid
.GridTableBase_SetValue(*args
, **kwargs
)
930 def GetTypeName(*args
, **kwargs
):
931 """GetTypeName(self, int row, int col) -> String"""
932 return _grid
.GridTableBase_GetTypeName(*args
, **kwargs
)
934 def CanGetValueAs(*args
, **kwargs
):
935 """CanGetValueAs(self, int row, int col, String typeName) -> bool"""
936 return _grid
.GridTableBase_CanGetValueAs(*args
, **kwargs
)
938 def CanSetValueAs(*args
, **kwargs
):
939 """CanSetValueAs(self, int row, int col, String typeName) -> bool"""
940 return _grid
.GridTableBase_CanSetValueAs(*args
, **kwargs
)
942 def GetValueAsLong(*args
, **kwargs
):
943 """GetValueAsLong(self, int row, int col) -> long"""
944 return _grid
.GridTableBase_GetValueAsLong(*args
, **kwargs
)
946 def GetValueAsDouble(*args
, **kwargs
):
947 """GetValueAsDouble(self, int row, int col) -> double"""
948 return _grid
.GridTableBase_GetValueAsDouble(*args
, **kwargs
)
950 def GetValueAsBool(*args
, **kwargs
):
951 """GetValueAsBool(self, int row, int col) -> bool"""
952 return _grid
.GridTableBase_GetValueAsBool(*args
, **kwargs
)
954 def SetValueAsLong(*args
, **kwargs
):
955 """SetValueAsLong(self, int row, int col, long value)"""
956 return _grid
.GridTableBase_SetValueAsLong(*args
, **kwargs
)
958 def SetValueAsDouble(*args
, **kwargs
):
959 """SetValueAsDouble(self, int row, int col, double value)"""
960 return _grid
.GridTableBase_SetValueAsDouble(*args
, **kwargs
)
962 def SetValueAsBool(*args
, **kwargs
):
963 """SetValueAsBool(self, int row, int col, bool value)"""
964 return _grid
.GridTableBase_SetValueAsBool(*args
, **kwargs
)
966 def Clear(*args
, **kwargs
):
968 return _grid
.GridTableBase_Clear(*args
, **kwargs
)
970 def InsertRows(*args
, **kwargs
):
971 """InsertRows(self, size_t pos=0, size_t numRows=1) -> bool"""
972 return _grid
.GridTableBase_InsertRows(*args
, **kwargs
)
974 def AppendRows(*args
, **kwargs
):
975 """AppendRows(self, size_t numRows=1) -> bool"""
976 return _grid
.GridTableBase_AppendRows(*args
, **kwargs
)
978 def DeleteRows(*args
, **kwargs
):
979 """DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool"""
980 return _grid
.GridTableBase_DeleteRows(*args
, **kwargs
)
982 def InsertCols(*args
, **kwargs
):
983 """InsertCols(self, size_t pos=0, size_t numCols=1) -> bool"""
984 return _grid
.GridTableBase_InsertCols(*args
, **kwargs
)
986 def AppendCols(*args
, **kwargs
):
987 """AppendCols(self, size_t numCols=1) -> bool"""
988 return _grid
.GridTableBase_AppendCols(*args
, **kwargs
)
990 def DeleteCols(*args
, **kwargs
):
991 """DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool"""
992 return _grid
.GridTableBase_DeleteCols(*args
, **kwargs
)
994 def GetRowLabelValue(*args
, **kwargs
):
995 """GetRowLabelValue(self, int row) -> String"""
996 return _grid
.GridTableBase_GetRowLabelValue(*args
, **kwargs
)
998 def GetColLabelValue(*args
, **kwargs
):
999 """GetColLabelValue(self, int col) -> String"""
1000 return _grid
.GridTableBase_GetColLabelValue(*args
, **kwargs
)
1002 def SetRowLabelValue(*args
, **kwargs
):
1003 """SetRowLabelValue(self, int row, String value)"""
1004 return _grid
.GridTableBase_SetRowLabelValue(*args
, **kwargs
)
1006 def SetColLabelValue(*args
, **kwargs
):
1007 """SetColLabelValue(self, int col, String value)"""
1008 return _grid
.GridTableBase_SetColLabelValue(*args
, **kwargs
)
1010 def CanHaveAttributes(*args
, **kwargs
):
1011 """CanHaveAttributes(self) -> bool"""
1012 return _grid
.GridTableBase_CanHaveAttributes(*args
, **kwargs
)
1014 def GetAttr(*args
, **kwargs
):
1015 """GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
1016 return _grid
.GridTableBase_GetAttr(*args
, **kwargs
)
1018 def SetAttr(*args
, **kwargs
):
1019 """SetAttr(self, GridCellAttr attr, int row, int col)"""
1020 return _grid
.GridTableBase_SetAttr(*args
, **kwargs
)
1022 def SetRowAttr(*args
, **kwargs
):
1023 """SetRowAttr(self, GridCellAttr attr, int row)"""
1024 return _grid
.GridTableBase_SetRowAttr(*args
, **kwargs
)
1026 def SetColAttr(*args
, **kwargs
):
1027 """SetColAttr(self, GridCellAttr attr, int col)"""
1028 return _grid
.GridTableBase_SetColAttr(*args
, **kwargs
)
1031 class GridTableBasePtr(GridTableBase
):
1032 def __init__(self
, this
):
1034 if not hasattr(self
,"thisown"): self
.thisown
= 0
1035 self
.__class
__ = GridTableBase
1036 _grid
.GridTableBase_swigregister(GridTableBasePtr
)
1038 class PyGridTableBase(GridTableBase
):
1039 """Proxy of C++ PyGridTableBase class"""
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
1048 self
._setCallbackInfo
(self
, PyGridTableBase
);self
._setOORInfo
(self
)
1050 def _setCallbackInfo(*args
, **kwargs
):
1051 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1052 return _grid
.PyGridTableBase__setCallbackInfo(*args
, **kwargs
)
1054 def Destroy(*args
, **kwargs
):
1058 Deletes the C++ object this Python object is a proxy for.
1060 return _grid
.PyGridTableBase_Destroy(*args
, **kwargs
)
1062 def base_GetTypeName(*args
, **kwargs
):
1063 """base_GetTypeName(self, int row, int col) -> String"""
1064 return _grid
.PyGridTableBase_base_GetTypeName(*args
, **kwargs
)
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
)
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
)
1074 def base_Clear(*args
, **kwargs
):
1075 """base_Clear(self)"""
1076 return _grid
.PyGridTableBase_base_Clear(*args
, **kwargs
)
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
)
1082 def base_AppendRows(*args
, **kwargs
):
1083 """base_AppendRows(self, size_t numRows=1) -> bool"""
1084 return _grid
.PyGridTableBase_base_AppendRows(*args
, **kwargs
)
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
)
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
)
1094 def base_AppendCols(*args
, **kwargs
):
1095 """base_AppendCols(self, size_t numCols=1) -> bool"""
1096 return _grid
.PyGridTableBase_base_AppendCols(*args
, **kwargs
)
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
)
1102 def base_GetRowLabelValue(*args
, **kwargs
):
1103 """base_GetRowLabelValue(self, int row) -> String"""
1104 return _grid
.PyGridTableBase_base_GetRowLabelValue(*args
, **kwargs
)
1106 def base_GetColLabelValue(*args
, **kwargs
):
1107 """base_GetColLabelValue(self, int col) -> String"""
1108 return _grid
.PyGridTableBase_base_GetColLabelValue(*args
, **kwargs
)
1110 def base_SetRowLabelValue(*args
, **kwargs
):
1111 """base_SetRowLabelValue(self, int row, String value)"""
1112 return _grid
.PyGridTableBase_base_SetRowLabelValue(*args
, **kwargs
)
1114 def base_SetColLabelValue(*args
, **kwargs
):
1115 """base_SetColLabelValue(self, int col, String value)"""
1116 return _grid
.PyGridTableBase_base_SetColLabelValue(*args
, **kwargs
)
1118 def base_CanHaveAttributes(*args
, **kwargs
):
1119 """base_CanHaveAttributes(self) -> bool"""
1120 return _grid
.PyGridTableBase_base_CanHaveAttributes(*args
, **kwargs
)
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
)
1126 def base_SetAttr(*args
, **kwargs
):
1127 """base_SetAttr(self, GridCellAttr attr, int row, int col)"""
1128 return _grid
.PyGridTableBase_base_SetAttr(*args
, **kwargs
)
1130 def base_SetRowAttr(*args
, **kwargs
):
1131 """base_SetRowAttr(self, GridCellAttr attr, int row)"""
1132 return _grid
.PyGridTableBase_base_SetRowAttr(*args
, **kwargs
)
1134 def base_SetColAttr(*args
, **kwargs
):
1135 """base_SetColAttr(self, GridCellAttr attr, int col)"""
1136 return _grid
.PyGridTableBase_base_SetColAttr(*args
, **kwargs
)
1139 class PyGridTableBasePtr(PyGridTableBase
):
1140 def __init__(self
, this
):
1142 if not hasattr(self
,"thisown"): self
.thisown
= 0
1143 self
.__class
__ = PyGridTableBase
1144 _grid
.PyGridTableBase_swigregister(PyGridTableBasePtr
)
1146 class GridStringTable(GridTableBase
):
1147 """Proxy of C++ GridStringTable class"""
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
1156 self
._setOORInfo
(self
)
1159 class GridStringTablePtr(GridStringTable
):
1160 def __init__(self
, this
):
1162 if not hasattr(self
,"thisown"): self
.thisown
= 0
1163 self
.__class
__ = GridStringTable
1164 _grid
.GridStringTable_swigregister(GridStringTablePtr
)
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"""
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
1184 def __del__(self
, destroy
=_grid
.delete_GridTableMessage
):
1187 if self
.thisown
: destroy(self
)
1190 def SetTableObject(*args
, **kwargs
):
1191 """SetTableObject(self, GridTableBase table)"""
1192 return _grid
.GridTableMessage_SetTableObject(*args
, **kwargs
)
1194 def GetTableObject(*args
, **kwargs
):
1195 """GetTableObject(self) -> GridTableBase"""
1196 return _grid
.GridTableMessage_GetTableObject(*args
, **kwargs
)
1198 def SetId(*args
, **kwargs
):
1199 """SetId(self, int id)"""
1200 return _grid
.GridTableMessage_SetId(*args
, **kwargs
)
1202 def GetId(*args
, **kwargs
):
1203 """GetId(self) -> int"""
1204 return _grid
.GridTableMessage_GetId(*args
, **kwargs
)
1206 def SetCommandInt(*args
, **kwargs
):
1207 """SetCommandInt(self, int comInt1)"""
1208 return _grid
.GridTableMessage_SetCommandInt(*args
, **kwargs
)
1210 def GetCommandInt(*args
, **kwargs
):
1211 """GetCommandInt(self) -> int"""
1212 return _grid
.GridTableMessage_GetCommandInt(*args
, **kwargs
)
1214 def SetCommandInt2(*args
, **kwargs
):
1215 """SetCommandInt2(self, int comInt2)"""
1216 return _grid
.GridTableMessage_SetCommandInt2(*args
, **kwargs
)
1218 def GetCommandInt2(*args
, **kwargs
):
1219 """GetCommandInt2(self) -> int"""
1220 return _grid
.GridTableMessage_GetCommandInt2(*args
, **kwargs
)
1223 class GridTableMessagePtr(GridTableMessage
):
1224 def __init__(self
, this
):
1226 if not hasattr(self
,"thisown"): self
.thisown
= 0
1227 self
.__class
__ = GridTableMessage
1228 _grid
.GridTableMessage_swigregister(GridTableMessagePtr
)
1230 class GridCellCoords(object):
1231 """Proxy of C++ GridCellCoords class"""
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
1240 def __del__(self
, destroy
=_grid
.delete_GridCellCoords
):
1243 if self
.thisown
: destroy(self
)
1246 def GetRow(*args
, **kwargs
):
1247 """GetRow(self) -> int"""
1248 return _grid
.GridCellCoords_GetRow(*args
, **kwargs
)
1250 def SetRow(*args
, **kwargs
):
1251 """SetRow(self, int n)"""
1252 return _grid
.GridCellCoords_SetRow(*args
, **kwargs
)
1254 def GetCol(*args
, **kwargs
):
1255 """GetCol(self) -> int"""
1256 return _grid
.GridCellCoords_GetCol(*args
, **kwargs
)
1258 def SetCol(*args
, **kwargs
):
1259 """SetCol(self, int n)"""
1260 return _grid
.GridCellCoords_SetCol(*args
, **kwargs
)
1262 def Set(*args
, **kwargs
):
1263 """Set(self, int row, int col)"""
1264 return _grid
.GridCellCoords_Set(*args
, **kwargs
)
1266 def __eq__(*args
, **kwargs
):
1267 """__eq__(self, GridCellCoords other) -> bool"""
1268 return _grid
.GridCellCoords___eq__(*args
, **kwargs
)
1270 def __ne__(*args
, **kwargs
):
1271 """__ne__(self, GridCellCoords other) -> bool"""
1272 return _grid
.GridCellCoords___ne__(*args
, **kwargs
)
1274 def Get(*args
, **kwargs
):
1275 """Get(self) -> PyObject"""
1276 return _grid
.GridCellCoords_Get(*args
, **kwargs
)
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
1289 class GridCellCoordsPtr(GridCellCoords
):
1290 def __init__(self
, this
):
1292 if not hasattr(self
,"thisown"): self
.thisown
= 0
1293 self
.__class
__ = GridCellCoords
1294 _grid
.GridCellCoords_swigregister(GridCellCoordsPtr
)
1296 class Grid(_windows
.ScrolledWindow
):
1297 """Proxy of C++ Grid class"""
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
):
1302 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1303 Size size=DefaultSize, long style=WANTS_CHARS,
1304 String name=PanelNameStr) -> Grid
1306 newobj
= _grid
.new_Grid(*args
, **kwargs
)
1307 self
.this
= newobj
.this
1310 self
._setOORInfo
(self
)
1312 def Create(*args
, **kwargs
):
1314 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1315 Size size=DefaultSize, long style=WANTS_CHARS,
1316 String name=PanelNameStr) -> bool
1318 return _grid
.Grid_Create(*args
, **kwargs
)
1320 wxGridSelectCells
= _grid
.Grid_wxGridSelectCells
1321 wxGridSelectRows
= _grid
.Grid_wxGridSelectRows
1322 wxGridSelectColumns
= _grid
.Grid_wxGridSelectColumns
1323 SelectCells
= wxGridSelectCells
1324 SelectRows
= wxGridSelectRows
1325 SelectColumns
= wxGridSelectColumns
1327 def CreateGrid(*args
, **kwargs
):
1328 """CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
1329 return _grid
.Grid_CreateGrid(*args
, **kwargs
)
1331 def SetSelectionMode(*args
, **kwargs
):
1332 """SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)"""
1333 return _grid
.Grid_SetSelectionMode(*args
, **kwargs
)
1335 def GetSelectionMode(*args
, **kwargs
):
1336 """GetSelectionMode(self) -> WXGRIDSELECTIONMODES"""
1337 return _grid
.Grid_GetSelectionMode(*args
, **kwargs
)
1339 def GetNumberRows(*args
, **kwargs
):
1340 """GetNumberRows(self) -> int"""
1341 return _grid
.Grid_GetNumberRows(*args
, **kwargs
)
1343 def GetNumberCols(*args
, **kwargs
):
1344 """GetNumberCols(self) -> int"""
1345 return _grid
.Grid_GetNumberCols(*args
, **kwargs
)
1347 def ProcessTableMessage(*args
, **kwargs
):
1348 """ProcessTableMessage(self, GridTableMessage ??) -> bool"""
1349 return _grid
.Grid_ProcessTableMessage(*args
, **kwargs
)
1351 def GetTable(*args
, **kwargs
):
1352 """GetTable(self) -> GridTableBase"""
1353 return _grid
.Grid_GetTable(*args
, **kwargs
)
1355 def SetTable(*args
, **kwargs
):
1356 """SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
1357 return _grid
.Grid_SetTable(*args
, **kwargs
)
1359 def ClearGrid(*args
, **kwargs
):
1360 """ClearGrid(self)"""
1361 return _grid
.Grid_ClearGrid(*args
, **kwargs
)
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
)
1367 def AppendRows(*args
, **kwargs
):
1368 """AppendRows(self, int numRows=1, bool updateLabels=True) -> bool"""
1369 return _grid
.Grid_AppendRows(*args
, **kwargs
)
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
)
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
)
1379 def AppendCols(*args
, **kwargs
):
1380 """AppendCols(self, int numCols=1, bool updateLabels=True) -> bool"""
1381 return _grid
.Grid_AppendCols(*args
, **kwargs
)
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
)
1387 def DrawCellHighlight(*args
, **kwargs
):
1388 """DrawCellHighlight(self, DC dc, GridCellAttr attr)"""
1389 return _grid
.Grid_DrawCellHighlight(*args
, **kwargs
)
1391 def DrawTextRectangle(*args
, **kwargs
):
1393 DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT,
1394 int verticalAlignment=TOP, int textOrientation=HORIZONTAL)
1396 return _grid
.Grid_DrawTextRectangle(*args
, **kwargs
)
1398 def GetTextBoxSize(*args
, **kwargs
):
1399 """GetTextBoxSize(DC dc, list lines) -> (width, height)"""
1400 return _grid
.Grid_GetTextBoxSize(*args
, **kwargs
)
1402 def BeginBatch(*args
, **kwargs
):
1403 """BeginBatch(self)"""
1404 return _grid
.Grid_BeginBatch(*args
, **kwargs
)
1406 def EndBatch(*args
, **kwargs
):
1407 """EndBatch(self)"""
1408 return _grid
.Grid_EndBatch(*args
, **kwargs
)
1410 def GetBatchCount(*args
, **kwargs
):
1411 """GetBatchCount(self) -> int"""
1412 return _grid
.Grid_GetBatchCount(*args
, **kwargs
)
1414 def ForceRefresh(*args
, **kwargs
):
1415 """ForceRefresh(self)"""
1416 return _grid
.Grid_ForceRefresh(*args
, **kwargs
)
1418 def IsEditable(*args
, **kwargs
):
1419 """IsEditable(self) -> bool"""
1420 return _grid
.Grid_IsEditable(*args
, **kwargs
)
1422 def EnableEditing(*args
, **kwargs
):
1423 """EnableEditing(self, bool edit)"""
1424 return _grid
.Grid_EnableEditing(*args
, **kwargs
)
1426 def EnableCellEditControl(*args
, **kwargs
):
1427 """EnableCellEditControl(self, bool enable=True)"""
1428 return _grid
.Grid_EnableCellEditControl(*args
, **kwargs
)
1430 def DisableCellEditControl(*args
, **kwargs
):
1431 """DisableCellEditControl(self)"""
1432 return _grid
.Grid_DisableCellEditControl(*args
, **kwargs
)
1434 def CanEnableCellControl(*args
, **kwargs
):
1435 """CanEnableCellControl(self) -> bool"""
1436 return _grid
.Grid_CanEnableCellControl(*args
, **kwargs
)
1438 def IsCellEditControlEnabled(*args
, **kwargs
):
1439 """IsCellEditControlEnabled(self) -> bool"""
1440 return _grid
.Grid_IsCellEditControlEnabled(*args
, **kwargs
)
1442 def IsCellEditControlShown(*args
, **kwargs
):
1443 """IsCellEditControlShown(self) -> bool"""
1444 return _grid
.Grid_IsCellEditControlShown(*args
, **kwargs
)
1446 def IsCurrentCellReadOnly(*args
, **kwargs
):
1447 """IsCurrentCellReadOnly(self) -> bool"""
1448 return _grid
.Grid_IsCurrentCellReadOnly(*args
, **kwargs
)
1450 def ShowCellEditControl(*args
, **kwargs
):
1451 """ShowCellEditControl(self)"""
1452 return _grid
.Grid_ShowCellEditControl(*args
, **kwargs
)
1454 def HideCellEditControl(*args
, **kwargs
):
1455 """HideCellEditControl(self)"""
1456 return _grid
.Grid_HideCellEditControl(*args
, **kwargs
)
1458 def SaveEditControlValue(*args
, **kwargs
):
1459 """SaveEditControlValue(self)"""
1460 return _grid
.Grid_SaveEditControlValue(*args
, **kwargs
)
1462 def XYToCell(*args
, **kwargs
):
1463 """XYToCell(self, int x, int y) -> GridCellCoords"""
1464 return _grid
.Grid_XYToCell(*args
, **kwargs
)
1466 def YToRow(*args
, **kwargs
):
1467 """YToRow(self, int y) -> int"""
1468 return _grid
.Grid_YToRow(*args
, **kwargs
)
1470 def XToCol(*args
, **kwargs
):
1471 """XToCol(self, int x) -> int"""
1472 return _grid
.Grid_XToCol(*args
, **kwargs
)
1474 def YToEdgeOfRow(*args
, **kwargs
):
1475 """YToEdgeOfRow(self, int y) -> int"""
1476 return _grid
.Grid_YToEdgeOfRow(*args
, **kwargs
)
1478 def XToEdgeOfCol(*args
, **kwargs
):
1479 """XToEdgeOfCol(self, int x) -> int"""
1480 return _grid
.Grid_XToEdgeOfCol(*args
, **kwargs
)
1482 def CellToRect(*args
, **kwargs
):
1483 """CellToRect(self, int row, int col) -> Rect"""
1484 return _grid
.Grid_CellToRect(*args
, **kwargs
)
1486 def GetGridCursorRow(*args
, **kwargs
):
1487 """GetGridCursorRow(self) -> int"""
1488 return _grid
.Grid_GetGridCursorRow(*args
, **kwargs
)
1490 def GetGridCursorCol(*args
, **kwargs
):
1491 """GetGridCursorCol(self) -> int"""
1492 return _grid
.Grid_GetGridCursorCol(*args
, **kwargs
)
1494 def IsVisible(*args
, **kwargs
):
1495 """IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool"""
1496 return _grid
.Grid_IsVisible(*args
, **kwargs
)
1498 def MakeCellVisible(*args
, **kwargs
):
1499 """MakeCellVisible(self, int row, int col)"""
1500 return _grid
.Grid_MakeCellVisible(*args
, **kwargs
)
1502 def SetGridCursor(*args
, **kwargs
):
1503 """SetGridCursor(self, int row, int col)"""
1504 return _grid
.Grid_SetGridCursor(*args
, **kwargs
)
1506 def MoveCursorUp(*args
, **kwargs
):
1507 """MoveCursorUp(self, bool expandSelection) -> bool"""
1508 return _grid
.Grid_MoveCursorUp(*args
, **kwargs
)
1510 def MoveCursorDown(*args
, **kwargs
):
1511 """MoveCursorDown(self, bool expandSelection) -> bool"""
1512 return _grid
.Grid_MoveCursorDown(*args
, **kwargs
)
1514 def MoveCursorLeft(*args
, **kwargs
):
1515 """MoveCursorLeft(self, bool expandSelection) -> bool"""
1516 return _grid
.Grid_MoveCursorLeft(*args
, **kwargs
)
1518 def MoveCursorRight(*args
, **kwargs
):
1519 """MoveCursorRight(self, bool expandSelection) -> bool"""
1520 return _grid
.Grid_MoveCursorRight(*args
, **kwargs
)
1522 def MovePageDown(*args
, **kwargs
):
1523 """MovePageDown(self) -> bool"""
1524 return _grid
.Grid_MovePageDown(*args
, **kwargs
)
1526 def MovePageUp(*args
, **kwargs
):
1527 """MovePageUp(self) -> bool"""
1528 return _grid
.Grid_MovePageUp(*args
, **kwargs
)
1530 def MoveCursorUpBlock(*args
, **kwargs
):
1531 """MoveCursorUpBlock(self, bool expandSelection) -> bool"""
1532 return _grid
.Grid_MoveCursorUpBlock(*args
, **kwargs
)
1534 def MoveCursorDownBlock(*args
, **kwargs
):
1535 """MoveCursorDownBlock(self, bool expandSelection) -> bool"""
1536 return _grid
.Grid_MoveCursorDownBlock(*args
, **kwargs
)
1538 def MoveCursorLeftBlock(*args
, **kwargs
):
1539 """MoveCursorLeftBlock(self, bool expandSelection) -> bool"""
1540 return _grid
.Grid_MoveCursorLeftBlock(*args
, **kwargs
)
1542 def MoveCursorRightBlock(*args
, **kwargs
):
1543 """MoveCursorRightBlock(self, bool expandSelection) -> bool"""
1544 return _grid
.Grid_MoveCursorRightBlock(*args
, **kwargs
)
1546 def GetDefaultRowLabelSize(*args
, **kwargs
):
1547 """GetDefaultRowLabelSize(self) -> int"""
1548 return _grid
.Grid_GetDefaultRowLabelSize(*args
, **kwargs
)
1550 def GetRowLabelSize(*args
, **kwargs
):
1551 """GetRowLabelSize(self) -> int"""
1552 return _grid
.Grid_GetRowLabelSize(*args
, **kwargs
)
1554 def GetDefaultColLabelSize(*args
, **kwargs
):
1555 """GetDefaultColLabelSize(self) -> int"""
1556 return _grid
.Grid_GetDefaultColLabelSize(*args
, **kwargs
)
1558 def GetColLabelSize(*args
, **kwargs
):
1559 """GetColLabelSize(self) -> int"""
1560 return _grid
.Grid_GetColLabelSize(*args
, **kwargs
)
1562 def GetLabelBackgroundColour(*args
, **kwargs
):
1563 """GetLabelBackgroundColour(self) -> Colour"""
1564 return _grid
.Grid_GetLabelBackgroundColour(*args
, **kwargs
)
1566 def GetLabelTextColour(*args
, **kwargs
):
1567 """GetLabelTextColour(self) -> Colour"""
1568 return _grid
.Grid_GetLabelTextColour(*args
, **kwargs
)
1570 def GetLabelFont(*args
, **kwargs
):
1571 """GetLabelFont(self) -> Font"""
1572 return _grid
.Grid_GetLabelFont(*args
, **kwargs
)
1574 def GetRowLabelAlignment(*args
, **kwargs
):
1575 """GetRowLabelAlignment() -> (horiz, vert)"""
1576 return _grid
.Grid_GetRowLabelAlignment(*args
, **kwargs
)
1578 def GetColLabelAlignment(*args
, **kwargs
):
1579 """GetColLabelAlignment() -> (horiz, vert)"""
1580 return _grid
.Grid_GetColLabelAlignment(*args
, **kwargs
)
1582 def GetColLabelTextOrientation(*args
, **kwargs
):
1583 """GetColLabelTextOrientation(self) -> int"""
1584 return _grid
.Grid_GetColLabelTextOrientation(*args
, **kwargs
)
1586 def GetRowLabelValue(*args
, **kwargs
):
1587 """GetRowLabelValue(self, int row) -> String"""
1588 return _grid
.Grid_GetRowLabelValue(*args
, **kwargs
)
1590 def GetColLabelValue(*args
, **kwargs
):
1591 """GetColLabelValue(self, int col) -> String"""
1592 return _grid
.Grid_GetColLabelValue(*args
, **kwargs
)
1594 def GetGridLineColour(*args
, **kwargs
):
1595 """GetGridLineColour(self) -> Colour"""
1596 return _grid
.Grid_GetGridLineColour(*args
, **kwargs
)
1598 def GetCellHighlightColour(*args
, **kwargs
):
1599 """GetCellHighlightColour(self) -> Colour"""
1600 return _grid
.Grid_GetCellHighlightColour(*args
, **kwargs
)
1602 def GetCellHighlightPenWidth(*args
, **kwargs
):
1603 """GetCellHighlightPenWidth(self) -> int"""
1604 return _grid
.Grid_GetCellHighlightPenWidth(*args
, **kwargs
)
1606 def GetCellHighlightROPenWidth(*args
, **kwargs
):
1607 """GetCellHighlightROPenWidth(self) -> int"""
1608 return _grid
.Grid_GetCellHighlightROPenWidth(*args
, **kwargs
)
1610 def SetRowLabelSize(*args
, **kwargs
):
1611 """SetRowLabelSize(self, int width)"""
1612 return _grid
.Grid_SetRowLabelSize(*args
, **kwargs
)
1614 def SetColLabelSize(*args
, **kwargs
):
1615 """SetColLabelSize(self, int height)"""
1616 return _grid
.Grid_SetColLabelSize(*args
, **kwargs
)
1618 def SetLabelBackgroundColour(*args
, **kwargs
):
1619 """SetLabelBackgroundColour(self, Colour ??)"""
1620 return _grid
.Grid_SetLabelBackgroundColour(*args
, **kwargs
)
1622 def SetLabelTextColour(*args
, **kwargs
):
1623 """SetLabelTextColour(self, Colour ??)"""
1624 return _grid
.Grid_SetLabelTextColour(*args
, **kwargs
)
1626 def SetLabelFont(*args
, **kwargs
):
1627 """SetLabelFont(self, Font ??)"""
1628 return _grid
.Grid_SetLabelFont(*args
, **kwargs
)
1630 def SetRowLabelAlignment(*args
, **kwargs
):
1631 """SetRowLabelAlignment(self, int horiz, int vert)"""
1632 return _grid
.Grid_SetRowLabelAlignment(*args
, **kwargs
)
1634 def SetColLabelAlignment(*args
, **kwargs
):
1635 """SetColLabelAlignment(self, int horiz, int vert)"""
1636 return _grid
.Grid_SetColLabelAlignment(*args
, **kwargs
)
1638 def SetColLabelTextOrientation(*args
, **kwargs
):
1639 """SetColLabelTextOrientation(self, int textOrientation)"""
1640 return _grid
.Grid_SetColLabelTextOrientation(*args
, **kwargs
)
1642 def SetRowLabelValue(*args
, **kwargs
):
1643 """SetRowLabelValue(self, int row, String ??)"""
1644 return _grid
.Grid_SetRowLabelValue(*args
, **kwargs
)
1646 def SetColLabelValue(*args
, **kwargs
):
1647 """SetColLabelValue(self, int col, String ??)"""
1648 return _grid
.Grid_SetColLabelValue(*args
, **kwargs
)
1650 def SetGridLineColour(*args
, **kwargs
):
1651 """SetGridLineColour(self, Colour ??)"""
1652 return _grid
.Grid_SetGridLineColour(*args
, **kwargs
)
1654 def SetCellHighlightColour(*args
, **kwargs
):
1655 """SetCellHighlightColour(self, Colour ??)"""
1656 return _grid
.Grid_SetCellHighlightColour(*args
, **kwargs
)
1658 def SetCellHighlightPenWidth(*args
, **kwargs
):
1659 """SetCellHighlightPenWidth(self, int width)"""
1660 return _grid
.Grid_SetCellHighlightPenWidth(*args
, **kwargs
)
1662 def SetCellHighlightROPenWidth(*args
, **kwargs
):
1663 """SetCellHighlightROPenWidth(self, int width)"""
1664 return _grid
.Grid_SetCellHighlightROPenWidth(*args
, **kwargs
)
1666 def EnableDragRowSize(*args
, **kwargs
):
1667 """EnableDragRowSize(self, bool enable=True)"""
1668 return _grid
.Grid_EnableDragRowSize(*args
, **kwargs
)
1670 def DisableDragRowSize(*args
, **kwargs
):
1671 """DisableDragRowSize(self)"""
1672 return _grid
.Grid_DisableDragRowSize(*args
, **kwargs
)
1674 def CanDragRowSize(*args
, **kwargs
):
1675 """CanDragRowSize(self) -> bool"""
1676 return _grid
.Grid_CanDragRowSize(*args
, **kwargs
)
1678 def EnableDragColSize(*args
, **kwargs
):
1679 """EnableDragColSize(self, bool enable=True)"""
1680 return _grid
.Grid_EnableDragColSize(*args
, **kwargs
)
1682 def DisableDragColSize(*args
, **kwargs
):
1683 """DisableDragColSize(self)"""
1684 return _grid
.Grid_DisableDragColSize(*args
, **kwargs
)
1686 def CanDragColSize(*args
, **kwargs
):
1687 """CanDragColSize(self) -> bool"""
1688 return _grid
.Grid_CanDragColSize(*args
, **kwargs
)
1690 def EnableDragGridSize(*args
, **kwargs
):
1691 """EnableDragGridSize(self, bool enable=True)"""
1692 return _grid
.Grid_EnableDragGridSize(*args
, **kwargs
)
1694 def DisableDragGridSize(*args
, **kwargs
):
1695 """DisableDragGridSize(self)"""
1696 return _grid
.Grid_DisableDragGridSize(*args
, **kwargs
)
1698 def CanDragGridSize(*args
, **kwargs
):
1699 """CanDragGridSize(self) -> bool"""
1700 return _grid
.Grid_CanDragGridSize(*args
, **kwargs
)
1702 def EnableDragCell(*args
, **kwargs
):
1703 """EnableDragCell(self, bool enable=True)"""
1704 return _grid
.Grid_EnableDragCell(*args
, **kwargs
)
1706 def DisableDragCell(*args
, **kwargs
):
1707 """DisableDragCell(self)"""
1708 return _grid
.Grid_DisableDragCell(*args
, **kwargs
)
1710 def CanDragCell(*args
, **kwargs
):
1711 """CanDragCell(self) -> bool"""
1712 return _grid
.Grid_CanDragCell(*args
, **kwargs
)
1714 def SetAttr(*args
, **kwargs
):
1715 """SetAttr(self, int row, int col, GridCellAttr attr)"""
1716 return _grid
.Grid_SetAttr(*args
, **kwargs
)
1718 def SetRowAttr(*args
, **kwargs
):
1719 """SetRowAttr(self, int row, GridCellAttr attr)"""
1720 return _grid
.Grid_SetRowAttr(*args
, **kwargs
)
1722 def SetColAttr(*args
, **kwargs
):
1723 """SetColAttr(self, int col, GridCellAttr attr)"""
1724 return _grid
.Grid_SetColAttr(*args
, **kwargs
)
1726 def GetOrCreateCellAttr(*args
, **kwargs
):
1727 """GetOrCreateCellAttr(self, int row, int col) -> GridCellAttr"""
1728 return _grid
.Grid_GetOrCreateCellAttr(*args
, **kwargs
)
1730 def SetColFormatBool(*args
, **kwargs
):
1731 """SetColFormatBool(self, int col)"""
1732 return _grid
.Grid_SetColFormatBool(*args
, **kwargs
)
1734 def SetColFormatNumber(*args
, **kwargs
):
1735 """SetColFormatNumber(self, int col)"""
1736 return _grid
.Grid_SetColFormatNumber(*args
, **kwargs
)
1738 def SetColFormatFloat(*args
, **kwargs
):
1739 """SetColFormatFloat(self, int col, int width=-1, int precision=-1)"""
1740 return _grid
.Grid_SetColFormatFloat(*args
, **kwargs
)
1742 def SetColFormatCustom(*args
, **kwargs
):
1743 """SetColFormatCustom(self, int col, String typeName)"""
1744 return _grid
.Grid_SetColFormatCustom(*args
, **kwargs
)
1746 def EnableGridLines(*args
, **kwargs
):
1747 """EnableGridLines(self, bool enable=True)"""
1748 return _grid
.Grid_EnableGridLines(*args
, **kwargs
)
1750 def GridLinesEnabled(*args
, **kwargs
):
1751 """GridLinesEnabled(self) -> bool"""
1752 return _grid
.Grid_GridLinesEnabled(*args
, **kwargs
)
1754 def GetDefaultRowSize(*args
, **kwargs
):
1755 """GetDefaultRowSize(self) -> int"""
1756 return _grid
.Grid_GetDefaultRowSize(*args
, **kwargs
)
1758 def GetRowSize(*args
, **kwargs
):
1759 """GetRowSize(self, int row) -> int"""
1760 return _grid
.Grid_GetRowSize(*args
, **kwargs
)
1762 def GetDefaultColSize(*args
, **kwargs
):
1763 """GetDefaultColSize(self) -> int"""
1764 return _grid
.Grid_GetDefaultColSize(*args
, **kwargs
)
1766 def GetColSize(*args
, **kwargs
):
1767 """GetColSize(self, int col) -> int"""
1768 return _grid
.Grid_GetColSize(*args
, **kwargs
)
1770 def GetDefaultCellBackgroundColour(*args
, **kwargs
):
1771 """GetDefaultCellBackgroundColour(self) -> Colour"""
1772 return _grid
.Grid_GetDefaultCellBackgroundColour(*args
, **kwargs
)
1774 def GetCellBackgroundColour(*args
, **kwargs
):
1775 """GetCellBackgroundColour(self, int row, int col) -> Colour"""
1776 return _grid
.Grid_GetCellBackgroundColour(*args
, **kwargs
)
1778 def GetDefaultCellTextColour(*args
, **kwargs
):
1779 """GetDefaultCellTextColour(self) -> Colour"""
1780 return _grid
.Grid_GetDefaultCellTextColour(*args
, **kwargs
)
1782 def GetCellTextColour(*args
, **kwargs
):
1783 """GetCellTextColour(self, int row, int col) -> Colour"""
1784 return _grid
.Grid_GetCellTextColour(*args
, **kwargs
)
1786 def GetDefaultCellFont(*args
, **kwargs
):
1787 """GetDefaultCellFont(self) -> Font"""
1788 return _grid
.Grid_GetDefaultCellFont(*args
, **kwargs
)
1790 def GetCellFont(*args
, **kwargs
):
1791 """GetCellFont(self, int row, int col) -> Font"""
1792 return _grid
.Grid_GetCellFont(*args
, **kwargs
)
1794 def GetDefaultCellAlignment(*args
, **kwargs
):
1795 """GetDefaultCellAlignment() -> (horiz, vert)"""
1796 return _grid
.Grid_GetDefaultCellAlignment(*args
, **kwargs
)
1798 def GetCellAlignment(*args
, **kwargs
):
1799 """GetCellAlignment() -> (horiz, vert)"""
1800 return _grid
.Grid_GetCellAlignment(*args
, **kwargs
)
1802 def GetDefaultCellOverflow(*args
, **kwargs
):
1803 """GetDefaultCellOverflow(self) -> bool"""
1804 return _grid
.Grid_GetDefaultCellOverflow(*args
, **kwargs
)
1806 def GetCellOverflow(*args
, **kwargs
):
1807 """GetCellOverflow(self, int row, int col) -> bool"""
1808 return _grid
.Grid_GetCellOverflow(*args
, **kwargs
)
1810 def GetCellSize(*args
, **kwargs
):
1811 """GetCellSize(int row, int col) -> (num_rows, num_cols)"""
1812 return _grid
.Grid_GetCellSize(*args
, **kwargs
)
1814 def SetDefaultRowSize(*args
, **kwargs
):
1815 """SetDefaultRowSize(self, int height, bool resizeExistingRows=False)"""
1816 return _grid
.Grid_SetDefaultRowSize(*args
, **kwargs
)
1818 def SetRowSize(*args
, **kwargs
):
1819 """SetRowSize(self, int row, int height)"""
1820 return _grid
.Grid_SetRowSize(*args
, **kwargs
)
1822 def SetDefaultColSize(*args
, **kwargs
):
1823 """SetDefaultColSize(self, int width, bool resizeExistingCols=False)"""
1824 return _grid
.Grid_SetDefaultColSize(*args
, **kwargs
)
1826 def SetColSize(*args
, **kwargs
):
1827 """SetColSize(self, int col, int width)"""
1828 return _grid
.Grid_SetColSize(*args
, **kwargs
)
1830 def AutoSizeColumn(*args
, **kwargs
):
1831 """AutoSizeColumn(self, int col, bool setAsMin=True)"""
1832 return _grid
.Grid_AutoSizeColumn(*args
, **kwargs
)
1834 def AutoSizeRow(*args
, **kwargs
):
1835 """AutoSizeRow(self, int row, bool setAsMin=True)"""
1836 return _grid
.Grid_AutoSizeRow(*args
, **kwargs
)
1838 def AutoSizeColumns(*args
, **kwargs
):
1839 """AutoSizeColumns(self, bool setAsMin=True)"""
1840 return _grid
.Grid_AutoSizeColumns(*args
, **kwargs
)
1842 def AutoSizeRows(*args
, **kwargs
):
1843 """AutoSizeRows(self, bool setAsMin=True)"""
1844 return _grid
.Grid_AutoSizeRows(*args
, **kwargs
)
1846 def AutoSize(*args
, **kwargs
):
1847 """AutoSize(self)"""
1848 return _grid
.Grid_AutoSize(*args
, **kwargs
)
1850 def AutoSizeRowLabelSize(*args
, **kwargs
):
1851 """AutoSizeRowLabelSize(self, int row)"""
1852 return _grid
.Grid_AutoSizeRowLabelSize(*args
, **kwargs
)
1854 def AutoSizeColLabelSize(*args
, **kwargs
):
1855 """AutoSizeColLabelSize(self, int col)"""
1856 return _grid
.Grid_AutoSizeColLabelSize(*args
, **kwargs
)
1858 def SetColMinimalWidth(*args
, **kwargs
):
1859 """SetColMinimalWidth(self, int col, int width)"""
1860 return _grid
.Grid_SetColMinimalWidth(*args
, **kwargs
)
1862 def SetRowMinimalHeight(*args
, **kwargs
):
1863 """SetRowMinimalHeight(self, int row, int width)"""
1864 return _grid
.Grid_SetRowMinimalHeight(*args
, **kwargs
)
1866 def SetColMinimalAcceptableWidth(*args
, **kwargs
):
1867 """SetColMinimalAcceptableWidth(self, int width)"""
1868 return _grid
.Grid_SetColMinimalAcceptableWidth(*args
, **kwargs
)
1870 def SetRowMinimalAcceptableHeight(*args
, **kwargs
):
1871 """SetRowMinimalAcceptableHeight(self, int width)"""
1872 return _grid
.Grid_SetRowMinimalAcceptableHeight(*args
, **kwargs
)
1874 def GetColMinimalAcceptableWidth(*args
, **kwargs
):
1875 """GetColMinimalAcceptableWidth(self) -> int"""
1876 return _grid
.Grid_GetColMinimalAcceptableWidth(*args
, **kwargs
)
1878 def GetRowMinimalAcceptableHeight(*args
, **kwargs
):
1879 """GetRowMinimalAcceptableHeight(self) -> int"""
1880 return _grid
.Grid_GetRowMinimalAcceptableHeight(*args
, **kwargs
)
1882 def SetDefaultCellBackgroundColour(*args
, **kwargs
):
1883 """SetDefaultCellBackgroundColour(self, Colour ??)"""
1884 return _grid
.Grid_SetDefaultCellBackgroundColour(*args
, **kwargs
)
1886 def SetCellBackgroundColour(*args
, **kwargs
):
1887 """SetCellBackgroundColour(self, int row, int col, Colour ??)"""
1888 return _grid
.Grid_SetCellBackgroundColour(*args
, **kwargs
)
1890 def SetDefaultCellTextColour(*args
, **kwargs
):
1891 """SetDefaultCellTextColour(self, Colour ??)"""
1892 return _grid
.Grid_SetDefaultCellTextColour(*args
, **kwargs
)
1894 def SetCellTextColour(*args
, **kwargs
):
1895 """SetCellTextColour(self, int row, int col, Colour ??)"""
1896 return _grid
.Grid_SetCellTextColour(*args
, **kwargs
)
1898 def SetDefaultCellFont(*args
, **kwargs
):
1899 """SetDefaultCellFont(self, Font ??)"""
1900 return _grid
.Grid_SetDefaultCellFont(*args
, **kwargs
)
1902 def SetCellFont(*args
, **kwargs
):
1903 """SetCellFont(self, int row, int col, Font ??)"""
1904 return _grid
.Grid_SetCellFont(*args
, **kwargs
)
1906 def SetDefaultCellAlignment(*args
, **kwargs
):
1907 """SetDefaultCellAlignment(self, int horiz, int vert)"""
1908 return _grid
.Grid_SetDefaultCellAlignment(*args
, **kwargs
)
1910 def SetCellAlignment(*args
, **kwargs
):
1911 """SetCellAlignment(self, int row, int col, int horiz, int vert)"""
1912 return _grid
.Grid_SetCellAlignment(*args
, **kwargs
)
1914 def SetDefaultCellOverflow(*args
, **kwargs
):
1915 """SetDefaultCellOverflow(self, bool allow)"""
1916 return _grid
.Grid_SetDefaultCellOverflow(*args
, **kwargs
)
1918 def SetCellOverflow(*args
, **kwargs
):
1919 """SetCellOverflow(self, int row, int col, bool allow)"""
1920 return _grid
.Grid_SetCellOverflow(*args
, **kwargs
)
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
)
1926 def SetDefaultRenderer(*args
, **kwargs
):
1927 """SetDefaultRenderer(self, GridCellRenderer renderer)"""
1928 return _grid
.Grid_SetDefaultRenderer(*args
, **kwargs
)
1930 def SetCellRenderer(*args
, **kwargs
):
1931 """SetCellRenderer(self, int row, int col, GridCellRenderer renderer)"""
1932 return _grid
.Grid_SetCellRenderer(*args
, **kwargs
)
1934 def GetDefaultRenderer(*args
, **kwargs
):
1935 """GetDefaultRenderer(self) -> GridCellRenderer"""
1936 return _grid
.Grid_GetDefaultRenderer(*args
, **kwargs
)
1938 def GetCellRenderer(*args
, **kwargs
):
1939 """GetCellRenderer(self, int row, int col) -> GridCellRenderer"""
1940 return _grid
.Grid_GetCellRenderer(*args
, **kwargs
)
1942 def SetDefaultEditor(*args
, **kwargs
):
1943 """SetDefaultEditor(self, GridCellEditor editor)"""
1944 return _grid
.Grid_SetDefaultEditor(*args
, **kwargs
)
1946 def SetCellEditor(*args
, **kwargs
):
1947 """SetCellEditor(self, int row, int col, GridCellEditor editor)"""
1948 return _grid
.Grid_SetCellEditor(*args
, **kwargs
)
1950 def GetDefaultEditor(*args
, **kwargs
):
1951 """GetDefaultEditor(self) -> GridCellEditor"""
1952 return _grid
.Grid_GetDefaultEditor(*args
, **kwargs
)
1954 def GetCellEditor(*args
, **kwargs
):
1955 """GetCellEditor(self, int row, int col) -> GridCellEditor"""
1956 return _grid
.Grid_GetCellEditor(*args
, **kwargs
)
1958 def GetCellValue(*args
, **kwargs
):
1959 """GetCellValue(self, int row, int col) -> String"""
1960 return _grid
.Grid_GetCellValue(*args
, **kwargs
)
1962 def SetCellValue(*args
, **kwargs
):
1963 """SetCellValue(self, int row, int col, String s)"""
1964 return _grid
.Grid_SetCellValue(*args
, **kwargs
)
1966 def IsReadOnly(*args
, **kwargs
):
1967 """IsReadOnly(self, int row, int col) -> bool"""
1968 return _grid
.Grid_IsReadOnly(*args
, **kwargs
)
1970 def SetReadOnly(*args
, **kwargs
):
1971 """SetReadOnly(self, int row, int col, bool isReadOnly=True)"""
1972 return _grid
.Grid_SetReadOnly(*args
, **kwargs
)
1974 def SelectRow(*args
, **kwargs
):
1975 """SelectRow(self, int row, bool addToSelected=False)"""
1976 return _grid
.Grid_SelectRow(*args
, **kwargs
)
1978 def SelectCol(*args
, **kwargs
):
1979 """SelectCol(self, int col, bool addToSelected=False)"""
1980 return _grid
.Grid_SelectCol(*args
, **kwargs
)
1982 def SelectBlock(*args
, **kwargs
):
1984 SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol,
1985 bool addToSelected=False)
1987 return _grid
.Grid_SelectBlock(*args
, **kwargs
)
1989 def SelectAll(*args
, **kwargs
):
1990 """SelectAll(self)"""
1991 return _grid
.Grid_SelectAll(*args
, **kwargs
)
1993 def IsSelection(*args
, **kwargs
):
1994 """IsSelection(self) -> bool"""
1995 return _grid
.Grid_IsSelection(*args
, **kwargs
)
1997 def ClearSelection(*args
, **kwargs
):
1998 """ClearSelection(self)"""
1999 return _grid
.Grid_ClearSelection(*args
, **kwargs
)
2001 def IsInSelection(*args
, **kwargs
):
2002 """IsInSelection(self, int row, int col) -> bool"""
2003 return _grid
.Grid_IsInSelection(*args
, **kwargs
)
2005 def GetSelectedCells(*args
, **kwargs
):
2006 """GetSelectedCells(self) -> wxGridCellCoordsArray"""
2007 return _grid
.Grid_GetSelectedCells(*args
, **kwargs
)
2009 def GetSelectionBlockTopLeft(*args
, **kwargs
):
2010 """GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray"""
2011 return _grid
.Grid_GetSelectionBlockTopLeft(*args
, **kwargs
)
2013 def GetSelectionBlockBottomRight(*args
, **kwargs
):
2014 """GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray"""
2015 return _grid
.Grid_GetSelectionBlockBottomRight(*args
, **kwargs
)
2017 def GetSelectedRows(*args
, **kwargs
):
2018 """GetSelectedRows(self) -> wxArrayInt"""
2019 return _grid
.Grid_GetSelectedRows(*args
, **kwargs
)
2021 def GetSelectedCols(*args
, **kwargs
):
2022 """GetSelectedCols(self) -> wxArrayInt"""
2023 return _grid
.Grid_GetSelectedCols(*args
, **kwargs
)
2025 def DeselectRow(*args
, **kwargs
):
2026 """DeselectRow(self, int row)"""
2027 return _grid
.Grid_DeselectRow(*args
, **kwargs
)
2029 def DeselectCol(*args
, **kwargs
):
2030 """DeselectCol(self, int col)"""
2031 return _grid
.Grid_DeselectCol(*args
, **kwargs
)
2033 def DeselectCell(*args
, **kwargs
):
2034 """DeselectCell(self, int row, int col)"""
2035 return _grid
.Grid_DeselectCell(*args
, **kwargs
)
2037 def BlockToDeviceRect(*args
, **kwargs
):
2038 """BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect"""
2039 return _grid
.Grid_BlockToDeviceRect(*args
, **kwargs
)
2041 def GetSelectionBackground(*args
, **kwargs
):
2042 """GetSelectionBackground(self) -> Colour"""
2043 return _grid
.Grid_GetSelectionBackground(*args
, **kwargs
)
2045 def GetSelectionForeground(*args
, **kwargs
):
2046 """GetSelectionForeground(self) -> Colour"""
2047 return _grid
.Grid_GetSelectionForeground(*args
, **kwargs
)
2049 def SetSelectionBackground(*args
, **kwargs
):
2050 """SetSelectionBackground(self, Colour c)"""
2051 return _grid
.Grid_SetSelectionBackground(*args
, **kwargs
)
2053 def SetSelectionForeground(*args
, **kwargs
):
2054 """SetSelectionForeground(self, Colour c)"""
2055 return _grid
.Grid_SetSelectionForeground(*args
, **kwargs
)
2057 def RegisterDataType(*args
, **kwargs
):
2058 """RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)"""
2059 return _grid
.Grid_RegisterDataType(*args
, **kwargs
)
2061 def GetDefaultEditorForCell(*args
, **kwargs
):
2062 """GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor"""
2063 return _grid
.Grid_GetDefaultEditorForCell(*args
, **kwargs
)
2065 def GetDefaultRendererForCell(*args
, **kwargs
):
2066 """GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer"""
2067 return _grid
.Grid_GetDefaultRendererForCell(*args
, **kwargs
)
2069 def GetDefaultEditorForType(*args
, **kwargs
):
2070 """GetDefaultEditorForType(self, String typeName) -> GridCellEditor"""
2071 return _grid
.Grid_GetDefaultEditorForType(*args
, **kwargs
)
2073 def GetDefaultRendererForType(*args
, **kwargs
):
2074 """GetDefaultRendererForType(self, String typeName) -> GridCellRenderer"""
2075 return _grid
.Grid_GetDefaultRendererForType(*args
, **kwargs
)
2077 def SetMargins(*args
, **kwargs
):
2078 """SetMargins(self, int extraWidth, int extraHeight)"""
2079 return _grid
.Grid_SetMargins(*args
, **kwargs
)
2081 def GetGridWindow(*args
, **kwargs
):
2082 """GetGridWindow(self) -> Window"""
2083 return _grid
.Grid_GetGridWindow(*args
, **kwargs
)
2085 def GetGridRowLabelWindow(*args
, **kwargs
):
2086 """GetGridRowLabelWindow(self) -> Window"""
2087 return _grid
.Grid_GetGridRowLabelWindow(*args
, **kwargs
)
2089 def GetGridColLabelWindow(*args
, **kwargs
):
2090 """GetGridColLabelWindow(self) -> Window"""
2091 return _grid
.Grid_GetGridColLabelWindow(*args
, **kwargs
)
2093 def GetGridCornerLabelWindow(*args
, **kwargs
):
2094 """GetGridCornerLabelWindow(self) -> Window"""
2095 return _grid
.Grid_GetGridCornerLabelWindow(*args
, **kwargs
)
2097 def SetScrollLineX(*args
, **kwargs
):
2098 """SetScrollLineX(self, int x)"""
2099 return _grid
.Grid_SetScrollLineX(*args
, **kwargs
)
2101 def SetScrollLineY(*args
, **kwargs
):
2102 """SetScrollLineY(self, int y)"""
2103 return _grid
.Grid_SetScrollLineY(*args
, **kwargs
)
2105 def GetScrollLineX(*args
, **kwargs
):
2106 """GetScrollLineX(self) -> int"""
2107 return _grid
.Grid_GetScrollLineX(*args
, **kwargs
)
2109 def GetScrollLineY(*args
, **kwargs
):
2110 """GetScrollLineY(self) -> int"""
2111 return _grid
.Grid_GetScrollLineY(*args
, **kwargs
)
2113 def GetScrollX(*args
, **kwargs
):
2114 """GetScrollX(self, int x) -> int"""
2115 return _grid
.Grid_GetScrollX(*args
, **kwargs
)
2117 def GetScrollY(*args
, **kwargs
):
2118 """GetScrollY(self, int y) -> int"""
2119 return _grid
.Grid_GetScrollY(*args
, **kwargs
)
2121 def GetClassDefaultAttributes(*args
, **kwargs
):
2123 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
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.
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
2136 return _grid
.Grid_GetClassDefaultAttributes(*args
, **kwargs
)
2138 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
2140 class GridPtr(Grid
):
2141 def __init__(self
, this
):
2143 if not hasattr(self
,"thisown"): self
.thisown
= 0
2144 self
.__class
__ = Grid
2145 _grid
.Grid_swigregister(GridPtr
)
2147 def PreGrid(*args
, **kwargs
):
2148 """PreGrid() -> Grid"""
2149 val
= _grid
.new_PreGrid(*args
, **kwargs
)
2153 def Grid_GetClassDefaultAttributes(*args
, **kwargs
):
2155 Grid_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
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.
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
2168 return _grid
.Grid_GetClassDefaultAttributes(*args
, **kwargs
)
2170 class GridEvent(_core
.NotifyEvent
):
2171 """Proxy of C++ GridEvent class"""
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
):
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
2181 newobj
= _grid
.new_GridEvent(*args
, **kwargs
)
2182 self
.this
= newobj
.this
2185 def GetRow(*args
, **kwargs
):
2186 """GetRow(self) -> int"""
2187 return _grid
.GridEvent_GetRow(*args
, **kwargs
)
2189 def GetCol(*args
, **kwargs
):
2190 """GetCol(self) -> int"""
2191 return _grid
.GridEvent_GetCol(*args
, **kwargs
)
2193 def GetPosition(*args
, **kwargs
):
2194 """GetPosition(self) -> Point"""
2195 return _grid
.GridEvent_GetPosition(*args
, **kwargs
)
2197 def Selecting(*args
, **kwargs
):
2198 """Selecting(self) -> bool"""
2199 return _grid
.GridEvent_Selecting(*args
, **kwargs
)
2201 def ControlDown(*args
, **kwargs
):
2202 """ControlDown(self) -> bool"""
2203 return _grid
.GridEvent_ControlDown(*args
, **kwargs
)
2205 def MetaDown(*args
, **kwargs
):
2206 """MetaDown(self) -> bool"""
2207 return _grid
.GridEvent_MetaDown(*args
, **kwargs
)
2209 def ShiftDown(*args
, **kwargs
):
2210 """ShiftDown(self) -> bool"""
2211 return _grid
.GridEvent_ShiftDown(*args
, **kwargs
)
2213 def AltDown(*args
, **kwargs
):
2214 """AltDown(self) -> bool"""
2215 return _grid
.GridEvent_AltDown(*args
, **kwargs
)
2218 class GridEventPtr(GridEvent
):
2219 def __init__(self
, this
):
2221 if not hasattr(self
,"thisown"): self
.thisown
= 0
2222 self
.__class
__ = GridEvent
2223 _grid
.GridEvent_swigregister(GridEventPtr
)
2225 class GridSizeEvent(_core
.NotifyEvent
):
2226 """Proxy of C++ GridSizeEvent class"""
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
):
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
2235 newobj
= _grid
.new_GridSizeEvent(*args
, **kwargs
)
2236 self
.this
= newobj
.this
2239 def GetRowOrCol(*args
, **kwargs
):
2240 """GetRowOrCol(self) -> int"""
2241 return _grid
.GridSizeEvent_GetRowOrCol(*args
, **kwargs
)
2243 def GetPosition(*args
, **kwargs
):
2244 """GetPosition(self) -> Point"""
2245 return _grid
.GridSizeEvent_GetPosition(*args
, **kwargs
)
2247 def ControlDown(*args
, **kwargs
):
2248 """ControlDown(self) -> bool"""
2249 return _grid
.GridSizeEvent_ControlDown(*args
, **kwargs
)
2251 def MetaDown(*args
, **kwargs
):
2252 """MetaDown(self) -> bool"""
2253 return _grid
.GridSizeEvent_MetaDown(*args
, **kwargs
)
2255 def ShiftDown(*args
, **kwargs
):
2256 """ShiftDown(self) -> bool"""
2257 return _grid
.GridSizeEvent_ShiftDown(*args
, **kwargs
)
2259 def AltDown(*args
, **kwargs
):
2260 """AltDown(self) -> bool"""
2261 return _grid
.GridSizeEvent_AltDown(*args
, **kwargs
)
2264 class GridSizeEventPtr(GridSizeEvent
):
2265 def __init__(self
, this
):
2267 if not hasattr(self
,"thisown"): self
.thisown
= 0
2268 self
.__class
__ = GridSizeEvent
2269 _grid
.GridSizeEvent_swigregister(GridSizeEventPtr
)
2271 class GridRangeSelectEvent(_core
.NotifyEvent
):
2272 """Proxy of C++ GridRangeSelectEvent class"""
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
):
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
2282 newobj
= _grid
.new_GridRangeSelectEvent(*args
, **kwargs
)
2283 self
.this
= newobj
.this
2286 def GetTopLeftCoords(*args
, **kwargs
):
2287 """GetTopLeftCoords(self) -> GridCellCoords"""
2288 return _grid
.GridRangeSelectEvent_GetTopLeftCoords(*args
, **kwargs
)
2290 def GetBottomRightCoords(*args
, **kwargs
):
2291 """GetBottomRightCoords(self) -> GridCellCoords"""
2292 return _grid
.GridRangeSelectEvent_GetBottomRightCoords(*args
, **kwargs
)
2294 def GetTopRow(*args
, **kwargs
):
2295 """GetTopRow(self) -> int"""
2296 return _grid
.GridRangeSelectEvent_GetTopRow(*args
, **kwargs
)
2298 def GetBottomRow(*args
, **kwargs
):
2299 """GetBottomRow(self) -> int"""
2300 return _grid
.GridRangeSelectEvent_GetBottomRow(*args
, **kwargs
)
2302 def GetLeftCol(*args
, **kwargs
):
2303 """GetLeftCol(self) -> int"""
2304 return _grid
.GridRangeSelectEvent_GetLeftCol(*args
, **kwargs
)
2306 def GetRightCol(*args
, **kwargs
):
2307 """GetRightCol(self) -> int"""
2308 return _grid
.GridRangeSelectEvent_GetRightCol(*args
, **kwargs
)
2310 def Selecting(*args
, **kwargs
):
2311 """Selecting(self) -> bool"""
2312 return _grid
.GridRangeSelectEvent_Selecting(*args
, **kwargs
)
2314 def ControlDown(*args
, **kwargs
):
2315 """ControlDown(self) -> bool"""
2316 return _grid
.GridRangeSelectEvent_ControlDown(*args
, **kwargs
)
2318 def MetaDown(*args
, **kwargs
):
2319 """MetaDown(self) -> bool"""
2320 return _grid
.GridRangeSelectEvent_MetaDown(*args
, **kwargs
)
2322 def ShiftDown(*args
, **kwargs
):
2323 """ShiftDown(self) -> bool"""
2324 return _grid
.GridRangeSelectEvent_ShiftDown(*args
, **kwargs
)
2326 def AltDown(*args
, **kwargs
):
2327 """AltDown(self) -> bool"""
2328 return _grid
.GridRangeSelectEvent_AltDown(*args
, **kwargs
)
2331 class GridRangeSelectEventPtr(GridRangeSelectEvent
):
2332 def __init__(self
, this
):
2334 if not hasattr(self
,"thisown"): self
.thisown
= 0
2335 self
.__class
__ = GridRangeSelectEvent
2336 _grid
.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr
)
2338 class GridEditorCreatedEvent(_core
.CommandEvent
):
2339 """Proxy of C++ GridEditorCreatedEvent class"""
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
):
2344 __init__(self, int id, wxEventType type, Object obj, int row, int col,
2345 Control ctrl) -> GridEditorCreatedEvent
2347 newobj
= _grid
.new_GridEditorCreatedEvent(*args
, **kwargs
)
2348 self
.this
= newobj
.this
2351 def GetRow(*args
, **kwargs
):
2352 """GetRow(self) -> int"""
2353 return _grid
.GridEditorCreatedEvent_GetRow(*args
, **kwargs
)
2355 def GetCol(*args
, **kwargs
):
2356 """GetCol(self) -> int"""
2357 return _grid
.GridEditorCreatedEvent_GetCol(*args
, **kwargs
)
2359 def GetControl(*args
, **kwargs
):
2360 """GetControl(self) -> Control"""
2361 return _grid
.GridEditorCreatedEvent_GetControl(*args
, **kwargs
)
2363 def SetRow(*args
, **kwargs
):
2364 """SetRow(self, int row)"""
2365 return _grid
.GridEditorCreatedEvent_SetRow(*args
, **kwargs
)
2367 def SetCol(*args
, **kwargs
):
2368 """SetCol(self, int col)"""
2369 return _grid
.GridEditorCreatedEvent_SetCol(*args
, **kwargs
)
2371 def SetControl(*args
, **kwargs
):
2372 """SetControl(self, Control ctrl)"""
2373 return _grid
.GridEditorCreatedEvent_SetControl(*args
, **kwargs
)
2376 class GridEditorCreatedEventPtr(GridEditorCreatedEvent
):
2377 def __init__(self
, this
):
2379 if not hasattr(self
,"thisown"): self
.thisown
= 0
2380 self
.__class
__ = GridEditorCreatedEvent
2381 _grid
.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr
)
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
)
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 )