1 # This file was created automatically by SWIG 1.3.27.
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 GridNoCellCoords
= cvar
.GridNoCellCoords
119 GridNoCellRect
= cvar
.GridNoCellRect
121 class PyGridCellRenderer(GridCellRenderer
):
122 """Proxy of C++ PyGridCellRenderer class"""
124 return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
125 def __init__(self
, *args
, **kwargs
):
126 """__init__(self) -> PyGridCellRenderer"""
127 newobj
= _grid
.new_PyGridCellRenderer(*args
, **kwargs
)
128 self
.this
= newobj
.this
131 self
._setCallbackInfo
(self
, PyGridCellRenderer
);self
._setOORInfo
(self
)
133 def _setCallbackInfo(*args
, **kwargs
):
134 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
135 return _grid
.PyGridCellRenderer__setCallbackInfo(*args
, **kwargs
)
137 def base_SetParameters(*args
, **kwargs
):
138 """base_SetParameters(self, String params)"""
139 return _grid
.PyGridCellRenderer_base_SetParameters(*args
, **kwargs
)
142 class PyGridCellRendererPtr(PyGridCellRenderer
):
143 def __init__(self
, this
):
145 if not hasattr(self
,"thisown"): self
.thisown
= 0
146 self
.__class
__ = PyGridCellRenderer
147 _grid
.PyGridCellRenderer_swigregister(PyGridCellRendererPtr
)
149 class GridCellStringRenderer(GridCellRenderer
):
150 """Proxy of C++ GridCellStringRenderer class"""
152 return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
153 def __init__(self
, *args
, **kwargs
):
154 """__init__(self) -> GridCellStringRenderer"""
155 newobj
= _grid
.new_GridCellStringRenderer(*args
, **kwargs
)
156 self
.this
= newobj
.this
159 self
._setOORInfo
(self
)
162 class GridCellStringRendererPtr(GridCellStringRenderer
):
163 def __init__(self
, this
):
165 if not hasattr(self
,"thisown"): self
.thisown
= 0
166 self
.__class
__ = GridCellStringRenderer
167 _grid
.GridCellStringRenderer_swigregister(GridCellStringRendererPtr
)
169 class GridCellNumberRenderer(GridCellStringRenderer
):
170 """Proxy of C++ GridCellNumberRenderer class"""
172 return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
173 def __init__(self
, *args
, **kwargs
):
174 """__init__(self) -> GridCellNumberRenderer"""
175 newobj
= _grid
.new_GridCellNumberRenderer(*args
, **kwargs
)
176 self
.this
= newobj
.this
179 self
._setOORInfo
(self
)
182 class GridCellNumberRendererPtr(GridCellNumberRenderer
):
183 def __init__(self
, this
):
185 if not hasattr(self
,"thisown"): self
.thisown
= 0
186 self
.__class
__ = GridCellNumberRenderer
187 _grid
.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr
)
189 class GridCellFloatRenderer(GridCellStringRenderer
):
190 """Proxy of C++ GridCellFloatRenderer class"""
192 return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
193 def __init__(self
, *args
, **kwargs
):
194 """__init__(self, int width=-1, int precision=-1) -> GridCellFloatRenderer"""
195 newobj
= _grid
.new_GridCellFloatRenderer(*args
, **kwargs
)
196 self
.this
= newobj
.this
199 self
._setOORInfo
(self
)
201 def GetWidth(*args
, **kwargs
):
202 """GetWidth(self) -> int"""
203 return _grid
.GridCellFloatRenderer_GetWidth(*args
, **kwargs
)
205 def SetWidth(*args
, **kwargs
):
206 """SetWidth(self, int width)"""
207 return _grid
.GridCellFloatRenderer_SetWidth(*args
, **kwargs
)
209 def GetPrecision(*args
, **kwargs
):
210 """GetPrecision(self) -> int"""
211 return _grid
.GridCellFloatRenderer_GetPrecision(*args
, **kwargs
)
213 def SetPrecision(*args
, **kwargs
):
214 """SetPrecision(self, int precision)"""
215 return _grid
.GridCellFloatRenderer_SetPrecision(*args
, **kwargs
)
218 class GridCellFloatRendererPtr(GridCellFloatRenderer
):
219 def __init__(self
, this
):
221 if not hasattr(self
,"thisown"): self
.thisown
= 0
222 self
.__class
__ = GridCellFloatRenderer
223 _grid
.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr
)
225 class GridCellBoolRenderer(GridCellRenderer
):
226 """Proxy of C++ GridCellBoolRenderer class"""
228 return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
229 def __init__(self
, *args
, **kwargs
):
230 """__init__(self) -> GridCellBoolRenderer"""
231 newobj
= _grid
.new_GridCellBoolRenderer(*args
, **kwargs
)
232 self
.this
= newobj
.this
235 self
._setOORInfo
(self
)
238 class GridCellBoolRendererPtr(GridCellBoolRenderer
):
239 def __init__(self
, this
):
241 if not hasattr(self
,"thisown"): self
.thisown
= 0
242 self
.__class
__ = GridCellBoolRenderer
243 _grid
.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr
)
245 class GridCellDateTimeRenderer(GridCellStringRenderer
):
246 """Proxy of C++ GridCellDateTimeRenderer class"""
248 return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
249 def __init__(self
, *args
, **kwargs
):
250 """__init__(self, String outformat=wxPyDefaultDateTimeFormat, String informat=wxPyDefaultDateTimeFormat) -> GridCellDateTimeRenderer"""
251 newobj
= _grid
.new_GridCellDateTimeRenderer(*args
, **kwargs
)
252 self
.this
= newobj
.this
255 self
._setOORInfo
(self
)
258 class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer
):
259 def __init__(self
, this
):
261 if not hasattr(self
,"thisown"): self
.thisown
= 0
262 self
.__class
__ = GridCellDateTimeRenderer
263 _grid
.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr
)
265 class GridCellEnumRenderer(GridCellStringRenderer
):
266 """Proxy of C++ GridCellEnumRenderer class"""
268 return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
269 def __init__(self
, *args
, **kwargs
):
270 """__init__(self, String choices=EmptyString) -> GridCellEnumRenderer"""
271 newobj
= _grid
.new_GridCellEnumRenderer(*args
, **kwargs
)
272 self
.this
= newobj
.this
275 self
._setOORInfo
(self
)
278 class GridCellEnumRendererPtr(GridCellEnumRenderer
):
279 def __init__(self
, this
):
281 if not hasattr(self
,"thisown"): self
.thisown
= 0
282 self
.__class
__ = GridCellEnumRenderer
283 _grid
.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr
)
285 class GridCellAutoWrapStringRenderer(GridCellStringRenderer
):
286 """Proxy of C++ GridCellAutoWrapStringRenderer class"""
288 return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
289 def __init__(self
, *args
, **kwargs
):
290 """__init__(self) -> GridCellAutoWrapStringRenderer"""
291 newobj
= _grid
.new_GridCellAutoWrapStringRenderer(*args
, **kwargs
)
292 self
.this
= newobj
.this
295 self
._setOORInfo
(self
)
298 class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer
):
299 def __init__(self
, this
):
301 if not hasattr(self
,"thisown"): self
.thisown
= 0
302 self
.__class
__ = GridCellAutoWrapStringRenderer
303 _grid
.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr
)
305 class GridCellEditor(object):
306 """Proxy of C++ GridCellEditor class"""
307 def __init__(self
): raise RuntimeError, "No constructor defined"
309 return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
310 def _setOORInfo(*args
, **kwargs
):
311 """_setOORInfo(self, PyObject _self)"""
312 return _grid
.GridCellEditor__setOORInfo(*args
, **kwargs
)
314 def IsCreated(*args
, **kwargs
):
315 """IsCreated(self) -> bool"""
316 return _grid
.GridCellEditor_IsCreated(*args
, **kwargs
)
318 def GetControl(*args
, **kwargs
):
319 """GetControl(self) -> Control"""
320 return _grid
.GridCellEditor_GetControl(*args
, **kwargs
)
322 def SetControl(*args
, **kwargs
):
323 """SetControl(self, Control control)"""
324 return _grid
.GridCellEditor_SetControl(*args
, **kwargs
)
326 def GetCellAttr(*args
, **kwargs
):
327 """GetCellAttr(self) -> GridCellAttr"""
328 return _grid
.GridCellEditor_GetCellAttr(*args
, **kwargs
)
330 def SetCellAttr(*args
, **kwargs
):
331 """SetCellAttr(self, GridCellAttr attr)"""
332 return _grid
.GridCellEditor_SetCellAttr(*args
, **kwargs
)
334 def SetParameters(*args
, **kwargs
):
335 """SetParameters(self, String params)"""
336 return _grid
.GridCellEditor_SetParameters(*args
, **kwargs
)
338 def IncRef(*args
, **kwargs
):
340 return _grid
.GridCellEditor_IncRef(*args
, **kwargs
)
342 def DecRef(*args
, **kwargs
):
344 return _grid
.GridCellEditor_DecRef(*args
, **kwargs
)
346 def Create(*args
, **kwargs
):
347 """Create(self, Window parent, int id, EvtHandler evtHandler)"""
348 return _grid
.GridCellEditor_Create(*args
, **kwargs
)
350 def BeginEdit(*args
, **kwargs
):
351 """BeginEdit(self, int row, int col, Grid grid)"""
352 return _grid
.GridCellEditor_BeginEdit(*args
, **kwargs
)
354 def EndEdit(*args
, **kwargs
):
355 """EndEdit(self, int row, int col, Grid grid) -> bool"""
356 return _grid
.GridCellEditor_EndEdit(*args
, **kwargs
)
358 def Reset(*args
, **kwargs
):
360 return _grid
.GridCellEditor_Reset(*args
, **kwargs
)
362 def Clone(*args
, **kwargs
):
363 """Clone(self) -> GridCellEditor"""
364 return _grid
.GridCellEditor_Clone(*args
, **kwargs
)
366 def SetSize(*args
, **kwargs
):
367 """SetSize(self, Rect rect)"""
368 return _grid
.GridCellEditor_SetSize(*args
, **kwargs
)
370 def Show(*args
, **kwargs
):
371 """Show(self, bool show, GridCellAttr attr=None)"""
372 return _grid
.GridCellEditor_Show(*args
, **kwargs
)
374 def PaintBackground(*args
, **kwargs
):
375 """PaintBackground(self, Rect rectCell, GridCellAttr attr)"""
376 return _grid
.GridCellEditor_PaintBackground(*args
, **kwargs
)
378 def IsAcceptedKey(*args
, **kwargs
):
379 """IsAcceptedKey(self, KeyEvent event) -> bool"""
380 return _grid
.GridCellEditor_IsAcceptedKey(*args
, **kwargs
)
382 def StartingKey(*args
, **kwargs
):
383 """StartingKey(self, KeyEvent event)"""
384 return _grid
.GridCellEditor_StartingKey(*args
, **kwargs
)
386 def StartingClick(*args
, **kwargs
):
387 """StartingClick(self)"""
388 return _grid
.GridCellEditor_StartingClick(*args
, **kwargs
)
390 def HandleReturn(*args
, **kwargs
):
391 """HandleReturn(self, KeyEvent event)"""
392 return _grid
.GridCellEditor_HandleReturn(*args
, **kwargs
)
394 def Destroy(*args
, **kwargs
):
396 val
= _grid
.GridCellEditor_Destroy(*args
, **kwargs
)
401 class GridCellEditorPtr(GridCellEditor
):
402 def __init__(self
, this
):
404 if not hasattr(self
,"thisown"): self
.thisown
= 0
405 self
.__class
__ = GridCellEditor
406 _grid
.GridCellEditor_swigregister(GridCellEditorPtr
)
408 class PyGridCellEditor(GridCellEditor
):
409 """Proxy of C++ PyGridCellEditor class"""
411 return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
412 def __init__(self
, *args
, **kwargs
):
413 """__init__(self) -> PyGridCellEditor"""
414 newobj
= _grid
.new_PyGridCellEditor(*args
, **kwargs
)
415 self
.this
= newobj
.this
418 self
._setCallbackInfo
(self
, PyGridCellEditor
);self
._setOORInfo
(self
)
420 def _setCallbackInfo(*args
, **kwargs
):
421 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
422 return _grid
.PyGridCellEditor__setCallbackInfo(*args
, **kwargs
)
424 def base_SetSize(*args
, **kwargs
):
425 """base_SetSize(self, Rect rect)"""
426 return _grid
.PyGridCellEditor_base_SetSize(*args
, **kwargs
)
428 def base_Show(*args
, **kwargs
):
429 """base_Show(self, bool show, GridCellAttr attr=None)"""
430 return _grid
.PyGridCellEditor_base_Show(*args
, **kwargs
)
432 def base_PaintBackground(*args
, **kwargs
):
433 """base_PaintBackground(self, Rect rectCell, GridCellAttr attr)"""
434 return _grid
.PyGridCellEditor_base_PaintBackground(*args
, **kwargs
)
436 def base_IsAcceptedKey(*args
, **kwargs
):
437 """base_IsAcceptedKey(self, KeyEvent event) -> bool"""
438 return _grid
.PyGridCellEditor_base_IsAcceptedKey(*args
, **kwargs
)
440 def base_StartingKey(*args
, **kwargs
):
441 """base_StartingKey(self, KeyEvent event)"""
442 return _grid
.PyGridCellEditor_base_StartingKey(*args
, **kwargs
)
444 def base_StartingClick(*args
, **kwargs
):
445 """base_StartingClick(self)"""
446 return _grid
.PyGridCellEditor_base_StartingClick(*args
, **kwargs
)
448 def base_HandleReturn(*args
, **kwargs
):
449 """base_HandleReturn(self, KeyEvent event)"""
450 return _grid
.PyGridCellEditor_base_HandleReturn(*args
, **kwargs
)
452 def base_Destroy(*args
, **kwargs
):
453 """base_Destroy(self)"""
454 return _grid
.PyGridCellEditor_base_Destroy(*args
, **kwargs
)
456 def base_SetParameters(*args
, **kwargs
):
457 """base_SetParameters(self, String params)"""
458 return _grid
.PyGridCellEditor_base_SetParameters(*args
, **kwargs
)
461 class PyGridCellEditorPtr(PyGridCellEditor
):
462 def __init__(self
, this
):
464 if not hasattr(self
,"thisown"): self
.thisown
= 0
465 self
.__class
__ = PyGridCellEditor
466 _grid
.PyGridCellEditor_swigregister(PyGridCellEditorPtr
)
468 class GridCellTextEditor(GridCellEditor
):
469 """Proxy of C++ GridCellTextEditor class"""
471 return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
472 def __init__(self
, *args
, **kwargs
):
473 """__init__(self) -> GridCellTextEditor"""
474 newobj
= _grid
.new_GridCellTextEditor(*args
, **kwargs
)
475 self
.this
= newobj
.this
478 self
._setOORInfo
(self
)
480 def GetValue(*args
, **kwargs
):
481 """GetValue(self) -> String"""
482 return _grid
.GridCellTextEditor_GetValue(*args
, **kwargs
)
485 class GridCellTextEditorPtr(GridCellTextEditor
):
486 def __init__(self
, this
):
488 if not hasattr(self
,"thisown"): self
.thisown
= 0
489 self
.__class
__ = GridCellTextEditor
490 _grid
.GridCellTextEditor_swigregister(GridCellTextEditorPtr
)
492 class GridCellNumberEditor(GridCellTextEditor
):
493 """Proxy of C++ GridCellNumberEditor class"""
495 return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
496 def __init__(self
, *args
, **kwargs
):
497 """__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor"""
498 newobj
= _grid
.new_GridCellNumberEditor(*args
, **kwargs
)
499 self
.this
= newobj
.this
502 self
._setOORInfo
(self
)
504 def GetValue(*args
, **kwargs
):
505 """GetValue(self) -> String"""
506 return _grid
.GridCellNumberEditor_GetValue(*args
, **kwargs
)
509 class GridCellNumberEditorPtr(GridCellNumberEditor
):
510 def __init__(self
, this
):
512 if not hasattr(self
,"thisown"): self
.thisown
= 0
513 self
.__class
__ = GridCellNumberEditor
514 _grid
.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr
)
516 class GridCellFloatEditor(GridCellTextEditor
):
517 """Proxy of C++ GridCellFloatEditor class"""
519 return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
520 def __init__(self
, *args
, **kwargs
):
521 """__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor"""
522 newobj
= _grid
.new_GridCellFloatEditor(*args
, **kwargs
)
523 self
.this
= newobj
.this
526 self
._setOORInfo
(self
)
528 def GetValue(*args
, **kwargs
):
529 """GetValue(self) -> String"""
530 return _grid
.GridCellFloatEditor_GetValue(*args
, **kwargs
)
533 class GridCellFloatEditorPtr(GridCellFloatEditor
):
534 def __init__(self
, this
):
536 if not hasattr(self
,"thisown"): self
.thisown
= 0
537 self
.__class
__ = GridCellFloatEditor
538 _grid
.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr
)
540 class GridCellBoolEditor(GridCellEditor
):
541 """Proxy of C++ GridCellBoolEditor class"""
543 return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
544 def __init__(self
, *args
, **kwargs
):
545 """__init__(self) -> GridCellBoolEditor"""
546 newobj
= _grid
.new_GridCellBoolEditor(*args
, **kwargs
)
547 self
.this
= newobj
.this
550 self
._setOORInfo
(self
)
552 def GetValue(*args
, **kwargs
):
553 """GetValue(self) -> String"""
554 return _grid
.GridCellBoolEditor_GetValue(*args
, **kwargs
)
557 class GridCellBoolEditorPtr(GridCellBoolEditor
):
558 def __init__(self
, this
):
560 if not hasattr(self
,"thisown"): self
.thisown
= 0
561 self
.__class
__ = GridCellBoolEditor
562 _grid
.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr
)
564 class GridCellChoiceEditor(GridCellEditor
):
565 """Proxy of C++ GridCellChoiceEditor class"""
567 return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
568 def __init__(self
, *args
, **kwargs
):
569 """__init__(self, int choices=0, bool allowOthers=False) -> GridCellChoiceEditor"""
570 newobj
= _grid
.new_GridCellChoiceEditor(*args
, **kwargs
)
571 self
.this
= newobj
.this
574 self
._setOORInfo
(self
)
576 def GetValue(*args
, **kwargs
):
577 """GetValue(self) -> String"""
578 return _grid
.GridCellChoiceEditor_GetValue(*args
, **kwargs
)
581 class GridCellChoiceEditorPtr(GridCellChoiceEditor
):
582 def __init__(self
, this
):
584 if not hasattr(self
,"thisown"): self
.thisown
= 0
585 self
.__class
__ = GridCellChoiceEditor
586 _grid
.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr
)
588 class GridCellEnumEditor(GridCellChoiceEditor
):
589 """Proxy of C++ GridCellEnumEditor class"""
591 return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
592 def __init__(self
, *args
, **kwargs
):
593 """__init__(self, String choices=EmptyString) -> GridCellEnumEditor"""
594 newobj
= _grid
.new_GridCellEnumEditor(*args
, **kwargs
)
595 self
.this
= newobj
.this
598 self
._setOORInfo
(self
)
600 def GetValue(*args
, **kwargs
):
601 """GetValue(self) -> String"""
602 return _grid
.GridCellEnumEditor_GetValue(*args
, **kwargs
)
605 class GridCellEnumEditorPtr(GridCellEnumEditor
):
606 def __init__(self
, this
):
608 if not hasattr(self
,"thisown"): self
.thisown
= 0
609 self
.__class
__ = GridCellEnumEditor
610 _grid
.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr
)
612 class GridCellAutoWrapStringEditor(GridCellTextEditor
):
613 """Proxy of C++ GridCellAutoWrapStringEditor class"""
615 return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
616 def __init__(self
, *args
, **kwargs
):
617 """__init__(self) -> GridCellAutoWrapStringEditor"""
618 newobj
= _grid
.new_GridCellAutoWrapStringEditor(*args
, **kwargs
)
619 self
.this
= newobj
.this
622 self
._setOORInfo
(self
)
624 def GetValue(*args
, **kwargs
):
625 """GetValue(self) -> String"""
626 return _grid
.GridCellAutoWrapStringEditor_GetValue(*args
, **kwargs
)
629 class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor
):
630 def __init__(self
, this
):
632 if not hasattr(self
,"thisown"): self
.thisown
= 0
633 self
.__class
__ = GridCellAutoWrapStringEditor
634 _grid
.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr
)
636 class GridCellAttr(object):
637 """Proxy of C++ GridCellAttr class"""
639 return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
640 Any
= _grid
.GridCellAttr_Any
641 Default
= _grid
.GridCellAttr_Default
642 Cell
= _grid
.GridCellAttr_Cell
643 Row
= _grid
.GridCellAttr_Row
644 Col
= _grid
.GridCellAttr_Col
645 Merged
= _grid
.GridCellAttr_Merged
646 def _setOORInfo(*args
, **kwargs
):
647 """_setOORInfo(self, PyObject _self)"""
648 return _grid
.GridCellAttr__setOORInfo(*args
, **kwargs
)
650 def __init__(self
, *args
, **kwargs
):
651 """__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr"""
652 newobj
= _grid
.new_GridCellAttr(*args
, **kwargs
)
653 self
.this
= newobj
.this
656 self
._setOORInfo
(self
)
658 def Clone(*args
, **kwargs
):
659 """Clone(self) -> GridCellAttr"""
660 return _grid
.GridCellAttr_Clone(*args
, **kwargs
)
662 def MergeWith(*args
, **kwargs
):
663 """MergeWith(self, GridCellAttr mergefrom)"""
664 return _grid
.GridCellAttr_MergeWith(*args
, **kwargs
)
666 def IncRef(*args
, **kwargs
):
668 return _grid
.GridCellAttr_IncRef(*args
, **kwargs
)
670 def DecRef(*args
, **kwargs
):
672 return _grid
.GridCellAttr_DecRef(*args
, **kwargs
)
674 def SetTextColour(*args
, **kwargs
):
675 """SetTextColour(self, Colour colText)"""
676 return _grid
.GridCellAttr_SetTextColour(*args
, **kwargs
)
678 def SetBackgroundColour(*args
, **kwargs
):
679 """SetBackgroundColour(self, Colour colBack)"""
680 return _grid
.GridCellAttr_SetBackgroundColour(*args
, **kwargs
)
682 def SetFont(*args
, **kwargs
):
683 """SetFont(self, Font font)"""
684 return _grid
.GridCellAttr_SetFont(*args
, **kwargs
)
686 def SetAlignment(*args
, **kwargs
):
687 """SetAlignment(self, int hAlign, int vAlign)"""
688 return _grid
.GridCellAttr_SetAlignment(*args
, **kwargs
)
690 def SetSize(*args
, **kwargs
):
691 """SetSize(self, int num_rows, int num_cols)"""
692 return _grid
.GridCellAttr_SetSize(*args
, **kwargs
)
694 def SetOverflow(*args
, **kwargs
):
695 """SetOverflow(self, bool allow=True)"""
696 return _grid
.GridCellAttr_SetOverflow(*args
, **kwargs
)
698 def SetReadOnly(*args
, **kwargs
):
699 """SetReadOnly(self, bool isReadOnly=True)"""
700 return _grid
.GridCellAttr_SetReadOnly(*args
, **kwargs
)
702 def SetRenderer(*args
, **kwargs
):
703 """SetRenderer(self, GridCellRenderer renderer)"""
704 return _grid
.GridCellAttr_SetRenderer(*args
, **kwargs
)
706 def SetEditor(*args
, **kwargs
):
707 """SetEditor(self, GridCellEditor editor)"""
708 return _grid
.GridCellAttr_SetEditor(*args
, **kwargs
)
710 def SetKind(*args
, **kwargs
):
711 """SetKind(self, int kind)"""
712 return _grid
.GridCellAttr_SetKind(*args
, **kwargs
)
714 def HasTextColour(*args
, **kwargs
):
715 """HasTextColour(self) -> bool"""
716 return _grid
.GridCellAttr_HasTextColour(*args
, **kwargs
)
718 def HasBackgroundColour(*args
, **kwargs
):
719 """HasBackgroundColour(self) -> bool"""
720 return _grid
.GridCellAttr_HasBackgroundColour(*args
, **kwargs
)
722 def HasFont(*args
, **kwargs
):
723 """HasFont(self) -> bool"""
724 return _grid
.GridCellAttr_HasFont(*args
, **kwargs
)
726 def HasAlignment(*args
, **kwargs
):
727 """HasAlignment(self) -> bool"""
728 return _grid
.GridCellAttr_HasAlignment(*args
, **kwargs
)
730 def HasRenderer(*args
, **kwargs
):
731 """HasRenderer(self) -> bool"""
732 return _grid
.GridCellAttr_HasRenderer(*args
, **kwargs
)
734 def HasEditor(*args
, **kwargs
):
735 """HasEditor(self) -> bool"""
736 return _grid
.GridCellAttr_HasEditor(*args
, **kwargs
)
738 def HasReadWriteMode(*args
, **kwargs
):
739 """HasReadWriteMode(self) -> bool"""
740 return _grid
.GridCellAttr_HasReadWriteMode(*args
, **kwargs
)
742 def HasOverflowMode(*args
, **kwargs
):
743 """HasOverflowMode(self) -> bool"""
744 return _grid
.GridCellAttr_HasOverflowMode(*args
, **kwargs
)
746 def GetTextColour(*args
, **kwargs
):
747 """GetTextColour(self) -> Colour"""
748 return _grid
.GridCellAttr_GetTextColour(*args
, **kwargs
)
750 def GetBackgroundColour(*args
, **kwargs
):
751 """GetBackgroundColour(self) -> Colour"""
752 return _grid
.GridCellAttr_GetBackgroundColour(*args
, **kwargs
)
754 def GetFont(*args
, **kwargs
):
755 """GetFont(self) -> Font"""
756 return _grid
.GridCellAttr_GetFont(*args
, **kwargs
)
758 def GetAlignment(*args
, **kwargs
):
759 """GetAlignment() -> (hAlign, vAlign)"""
760 return _grid
.GridCellAttr_GetAlignment(*args
, **kwargs
)
762 def GetSize(*args
, **kwargs
):
763 """GetSize() -> (num_rows, num_cols)"""
764 return _grid
.GridCellAttr_GetSize(*args
, **kwargs
)
766 def GetOverflow(*args
, **kwargs
):
767 """GetOverflow(self) -> bool"""
768 return _grid
.GridCellAttr_GetOverflow(*args
, **kwargs
)
770 def GetRenderer(*args
, **kwargs
):
771 """GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer"""
772 return _grid
.GridCellAttr_GetRenderer(*args
, **kwargs
)
774 def GetEditor(*args
, **kwargs
):
775 """GetEditor(self, Grid grid, int row, int col) -> GridCellEditor"""
776 return _grid
.GridCellAttr_GetEditor(*args
, **kwargs
)
778 def IsReadOnly(*args
, **kwargs
):
779 """IsReadOnly(self) -> bool"""
780 return _grid
.GridCellAttr_IsReadOnly(*args
, **kwargs
)
782 def GetKind(*args
, **kwargs
):
783 """GetKind(self) -> int"""
784 return _grid
.GridCellAttr_GetKind(*args
, **kwargs
)
786 def SetDefAttr(*args
, **kwargs
):
787 """SetDefAttr(self, GridCellAttr defAttr)"""
788 return _grid
.GridCellAttr_SetDefAttr(*args
, **kwargs
)
791 class GridCellAttrPtr(GridCellAttr
):
792 def __init__(self
, this
):
794 if not hasattr(self
,"thisown"): self
.thisown
= 0
795 self
.__class
__ = GridCellAttr
796 _grid
.GridCellAttr_swigregister(GridCellAttrPtr
)
798 class GridCellAttrProvider(object):
799 """Proxy of C++ GridCellAttrProvider class"""
801 return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
802 def __init__(self
, *args
, **kwargs
):
803 """__init__(self) -> GridCellAttrProvider"""
804 newobj
= _grid
.new_GridCellAttrProvider(*args
, **kwargs
)
805 self
.this
= newobj
.this
808 self
._setOORInfo
(self
)
810 def _setOORInfo(*args
, **kwargs
):
811 """_setOORInfo(self, PyObject _self)"""
812 return _grid
.GridCellAttrProvider__setOORInfo(*args
, **kwargs
)
814 def GetAttr(*args
, **kwargs
):
815 """GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
816 return _grid
.GridCellAttrProvider_GetAttr(*args
, **kwargs
)
818 def SetAttr(*args
, **kwargs
):
819 """SetAttr(self, GridCellAttr attr, int row, int col)"""
820 return _grid
.GridCellAttrProvider_SetAttr(*args
, **kwargs
)
822 def SetRowAttr(*args
, **kwargs
):
823 """SetRowAttr(self, GridCellAttr attr, int row)"""
824 return _grid
.GridCellAttrProvider_SetRowAttr(*args
, **kwargs
)
826 def SetColAttr(*args
, **kwargs
):
827 """SetColAttr(self, GridCellAttr attr, int col)"""
828 return _grid
.GridCellAttrProvider_SetColAttr(*args
, **kwargs
)
830 def UpdateAttrRows(*args
, **kwargs
):
831 """UpdateAttrRows(self, size_t pos, int numRows)"""
832 return _grid
.GridCellAttrProvider_UpdateAttrRows(*args
, **kwargs
)
834 def UpdateAttrCols(*args
, **kwargs
):
835 """UpdateAttrCols(self, size_t pos, int numCols)"""
836 return _grid
.GridCellAttrProvider_UpdateAttrCols(*args
, **kwargs
)
839 class GridCellAttrProviderPtr(GridCellAttrProvider
):
840 def __init__(self
, this
):
842 if not hasattr(self
,"thisown"): self
.thisown
= 0
843 self
.__class
__ = GridCellAttrProvider
844 _grid
.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr
)
846 class PyGridCellAttrProvider(GridCellAttrProvider
):
847 """Proxy of C++ PyGridCellAttrProvider class"""
849 return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
850 def __init__(self
, *args
, **kwargs
):
851 """__init__(self) -> PyGridCellAttrProvider"""
852 newobj
= _grid
.new_PyGridCellAttrProvider(*args
, **kwargs
)
853 self
.this
= newobj
.this
856 self
._setCallbackInfo
(self
, PyGridCellAttrProvider
)
858 def _setCallbackInfo(*args
, **kwargs
):
859 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
860 return _grid
.PyGridCellAttrProvider__setCallbackInfo(*args
, **kwargs
)
862 def base_GetAttr(*args
, **kwargs
):
863 """base_GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
864 return _grid
.PyGridCellAttrProvider_base_GetAttr(*args
, **kwargs
)
866 def base_SetAttr(*args
, **kwargs
):
867 """base_SetAttr(self, GridCellAttr attr, int row, int col)"""
868 return _grid
.PyGridCellAttrProvider_base_SetAttr(*args
, **kwargs
)
870 def base_SetRowAttr(*args
, **kwargs
):
871 """base_SetRowAttr(self, GridCellAttr attr, int row)"""
872 return _grid
.PyGridCellAttrProvider_base_SetRowAttr(*args
, **kwargs
)
874 def base_SetColAttr(*args
, **kwargs
):
875 """base_SetColAttr(self, GridCellAttr attr, int col)"""
876 return _grid
.PyGridCellAttrProvider_base_SetColAttr(*args
, **kwargs
)
879 class PyGridCellAttrProviderPtr(PyGridCellAttrProvider
):
880 def __init__(self
, this
):
882 if not hasattr(self
,"thisown"): self
.thisown
= 0
883 self
.__class
__ = PyGridCellAttrProvider
884 _grid
.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr
)
886 class GridTableBase(_core
.Object
):
887 """Proxy of C++ GridTableBase class"""
888 def __init__(self
): raise RuntimeError, "No constructor defined"
890 return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
891 def _setOORInfo(*args
, **kwargs
):
892 """_setOORInfo(self, PyObject _self)"""
893 return _grid
.GridTableBase__setOORInfo(*args
, **kwargs
)
895 def SetAttrProvider(*args
, **kwargs
):
896 """SetAttrProvider(self, GridCellAttrProvider attrProvider)"""
897 return _grid
.GridTableBase_SetAttrProvider(*args
, **kwargs
)
899 def GetAttrProvider(*args
, **kwargs
):
900 """GetAttrProvider(self) -> GridCellAttrProvider"""
901 return _grid
.GridTableBase_GetAttrProvider(*args
, **kwargs
)
903 def SetView(*args
, **kwargs
):
904 """SetView(self, Grid grid)"""
905 return _grid
.GridTableBase_SetView(*args
, **kwargs
)
907 def GetView(*args
, **kwargs
):
908 """GetView(self) -> Grid"""
909 return _grid
.GridTableBase_GetView(*args
, **kwargs
)
911 def GetNumberRows(*args
, **kwargs
):
912 """GetNumberRows(self) -> int"""
913 return _grid
.GridTableBase_GetNumberRows(*args
, **kwargs
)
915 def GetNumberCols(*args
, **kwargs
):
916 """GetNumberCols(self) -> int"""
917 return _grid
.GridTableBase_GetNumberCols(*args
, **kwargs
)
919 def IsEmptyCell(*args
, **kwargs
):
920 """IsEmptyCell(self, int row, int col) -> bool"""
921 return _grid
.GridTableBase_IsEmptyCell(*args
, **kwargs
)
923 def GetValue(*args
, **kwargs
):
924 """GetValue(self, int row, int col) -> String"""
925 return _grid
.GridTableBase_GetValue(*args
, **kwargs
)
927 def SetValue(*args
, **kwargs
):
928 """SetValue(self, int row, int col, String value)"""
929 return _grid
.GridTableBase_SetValue(*args
, **kwargs
)
931 def GetTypeName(*args
, **kwargs
):
932 """GetTypeName(self, int row, int col) -> String"""
933 return _grid
.GridTableBase_GetTypeName(*args
, **kwargs
)
935 def CanGetValueAs(*args
, **kwargs
):
936 """CanGetValueAs(self, int row, int col, String typeName) -> bool"""
937 return _grid
.GridTableBase_CanGetValueAs(*args
, **kwargs
)
939 def CanSetValueAs(*args
, **kwargs
):
940 """CanSetValueAs(self, int row, int col, String typeName) -> bool"""
941 return _grid
.GridTableBase_CanSetValueAs(*args
, **kwargs
)
943 def GetValueAsLong(*args
, **kwargs
):
944 """GetValueAsLong(self, int row, int col) -> long"""
945 return _grid
.GridTableBase_GetValueAsLong(*args
, **kwargs
)
947 def GetValueAsDouble(*args
, **kwargs
):
948 """GetValueAsDouble(self, int row, int col) -> double"""
949 return _grid
.GridTableBase_GetValueAsDouble(*args
, **kwargs
)
951 def GetValueAsBool(*args
, **kwargs
):
952 """GetValueAsBool(self, int row, int col) -> bool"""
953 return _grid
.GridTableBase_GetValueAsBool(*args
, **kwargs
)
955 def SetValueAsLong(*args
, **kwargs
):
956 """SetValueAsLong(self, int row, int col, long value)"""
957 return _grid
.GridTableBase_SetValueAsLong(*args
, **kwargs
)
959 def SetValueAsDouble(*args
, **kwargs
):
960 """SetValueAsDouble(self, int row, int col, double value)"""
961 return _grid
.GridTableBase_SetValueAsDouble(*args
, **kwargs
)
963 def SetValueAsBool(*args
, **kwargs
):
964 """SetValueAsBool(self, int row, int col, bool value)"""
965 return _grid
.GridTableBase_SetValueAsBool(*args
, **kwargs
)
967 def Clear(*args
, **kwargs
):
969 return _grid
.GridTableBase_Clear(*args
, **kwargs
)
971 def InsertRows(*args
, **kwargs
):
972 """InsertRows(self, size_t pos=0, size_t numRows=1) -> bool"""
973 return _grid
.GridTableBase_InsertRows(*args
, **kwargs
)
975 def AppendRows(*args
, **kwargs
):
976 """AppendRows(self, size_t numRows=1) -> bool"""
977 return _grid
.GridTableBase_AppendRows(*args
, **kwargs
)
979 def DeleteRows(*args
, **kwargs
):
980 """DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool"""
981 return _grid
.GridTableBase_DeleteRows(*args
, **kwargs
)
983 def InsertCols(*args
, **kwargs
):
984 """InsertCols(self, size_t pos=0, size_t numCols=1) -> bool"""
985 return _grid
.GridTableBase_InsertCols(*args
, **kwargs
)
987 def AppendCols(*args
, **kwargs
):
988 """AppendCols(self, size_t numCols=1) -> bool"""
989 return _grid
.GridTableBase_AppendCols(*args
, **kwargs
)
991 def DeleteCols(*args
, **kwargs
):
992 """DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool"""
993 return _grid
.GridTableBase_DeleteCols(*args
, **kwargs
)
995 def GetRowLabelValue(*args
, **kwargs
):
996 """GetRowLabelValue(self, int row) -> String"""
997 return _grid
.GridTableBase_GetRowLabelValue(*args
, **kwargs
)
999 def GetColLabelValue(*args
, **kwargs
):
1000 """GetColLabelValue(self, int col) -> String"""
1001 return _grid
.GridTableBase_GetColLabelValue(*args
, **kwargs
)
1003 def SetRowLabelValue(*args
, **kwargs
):
1004 """SetRowLabelValue(self, int row, String value)"""
1005 return _grid
.GridTableBase_SetRowLabelValue(*args
, **kwargs
)
1007 def SetColLabelValue(*args
, **kwargs
):
1008 """SetColLabelValue(self, int col, String value)"""
1009 return _grid
.GridTableBase_SetColLabelValue(*args
, **kwargs
)
1011 def CanHaveAttributes(*args
, **kwargs
):
1012 """CanHaveAttributes(self) -> bool"""
1013 return _grid
.GridTableBase_CanHaveAttributes(*args
, **kwargs
)
1015 def GetAttr(*args
, **kwargs
):
1016 """GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
1017 return _grid
.GridTableBase_GetAttr(*args
, **kwargs
)
1019 def SetAttr(*args
, **kwargs
):
1020 """SetAttr(self, GridCellAttr attr, int row, int col)"""
1021 return _grid
.GridTableBase_SetAttr(*args
, **kwargs
)
1023 def SetRowAttr(*args
, **kwargs
):
1024 """SetRowAttr(self, GridCellAttr attr, int row)"""
1025 return _grid
.GridTableBase_SetRowAttr(*args
, **kwargs
)
1027 def SetColAttr(*args
, **kwargs
):
1028 """SetColAttr(self, GridCellAttr attr, int col)"""
1029 return _grid
.GridTableBase_SetColAttr(*args
, **kwargs
)
1032 class GridTableBasePtr(GridTableBase
):
1033 def __init__(self
, this
):
1035 if not hasattr(self
,"thisown"): self
.thisown
= 0
1036 self
.__class
__ = GridTableBase
1037 _grid
.GridTableBase_swigregister(GridTableBasePtr
)
1039 class PyGridTableBase(GridTableBase
):
1040 """Proxy of C++ PyGridTableBase class"""
1042 return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1043 def __init__(self
, *args
, **kwargs
):
1044 """__init__(self) -> PyGridTableBase"""
1045 newobj
= _grid
.new_PyGridTableBase(*args
, **kwargs
)
1046 self
.this
= newobj
.this
1049 self
._setCallbackInfo
(self
, PyGridTableBase
);self
._setOORInfo
(self
)
1051 def _setCallbackInfo(*args
, **kwargs
):
1052 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
1053 return _grid
.PyGridTableBase__setCallbackInfo(*args
, **kwargs
)
1055 def Destroy(*args
, **kwargs
):
1059 Deletes the C++ object this Python object is a proxy for.
1061 val
= _grid
.PyGridTableBase_Destroy(*args
, **kwargs
)
1065 def base_GetTypeName(*args
, **kwargs
):
1066 """base_GetTypeName(self, int row, int col) -> String"""
1067 return _grid
.PyGridTableBase_base_GetTypeName(*args
, **kwargs
)
1069 def base_CanGetValueAs(*args
, **kwargs
):
1070 """base_CanGetValueAs(self, int row, int col, String typeName) -> bool"""
1071 return _grid
.PyGridTableBase_base_CanGetValueAs(*args
, **kwargs
)
1073 def base_CanSetValueAs(*args
, **kwargs
):
1074 """base_CanSetValueAs(self, int row, int col, String typeName) -> bool"""
1075 return _grid
.PyGridTableBase_base_CanSetValueAs(*args
, **kwargs
)
1077 def base_Clear(*args
, **kwargs
):
1078 """base_Clear(self)"""
1079 return _grid
.PyGridTableBase_base_Clear(*args
, **kwargs
)
1081 def base_InsertRows(*args
, **kwargs
):
1082 """base_InsertRows(self, size_t pos=0, size_t numRows=1) -> bool"""
1083 return _grid
.PyGridTableBase_base_InsertRows(*args
, **kwargs
)
1085 def base_AppendRows(*args
, **kwargs
):
1086 """base_AppendRows(self, size_t numRows=1) -> bool"""
1087 return _grid
.PyGridTableBase_base_AppendRows(*args
, **kwargs
)
1089 def base_DeleteRows(*args
, **kwargs
):
1090 """base_DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool"""
1091 return _grid
.PyGridTableBase_base_DeleteRows(*args
, **kwargs
)
1093 def base_InsertCols(*args
, **kwargs
):
1094 """base_InsertCols(self, size_t pos=0, size_t numCols=1) -> bool"""
1095 return _grid
.PyGridTableBase_base_InsertCols(*args
, **kwargs
)
1097 def base_AppendCols(*args
, **kwargs
):
1098 """base_AppendCols(self, size_t numCols=1) -> bool"""
1099 return _grid
.PyGridTableBase_base_AppendCols(*args
, **kwargs
)
1101 def base_DeleteCols(*args
, **kwargs
):
1102 """base_DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool"""
1103 return _grid
.PyGridTableBase_base_DeleteCols(*args
, **kwargs
)
1105 def base_GetRowLabelValue(*args
, **kwargs
):
1106 """base_GetRowLabelValue(self, int row) -> String"""
1107 return _grid
.PyGridTableBase_base_GetRowLabelValue(*args
, **kwargs
)
1109 def base_GetColLabelValue(*args
, **kwargs
):
1110 """base_GetColLabelValue(self, int col) -> String"""
1111 return _grid
.PyGridTableBase_base_GetColLabelValue(*args
, **kwargs
)
1113 def base_SetRowLabelValue(*args
, **kwargs
):
1114 """base_SetRowLabelValue(self, int row, String value)"""
1115 return _grid
.PyGridTableBase_base_SetRowLabelValue(*args
, **kwargs
)
1117 def base_SetColLabelValue(*args
, **kwargs
):
1118 """base_SetColLabelValue(self, int col, String value)"""
1119 return _grid
.PyGridTableBase_base_SetColLabelValue(*args
, **kwargs
)
1121 def base_CanHaveAttributes(*args
, **kwargs
):
1122 """base_CanHaveAttributes(self) -> bool"""
1123 return _grid
.PyGridTableBase_base_CanHaveAttributes(*args
, **kwargs
)
1125 def base_GetAttr(*args
, **kwargs
):
1126 """base_GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
1127 return _grid
.PyGridTableBase_base_GetAttr(*args
, **kwargs
)
1129 def base_SetAttr(*args
, **kwargs
):
1130 """base_SetAttr(self, GridCellAttr attr, int row, int col)"""
1131 return _grid
.PyGridTableBase_base_SetAttr(*args
, **kwargs
)
1133 def base_SetRowAttr(*args
, **kwargs
):
1134 """base_SetRowAttr(self, GridCellAttr attr, int row)"""
1135 return _grid
.PyGridTableBase_base_SetRowAttr(*args
, **kwargs
)
1137 def base_SetColAttr(*args
, **kwargs
):
1138 """base_SetColAttr(self, GridCellAttr attr, int col)"""
1139 return _grid
.PyGridTableBase_base_SetColAttr(*args
, **kwargs
)
1142 class PyGridTableBasePtr(PyGridTableBase
):
1143 def __init__(self
, this
):
1145 if not hasattr(self
,"thisown"): self
.thisown
= 0
1146 self
.__class
__ = PyGridTableBase
1147 _grid
.PyGridTableBase_swigregister(PyGridTableBasePtr
)
1149 class GridStringTable(GridTableBase
):
1150 """Proxy of C++ GridStringTable class"""
1152 return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1153 def __init__(self
, *args
, **kwargs
):
1154 """__init__(self, int numRows=0, int numCols=0) -> GridStringTable"""
1155 newobj
= _grid
.new_GridStringTable(*args
, **kwargs
)
1156 self
.this
= newobj
.this
1159 self
._setOORInfo
(self
)
1162 class GridStringTablePtr(GridStringTable
):
1163 def __init__(self
, this
):
1165 if not hasattr(self
,"thisown"): self
.thisown
= 0
1166 self
.__class
__ = GridStringTable
1167 _grid
.GridStringTable_swigregister(GridStringTablePtr
)
1169 GRIDTABLE_REQUEST_VIEW_GET_VALUES
= _grid
.GRIDTABLE_REQUEST_VIEW_GET_VALUES
1170 GRIDTABLE_REQUEST_VIEW_SEND_VALUES
= _grid
.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
1171 GRIDTABLE_NOTIFY_ROWS_INSERTED
= _grid
.GRIDTABLE_NOTIFY_ROWS_INSERTED
1172 GRIDTABLE_NOTIFY_ROWS_APPENDED
= _grid
.GRIDTABLE_NOTIFY_ROWS_APPENDED
1173 GRIDTABLE_NOTIFY_ROWS_DELETED
= _grid
.GRIDTABLE_NOTIFY_ROWS_DELETED
1174 GRIDTABLE_NOTIFY_COLS_INSERTED
= _grid
.GRIDTABLE_NOTIFY_COLS_INSERTED
1175 GRIDTABLE_NOTIFY_COLS_APPENDED
= _grid
.GRIDTABLE_NOTIFY_COLS_APPENDED
1176 GRIDTABLE_NOTIFY_COLS_DELETED
= _grid
.GRIDTABLE_NOTIFY_COLS_DELETED
1177 class GridTableMessage(object):
1178 """Proxy of C++ GridTableMessage class"""
1180 return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1181 def __init__(self
, *args
, **kwargs
):
1182 """__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage"""
1183 newobj
= _grid
.new_GridTableMessage(*args
, **kwargs
)
1184 self
.this
= newobj
.this
1187 def __del__(self
, destroy
=_grid
.delete_GridTableMessage
):
1190 if self
.thisown
: destroy(self
)
1193 def SetTableObject(*args
, **kwargs
):
1194 """SetTableObject(self, GridTableBase table)"""
1195 return _grid
.GridTableMessage_SetTableObject(*args
, **kwargs
)
1197 def GetTableObject(*args
, **kwargs
):
1198 """GetTableObject(self) -> GridTableBase"""
1199 return _grid
.GridTableMessage_GetTableObject(*args
, **kwargs
)
1201 def SetId(*args
, **kwargs
):
1202 """SetId(self, int id)"""
1203 return _grid
.GridTableMessage_SetId(*args
, **kwargs
)
1205 def GetId(*args
, **kwargs
):
1206 """GetId(self) -> int"""
1207 return _grid
.GridTableMessage_GetId(*args
, **kwargs
)
1209 def SetCommandInt(*args
, **kwargs
):
1210 """SetCommandInt(self, int comInt1)"""
1211 return _grid
.GridTableMessage_SetCommandInt(*args
, **kwargs
)
1213 def GetCommandInt(*args
, **kwargs
):
1214 """GetCommandInt(self) -> int"""
1215 return _grid
.GridTableMessage_GetCommandInt(*args
, **kwargs
)
1217 def SetCommandInt2(*args
, **kwargs
):
1218 """SetCommandInt2(self, int comInt2)"""
1219 return _grid
.GridTableMessage_SetCommandInt2(*args
, **kwargs
)
1221 def GetCommandInt2(*args
, **kwargs
):
1222 """GetCommandInt2(self) -> int"""
1223 return _grid
.GridTableMessage_GetCommandInt2(*args
, **kwargs
)
1226 class GridTableMessagePtr(GridTableMessage
):
1227 def __init__(self
, this
):
1229 if not hasattr(self
,"thisown"): self
.thisown
= 0
1230 self
.__class
__ = GridTableMessage
1231 _grid
.GridTableMessage_swigregister(GridTableMessagePtr
)
1233 class GridCellCoords(object):
1234 """Proxy of C++ GridCellCoords class"""
1236 return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1237 def __init__(self
, *args
, **kwargs
):
1238 """__init__(self, int r=-1, int c=-1) -> GridCellCoords"""
1239 newobj
= _grid
.new_GridCellCoords(*args
, **kwargs
)
1240 self
.this
= newobj
.this
1243 def __del__(self
, destroy
=_grid
.delete_GridCellCoords
):
1246 if self
.thisown
: destroy(self
)
1249 def GetRow(*args
, **kwargs
):
1250 """GetRow(self) -> int"""
1251 return _grid
.GridCellCoords_GetRow(*args
, **kwargs
)
1253 def SetRow(*args
, **kwargs
):
1254 """SetRow(self, int n)"""
1255 return _grid
.GridCellCoords_SetRow(*args
, **kwargs
)
1257 def GetCol(*args
, **kwargs
):
1258 """GetCol(self) -> int"""
1259 return _grid
.GridCellCoords_GetCol(*args
, **kwargs
)
1261 def SetCol(*args
, **kwargs
):
1262 """SetCol(self, int n)"""
1263 return _grid
.GridCellCoords_SetCol(*args
, **kwargs
)
1265 def Set(*args
, **kwargs
):
1266 """Set(self, int row, int col)"""
1267 return _grid
.GridCellCoords_Set(*args
, **kwargs
)
1269 def __eq__(*args
, **kwargs
):
1270 """__eq__(self, GridCellCoords other) -> bool"""
1271 return _grid
.GridCellCoords___eq__(*args
, **kwargs
)
1273 def __ne__(*args
, **kwargs
):
1274 """__ne__(self, GridCellCoords other) -> bool"""
1275 return _grid
.GridCellCoords___ne__(*args
, **kwargs
)
1277 def Get(*args
, **kwargs
):
1278 """Get(self) -> PyObject"""
1279 return _grid
.GridCellCoords_Get(*args
, **kwargs
)
1281 asTuple
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead")
1282 def __str__(self
): return str(self
.Get())
1283 def __repr__(self
): return 'wxGridCellCoords'+str(self
.Get())
1284 def __len__(self
): return len(self
.Get())
1285 def __getitem__(self
, index
): return self
.asTuple()[index
]
1286 def __setitem__(self
, index
, val
):
1287 if index
== 0: self
.SetRow(val
)
1288 elif index
== 1: self
.SetCol(val
)
1289 else: raise IndexError
1292 class GridCellCoordsPtr(GridCellCoords
):
1293 def __init__(self
, this
):
1295 if not hasattr(self
,"thisown"): self
.thisown
= 0
1296 self
.__class
__ = GridCellCoords
1297 _grid
.GridCellCoords_swigregister(GridCellCoordsPtr
)
1299 class Grid(_windows
.ScrolledWindow
):
1300 """Proxy of C++ Grid class"""
1302 return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1303 def __init__(self
, *args
, **kwargs
):
1305 __init__(self, Window parent, int id=-1, Point pos=DefaultPosition,
1306 Size size=DefaultSize, long style=WANTS_CHARS,
1307 String name=PanelNameStr) -> Grid
1309 newobj
= _grid
.new_Grid(*args
, **kwargs
)
1310 self
.this
= newobj
.this
1313 self
._setOORInfo
(self
)
1315 def Create(*args
, **kwargs
):
1317 Create(self, Window parent, int id=-1, Point pos=DefaultPosition,
1318 Size size=DefaultSize, long style=WANTS_CHARS,
1319 String name=PanelNameStr) -> bool
1321 return _grid
.Grid_Create(*args
, **kwargs
)
1323 wxGridSelectCells
= _grid
.Grid_wxGridSelectCells
1324 wxGridSelectRows
= _grid
.Grid_wxGridSelectRows
1325 wxGridSelectColumns
= _grid
.Grid_wxGridSelectColumns
1326 SelectCells
= wxGridSelectCells
1327 SelectRows
= wxGridSelectRows
1328 SelectColumns
= wxGridSelectColumns
1330 def CreateGrid(*args
, **kwargs
):
1331 """CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
1332 return _grid
.Grid_CreateGrid(*args
, **kwargs
)
1334 def SetSelectionMode(*args
, **kwargs
):
1335 """SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)"""
1336 return _grid
.Grid_SetSelectionMode(*args
, **kwargs
)
1338 def GetSelectionMode(*args
, **kwargs
):
1339 """GetSelectionMode(self) -> WXGRIDSELECTIONMODES"""
1340 return _grid
.Grid_GetSelectionMode(*args
, **kwargs
)
1342 def GetNumberRows(*args
, **kwargs
):
1343 """GetNumberRows(self) -> int"""
1344 return _grid
.Grid_GetNumberRows(*args
, **kwargs
)
1346 def GetNumberCols(*args
, **kwargs
):
1347 """GetNumberCols(self) -> int"""
1348 return _grid
.Grid_GetNumberCols(*args
, **kwargs
)
1350 def ProcessTableMessage(*args
, **kwargs
):
1351 """ProcessTableMessage(self, GridTableMessage ??) -> bool"""
1352 return _grid
.Grid_ProcessTableMessage(*args
, **kwargs
)
1354 def GetTable(*args
, **kwargs
):
1355 """GetTable(self) -> GridTableBase"""
1356 return _grid
.Grid_GetTable(*args
, **kwargs
)
1358 def SetTable(*args
, **kwargs
):
1359 """SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
1360 return _grid
.Grid_SetTable(*args
, **kwargs
)
1362 def ClearGrid(*args
, **kwargs
):
1363 """ClearGrid(self)"""
1364 return _grid
.Grid_ClearGrid(*args
, **kwargs
)
1366 def InsertRows(*args
, **kwargs
):
1367 """InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool"""
1368 return _grid
.Grid_InsertRows(*args
, **kwargs
)
1370 def AppendRows(*args
, **kwargs
):
1371 """AppendRows(self, int numRows=1, bool updateLabels=True) -> bool"""
1372 return _grid
.Grid_AppendRows(*args
, **kwargs
)
1374 def DeleteRows(*args
, **kwargs
):
1375 """DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool"""
1376 return _grid
.Grid_DeleteRows(*args
, **kwargs
)
1378 def InsertCols(*args
, **kwargs
):
1379 """InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool"""
1380 return _grid
.Grid_InsertCols(*args
, **kwargs
)
1382 def AppendCols(*args
, **kwargs
):
1383 """AppendCols(self, int numCols=1, bool updateLabels=True) -> bool"""
1384 return _grid
.Grid_AppendCols(*args
, **kwargs
)
1386 def DeleteCols(*args
, **kwargs
):
1387 """DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool"""
1388 return _grid
.Grid_DeleteCols(*args
, **kwargs
)
1390 def DrawCellHighlight(*args
, **kwargs
):
1391 """DrawCellHighlight(self, DC dc, GridCellAttr attr)"""
1392 return _grid
.Grid_DrawCellHighlight(*args
, **kwargs
)
1394 def DrawTextRectangle(*args
, **kwargs
):
1396 DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT,
1397 int verticalAlignment=TOP, int textOrientation=HORIZONTAL)
1399 return _grid
.Grid_DrawTextRectangle(*args
, **kwargs
)
1401 def GetTextBoxSize(*args
, **kwargs
):
1402 """GetTextBoxSize(DC dc, list lines) -> (width, height)"""
1403 return _grid
.Grid_GetTextBoxSize(*args
, **kwargs
)
1405 def BeginBatch(*args
, **kwargs
):
1406 """BeginBatch(self)"""
1407 return _grid
.Grid_BeginBatch(*args
, **kwargs
)
1409 def EndBatch(*args
, **kwargs
):
1410 """EndBatch(self)"""
1411 return _grid
.Grid_EndBatch(*args
, **kwargs
)
1413 def GetBatchCount(*args
, **kwargs
):
1414 """GetBatchCount(self) -> int"""
1415 return _grid
.Grid_GetBatchCount(*args
, **kwargs
)
1417 def ForceRefresh(*args
, **kwargs
):
1418 """ForceRefresh(self)"""
1419 return _grid
.Grid_ForceRefresh(*args
, **kwargs
)
1421 def IsEditable(*args
, **kwargs
):
1422 """IsEditable(self) -> bool"""
1423 return _grid
.Grid_IsEditable(*args
, **kwargs
)
1425 def EnableEditing(*args
, **kwargs
):
1426 """EnableEditing(self, bool edit)"""
1427 return _grid
.Grid_EnableEditing(*args
, **kwargs
)
1429 def EnableCellEditControl(*args
, **kwargs
):
1430 """EnableCellEditControl(self, bool enable=True)"""
1431 return _grid
.Grid_EnableCellEditControl(*args
, **kwargs
)
1433 def DisableCellEditControl(*args
, **kwargs
):
1434 """DisableCellEditControl(self)"""
1435 return _grid
.Grid_DisableCellEditControl(*args
, **kwargs
)
1437 def CanEnableCellControl(*args
, **kwargs
):
1438 """CanEnableCellControl(self) -> bool"""
1439 return _grid
.Grid_CanEnableCellControl(*args
, **kwargs
)
1441 def IsCellEditControlEnabled(*args
, **kwargs
):
1442 """IsCellEditControlEnabled(self) -> bool"""
1443 return _grid
.Grid_IsCellEditControlEnabled(*args
, **kwargs
)
1445 def IsCellEditControlShown(*args
, **kwargs
):
1446 """IsCellEditControlShown(self) -> bool"""
1447 return _grid
.Grid_IsCellEditControlShown(*args
, **kwargs
)
1449 def IsCurrentCellReadOnly(*args
, **kwargs
):
1450 """IsCurrentCellReadOnly(self) -> bool"""
1451 return _grid
.Grid_IsCurrentCellReadOnly(*args
, **kwargs
)
1453 def ShowCellEditControl(*args
, **kwargs
):
1454 """ShowCellEditControl(self)"""
1455 return _grid
.Grid_ShowCellEditControl(*args
, **kwargs
)
1457 def HideCellEditControl(*args
, **kwargs
):
1458 """HideCellEditControl(self)"""
1459 return _grid
.Grid_HideCellEditControl(*args
, **kwargs
)
1461 def SaveEditControlValue(*args
, **kwargs
):
1462 """SaveEditControlValue(self)"""
1463 return _grid
.Grid_SaveEditControlValue(*args
, **kwargs
)
1465 def XYToCell(*args
, **kwargs
):
1466 """XYToCell(self, int x, int y) -> GridCellCoords"""
1467 return _grid
.Grid_XYToCell(*args
, **kwargs
)
1469 def YToRow(*args
, **kwargs
):
1470 """YToRow(self, int y) -> int"""
1471 return _grid
.Grid_YToRow(*args
, **kwargs
)
1473 def XToCol(*args
, **kwargs
):
1474 """XToCol(self, int x) -> int"""
1475 return _grid
.Grid_XToCol(*args
, **kwargs
)
1477 def YToEdgeOfRow(*args
, **kwargs
):
1478 """YToEdgeOfRow(self, int y) -> int"""
1479 return _grid
.Grid_YToEdgeOfRow(*args
, **kwargs
)
1481 def XToEdgeOfCol(*args
, **kwargs
):
1482 """XToEdgeOfCol(self, int x) -> int"""
1483 return _grid
.Grid_XToEdgeOfCol(*args
, **kwargs
)
1485 def CellToRect(*args
, **kwargs
):
1486 """CellToRect(self, int row, int col) -> Rect"""
1487 return _grid
.Grid_CellToRect(*args
, **kwargs
)
1489 def GetGridCursorRow(*args
, **kwargs
):
1490 """GetGridCursorRow(self) -> int"""
1491 return _grid
.Grid_GetGridCursorRow(*args
, **kwargs
)
1493 def GetGridCursorCol(*args
, **kwargs
):
1494 """GetGridCursorCol(self) -> int"""
1495 return _grid
.Grid_GetGridCursorCol(*args
, **kwargs
)
1497 def IsVisible(*args
, **kwargs
):
1498 """IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool"""
1499 return _grid
.Grid_IsVisible(*args
, **kwargs
)
1501 def MakeCellVisible(*args
, **kwargs
):
1502 """MakeCellVisible(self, int row, int col)"""
1503 return _grid
.Grid_MakeCellVisible(*args
, **kwargs
)
1505 def SetGridCursor(*args
, **kwargs
):
1506 """SetGridCursor(self, int row, int col)"""
1507 return _grid
.Grid_SetGridCursor(*args
, **kwargs
)
1509 def MoveCursorUp(*args
, **kwargs
):
1510 """MoveCursorUp(self, bool expandSelection) -> bool"""
1511 return _grid
.Grid_MoveCursorUp(*args
, **kwargs
)
1513 def MoveCursorDown(*args
, **kwargs
):
1514 """MoveCursorDown(self, bool expandSelection) -> bool"""
1515 return _grid
.Grid_MoveCursorDown(*args
, **kwargs
)
1517 def MoveCursorLeft(*args
, **kwargs
):
1518 """MoveCursorLeft(self, bool expandSelection) -> bool"""
1519 return _grid
.Grid_MoveCursorLeft(*args
, **kwargs
)
1521 def MoveCursorRight(*args
, **kwargs
):
1522 """MoveCursorRight(self, bool expandSelection) -> bool"""
1523 return _grid
.Grid_MoveCursorRight(*args
, **kwargs
)
1525 def MovePageDown(*args
, **kwargs
):
1526 """MovePageDown(self) -> bool"""
1527 return _grid
.Grid_MovePageDown(*args
, **kwargs
)
1529 def MovePageUp(*args
, **kwargs
):
1530 """MovePageUp(self) -> bool"""
1531 return _grid
.Grid_MovePageUp(*args
, **kwargs
)
1533 def MoveCursorUpBlock(*args
, **kwargs
):
1534 """MoveCursorUpBlock(self, bool expandSelection) -> bool"""
1535 return _grid
.Grid_MoveCursorUpBlock(*args
, **kwargs
)
1537 def MoveCursorDownBlock(*args
, **kwargs
):
1538 """MoveCursorDownBlock(self, bool expandSelection) -> bool"""
1539 return _grid
.Grid_MoveCursorDownBlock(*args
, **kwargs
)
1541 def MoveCursorLeftBlock(*args
, **kwargs
):
1542 """MoveCursorLeftBlock(self, bool expandSelection) -> bool"""
1543 return _grid
.Grid_MoveCursorLeftBlock(*args
, **kwargs
)
1545 def MoveCursorRightBlock(*args
, **kwargs
):
1546 """MoveCursorRightBlock(self, bool expandSelection) -> bool"""
1547 return _grid
.Grid_MoveCursorRightBlock(*args
, **kwargs
)
1549 def GetDefaultRowLabelSize(*args
, **kwargs
):
1550 """GetDefaultRowLabelSize(self) -> int"""
1551 return _grid
.Grid_GetDefaultRowLabelSize(*args
, **kwargs
)
1553 def GetRowLabelSize(*args
, **kwargs
):
1554 """GetRowLabelSize(self) -> int"""
1555 return _grid
.Grid_GetRowLabelSize(*args
, **kwargs
)
1557 def GetDefaultColLabelSize(*args
, **kwargs
):
1558 """GetDefaultColLabelSize(self) -> int"""
1559 return _grid
.Grid_GetDefaultColLabelSize(*args
, **kwargs
)
1561 def GetColLabelSize(*args
, **kwargs
):
1562 """GetColLabelSize(self) -> int"""
1563 return _grid
.Grid_GetColLabelSize(*args
, **kwargs
)
1565 def GetLabelBackgroundColour(*args
, **kwargs
):
1566 """GetLabelBackgroundColour(self) -> Colour"""
1567 return _grid
.Grid_GetLabelBackgroundColour(*args
, **kwargs
)
1569 def GetLabelTextColour(*args
, **kwargs
):
1570 """GetLabelTextColour(self) -> Colour"""
1571 return _grid
.Grid_GetLabelTextColour(*args
, **kwargs
)
1573 def GetLabelFont(*args
, **kwargs
):
1574 """GetLabelFont(self) -> Font"""
1575 return _grid
.Grid_GetLabelFont(*args
, **kwargs
)
1577 def GetRowLabelAlignment(*args
, **kwargs
):
1578 """GetRowLabelAlignment() -> (horiz, vert)"""
1579 return _grid
.Grid_GetRowLabelAlignment(*args
, **kwargs
)
1581 def GetColLabelAlignment(*args
, **kwargs
):
1582 """GetColLabelAlignment() -> (horiz, vert)"""
1583 return _grid
.Grid_GetColLabelAlignment(*args
, **kwargs
)
1585 def GetColLabelTextOrientation(*args
, **kwargs
):
1586 """GetColLabelTextOrientation(self) -> int"""
1587 return _grid
.Grid_GetColLabelTextOrientation(*args
, **kwargs
)
1589 def GetRowLabelValue(*args
, **kwargs
):
1590 """GetRowLabelValue(self, int row) -> String"""
1591 return _grid
.Grid_GetRowLabelValue(*args
, **kwargs
)
1593 def GetColLabelValue(*args
, **kwargs
):
1594 """GetColLabelValue(self, int col) -> String"""
1595 return _grid
.Grid_GetColLabelValue(*args
, **kwargs
)
1597 def GetGridLineColour(*args
, **kwargs
):
1598 """GetGridLineColour(self) -> Colour"""
1599 return _grid
.Grid_GetGridLineColour(*args
, **kwargs
)
1601 def GetCellHighlightColour(*args
, **kwargs
):
1602 """GetCellHighlightColour(self) -> Colour"""
1603 return _grid
.Grid_GetCellHighlightColour(*args
, **kwargs
)
1605 def GetCellHighlightPenWidth(*args
, **kwargs
):
1606 """GetCellHighlightPenWidth(self) -> int"""
1607 return _grid
.Grid_GetCellHighlightPenWidth(*args
, **kwargs
)
1609 def GetCellHighlightROPenWidth(*args
, **kwargs
):
1610 """GetCellHighlightROPenWidth(self) -> int"""
1611 return _grid
.Grid_GetCellHighlightROPenWidth(*args
, **kwargs
)
1613 def SetRowLabelSize(*args
, **kwargs
):
1614 """SetRowLabelSize(self, int width)"""
1615 return _grid
.Grid_SetRowLabelSize(*args
, **kwargs
)
1617 def SetColLabelSize(*args
, **kwargs
):
1618 """SetColLabelSize(self, int height)"""
1619 return _grid
.Grid_SetColLabelSize(*args
, **kwargs
)
1621 def SetLabelBackgroundColour(*args
, **kwargs
):
1622 """SetLabelBackgroundColour(self, Colour ??)"""
1623 return _grid
.Grid_SetLabelBackgroundColour(*args
, **kwargs
)
1625 def SetLabelTextColour(*args
, **kwargs
):
1626 """SetLabelTextColour(self, Colour ??)"""
1627 return _grid
.Grid_SetLabelTextColour(*args
, **kwargs
)
1629 def SetLabelFont(*args
, **kwargs
):
1630 """SetLabelFont(self, Font ??)"""
1631 return _grid
.Grid_SetLabelFont(*args
, **kwargs
)
1633 def SetRowLabelAlignment(*args
, **kwargs
):
1634 """SetRowLabelAlignment(self, int horiz, int vert)"""
1635 return _grid
.Grid_SetRowLabelAlignment(*args
, **kwargs
)
1637 def SetColLabelAlignment(*args
, **kwargs
):
1638 """SetColLabelAlignment(self, int horiz, int vert)"""
1639 return _grid
.Grid_SetColLabelAlignment(*args
, **kwargs
)
1641 def SetColLabelTextOrientation(*args
, **kwargs
):
1642 """SetColLabelTextOrientation(self, int textOrientation)"""
1643 return _grid
.Grid_SetColLabelTextOrientation(*args
, **kwargs
)
1645 def SetRowLabelValue(*args
, **kwargs
):
1646 """SetRowLabelValue(self, int row, String ??)"""
1647 return _grid
.Grid_SetRowLabelValue(*args
, **kwargs
)
1649 def SetColLabelValue(*args
, **kwargs
):
1650 """SetColLabelValue(self, int col, String ??)"""
1651 return _grid
.Grid_SetColLabelValue(*args
, **kwargs
)
1653 def SetGridLineColour(*args
, **kwargs
):
1654 """SetGridLineColour(self, Colour ??)"""
1655 return _grid
.Grid_SetGridLineColour(*args
, **kwargs
)
1657 def SetCellHighlightColour(*args
, **kwargs
):
1658 """SetCellHighlightColour(self, Colour ??)"""
1659 return _grid
.Grid_SetCellHighlightColour(*args
, **kwargs
)
1661 def SetCellHighlightPenWidth(*args
, **kwargs
):
1662 """SetCellHighlightPenWidth(self, int width)"""
1663 return _grid
.Grid_SetCellHighlightPenWidth(*args
, **kwargs
)
1665 def SetCellHighlightROPenWidth(*args
, **kwargs
):
1666 """SetCellHighlightROPenWidth(self, int width)"""
1667 return _grid
.Grid_SetCellHighlightROPenWidth(*args
, **kwargs
)
1669 def EnableDragRowSize(*args
, **kwargs
):
1670 """EnableDragRowSize(self, bool enable=True)"""
1671 return _grid
.Grid_EnableDragRowSize(*args
, **kwargs
)
1673 def DisableDragRowSize(*args
, **kwargs
):
1674 """DisableDragRowSize(self)"""
1675 return _grid
.Grid_DisableDragRowSize(*args
, **kwargs
)
1677 def CanDragRowSize(*args
, **kwargs
):
1678 """CanDragRowSize(self) -> bool"""
1679 return _grid
.Grid_CanDragRowSize(*args
, **kwargs
)
1681 def EnableDragColSize(*args
, **kwargs
):
1682 """EnableDragColSize(self, bool enable=True)"""
1683 return _grid
.Grid_EnableDragColSize(*args
, **kwargs
)
1685 def DisableDragColSize(*args
, **kwargs
):
1686 """DisableDragColSize(self)"""
1687 return _grid
.Grid_DisableDragColSize(*args
, **kwargs
)
1689 def CanDragColSize(*args
, **kwargs
):
1690 """CanDragColSize(self) -> bool"""
1691 return _grid
.Grid_CanDragColSize(*args
, **kwargs
)
1693 def EnableDragGridSize(*args
, **kwargs
):
1694 """EnableDragGridSize(self, bool enable=True)"""
1695 return _grid
.Grid_EnableDragGridSize(*args
, **kwargs
)
1697 def DisableDragGridSize(*args
, **kwargs
):
1698 """DisableDragGridSize(self)"""
1699 return _grid
.Grid_DisableDragGridSize(*args
, **kwargs
)
1701 def CanDragGridSize(*args
, **kwargs
):
1702 """CanDragGridSize(self) -> bool"""
1703 return _grid
.Grid_CanDragGridSize(*args
, **kwargs
)
1705 def EnableDragCell(*args
, **kwargs
):
1706 """EnableDragCell(self, bool enable=True)"""
1707 return _grid
.Grid_EnableDragCell(*args
, **kwargs
)
1709 def DisableDragCell(*args
, **kwargs
):
1710 """DisableDragCell(self)"""
1711 return _grid
.Grid_DisableDragCell(*args
, **kwargs
)
1713 def CanDragCell(*args
, **kwargs
):
1714 """CanDragCell(self) -> bool"""
1715 return _grid
.Grid_CanDragCell(*args
, **kwargs
)
1717 def SetAttr(*args
, **kwargs
):
1718 """SetAttr(self, int row, int col, GridCellAttr attr)"""
1719 return _grid
.Grid_SetAttr(*args
, **kwargs
)
1721 def SetRowAttr(*args
, **kwargs
):
1722 """SetRowAttr(self, int row, GridCellAttr attr)"""
1723 return _grid
.Grid_SetRowAttr(*args
, **kwargs
)
1725 def SetColAttr(*args
, **kwargs
):
1726 """SetColAttr(self, int col, GridCellAttr attr)"""
1727 return _grid
.Grid_SetColAttr(*args
, **kwargs
)
1729 def GetOrCreateCellAttr(*args
, **kwargs
):
1730 """GetOrCreateCellAttr(self, int row, int col) -> GridCellAttr"""
1731 return _grid
.Grid_GetOrCreateCellAttr(*args
, **kwargs
)
1733 def SetColFormatBool(*args
, **kwargs
):
1734 """SetColFormatBool(self, int col)"""
1735 return _grid
.Grid_SetColFormatBool(*args
, **kwargs
)
1737 def SetColFormatNumber(*args
, **kwargs
):
1738 """SetColFormatNumber(self, int col)"""
1739 return _grid
.Grid_SetColFormatNumber(*args
, **kwargs
)
1741 def SetColFormatFloat(*args
, **kwargs
):
1742 """SetColFormatFloat(self, int col, int width=-1, int precision=-1)"""
1743 return _grid
.Grid_SetColFormatFloat(*args
, **kwargs
)
1745 def SetColFormatCustom(*args
, **kwargs
):
1746 """SetColFormatCustom(self, int col, String typeName)"""
1747 return _grid
.Grid_SetColFormatCustom(*args
, **kwargs
)
1749 def EnableGridLines(*args
, **kwargs
):
1750 """EnableGridLines(self, bool enable=True)"""
1751 return _grid
.Grid_EnableGridLines(*args
, **kwargs
)
1753 def GridLinesEnabled(*args
, **kwargs
):
1754 """GridLinesEnabled(self) -> bool"""
1755 return _grid
.Grid_GridLinesEnabled(*args
, **kwargs
)
1757 def GetDefaultRowSize(*args
, **kwargs
):
1758 """GetDefaultRowSize(self) -> int"""
1759 return _grid
.Grid_GetDefaultRowSize(*args
, **kwargs
)
1761 def GetRowSize(*args
, **kwargs
):
1762 """GetRowSize(self, int row) -> int"""
1763 return _grid
.Grid_GetRowSize(*args
, **kwargs
)
1765 def GetDefaultColSize(*args
, **kwargs
):
1766 """GetDefaultColSize(self) -> int"""
1767 return _grid
.Grid_GetDefaultColSize(*args
, **kwargs
)
1769 def GetColSize(*args
, **kwargs
):
1770 """GetColSize(self, int col) -> int"""
1771 return _grid
.Grid_GetColSize(*args
, **kwargs
)
1773 def GetDefaultCellBackgroundColour(*args
, **kwargs
):
1774 """GetDefaultCellBackgroundColour(self) -> Colour"""
1775 return _grid
.Grid_GetDefaultCellBackgroundColour(*args
, **kwargs
)
1777 def GetCellBackgroundColour(*args
, **kwargs
):
1778 """GetCellBackgroundColour(self, int row, int col) -> Colour"""
1779 return _grid
.Grid_GetCellBackgroundColour(*args
, **kwargs
)
1781 def GetDefaultCellTextColour(*args
, **kwargs
):
1782 """GetDefaultCellTextColour(self) -> Colour"""
1783 return _grid
.Grid_GetDefaultCellTextColour(*args
, **kwargs
)
1785 def GetCellTextColour(*args
, **kwargs
):
1786 """GetCellTextColour(self, int row, int col) -> Colour"""
1787 return _grid
.Grid_GetCellTextColour(*args
, **kwargs
)
1789 def GetDefaultCellFont(*args
, **kwargs
):
1790 """GetDefaultCellFont(self) -> Font"""
1791 return _grid
.Grid_GetDefaultCellFont(*args
, **kwargs
)
1793 def GetCellFont(*args
, **kwargs
):
1794 """GetCellFont(self, int row, int col) -> Font"""
1795 return _grid
.Grid_GetCellFont(*args
, **kwargs
)
1797 def GetDefaultCellAlignment(*args
, **kwargs
):
1798 """GetDefaultCellAlignment() -> (horiz, vert)"""
1799 return _grid
.Grid_GetDefaultCellAlignment(*args
, **kwargs
)
1801 def GetCellAlignment(*args
, **kwargs
):
1802 """GetCellAlignment() -> (horiz, vert)"""
1803 return _grid
.Grid_GetCellAlignment(*args
, **kwargs
)
1805 def GetDefaultCellOverflow(*args
, **kwargs
):
1806 """GetDefaultCellOverflow(self) -> bool"""
1807 return _grid
.Grid_GetDefaultCellOverflow(*args
, **kwargs
)
1809 def GetCellOverflow(*args
, **kwargs
):
1810 """GetCellOverflow(self, int row, int col) -> bool"""
1811 return _grid
.Grid_GetCellOverflow(*args
, **kwargs
)
1813 def GetCellSize(*args
, **kwargs
):
1814 """GetCellSize(int row, int col) -> (num_rows, num_cols)"""
1815 return _grid
.Grid_GetCellSize(*args
, **kwargs
)
1817 def SetDefaultRowSize(*args
, **kwargs
):
1818 """SetDefaultRowSize(self, int height, bool resizeExistingRows=False)"""
1819 return _grid
.Grid_SetDefaultRowSize(*args
, **kwargs
)
1821 def SetRowSize(*args
, **kwargs
):
1822 """SetRowSize(self, int row, int height)"""
1823 return _grid
.Grid_SetRowSize(*args
, **kwargs
)
1825 def SetDefaultColSize(*args
, **kwargs
):
1826 """SetDefaultColSize(self, int width, bool resizeExistingCols=False)"""
1827 return _grid
.Grid_SetDefaultColSize(*args
, **kwargs
)
1829 def SetColSize(*args
, **kwargs
):
1830 """SetColSize(self, int col, int width)"""
1831 return _grid
.Grid_SetColSize(*args
, **kwargs
)
1833 def AutoSizeColumn(*args
, **kwargs
):
1834 """AutoSizeColumn(self, int col, bool setAsMin=True)"""
1835 return _grid
.Grid_AutoSizeColumn(*args
, **kwargs
)
1837 def AutoSizeRow(*args
, **kwargs
):
1838 """AutoSizeRow(self, int row, bool setAsMin=True)"""
1839 return _grid
.Grid_AutoSizeRow(*args
, **kwargs
)
1841 def AutoSizeColumns(*args
, **kwargs
):
1842 """AutoSizeColumns(self, bool setAsMin=True)"""
1843 return _grid
.Grid_AutoSizeColumns(*args
, **kwargs
)
1845 def AutoSizeRows(*args
, **kwargs
):
1846 """AutoSizeRows(self, bool setAsMin=True)"""
1847 return _grid
.Grid_AutoSizeRows(*args
, **kwargs
)
1849 def AutoSize(*args
, **kwargs
):
1850 """AutoSize(self)"""
1851 return _grid
.Grid_AutoSize(*args
, **kwargs
)
1853 def AutoSizeRowLabelSize(*args
, **kwargs
):
1854 """AutoSizeRowLabelSize(self, int row)"""
1855 return _grid
.Grid_AutoSizeRowLabelSize(*args
, **kwargs
)
1857 def AutoSizeColLabelSize(*args
, **kwargs
):
1858 """AutoSizeColLabelSize(self, int col)"""
1859 return _grid
.Grid_AutoSizeColLabelSize(*args
, **kwargs
)
1861 def SetColMinimalWidth(*args
, **kwargs
):
1862 """SetColMinimalWidth(self, int col, int width)"""
1863 return _grid
.Grid_SetColMinimalWidth(*args
, **kwargs
)
1865 def SetRowMinimalHeight(*args
, **kwargs
):
1866 """SetRowMinimalHeight(self, int row, int width)"""
1867 return _grid
.Grid_SetRowMinimalHeight(*args
, **kwargs
)
1869 def SetColMinimalAcceptableWidth(*args
, **kwargs
):
1870 """SetColMinimalAcceptableWidth(self, int width)"""
1871 return _grid
.Grid_SetColMinimalAcceptableWidth(*args
, **kwargs
)
1873 def SetRowMinimalAcceptableHeight(*args
, **kwargs
):
1874 """SetRowMinimalAcceptableHeight(self, int width)"""
1875 return _grid
.Grid_SetRowMinimalAcceptableHeight(*args
, **kwargs
)
1877 def GetColMinimalAcceptableWidth(*args
, **kwargs
):
1878 """GetColMinimalAcceptableWidth(self) -> int"""
1879 return _grid
.Grid_GetColMinimalAcceptableWidth(*args
, **kwargs
)
1881 def GetRowMinimalAcceptableHeight(*args
, **kwargs
):
1882 """GetRowMinimalAcceptableHeight(self) -> int"""
1883 return _grid
.Grid_GetRowMinimalAcceptableHeight(*args
, **kwargs
)
1885 def SetDefaultCellBackgroundColour(*args
, **kwargs
):
1886 """SetDefaultCellBackgroundColour(self, Colour ??)"""
1887 return _grid
.Grid_SetDefaultCellBackgroundColour(*args
, **kwargs
)
1889 def SetCellBackgroundColour(*args
, **kwargs
):
1890 """SetCellBackgroundColour(self, int row, int col, Colour ??)"""
1891 return _grid
.Grid_SetCellBackgroundColour(*args
, **kwargs
)
1893 def SetDefaultCellTextColour(*args
, **kwargs
):
1894 """SetDefaultCellTextColour(self, Colour ??)"""
1895 return _grid
.Grid_SetDefaultCellTextColour(*args
, **kwargs
)
1897 def SetCellTextColour(*args
, **kwargs
):
1898 """SetCellTextColour(self, int row, int col, Colour ??)"""
1899 return _grid
.Grid_SetCellTextColour(*args
, **kwargs
)
1901 def SetDefaultCellFont(*args
, **kwargs
):
1902 """SetDefaultCellFont(self, Font ??)"""
1903 return _grid
.Grid_SetDefaultCellFont(*args
, **kwargs
)
1905 def SetCellFont(*args
, **kwargs
):
1906 """SetCellFont(self, int row, int col, Font ??)"""
1907 return _grid
.Grid_SetCellFont(*args
, **kwargs
)
1909 def SetDefaultCellAlignment(*args
, **kwargs
):
1910 """SetDefaultCellAlignment(self, int horiz, int vert)"""
1911 return _grid
.Grid_SetDefaultCellAlignment(*args
, **kwargs
)
1913 def SetCellAlignment(*args
, **kwargs
):
1914 """SetCellAlignment(self, int row, int col, int horiz, int vert)"""
1915 return _grid
.Grid_SetCellAlignment(*args
, **kwargs
)
1917 def SetDefaultCellOverflow(*args
, **kwargs
):
1918 """SetDefaultCellOverflow(self, bool allow)"""
1919 return _grid
.Grid_SetDefaultCellOverflow(*args
, **kwargs
)
1921 def SetCellOverflow(*args
, **kwargs
):
1922 """SetCellOverflow(self, int row, int col, bool allow)"""
1923 return _grid
.Grid_SetCellOverflow(*args
, **kwargs
)
1925 def SetCellSize(*args
, **kwargs
):
1926 """SetCellSize(self, int row, int col, int num_rows, int num_cols)"""
1927 return _grid
.Grid_SetCellSize(*args
, **kwargs
)
1929 def SetDefaultRenderer(*args
, **kwargs
):
1930 """SetDefaultRenderer(self, GridCellRenderer renderer)"""
1931 return _grid
.Grid_SetDefaultRenderer(*args
, **kwargs
)
1933 def SetCellRenderer(*args
, **kwargs
):
1934 """SetCellRenderer(self, int row, int col, GridCellRenderer renderer)"""
1935 return _grid
.Grid_SetCellRenderer(*args
, **kwargs
)
1937 def GetDefaultRenderer(*args
, **kwargs
):
1938 """GetDefaultRenderer(self) -> GridCellRenderer"""
1939 return _grid
.Grid_GetDefaultRenderer(*args
, **kwargs
)
1941 def GetCellRenderer(*args
, **kwargs
):
1942 """GetCellRenderer(self, int row, int col) -> GridCellRenderer"""
1943 return _grid
.Grid_GetCellRenderer(*args
, **kwargs
)
1945 def SetDefaultEditor(*args
, **kwargs
):
1946 """SetDefaultEditor(self, GridCellEditor editor)"""
1947 return _grid
.Grid_SetDefaultEditor(*args
, **kwargs
)
1949 def SetCellEditor(*args
, **kwargs
):
1950 """SetCellEditor(self, int row, int col, GridCellEditor editor)"""
1951 return _grid
.Grid_SetCellEditor(*args
, **kwargs
)
1953 def GetDefaultEditor(*args
, **kwargs
):
1954 """GetDefaultEditor(self) -> GridCellEditor"""
1955 return _grid
.Grid_GetDefaultEditor(*args
, **kwargs
)
1957 def GetCellEditor(*args
, **kwargs
):
1958 """GetCellEditor(self, int row, int col) -> GridCellEditor"""
1959 return _grid
.Grid_GetCellEditor(*args
, **kwargs
)
1961 def GetCellValue(*args
, **kwargs
):
1962 """GetCellValue(self, int row, int col) -> String"""
1963 return _grid
.Grid_GetCellValue(*args
, **kwargs
)
1965 def SetCellValue(*args
, **kwargs
):
1966 """SetCellValue(self, int row, int col, String s)"""
1967 return _grid
.Grid_SetCellValue(*args
, **kwargs
)
1969 def IsReadOnly(*args
, **kwargs
):
1970 """IsReadOnly(self, int row, int col) -> bool"""
1971 return _grid
.Grid_IsReadOnly(*args
, **kwargs
)
1973 def SetReadOnly(*args
, **kwargs
):
1974 """SetReadOnly(self, int row, int col, bool isReadOnly=True)"""
1975 return _grid
.Grid_SetReadOnly(*args
, **kwargs
)
1977 def SelectRow(*args
, **kwargs
):
1978 """SelectRow(self, int row, bool addToSelected=False)"""
1979 return _grid
.Grid_SelectRow(*args
, **kwargs
)
1981 def SelectCol(*args
, **kwargs
):
1982 """SelectCol(self, int col, bool addToSelected=False)"""
1983 return _grid
.Grid_SelectCol(*args
, **kwargs
)
1985 def SelectBlock(*args
, **kwargs
):
1987 SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol,
1988 bool addToSelected=False)
1990 return _grid
.Grid_SelectBlock(*args
, **kwargs
)
1992 def SelectAll(*args
, **kwargs
):
1993 """SelectAll(self)"""
1994 return _grid
.Grid_SelectAll(*args
, **kwargs
)
1996 def IsSelection(*args
, **kwargs
):
1997 """IsSelection(self) -> bool"""
1998 return _grid
.Grid_IsSelection(*args
, **kwargs
)
2000 def ClearSelection(*args
, **kwargs
):
2001 """ClearSelection(self)"""
2002 return _grid
.Grid_ClearSelection(*args
, **kwargs
)
2004 def IsInSelection(*args
, **kwargs
):
2005 """IsInSelection(self, int row, int col) -> bool"""
2006 return _grid
.Grid_IsInSelection(*args
, **kwargs
)
2008 def GetSelectedCells(*args
, **kwargs
):
2009 """GetSelectedCells(self) -> wxGridCellCoordsArray"""
2010 return _grid
.Grid_GetSelectedCells(*args
, **kwargs
)
2012 def GetSelectionBlockTopLeft(*args
, **kwargs
):
2013 """GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray"""
2014 return _grid
.Grid_GetSelectionBlockTopLeft(*args
, **kwargs
)
2016 def GetSelectionBlockBottomRight(*args
, **kwargs
):
2017 """GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray"""
2018 return _grid
.Grid_GetSelectionBlockBottomRight(*args
, **kwargs
)
2020 def GetSelectedRows(*args
, **kwargs
):
2021 """GetSelectedRows(self) -> wxArrayInt"""
2022 return _grid
.Grid_GetSelectedRows(*args
, **kwargs
)
2024 def GetSelectedCols(*args
, **kwargs
):
2025 """GetSelectedCols(self) -> wxArrayInt"""
2026 return _grid
.Grid_GetSelectedCols(*args
, **kwargs
)
2028 def DeselectRow(*args
, **kwargs
):
2029 """DeselectRow(self, int row)"""
2030 return _grid
.Grid_DeselectRow(*args
, **kwargs
)
2032 def DeselectCol(*args
, **kwargs
):
2033 """DeselectCol(self, int col)"""
2034 return _grid
.Grid_DeselectCol(*args
, **kwargs
)
2036 def DeselectCell(*args
, **kwargs
):
2037 """DeselectCell(self, int row, int col)"""
2038 return _grid
.Grid_DeselectCell(*args
, **kwargs
)
2040 def BlockToDeviceRect(*args
, **kwargs
):
2041 """BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect"""
2042 return _grid
.Grid_BlockToDeviceRect(*args
, **kwargs
)
2044 def GetSelectionBackground(*args
, **kwargs
):
2045 """GetSelectionBackground(self) -> Colour"""
2046 return _grid
.Grid_GetSelectionBackground(*args
, **kwargs
)
2048 def GetSelectionForeground(*args
, **kwargs
):
2049 """GetSelectionForeground(self) -> Colour"""
2050 return _grid
.Grid_GetSelectionForeground(*args
, **kwargs
)
2052 def SetSelectionBackground(*args
, **kwargs
):
2053 """SetSelectionBackground(self, Colour c)"""
2054 return _grid
.Grid_SetSelectionBackground(*args
, **kwargs
)
2056 def SetSelectionForeground(*args
, **kwargs
):
2057 """SetSelectionForeground(self, Colour c)"""
2058 return _grid
.Grid_SetSelectionForeground(*args
, **kwargs
)
2060 def RegisterDataType(*args
, **kwargs
):
2061 """RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)"""
2062 return _grid
.Grid_RegisterDataType(*args
, **kwargs
)
2064 def GetDefaultEditorForCell(*args
, **kwargs
):
2065 """GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor"""
2066 return _grid
.Grid_GetDefaultEditorForCell(*args
, **kwargs
)
2068 def GetDefaultRendererForCell(*args
, **kwargs
):
2069 """GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer"""
2070 return _grid
.Grid_GetDefaultRendererForCell(*args
, **kwargs
)
2072 def GetDefaultEditorForType(*args
, **kwargs
):
2073 """GetDefaultEditorForType(self, String typeName) -> GridCellEditor"""
2074 return _grid
.Grid_GetDefaultEditorForType(*args
, **kwargs
)
2076 def GetDefaultRendererForType(*args
, **kwargs
):
2077 """GetDefaultRendererForType(self, String typeName) -> GridCellRenderer"""
2078 return _grid
.Grid_GetDefaultRendererForType(*args
, **kwargs
)
2080 def SetMargins(*args
, **kwargs
):
2081 """SetMargins(self, int extraWidth, int extraHeight)"""
2082 return _grid
.Grid_SetMargins(*args
, **kwargs
)
2084 def GetGridWindow(*args
, **kwargs
):
2085 """GetGridWindow(self) -> Window"""
2086 return _grid
.Grid_GetGridWindow(*args
, **kwargs
)
2088 def GetGridRowLabelWindow(*args
, **kwargs
):
2089 """GetGridRowLabelWindow(self) -> Window"""
2090 return _grid
.Grid_GetGridRowLabelWindow(*args
, **kwargs
)
2092 def GetGridColLabelWindow(*args
, **kwargs
):
2093 """GetGridColLabelWindow(self) -> Window"""
2094 return _grid
.Grid_GetGridColLabelWindow(*args
, **kwargs
)
2096 def GetGridCornerLabelWindow(*args
, **kwargs
):
2097 """GetGridCornerLabelWindow(self) -> Window"""
2098 return _grid
.Grid_GetGridCornerLabelWindow(*args
, **kwargs
)
2100 def SetScrollLineX(*args
, **kwargs
):
2101 """SetScrollLineX(self, int x)"""
2102 return _grid
.Grid_SetScrollLineX(*args
, **kwargs
)
2104 def SetScrollLineY(*args
, **kwargs
):
2105 """SetScrollLineY(self, int y)"""
2106 return _grid
.Grid_SetScrollLineY(*args
, **kwargs
)
2108 def GetScrollLineX(*args
, **kwargs
):
2109 """GetScrollLineX(self) -> int"""
2110 return _grid
.Grid_GetScrollLineX(*args
, **kwargs
)
2112 def GetScrollLineY(*args
, **kwargs
):
2113 """GetScrollLineY(self) -> int"""
2114 return _grid
.Grid_GetScrollLineY(*args
, **kwargs
)
2116 def GetScrollX(*args
, **kwargs
):
2117 """GetScrollX(self, int x) -> int"""
2118 return _grid
.Grid_GetScrollX(*args
, **kwargs
)
2120 def GetScrollY(*args
, **kwargs
):
2121 """GetScrollY(self, int y) -> int"""
2122 return _grid
.Grid_GetScrollY(*args
, **kwargs
)
2124 def GetClassDefaultAttributes(*args
, **kwargs
):
2126 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
2128 Get the default attributes for this class. This is useful if you want
2129 to use the same font or colour in your own control as in a standard
2130 control -- which is a much better idea than hard coding specific
2131 colours or fonts which might look completely out of place on the
2132 user's system, especially if it uses themes.
2134 The variant parameter is only relevant under Mac currently and is
2135 ignore under other platforms. Under Mac, it will change the size of
2136 the returned font. See `wx.Window.SetWindowVariant` for more about
2139 return _grid
.Grid_GetClassDefaultAttributes(*args
, **kwargs
)
2141 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
2143 class GridPtr(Grid
):
2144 def __init__(self
, this
):
2146 if not hasattr(self
,"thisown"): self
.thisown
= 0
2147 self
.__class
__ = Grid
2148 _grid
.Grid_swigregister(GridPtr
)
2150 def PreGrid(*args
, **kwargs
):
2151 """PreGrid() -> Grid"""
2152 val
= _grid
.new_PreGrid(*args
, **kwargs
)
2156 def Grid_GetClassDefaultAttributes(*args
, **kwargs
):
2158 Grid_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
2160 Get the default attributes for this class. This is useful if you want
2161 to use the same font or colour in your own control as in a standard
2162 control -- which is a much better idea than hard coding specific
2163 colours or fonts which might look completely out of place on the
2164 user's system, especially if it uses themes.
2166 The variant parameter is only relevant under Mac currently and is
2167 ignore under other platforms. Under Mac, it will change the size of
2168 the returned font. See `wx.Window.SetWindowVariant` for more about
2171 return _grid
.Grid_GetClassDefaultAttributes(*args
, **kwargs
)
2173 class GridEvent(_core
.NotifyEvent
):
2174 """Proxy of C++ GridEvent class"""
2176 return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2177 def __init__(self
, *args
, **kwargs
):
2179 __init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1,
2180 int x=-1, int y=-1, bool sel=True, bool control=False,
2181 bool shift=False, bool alt=False,
2182 bool meta=False) -> GridEvent
2184 newobj
= _grid
.new_GridEvent(*args
, **kwargs
)
2185 self
.this
= newobj
.this
2188 def GetRow(*args
, **kwargs
):
2189 """GetRow(self) -> int"""
2190 return _grid
.GridEvent_GetRow(*args
, **kwargs
)
2192 def GetCol(*args
, **kwargs
):
2193 """GetCol(self) -> int"""
2194 return _grid
.GridEvent_GetCol(*args
, **kwargs
)
2196 def GetPosition(*args
, **kwargs
):
2197 """GetPosition(self) -> Point"""
2198 return _grid
.GridEvent_GetPosition(*args
, **kwargs
)
2200 def Selecting(*args
, **kwargs
):
2201 """Selecting(self) -> bool"""
2202 return _grid
.GridEvent_Selecting(*args
, **kwargs
)
2204 def ControlDown(*args
, **kwargs
):
2205 """ControlDown(self) -> bool"""
2206 return _grid
.GridEvent_ControlDown(*args
, **kwargs
)
2208 def MetaDown(*args
, **kwargs
):
2209 """MetaDown(self) -> bool"""
2210 return _grid
.GridEvent_MetaDown(*args
, **kwargs
)
2212 def ShiftDown(*args
, **kwargs
):
2213 """ShiftDown(self) -> bool"""
2214 return _grid
.GridEvent_ShiftDown(*args
, **kwargs
)
2216 def AltDown(*args
, **kwargs
):
2217 """AltDown(self) -> bool"""
2218 return _grid
.GridEvent_AltDown(*args
, **kwargs
)
2221 class GridEventPtr(GridEvent
):
2222 def __init__(self
, this
):
2224 if not hasattr(self
,"thisown"): self
.thisown
= 0
2225 self
.__class
__ = GridEvent
2226 _grid
.GridEvent_swigregister(GridEventPtr
)
2228 class GridSizeEvent(_core
.NotifyEvent
):
2229 """Proxy of C++ GridSizeEvent class"""
2231 return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2232 def __init__(self
, *args
, **kwargs
):
2234 __init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1,
2235 int x=-1, int y=-1, bool control=False, bool shift=False,
2236 bool alt=False, bool meta=False) -> GridSizeEvent
2238 newobj
= _grid
.new_GridSizeEvent(*args
, **kwargs
)
2239 self
.this
= newobj
.this
2242 def GetRowOrCol(*args
, **kwargs
):
2243 """GetRowOrCol(self) -> int"""
2244 return _grid
.GridSizeEvent_GetRowOrCol(*args
, **kwargs
)
2246 def GetPosition(*args
, **kwargs
):
2247 """GetPosition(self) -> Point"""
2248 return _grid
.GridSizeEvent_GetPosition(*args
, **kwargs
)
2250 def ControlDown(*args
, **kwargs
):
2251 """ControlDown(self) -> bool"""
2252 return _grid
.GridSizeEvent_ControlDown(*args
, **kwargs
)
2254 def MetaDown(*args
, **kwargs
):
2255 """MetaDown(self) -> bool"""
2256 return _grid
.GridSizeEvent_MetaDown(*args
, **kwargs
)
2258 def ShiftDown(*args
, **kwargs
):
2259 """ShiftDown(self) -> bool"""
2260 return _grid
.GridSizeEvent_ShiftDown(*args
, **kwargs
)
2262 def AltDown(*args
, **kwargs
):
2263 """AltDown(self) -> bool"""
2264 return _grid
.GridSizeEvent_AltDown(*args
, **kwargs
)
2267 class GridSizeEventPtr(GridSizeEvent
):
2268 def __init__(self
, this
):
2270 if not hasattr(self
,"thisown"): self
.thisown
= 0
2271 self
.__class
__ = GridSizeEvent
2272 _grid
.GridSizeEvent_swigregister(GridSizeEventPtr
)
2274 class GridRangeSelectEvent(_core
.NotifyEvent
):
2275 """Proxy of C++ GridRangeSelectEvent class"""
2277 return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2278 def __init__(self
, *args
, **kwargs
):
2280 __init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft,
2281 GridCellCoords bottomRight, bool sel=True,
2282 bool control=False, bool shift=False,
2283 bool alt=False, bool meta=False) -> GridRangeSelectEvent
2285 newobj
= _grid
.new_GridRangeSelectEvent(*args
, **kwargs
)
2286 self
.this
= newobj
.this
2289 def GetTopLeftCoords(*args
, **kwargs
):
2290 """GetTopLeftCoords(self) -> GridCellCoords"""
2291 return _grid
.GridRangeSelectEvent_GetTopLeftCoords(*args
, **kwargs
)
2293 def GetBottomRightCoords(*args
, **kwargs
):
2294 """GetBottomRightCoords(self) -> GridCellCoords"""
2295 return _grid
.GridRangeSelectEvent_GetBottomRightCoords(*args
, **kwargs
)
2297 def GetTopRow(*args
, **kwargs
):
2298 """GetTopRow(self) -> int"""
2299 return _grid
.GridRangeSelectEvent_GetTopRow(*args
, **kwargs
)
2301 def GetBottomRow(*args
, **kwargs
):
2302 """GetBottomRow(self) -> int"""
2303 return _grid
.GridRangeSelectEvent_GetBottomRow(*args
, **kwargs
)
2305 def GetLeftCol(*args
, **kwargs
):
2306 """GetLeftCol(self) -> int"""
2307 return _grid
.GridRangeSelectEvent_GetLeftCol(*args
, **kwargs
)
2309 def GetRightCol(*args
, **kwargs
):
2310 """GetRightCol(self) -> int"""
2311 return _grid
.GridRangeSelectEvent_GetRightCol(*args
, **kwargs
)
2313 def Selecting(*args
, **kwargs
):
2314 """Selecting(self) -> bool"""
2315 return _grid
.GridRangeSelectEvent_Selecting(*args
, **kwargs
)
2317 def ControlDown(*args
, **kwargs
):
2318 """ControlDown(self) -> bool"""
2319 return _grid
.GridRangeSelectEvent_ControlDown(*args
, **kwargs
)
2321 def MetaDown(*args
, **kwargs
):
2322 """MetaDown(self) -> bool"""
2323 return _grid
.GridRangeSelectEvent_MetaDown(*args
, **kwargs
)
2325 def ShiftDown(*args
, **kwargs
):
2326 """ShiftDown(self) -> bool"""
2327 return _grid
.GridRangeSelectEvent_ShiftDown(*args
, **kwargs
)
2329 def AltDown(*args
, **kwargs
):
2330 """AltDown(self) -> bool"""
2331 return _grid
.GridRangeSelectEvent_AltDown(*args
, **kwargs
)
2334 class GridRangeSelectEventPtr(GridRangeSelectEvent
):
2335 def __init__(self
, this
):
2337 if not hasattr(self
,"thisown"): self
.thisown
= 0
2338 self
.__class
__ = GridRangeSelectEvent
2339 _grid
.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr
)
2341 class GridEditorCreatedEvent(_core
.CommandEvent
):
2342 """Proxy of C++ GridEditorCreatedEvent class"""
2344 return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2345 def __init__(self
, *args
, **kwargs
):
2347 __init__(self, int id, wxEventType type, Object obj, int row, int col,
2348 Control ctrl) -> GridEditorCreatedEvent
2350 newobj
= _grid
.new_GridEditorCreatedEvent(*args
, **kwargs
)
2351 self
.this
= newobj
.this
2354 def GetRow(*args
, **kwargs
):
2355 """GetRow(self) -> int"""
2356 return _grid
.GridEditorCreatedEvent_GetRow(*args
, **kwargs
)
2358 def GetCol(*args
, **kwargs
):
2359 """GetCol(self) -> int"""
2360 return _grid
.GridEditorCreatedEvent_GetCol(*args
, **kwargs
)
2362 def GetControl(*args
, **kwargs
):
2363 """GetControl(self) -> Control"""
2364 return _grid
.GridEditorCreatedEvent_GetControl(*args
, **kwargs
)
2366 def SetRow(*args
, **kwargs
):
2367 """SetRow(self, int row)"""
2368 return _grid
.GridEditorCreatedEvent_SetRow(*args
, **kwargs
)
2370 def SetCol(*args
, **kwargs
):
2371 """SetCol(self, int col)"""
2372 return _grid
.GridEditorCreatedEvent_SetCol(*args
, **kwargs
)
2374 def SetControl(*args
, **kwargs
):
2375 """SetControl(self, Control ctrl)"""
2376 return _grid
.GridEditorCreatedEvent_SetControl(*args
, **kwargs
)
2379 class GridEditorCreatedEventPtr(GridEditorCreatedEvent
):
2380 def __init__(self
, this
):
2382 if not hasattr(self
,"thisown"): self
.thisown
= 0
2383 self
.__class
__ = GridEditorCreatedEvent
2384 _grid
.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr
)
2386 wxEVT_GRID_CELL_LEFT_CLICK
= _grid
.wxEVT_GRID_CELL_LEFT_CLICK
2387 wxEVT_GRID_CELL_RIGHT_CLICK
= _grid
.wxEVT_GRID_CELL_RIGHT_CLICK
2388 wxEVT_GRID_CELL_LEFT_DCLICK
= _grid
.wxEVT_GRID_CELL_LEFT_DCLICK
2389 wxEVT_GRID_CELL_RIGHT_DCLICK
= _grid
.wxEVT_GRID_CELL_RIGHT_DCLICK
2390 wxEVT_GRID_LABEL_LEFT_CLICK
= _grid
.wxEVT_GRID_LABEL_LEFT_CLICK
2391 wxEVT_GRID_LABEL_RIGHT_CLICK
= _grid
.wxEVT_GRID_LABEL_RIGHT_CLICK
2392 wxEVT_GRID_LABEL_LEFT_DCLICK
= _grid
.wxEVT_GRID_LABEL_LEFT_DCLICK
2393 wxEVT_GRID_LABEL_RIGHT_DCLICK
= _grid
.wxEVT_GRID_LABEL_RIGHT_DCLICK
2394 wxEVT_GRID_ROW_SIZE
= _grid
.wxEVT_GRID_ROW_SIZE
2395 wxEVT_GRID_COL_SIZE
= _grid
.wxEVT_GRID_COL_SIZE
2396 wxEVT_GRID_RANGE_SELECT
= _grid
.wxEVT_GRID_RANGE_SELECT
2397 wxEVT_GRID_CELL_CHANGE
= _grid
.wxEVT_GRID_CELL_CHANGE
2398 wxEVT_GRID_SELECT_CELL
= _grid
.wxEVT_GRID_SELECT_CELL
2399 wxEVT_GRID_EDITOR_SHOWN
= _grid
.wxEVT_GRID_EDITOR_SHOWN
2400 wxEVT_GRID_EDITOR_HIDDEN
= _grid
.wxEVT_GRID_EDITOR_HIDDEN
2401 wxEVT_GRID_EDITOR_CREATED
= _grid
.wxEVT_GRID_EDITOR_CREATED
2402 wxEVT_GRID_CELL_BEGIN_DRAG
= _grid
.wxEVT_GRID_CELL_BEGIN_DRAG
2403 EVT_GRID_CELL_LEFT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK
)
2404 EVT_GRID_CELL_RIGHT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK
)
2405 EVT_GRID_CELL_LEFT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK
)
2406 EVT_GRID_CELL_RIGHT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK
)
2407 EVT_GRID_LABEL_LEFT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK
)
2408 EVT_GRID_LABEL_RIGHT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK
)
2409 EVT_GRID_LABEL_LEFT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK
)
2410 EVT_GRID_LABEL_RIGHT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK
)
2411 EVT_GRID_ROW_SIZE
= wx
.PyEventBinder( wxEVT_GRID_ROW_SIZE
)
2412 EVT_GRID_COL_SIZE
= wx
.PyEventBinder( wxEVT_GRID_COL_SIZE
)
2413 EVT_GRID_RANGE_SELECT
= wx
.PyEventBinder( wxEVT_GRID_RANGE_SELECT
)
2414 EVT_GRID_CELL_CHANGE
= wx
.PyEventBinder( wxEVT_GRID_CELL_CHANGE
)
2415 EVT_GRID_SELECT_CELL
= wx
.PyEventBinder( wxEVT_GRID_SELECT_CELL
)
2416 EVT_GRID_EDITOR_SHOWN
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN
)
2417 EVT_GRID_EDITOR_HIDDEN
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN
)
2418 EVT_GRID_EDITOR_CREATED
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_CREATED
)
2419 EVT_GRID_CELL_BEGIN_DRAG
= wx
.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG
)
2422 # The same as above but with the ability to specify an identifier
2423 EVT_GRID_CMD_CELL_LEFT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK
, 1 )
2424 EVT_GRID_CMD_CELL_RIGHT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK
, 1 )
2425 EVT_GRID_CMD_CELL_LEFT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK
, 1 )
2426 EVT_GRID_CMD_CELL_RIGHT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK
, 1 )
2427 EVT_GRID_CMD_LABEL_LEFT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK
, 1 )
2428 EVT_GRID_CMD_LABEL_RIGHT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK
, 1 )
2429 EVT_GRID_CMD_LABEL_LEFT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK
, 1 )
2430 EVT_GRID_CMD_LABEL_RIGHT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK
, 1 )
2431 EVT_GRID_CMD_ROW_SIZE
= wx
.PyEventBinder( wxEVT_GRID_ROW_SIZE
, 1 )
2432 EVT_GRID_CMD_COL_SIZE
= wx
.PyEventBinder( wxEVT_GRID_COL_SIZE
, 1 )
2433 EVT_GRID_CMD_RANGE_SELECT
= wx
.PyEventBinder( wxEVT_GRID_RANGE_SELECT
, 1 )
2434 EVT_GRID_CMD_CELL_CHANGE
= wx
.PyEventBinder( wxEVT_GRID_CELL_CHANGE
, 1 )
2435 EVT_GRID_CMD_SELECT_CELL
= wx
.PyEventBinder( wxEVT_GRID_SELECT_CELL
, 1 )
2436 EVT_GRID_CMD_EDITOR_SHOWN
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN
, 1 )
2437 EVT_GRID_CMD_EDITOR_HIDDEN
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN
, 1 )
2438 EVT_GRID_CMD_EDITOR_CREATED
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_CREATED
, 1 )
2439 EVT_GRID_CMD_CELL_BEGIN_DRAG
= wx
.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG
, 1 )