1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
9 __docfilter__
= wx
.__DocFilter
(globals())
10 GRID_VALUE_STRING
= _grid
.GRID_VALUE_STRING
11 GRID_VALUE_BOOL
= _grid
.GRID_VALUE_BOOL
12 GRID_VALUE_NUMBER
= _grid
.GRID_VALUE_NUMBER
13 GRID_VALUE_FLOAT
= _grid
.GRID_VALUE_FLOAT
14 GRID_VALUE_CHOICE
= _grid
.GRID_VALUE_CHOICE
15 GRID_VALUE_TEXT
= _grid
.GRID_VALUE_TEXT
16 GRID_VALUE_LONG
= _grid
.GRID_VALUE_LONG
17 GRID_VALUE_CHOICEINT
= _grid
.GRID_VALUE_CHOICEINT
18 GRID_VALUE_DATETIME
= _grid
.GRID_VALUE_DATETIME
19 class GridCellRenderer(object):
20 def __init__(self
): raise RuntimeError, "No constructor defined"
22 return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
23 def _setOORInfo(*args
, **kwargs
):
24 """_setOORInfo(self, PyObject _self)"""
25 return _grid
.GridCellRenderer__setOORInfo(*args
, **kwargs
)
27 def SetParameters(*args
, **kwargs
):
28 """SetParameters(self, String params)"""
29 return _grid
.GridCellRenderer_SetParameters(*args
, **kwargs
)
31 def IncRef(*args
, **kwargs
):
33 return _grid
.GridCellRenderer_IncRef(*args
, **kwargs
)
35 def DecRef(*args
, **kwargs
):
37 return _grid
.GridCellRenderer_DecRef(*args
, **kwargs
)
39 def Draw(*args
, **kwargs
):
41 Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row,
42 int col, bool isSelected)
44 return _grid
.GridCellRenderer_Draw(*args
, **kwargs
)
46 def GetBestSize(*args
, **kwargs
):
47 """GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size"""
48 return _grid
.GridCellRenderer_GetBestSize(*args
, **kwargs
)
50 def Clone(*args
, **kwargs
):
51 """Clone(self) -> GridCellRenderer"""
52 return _grid
.GridCellRenderer_Clone(*args
, **kwargs
)
55 class GridCellRendererPtr(GridCellRenderer
):
56 def __init__(self
, this
):
58 if not hasattr(self
,"thisown"): self
.thisown
= 0
59 self
.__class
__ = GridCellRenderer
60 _grid
.GridCellRenderer_swigregister(GridCellRendererPtr
)
62 DateTimeFormatStr
= cvar
.DateTimeFormatStr
63 GridNoCellCoords
= cvar
.GridNoCellCoords
64 GridNoCellRect
= cvar
.GridNoCellRect
66 class PyGridCellRenderer(GridCellRenderer
):
68 return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
69 def __init__(self
, *args
, **kwargs
):
70 """__init__(self) -> PyGridCellRenderer"""
71 newobj
= _grid
.new_PyGridCellRenderer(*args
, **kwargs
)
72 self
.this
= newobj
.this
75 self
._setCallbackInfo
(self
, PyGridCellRenderer
);self
._setOORInfo
(self
)
77 def _setCallbackInfo(*args
, **kwargs
):
78 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
79 return _grid
.PyGridCellRenderer__setCallbackInfo(*args
, **kwargs
)
81 def base_SetParameters(*args
, **kwargs
):
82 """base_SetParameters(self, String params)"""
83 return _grid
.PyGridCellRenderer_base_SetParameters(*args
, **kwargs
)
86 class PyGridCellRendererPtr(PyGridCellRenderer
):
87 def __init__(self
, this
):
89 if not hasattr(self
,"thisown"): self
.thisown
= 0
90 self
.__class
__ = PyGridCellRenderer
91 _grid
.PyGridCellRenderer_swigregister(PyGridCellRendererPtr
)
93 class GridCellStringRenderer(GridCellRenderer
):
95 return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
96 def __init__(self
, *args
, **kwargs
):
97 """__init__(self) -> GridCellStringRenderer"""
98 newobj
= _grid
.new_GridCellStringRenderer(*args
, **kwargs
)
99 self
.this
= newobj
.this
102 self
._setOORInfo
(self
)
105 class GridCellStringRendererPtr(GridCellStringRenderer
):
106 def __init__(self
, this
):
108 if not hasattr(self
,"thisown"): self
.thisown
= 0
109 self
.__class
__ = GridCellStringRenderer
110 _grid
.GridCellStringRenderer_swigregister(GridCellStringRendererPtr
)
112 class GridCellNumberRenderer(GridCellStringRenderer
):
114 return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
115 def __init__(self
, *args
, **kwargs
):
116 """__init__(self) -> GridCellNumberRenderer"""
117 newobj
= _grid
.new_GridCellNumberRenderer(*args
, **kwargs
)
118 self
.this
= newobj
.this
121 self
._setOORInfo
(self
)
124 class GridCellNumberRendererPtr(GridCellNumberRenderer
):
125 def __init__(self
, this
):
127 if not hasattr(self
,"thisown"): self
.thisown
= 0
128 self
.__class
__ = GridCellNumberRenderer
129 _grid
.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr
)
131 class GridCellFloatRenderer(GridCellStringRenderer
):
133 return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
134 def __init__(self
, *args
, **kwargs
):
135 """__init__(self, int width=-1, int precision=-1) -> GridCellFloatRenderer"""
136 newobj
= _grid
.new_GridCellFloatRenderer(*args
, **kwargs
)
137 self
.this
= newobj
.this
140 self
._setOORInfo
(self
)
142 def GetWidth(*args
, **kwargs
):
143 """GetWidth(self) -> int"""
144 return _grid
.GridCellFloatRenderer_GetWidth(*args
, **kwargs
)
146 def SetWidth(*args
, **kwargs
):
147 """SetWidth(self, int width)"""
148 return _grid
.GridCellFloatRenderer_SetWidth(*args
, **kwargs
)
150 def GetPrecision(*args
, **kwargs
):
151 """GetPrecision(self) -> int"""
152 return _grid
.GridCellFloatRenderer_GetPrecision(*args
, **kwargs
)
154 def SetPrecision(*args
, **kwargs
):
155 """SetPrecision(self, int precision)"""
156 return _grid
.GridCellFloatRenderer_SetPrecision(*args
, **kwargs
)
159 class GridCellFloatRendererPtr(GridCellFloatRenderer
):
160 def __init__(self
, this
):
162 if not hasattr(self
,"thisown"): self
.thisown
= 0
163 self
.__class
__ = GridCellFloatRenderer
164 _grid
.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr
)
166 class GridCellBoolRenderer(GridCellRenderer
):
168 return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
169 def __init__(self
, *args
, **kwargs
):
170 """__init__(self) -> GridCellBoolRenderer"""
171 newobj
= _grid
.new_GridCellBoolRenderer(*args
, **kwargs
)
172 self
.this
= newobj
.this
175 self
._setOORInfo
(self
)
178 class GridCellBoolRendererPtr(GridCellBoolRenderer
):
179 def __init__(self
, this
):
181 if not hasattr(self
,"thisown"): self
.thisown
= 0
182 self
.__class
__ = GridCellBoolRenderer
183 _grid
.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr
)
185 class GridCellDateTimeRenderer(GridCellStringRenderer
):
187 return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
188 def __init__(self
, *args
, **kwargs
):
189 """__init__(self, String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer"""
190 newobj
= _grid
.new_GridCellDateTimeRenderer(*args
, **kwargs
)
191 self
.this
= newobj
.this
194 self
._setOORInfo
(self
)
197 class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer
):
198 def __init__(self
, this
):
200 if not hasattr(self
,"thisown"): self
.thisown
= 0
201 self
.__class
__ = GridCellDateTimeRenderer
202 _grid
.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr
)
204 class GridCellEnumRenderer(GridCellStringRenderer
):
206 return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
207 def __init__(self
, *args
, **kwargs
):
208 """__init__(self, String choices=EmptyString) -> GridCellEnumRenderer"""
209 newobj
= _grid
.new_GridCellEnumRenderer(*args
, **kwargs
)
210 self
.this
= newobj
.this
213 self
._setOORInfo
(self
)
216 class GridCellEnumRendererPtr(GridCellEnumRenderer
):
217 def __init__(self
, this
):
219 if not hasattr(self
,"thisown"): self
.thisown
= 0
220 self
.__class
__ = GridCellEnumRenderer
221 _grid
.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr
)
223 class GridCellAutoWrapStringRenderer(GridCellStringRenderer
):
225 return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
226 def __init__(self
, *args
, **kwargs
):
227 """__init__(self) -> GridCellAutoWrapStringRenderer"""
228 newobj
= _grid
.new_GridCellAutoWrapStringRenderer(*args
, **kwargs
)
229 self
.this
= newobj
.this
232 self
._setOORInfo
(self
)
235 class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer
):
236 def __init__(self
, this
):
238 if not hasattr(self
,"thisown"): self
.thisown
= 0
239 self
.__class
__ = GridCellAutoWrapStringRenderer
240 _grid
.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr
)
242 class GridCellEditor(object):
243 def __init__(self
): raise RuntimeError, "No constructor defined"
245 return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
246 def _setOORInfo(*args
, **kwargs
):
247 """_setOORInfo(self, PyObject _self)"""
248 return _grid
.GridCellEditor__setOORInfo(*args
, **kwargs
)
250 def IsCreated(*args
, **kwargs
):
251 """IsCreated(self) -> bool"""
252 return _grid
.GridCellEditor_IsCreated(*args
, **kwargs
)
254 def GetControl(*args
, **kwargs
):
255 """GetControl(self) -> Control"""
256 return _grid
.GridCellEditor_GetControl(*args
, **kwargs
)
258 def SetControl(*args
, **kwargs
):
259 """SetControl(self, Control control)"""
260 return _grid
.GridCellEditor_SetControl(*args
, **kwargs
)
262 def GetCellAttr(*args
, **kwargs
):
263 """GetCellAttr(self) -> GridCellAttr"""
264 return _grid
.GridCellEditor_GetCellAttr(*args
, **kwargs
)
266 def SetCellAttr(*args
, **kwargs
):
267 """SetCellAttr(self, GridCellAttr attr)"""
268 return _grid
.GridCellEditor_SetCellAttr(*args
, **kwargs
)
270 def SetParameters(*args
, **kwargs
):
271 """SetParameters(self, String params)"""
272 return _grid
.GridCellEditor_SetParameters(*args
, **kwargs
)
274 def IncRef(*args
, **kwargs
):
276 return _grid
.GridCellEditor_IncRef(*args
, **kwargs
)
278 def DecRef(*args
, **kwargs
):
280 return _grid
.GridCellEditor_DecRef(*args
, **kwargs
)
282 def Create(*args
, **kwargs
):
283 """Create(self, Window parent, int id, EvtHandler evtHandler)"""
284 return _grid
.GridCellEditor_Create(*args
, **kwargs
)
286 def BeginEdit(*args
, **kwargs
):
287 """BeginEdit(self, int row, int col, Grid grid)"""
288 return _grid
.GridCellEditor_BeginEdit(*args
, **kwargs
)
290 def EndEdit(*args
, **kwargs
):
291 """EndEdit(self, int row, int col, Grid grid) -> bool"""
292 return _grid
.GridCellEditor_EndEdit(*args
, **kwargs
)
294 def Reset(*args
, **kwargs
):
296 return _grid
.GridCellEditor_Reset(*args
, **kwargs
)
298 def Clone(*args
, **kwargs
):
299 """Clone(self) -> GridCellEditor"""
300 return _grid
.GridCellEditor_Clone(*args
, **kwargs
)
302 def SetSize(*args
, **kwargs
):
303 """SetSize(self, Rect rect)"""
304 return _grid
.GridCellEditor_SetSize(*args
, **kwargs
)
306 def Show(*args
, **kwargs
):
307 """Show(self, bool show, GridCellAttr attr=None)"""
308 return _grid
.GridCellEditor_Show(*args
, **kwargs
)
310 def PaintBackground(*args
, **kwargs
):
311 """PaintBackground(self, Rect rectCell, GridCellAttr attr)"""
312 return _grid
.GridCellEditor_PaintBackground(*args
, **kwargs
)
314 def IsAcceptedKey(*args
, **kwargs
):
315 """IsAcceptedKey(self, KeyEvent event) -> bool"""
316 return _grid
.GridCellEditor_IsAcceptedKey(*args
, **kwargs
)
318 def StartingKey(*args
, **kwargs
):
319 """StartingKey(self, KeyEvent event)"""
320 return _grid
.GridCellEditor_StartingKey(*args
, **kwargs
)
322 def StartingClick(*args
, **kwargs
):
323 """StartingClick(self)"""
324 return _grid
.GridCellEditor_StartingClick(*args
, **kwargs
)
326 def HandleReturn(*args
, **kwargs
):
327 """HandleReturn(self, KeyEvent event)"""
328 return _grid
.GridCellEditor_HandleReturn(*args
, **kwargs
)
330 def Destroy(*args
, **kwargs
):
332 return _grid
.GridCellEditor_Destroy(*args
, **kwargs
)
335 class GridCellEditorPtr(GridCellEditor
):
336 def __init__(self
, this
):
338 if not hasattr(self
,"thisown"): self
.thisown
= 0
339 self
.__class
__ = GridCellEditor
340 _grid
.GridCellEditor_swigregister(GridCellEditorPtr
)
342 class PyGridCellEditor(GridCellEditor
):
344 return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
345 def __init__(self
, *args
, **kwargs
):
346 """__init__(self) -> PyGridCellEditor"""
347 newobj
= _grid
.new_PyGridCellEditor(*args
, **kwargs
)
348 self
.this
= newobj
.this
351 self
._setCallbackInfo
(self
, PyGridCellEditor
);self
._setOORInfo
(self
)
353 def _setCallbackInfo(*args
, **kwargs
):
354 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
355 return _grid
.PyGridCellEditor__setCallbackInfo(*args
, **kwargs
)
357 def base_SetSize(*args
, **kwargs
):
358 """base_SetSize(self, Rect rect)"""
359 return _grid
.PyGridCellEditor_base_SetSize(*args
, **kwargs
)
361 def base_Show(*args
, **kwargs
):
362 """base_Show(self, bool show, GridCellAttr attr=None)"""
363 return _grid
.PyGridCellEditor_base_Show(*args
, **kwargs
)
365 def base_PaintBackground(*args
, **kwargs
):
366 """base_PaintBackground(self, Rect rectCell, GridCellAttr attr)"""
367 return _grid
.PyGridCellEditor_base_PaintBackground(*args
, **kwargs
)
369 def base_IsAcceptedKey(*args
, **kwargs
):
370 """base_IsAcceptedKey(self, KeyEvent event) -> bool"""
371 return _grid
.PyGridCellEditor_base_IsAcceptedKey(*args
, **kwargs
)
373 def base_StartingKey(*args
, **kwargs
):
374 """base_StartingKey(self, KeyEvent event)"""
375 return _grid
.PyGridCellEditor_base_StartingKey(*args
, **kwargs
)
377 def base_StartingClick(*args
, **kwargs
):
378 """base_StartingClick(self)"""
379 return _grid
.PyGridCellEditor_base_StartingClick(*args
, **kwargs
)
381 def base_HandleReturn(*args
, **kwargs
):
382 """base_HandleReturn(self, KeyEvent event)"""
383 return _grid
.PyGridCellEditor_base_HandleReturn(*args
, **kwargs
)
385 def base_Destroy(*args
, **kwargs
):
386 """base_Destroy(self)"""
387 return _grid
.PyGridCellEditor_base_Destroy(*args
, **kwargs
)
389 def base_SetParameters(*args
, **kwargs
):
390 """base_SetParameters(self, String params)"""
391 return _grid
.PyGridCellEditor_base_SetParameters(*args
, **kwargs
)
394 class PyGridCellEditorPtr(PyGridCellEditor
):
395 def __init__(self
, this
):
397 if not hasattr(self
,"thisown"): self
.thisown
= 0
398 self
.__class
__ = PyGridCellEditor
399 _grid
.PyGridCellEditor_swigregister(PyGridCellEditorPtr
)
401 class GridCellTextEditor(GridCellEditor
):
403 return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
404 def __init__(self
, *args
, **kwargs
):
405 """__init__(self) -> GridCellTextEditor"""
406 newobj
= _grid
.new_GridCellTextEditor(*args
, **kwargs
)
407 self
.this
= newobj
.this
410 self
._setOORInfo
(self
)
412 def GetValue(*args
, **kwargs
):
413 """GetValue(self) -> String"""
414 return _grid
.GridCellTextEditor_GetValue(*args
, **kwargs
)
417 class GridCellTextEditorPtr(GridCellTextEditor
):
418 def __init__(self
, this
):
420 if not hasattr(self
,"thisown"): self
.thisown
= 0
421 self
.__class
__ = GridCellTextEditor
422 _grid
.GridCellTextEditor_swigregister(GridCellTextEditorPtr
)
424 class GridCellNumberEditor(GridCellTextEditor
):
426 return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
427 def __init__(self
, *args
, **kwargs
):
428 """__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor"""
429 newobj
= _grid
.new_GridCellNumberEditor(*args
, **kwargs
)
430 self
.this
= newobj
.this
433 self
._setOORInfo
(self
)
435 def GetValue(*args
, **kwargs
):
436 """GetValue(self) -> String"""
437 return _grid
.GridCellNumberEditor_GetValue(*args
, **kwargs
)
440 class GridCellNumberEditorPtr(GridCellNumberEditor
):
441 def __init__(self
, this
):
443 if not hasattr(self
,"thisown"): self
.thisown
= 0
444 self
.__class
__ = GridCellNumberEditor
445 _grid
.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr
)
447 class GridCellFloatEditor(GridCellTextEditor
):
449 return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
450 def __init__(self
, *args
, **kwargs
):
451 """__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor"""
452 newobj
= _grid
.new_GridCellFloatEditor(*args
, **kwargs
)
453 self
.this
= newobj
.this
456 self
._setOORInfo
(self
)
458 def GetValue(*args
, **kwargs
):
459 """GetValue(self) -> String"""
460 return _grid
.GridCellFloatEditor_GetValue(*args
, **kwargs
)
463 class GridCellFloatEditorPtr(GridCellFloatEditor
):
464 def __init__(self
, this
):
466 if not hasattr(self
,"thisown"): self
.thisown
= 0
467 self
.__class
__ = GridCellFloatEditor
468 _grid
.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr
)
470 class GridCellBoolEditor(GridCellEditor
):
472 return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
473 def __init__(self
, *args
, **kwargs
):
474 """__init__(self) -> GridCellBoolEditor"""
475 newobj
= _grid
.new_GridCellBoolEditor(*args
, **kwargs
)
476 self
.this
= newobj
.this
479 self
._setOORInfo
(self
)
481 def GetValue(*args
, **kwargs
):
482 """GetValue(self) -> String"""
483 return _grid
.GridCellBoolEditor_GetValue(*args
, **kwargs
)
486 class GridCellBoolEditorPtr(GridCellBoolEditor
):
487 def __init__(self
, this
):
489 if not hasattr(self
,"thisown"): self
.thisown
= 0
490 self
.__class
__ = GridCellBoolEditor
491 _grid
.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr
)
493 class GridCellChoiceEditor(GridCellEditor
):
495 return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
496 def __init__(self
, *args
, **kwargs
):
497 """__init__(self, int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor"""
498 newobj
= _grid
.new_GridCellChoiceEditor(*args
, **kwargs
)
499 self
.this
= newobj
.this
502 self
._setOORInfo
(self
)
504 def GetValue(*args
, **kwargs
):
505 """GetValue(self) -> String"""
506 return _grid
.GridCellChoiceEditor_GetValue(*args
, **kwargs
)
509 class GridCellChoiceEditorPtr(GridCellChoiceEditor
):
510 def __init__(self
, this
):
512 if not hasattr(self
,"thisown"): self
.thisown
= 0
513 self
.__class
__ = GridCellChoiceEditor
514 _grid
.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr
)
516 class GridCellEnumEditor(GridCellChoiceEditor
):
518 return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
519 def __init__(self
, *args
, **kwargs
):
520 """__init__(self, String choices=EmptyString) -> GridCellEnumEditor"""
521 newobj
= _grid
.new_GridCellEnumEditor(*args
, **kwargs
)
522 self
.this
= newobj
.this
525 self
._setOORInfo
(self
)
527 def GetValue(*args
, **kwargs
):
528 """GetValue(self) -> String"""
529 return _grid
.GridCellEnumEditor_GetValue(*args
, **kwargs
)
532 class GridCellEnumEditorPtr(GridCellEnumEditor
):
533 def __init__(self
, this
):
535 if not hasattr(self
,"thisown"): self
.thisown
= 0
536 self
.__class
__ = GridCellEnumEditor
537 _grid
.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr
)
539 class GridCellAutoWrapStringEditor(GridCellTextEditor
):
541 return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
542 def __init__(self
, *args
, **kwargs
):
543 """__init__(self) -> GridCellAutoWrapStringEditor"""
544 newobj
= _grid
.new_GridCellAutoWrapStringEditor(*args
, **kwargs
)
545 self
.this
= newobj
.this
548 self
._setOORInfo
(self
)
550 def GetValue(*args
, **kwargs
):
551 """GetValue(self) -> String"""
552 return _grid
.GridCellAutoWrapStringEditor_GetValue(*args
, **kwargs
)
555 class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor
):
556 def __init__(self
, this
):
558 if not hasattr(self
,"thisown"): self
.thisown
= 0
559 self
.__class
__ = GridCellAutoWrapStringEditor
560 _grid
.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr
)
562 class GridCellAttr(object):
564 return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
565 Any
= _grid
.GridCellAttr_Any
566 Default
= _grid
.GridCellAttr_Default
567 Cell
= _grid
.GridCellAttr_Cell
568 Row
= _grid
.GridCellAttr_Row
569 Col
= _grid
.GridCellAttr_Col
570 Merged
= _grid
.GridCellAttr_Merged
571 def _setOORInfo(*args
, **kwargs
):
572 """_setOORInfo(self, PyObject _self)"""
573 return _grid
.GridCellAttr__setOORInfo(*args
, **kwargs
)
575 def __init__(self
, *args
, **kwargs
):
576 """__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr"""
577 newobj
= _grid
.new_GridCellAttr(*args
, **kwargs
)
578 self
.this
= newobj
.this
581 self
._setOORInfo
(self
)
583 def Clone(*args
, **kwargs
):
584 """Clone(self) -> GridCellAttr"""
585 return _grid
.GridCellAttr_Clone(*args
, **kwargs
)
587 def MergeWith(*args
, **kwargs
):
588 """MergeWith(self, GridCellAttr mergefrom)"""
589 return _grid
.GridCellAttr_MergeWith(*args
, **kwargs
)
591 def IncRef(*args
, **kwargs
):
593 return _grid
.GridCellAttr_IncRef(*args
, **kwargs
)
595 def DecRef(*args
, **kwargs
):
597 return _grid
.GridCellAttr_DecRef(*args
, **kwargs
)
599 def SetTextColour(*args
, **kwargs
):
600 """SetTextColour(self, Colour colText)"""
601 return _grid
.GridCellAttr_SetTextColour(*args
, **kwargs
)
603 def SetBackgroundColour(*args
, **kwargs
):
604 """SetBackgroundColour(self, Colour colBack)"""
605 return _grid
.GridCellAttr_SetBackgroundColour(*args
, **kwargs
)
607 def SetFont(*args
, **kwargs
):
608 """SetFont(self, Font font)"""
609 return _grid
.GridCellAttr_SetFont(*args
, **kwargs
)
611 def SetAlignment(*args
, **kwargs
):
612 """SetAlignment(self, int hAlign, int vAlign)"""
613 return _grid
.GridCellAttr_SetAlignment(*args
, **kwargs
)
615 def SetSize(*args
, **kwargs
):
616 """SetSize(self, int num_rows, int num_cols)"""
617 return _grid
.GridCellAttr_SetSize(*args
, **kwargs
)
619 def SetOverflow(*args
, **kwargs
):
620 """SetOverflow(self, bool allow=True)"""
621 return _grid
.GridCellAttr_SetOverflow(*args
, **kwargs
)
623 def SetReadOnly(*args
, **kwargs
):
624 """SetReadOnly(self, bool isReadOnly=True)"""
625 return _grid
.GridCellAttr_SetReadOnly(*args
, **kwargs
)
627 def SetRenderer(*args
, **kwargs
):
628 """SetRenderer(self, GridCellRenderer renderer)"""
629 return _grid
.GridCellAttr_SetRenderer(*args
, **kwargs
)
631 def SetEditor(*args
, **kwargs
):
632 """SetEditor(self, GridCellEditor editor)"""
633 return _grid
.GridCellAttr_SetEditor(*args
, **kwargs
)
635 def SetKind(*args
, **kwargs
):
636 """SetKind(self, int kind)"""
637 return _grid
.GridCellAttr_SetKind(*args
, **kwargs
)
639 def HasTextColour(*args
, **kwargs
):
640 """HasTextColour(self) -> bool"""
641 return _grid
.GridCellAttr_HasTextColour(*args
, **kwargs
)
643 def HasBackgroundColour(*args
, **kwargs
):
644 """HasBackgroundColour(self) -> bool"""
645 return _grid
.GridCellAttr_HasBackgroundColour(*args
, **kwargs
)
647 def HasFont(*args
, **kwargs
):
648 """HasFont(self) -> bool"""
649 return _grid
.GridCellAttr_HasFont(*args
, **kwargs
)
651 def HasAlignment(*args
, **kwargs
):
652 """HasAlignment(self) -> bool"""
653 return _grid
.GridCellAttr_HasAlignment(*args
, **kwargs
)
655 def HasRenderer(*args
, **kwargs
):
656 """HasRenderer(self) -> bool"""
657 return _grid
.GridCellAttr_HasRenderer(*args
, **kwargs
)
659 def HasEditor(*args
, **kwargs
):
660 """HasEditor(self) -> bool"""
661 return _grid
.GridCellAttr_HasEditor(*args
, **kwargs
)
663 def HasReadWriteMode(*args
, **kwargs
):
664 """HasReadWriteMode(self) -> bool"""
665 return _grid
.GridCellAttr_HasReadWriteMode(*args
, **kwargs
)
667 def HasOverflowMode(*args
, **kwargs
):
668 """HasOverflowMode(self) -> bool"""
669 return _grid
.GridCellAttr_HasOverflowMode(*args
, **kwargs
)
671 def GetTextColour(*args
, **kwargs
):
672 """GetTextColour(self) -> Colour"""
673 return _grid
.GridCellAttr_GetTextColour(*args
, **kwargs
)
675 def GetBackgroundColour(*args
, **kwargs
):
676 """GetBackgroundColour(self) -> Colour"""
677 return _grid
.GridCellAttr_GetBackgroundColour(*args
, **kwargs
)
679 def GetFont(*args
, **kwargs
):
680 """GetFont(self) -> Font"""
681 return _grid
.GridCellAttr_GetFont(*args
, **kwargs
)
683 def GetAlignment(*args
, **kwargs
):
684 """GetAlignment() -> (hAlign, vAlign)"""
685 return _grid
.GridCellAttr_GetAlignment(*args
, **kwargs
)
687 def GetSize(*args
, **kwargs
):
688 """GetSize() -> (num_rows, num_cols)"""
689 return _grid
.GridCellAttr_GetSize(*args
, **kwargs
)
691 def GetOverflow(*args
, **kwargs
):
692 """GetOverflow(self) -> bool"""
693 return _grid
.GridCellAttr_GetOverflow(*args
, **kwargs
)
695 def GetRenderer(*args
, **kwargs
):
696 """GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer"""
697 return _grid
.GridCellAttr_GetRenderer(*args
, **kwargs
)
699 def GetEditor(*args
, **kwargs
):
700 """GetEditor(self, Grid grid, int row, int col) -> GridCellEditor"""
701 return _grid
.GridCellAttr_GetEditor(*args
, **kwargs
)
703 def IsReadOnly(*args
, **kwargs
):
704 """IsReadOnly(self) -> bool"""
705 return _grid
.GridCellAttr_IsReadOnly(*args
, **kwargs
)
707 def SetDefAttr(*args
, **kwargs
):
708 """SetDefAttr(self, GridCellAttr defAttr)"""
709 return _grid
.GridCellAttr_SetDefAttr(*args
, **kwargs
)
712 class GridCellAttrPtr(GridCellAttr
):
713 def __init__(self
, this
):
715 if not hasattr(self
,"thisown"): self
.thisown
= 0
716 self
.__class
__ = GridCellAttr
717 _grid
.GridCellAttr_swigregister(GridCellAttrPtr
)
719 class GridCellAttrProvider(object):
721 return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
722 def __init__(self
, *args
, **kwargs
):
723 """__init__(self) -> GridCellAttrProvider"""
724 newobj
= _grid
.new_GridCellAttrProvider(*args
, **kwargs
)
725 self
.this
= newobj
.this
728 self
._setOORInfo
(self
)
730 def _setOORInfo(*args
, **kwargs
):
731 """_setOORInfo(self, PyObject _self)"""
732 return _grid
.GridCellAttrProvider__setOORInfo(*args
, **kwargs
)
734 def GetAttr(*args
, **kwargs
):
735 """GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
736 return _grid
.GridCellAttrProvider_GetAttr(*args
, **kwargs
)
738 def SetAttr(*args
, **kwargs
):
739 """SetAttr(self, GridCellAttr attr, int row, int col)"""
740 return _grid
.GridCellAttrProvider_SetAttr(*args
, **kwargs
)
742 def SetRowAttr(*args
, **kwargs
):
743 """SetRowAttr(self, GridCellAttr attr, int row)"""
744 return _grid
.GridCellAttrProvider_SetRowAttr(*args
, **kwargs
)
746 def SetColAttr(*args
, **kwargs
):
747 """SetColAttr(self, GridCellAttr attr, int col)"""
748 return _grid
.GridCellAttrProvider_SetColAttr(*args
, **kwargs
)
750 def UpdateAttrRows(*args
, **kwargs
):
751 """UpdateAttrRows(self, size_t pos, int numRows)"""
752 return _grid
.GridCellAttrProvider_UpdateAttrRows(*args
, **kwargs
)
754 def UpdateAttrCols(*args
, **kwargs
):
755 """UpdateAttrCols(self, size_t pos, int numCols)"""
756 return _grid
.GridCellAttrProvider_UpdateAttrCols(*args
, **kwargs
)
759 class GridCellAttrProviderPtr(GridCellAttrProvider
):
760 def __init__(self
, this
):
762 if not hasattr(self
,"thisown"): self
.thisown
= 0
763 self
.__class
__ = GridCellAttrProvider
764 _grid
.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr
)
766 class PyGridCellAttrProvider(GridCellAttrProvider
):
768 return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
769 def __init__(self
, *args
, **kwargs
):
770 """__init__(self) -> PyGridCellAttrProvider"""
771 newobj
= _grid
.new_PyGridCellAttrProvider(*args
, **kwargs
)
772 self
.this
= newobj
.this
775 self
._setCallbackInfo
(self
, PyGridCellAttrProvider
)
777 def _setCallbackInfo(*args
, **kwargs
):
778 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
779 return _grid
.PyGridCellAttrProvider__setCallbackInfo(*args
, **kwargs
)
781 def base_GetAttr(*args
, **kwargs
):
782 """base_GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
783 return _grid
.PyGridCellAttrProvider_base_GetAttr(*args
, **kwargs
)
785 def base_SetAttr(*args
, **kwargs
):
786 """base_SetAttr(self, GridCellAttr attr, int row, int col)"""
787 return _grid
.PyGridCellAttrProvider_base_SetAttr(*args
, **kwargs
)
789 def base_SetRowAttr(*args
, **kwargs
):
790 """base_SetRowAttr(self, GridCellAttr attr, int row)"""
791 return _grid
.PyGridCellAttrProvider_base_SetRowAttr(*args
, **kwargs
)
793 def base_SetColAttr(*args
, **kwargs
):
794 """base_SetColAttr(self, GridCellAttr attr, int col)"""
795 return _grid
.PyGridCellAttrProvider_base_SetColAttr(*args
, **kwargs
)
798 class PyGridCellAttrProviderPtr(PyGridCellAttrProvider
):
799 def __init__(self
, this
):
801 if not hasattr(self
,"thisown"): self
.thisown
= 0
802 self
.__class
__ = PyGridCellAttrProvider
803 _grid
.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr
)
805 class GridTableBase(_core
.Object
):
806 def __init__(self
): raise RuntimeError, "No constructor defined"
808 return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
809 def _setOORInfo(*args
, **kwargs
):
810 """_setOORInfo(self, PyObject _self)"""
811 return _grid
.GridTableBase__setOORInfo(*args
, **kwargs
)
813 def SetAttrProvider(*args
, **kwargs
):
814 """SetAttrProvider(self, GridCellAttrProvider attrProvider)"""
815 return _grid
.GridTableBase_SetAttrProvider(*args
, **kwargs
)
817 def GetAttrProvider(*args
, **kwargs
):
818 """GetAttrProvider(self) -> GridCellAttrProvider"""
819 return _grid
.GridTableBase_GetAttrProvider(*args
, **kwargs
)
821 def SetView(*args
, **kwargs
):
822 """SetView(self, Grid grid)"""
823 return _grid
.GridTableBase_SetView(*args
, **kwargs
)
825 def GetView(*args
, **kwargs
):
826 """GetView(self) -> Grid"""
827 return _grid
.GridTableBase_GetView(*args
, **kwargs
)
829 def GetNumberRows(*args
, **kwargs
):
830 """GetNumberRows(self) -> int"""
831 return _grid
.GridTableBase_GetNumberRows(*args
, **kwargs
)
833 def GetNumberCols(*args
, **kwargs
):
834 """GetNumberCols(self) -> int"""
835 return _grid
.GridTableBase_GetNumberCols(*args
, **kwargs
)
837 def IsEmptyCell(*args
, **kwargs
):
838 """IsEmptyCell(self, int row, int col) -> bool"""
839 return _grid
.GridTableBase_IsEmptyCell(*args
, **kwargs
)
841 def GetValue(*args
, **kwargs
):
842 """GetValue(self, int row, int col) -> String"""
843 return _grid
.GridTableBase_GetValue(*args
, **kwargs
)
845 def SetValue(*args
, **kwargs
):
846 """SetValue(self, int row, int col, String value)"""
847 return _grid
.GridTableBase_SetValue(*args
, **kwargs
)
849 def GetTypeName(*args
, **kwargs
):
850 """GetTypeName(self, int row, int col) -> String"""
851 return _grid
.GridTableBase_GetTypeName(*args
, **kwargs
)
853 def CanGetValueAs(*args
, **kwargs
):
854 """CanGetValueAs(self, int row, int col, String typeName) -> bool"""
855 return _grid
.GridTableBase_CanGetValueAs(*args
, **kwargs
)
857 def CanSetValueAs(*args
, **kwargs
):
858 """CanSetValueAs(self, int row, int col, String typeName) -> bool"""
859 return _grid
.GridTableBase_CanSetValueAs(*args
, **kwargs
)
861 def GetValueAsLong(*args
, **kwargs
):
862 """GetValueAsLong(self, int row, int col) -> long"""
863 return _grid
.GridTableBase_GetValueAsLong(*args
, **kwargs
)
865 def GetValueAsDouble(*args
, **kwargs
):
866 """GetValueAsDouble(self, int row, int col) -> double"""
867 return _grid
.GridTableBase_GetValueAsDouble(*args
, **kwargs
)
869 def GetValueAsBool(*args
, **kwargs
):
870 """GetValueAsBool(self, int row, int col) -> bool"""
871 return _grid
.GridTableBase_GetValueAsBool(*args
, **kwargs
)
873 def SetValueAsLong(*args
, **kwargs
):
874 """SetValueAsLong(self, int row, int col, long value)"""
875 return _grid
.GridTableBase_SetValueAsLong(*args
, **kwargs
)
877 def SetValueAsDouble(*args
, **kwargs
):
878 """SetValueAsDouble(self, int row, int col, double value)"""
879 return _grid
.GridTableBase_SetValueAsDouble(*args
, **kwargs
)
881 def SetValueAsBool(*args
, **kwargs
):
882 """SetValueAsBool(self, int row, int col, bool value)"""
883 return _grid
.GridTableBase_SetValueAsBool(*args
, **kwargs
)
885 def Clear(*args
, **kwargs
):
887 return _grid
.GridTableBase_Clear(*args
, **kwargs
)
889 def InsertRows(*args
, **kwargs
):
890 """InsertRows(self, size_t pos=0, size_t numRows=1) -> bool"""
891 return _grid
.GridTableBase_InsertRows(*args
, **kwargs
)
893 def AppendRows(*args
, **kwargs
):
894 """AppendRows(self, size_t numRows=1) -> bool"""
895 return _grid
.GridTableBase_AppendRows(*args
, **kwargs
)
897 def DeleteRows(*args
, **kwargs
):
898 """DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool"""
899 return _grid
.GridTableBase_DeleteRows(*args
, **kwargs
)
901 def InsertCols(*args
, **kwargs
):
902 """InsertCols(self, size_t pos=0, size_t numCols=1) -> bool"""
903 return _grid
.GridTableBase_InsertCols(*args
, **kwargs
)
905 def AppendCols(*args
, **kwargs
):
906 """AppendCols(self, size_t numCols=1) -> bool"""
907 return _grid
.GridTableBase_AppendCols(*args
, **kwargs
)
909 def DeleteCols(*args
, **kwargs
):
910 """DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool"""
911 return _grid
.GridTableBase_DeleteCols(*args
, **kwargs
)
913 def GetRowLabelValue(*args
, **kwargs
):
914 """GetRowLabelValue(self, int row) -> String"""
915 return _grid
.GridTableBase_GetRowLabelValue(*args
, **kwargs
)
917 def GetColLabelValue(*args
, **kwargs
):
918 """GetColLabelValue(self, int col) -> String"""
919 return _grid
.GridTableBase_GetColLabelValue(*args
, **kwargs
)
921 def SetRowLabelValue(*args
, **kwargs
):
922 """SetRowLabelValue(self, int row, String value)"""
923 return _grid
.GridTableBase_SetRowLabelValue(*args
, **kwargs
)
925 def SetColLabelValue(*args
, **kwargs
):
926 """SetColLabelValue(self, int col, String value)"""
927 return _grid
.GridTableBase_SetColLabelValue(*args
, **kwargs
)
929 def CanHaveAttributes(*args
, **kwargs
):
930 """CanHaveAttributes(self) -> bool"""
931 return _grid
.GridTableBase_CanHaveAttributes(*args
, **kwargs
)
933 def GetAttr(*args
, **kwargs
):
934 """GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
935 return _grid
.GridTableBase_GetAttr(*args
, **kwargs
)
937 def SetAttr(*args
, **kwargs
):
938 """SetAttr(self, GridCellAttr attr, int row, int col)"""
939 return _grid
.GridTableBase_SetAttr(*args
, **kwargs
)
941 def SetRowAttr(*args
, **kwargs
):
942 """SetRowAttr(self, GridCellAttr attr, int row)"""
943 return _grid
.GridTableBase_SetRowAttr(*args
, **kwargs
)
945 def SetColAttr(*args
, **kwargs
):
946 """SetColAttr(self, GridCellAttr attr, int col)"""
947 return _grid
.GridTableBase_SetColAttr(*args
, **kwargs
)
950 class GridTableBasePtr(GridTableBase
):
951 def __init__(self
, this
):
953 if not hasattr(self
,"thisown"): self
.thisown
= 0
954 self
.__class
__ = GridTableBase
955 _grid
.GridTableBase_swigregister(GridTableBasePtr
)
957 class PyGridTableBase(GridTableBase
):
959 return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
960 def __init__(self
, *args
, **kwargs
):
961 """__init__(self) -> PyGridTableBase"""
962 newobj
= _grid
.new_PyGridTableBase(*args
, **kwargs
)
963 self
.this
= newobj
.this
966 self
._setCallbackInfo
(self
, PyGridTableBase
);self
._setOORInfo
(self
)
968 def _setCallbackInfo(*args
, **kwargs
):
969 """_setCallbackInfo(self, PyObject self, PyObject _class)"""
970 return _grid
.PyGridTableBase__setCallbackInfo(*args
, **kwargs
)
972 def Destroy(*args
, **kwargs
):
976 Deletes the C++ object this Python object is a proxy for.
978 return _grid
.PyGridTableBase_Destroy(*args
, **kwargs
)
980 def base_GetTypeName(*args
, **kwargs
):
981 """base_GetTypeName(self, int row, int col) -> String"""
982 return _grid
.PyGridTableBase_base_GetTypeName(*args
, **kwargs
)
984 def base_CanGetValueAs(*args
, **kwargs
):
985 """base_CanGetValueAs(self, int row, int col, String typeName) -> bool"""
986 return _grid
.PyGridTableBase_base_CanGetValueAs(*args
, **kwargs
)
988 def base_CanSetValueAs(*args
, **kwargs
):
989 """base_CanSetValueAs(self, int row, int col, String typeName) -> bool"""
990 return _grid
.PyGridTableBase_base_CanSetValueAs(*args
, **kwargs
)
992 def base_Clear(*args
, **kwargs
):
993 """base_Clear(self)"""
994 return _grid
.PyGridTableBase_base_Clear(*args
, **kwargs
)
996 def base_InsertRows(*args
, **kwargs
):
997 """base_InsertRows(self, size_t pos=0, size_t numRows=1) -> bool"""
998 return _grid
.PyGridTableBase_base_InsertRows(*args
, **kwargs
)
1000 def base_AppendRows(*args
, **kwargs
):
1001 """base_AppendRows(self, size_t numRows=1) -> bool"""
1002 return _grid
.PyGridTableBase_base_AppendRows(*args
, **kwargs
)
1004 def base_DeleteRows(*args
, **kwargs
):
1005 """base_DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool"""
1006 return _grid
.PyGridTableBase_base_DeleteRows(*args
, **kwargs
)
1008 def base_InsertCols(*args
, **kwargs
):
1009 """base_InsertCols(self, size_t pos=0, size_t numCols=1) -> bool"""
1010 return _grid
.PyGridTableBase_base_InsertCols(*args
, **kwargs
)
1012 def base_AppendCols(*args
, **kwargs
):
1013 """base_AppendCols(self, size_t numCols=1) -> bool"""
1014 return _grid
.PyGridTableBase_base_AppendCols(*args
, **kwargs
)
1016 def base_DeleteCols(*args
, **kwargs
):
1017 """base_DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool"""
1018 return _grid
.PyGridTableBase_base_DeleteCols(*args
, **kwargs
)
1020 def base_GetRowLabelValue(*args
, **kwargs
):
1021 """base_GetRowLabelValue(self, int row) -> String"""
1022 return _grid
.PyGridTableBase_base_GetRowLabelValue(*args
, **kwargs
)
1024 def base_GetColLabelValue(*args
, **kwargs
):
1025 """base_GetColLabelValue(self, int col) -> String"""
1026 return _grid
.PyGridTableBase_base_GetColLabelValue(*args
, **kwargs
)
1028 def base_SetRowLabelValue(*args
, **kwargs
):
1029 """base_SetRowLabelValue(self, int row, String value)"""
1030 return _grid
.PyGridTableBase_base_SetRowLabelValue(*args
, **kwargs
)
1032 def base_SetColLabelValue(*args
, **kwargs
):
1033 """base_SetColLabelValue(self, int col, String value)"""
1034 return _grid
.PyGridTableBase_base_SetColLabelValue(*args
, **kwargs
)
1036 def base_CanHaveAttributes(*args
, **kwargs
):
1037 """base_CanHaveAttributes(self) -> bool"""
1038 return _grid
.PyGridTableBase_base_CanHaveAttributes(*args
, **kwargs
)
1040 def base_GetAttr(*args
, **kwargs
):
1041 """base_GetAttr(self, int row, int col, int kind) -> GridCellAttr"""
1042 return _grid
.PyGridTableBase_base_GetAttr(*args
, **kwargs
)
1044 def base_SetAttr(*args
, **kwargs
):
1045 """base_SetAttr(self, GridCellAttr attr, int row, int col)"""
1046 return _grid
.PyGridTableBase_base_SetAttr(*args
, **kwargs
)
1048 def base_SetRowAttr(*args
, **kwargs
):
1049 """base_SetRowAttr(self, GridCellAttr attr, int row)"""
1050 return _grid
.PyGridTableBase_base_SetRowAttr(*args
, **kwargs
)
1052 def base_SetColAttr(*args
, **kwargs
):
1053 """base_SetColAttr(self, GridCellAttr attr, int col)"""
1054 return _grid
.PyGridTableBase_base_SetColAttr(*args
, **kwargs
)
1057 class PyGridTableBasePtr(PyGridTableBase
):
1058 def __init__(self
, this
):
1060 if not hasattr(self
,"thisown"): self
.thisown
= 0
1061 self
.__class
__ = PyGridTableBase
1062 _grid
.PyGridTableBase_swigregister(PyGridTableBasePtr
)
1064 class GridStringTable(GridTableBase
):
1066 return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1067 def __init__(self
, *args
, **kwargs
):
1068 """__init__(self, int numRows=0, int numCols=0) -> GridStringTable"""
1069 newobj
= _grid
.new_GridStringTable(*args
, **kwargs
)
1070 self
.this
= newobj
.this
1073 self
._setOORInfo
(self
)
1076 class GridStringTablePtr(GridStringTable
):
1077 def __init__(self
, this
):
1079 if not hasattr(self
,"thisown"): self
.thisown
= 0
1080 self
.__class
__ = GridStringTable
1081 _grid
.GridStringTable_swigregister(GridStringTablePtr
)
1083 GRIDTABLE_REQUEST_VIEW_GET_VALUES
= _grid
.GRIDTABLE_REQUEST_VIEW_GET_VALUES
1084 GRIDTABLE_REQUEST_VIEW_SEND_VALUES
= _grid
.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
1085 GRIDTABLE_NOTIFY_ROWS_INSERTED
= _grid
.GRIDTABLE_NOTIFY_ROWS_INSERTED
1086 GRIDTABLE_NOTIFY_ROWS_APPENDED
= _grid
.GRIDTABLE_NOTIFY_ROWS_APPENDED
1087 GRIDTABLE_NOTIFY_ROWS_DELETED
= _grid
.GRIDTABLE_NOTIFY_ROWS_DELETED
1088 GRIDTABLE_NOTIFY_COLS_INSERTED
= _grid
.GRIDTABLE_NOTIFY_COLS_INSERTED
1089 GRIDTABLE_NOTIFY_COLS_APPENDED
= _grid
.GRIDTABLE_NOTIFY_COLS_APPENDED
1090 GRIDTABLE_NOTIFY_COLS_DELETED
= _grid
.GRIDTABLE_NOTIFY_COLS_DELETED
1091 class GridTableMessage(object):
1093 return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1094 def __init__(self
, *args
, **kwargs
):
1095 """__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage"""
1096 newobj
= _grid
.new_GridTableMessage(*args
, **kwargs
)
1097 self
.this
= newobj
.this
1100 def __del__(self
, destroy
=_grid
.delete_GridTableMessage
):
1103 if self
.thisown
: destroy(self
)
1106 def SetTableObject(*args
, **kwargs
):
1107 """SetTableObject(self, GridTableBase table)"""
1108 return _grid
.GridTableMessage_SetTableObject(*args
, **kwargs
)
1110 def GetTableObject(*args
, **kwargs
):
1111 """GetTableObject(self) -> GridTableBase"""
1112 return _grid
.GridTableMessage_GetTableObject(*args
, **kwargs
)
1114 def SetId(*args
, **kwargs
):
1115 """SetId(self, int id)"""
1116 return _grid
.GridTableMessage_SetId(*args
, **kwargs
)
1118 def GetId(*args
, **kwargs
):
1119 """GetId(self) -> int"""
1120 return _grid
.GridTableMessage_GetId(*args
, **kwargs
)
1122 def SetCommandInt(*args
, **kwargs
):
1123 """SetCommandInt(self, int comInt1)"""
1124 return _grid
.GridTableMessage_SetCommandInt(*args
, **kwargs
)
1126 def GetCommandInt(*args
, **kwargs
):
1127 """GetCommandInt(self) -> int"""
1128 return _grid
.GridTableMessage_GetCommandInt(*args
, **kwargs
)
1130 def SetCommandInt2(*args
, **kwargs
):
1131 """SetCommandInt2(self, int comInt2)"""
1132 return _grid
.GridTableMessage_SetCommandInt2(*args
, **kwargs
)
1134 def GetCommandInt2(*args
, **kwargs
):
1135 """GetCommandInt2(self) -> int"""
1136 return _grid
.GridTableMessage_GetCommandInt2(*args
, **kwargs
)
1139 class GridTableMessagePtr(GridTableMessage
):
1140 def __init__(self
, this
):
1142 if not hasattr(self
,"thisown"): self
.thisown
= 0
1143 self
.__class
__ = GridTableMessage
1144 _grid
.GridTableMessage_swigregister(GridTableMessagePtr
)
1146 class GridCellCoords(object):
1148 return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1149 def __init__(self
, *args
, **kwargs
):
1150 """__init__(self, int r=-1, int c=-1) -> GridCellCoords"""
1151 newobj
= _grid
.new_GridCellCoords(*args
, **kwargs
)
1152 self
.this
= newobj
.this
1155 def __del__(self
, destroy
=_grid
.delete_GridCellCoords
):
1158 if self
.thisown
: destroy(self
)
1161 def GetRow(*args
, **kwargs
):
1162 """GetRow(self) -> int"""
1163 return _grid
.GridCellCoords_GetRow(*args
, **kwargs
)
1165 def SetRow(*args
, **kwargs
):
1166 """SetRow(self, int n)"""
1167 return _grid
.GridCellCoords_SetRow(*args
, **kwargs
)
1169 def GetCol(*args
, **kwargs
):
1170 """GetCol(self) -> int"""
1171 return _grid
.GridCellCoords_GetCol(*args
, **kwargs
)
1173 def SetCol(*args
, **kwargs
):
1174 """SetCol(self, int n)"""
1175 return _grid
.GridCellCoords_SetCol(*args
, **kwargs
)
1177 def Set(*args
, **kwargs
):
1178 """Set(self, int row, int col)"""
1179 return _grid
.GridCellCoords_Set(*args
, **kwargs
)
1181 def __eq__(*args
, **kwargs
):
1182 """__eq__(self, GridCellCoords other) -> bool"""
1183 return _grid
.GridCellCoords___eq__(*args
, **kwargs
)
1185 def __ne__(*args
, **kwargs
):
1186 """__ne__(self, GridCellCoords other) -> bool"""
1187 return _grid
.GridCellCoords___ne__(*args
, **kwargs
)
1189 def Get(*args
, **kwargs
):
1190 """Get(self) -> PyObject"""
1191 return _grid
.GridCellCoords_Get(*args
, **kwargs
)
1193 asTuple
= wx
._deprecated
(Get
, "asTuple is deprecated, use `Get` instead")
1194 def __str__(self
): return str(self
.Get())
1195 def __repr__(self
): return 'wxGridCellCoords'+str(self
.Get())
1196 def __len__(self
): return len(self
.Get())
1197 def __getitem__(self
, index
): return self
.asTuple()[index
]
1198 def __setitem__(self
, index
, val
):
1199 if index
== 0: self
.SetRow(val
)
1200 elif index
== 1: self
.SetCol(val
)
1201 else: raise IndexError
1204 class GridCellCoordsPtr(GridCellCoords
):
1205 def __init__(self
, this
):
1207 if not hasattr(self
,"thisown"): self
.thisown
= 0
1208 self
.__class
__ = GridCellCoords
1209 _grid
.GridCellCoords_swigregister(GridCellCoordsPtr
)
1211 class Grid(_windows
.ScrolledWindow
):
1213 return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
1214 def __init__(self
, *args
, **kwargs
):
1216 __init__(self, Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
1217 long style=WANTS_CHARS,
1218 String name=PanelNameStr) -> Grid
1220 newobj
= _grid
.new_Grid(*args
, **kwargs
)
1221 self
.this
= newobj
.this
1224 self
._setOORInfo
(self
)
1226 wxGridSelectCells
= _grid
.Grid_wxGridSelectCells
1227 wxGridSelectRows
= _grid
.Grid_wxGridSelectRows
1228 wxGridSelectColumns
= _grid
.Grid_wxGridSelectColumns
1229 SelectCells
= wxGridSelectCells
1230 SelectRows
= wxGridSelectRows
1231 SelectColumns
= wxGridSelectColumns
1233 def CreateGrid(*args
, **kwargs
):
1234 """CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
1235 return _grid
.Grid_CreateGrid(*args
, **kwargs
)
1237 def SetSelectionMode(*args
, **kwargs
):
1238 """SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)"""
1239 return _grid
.Grid_SetSelectionMode(*args
, **kwargs
)
1241 def GetSelectionMode(*args
, **kwargs
):
1242 """GetSelectionMode(self) -> WXGRIDSELECTIONMODES"""
1243 return _grid
.Grid_GetSelectionMode(*args
, **kwargs
)
1245 def GetNumberRows(*args
, **kwargs
):
1246 """GetNumberRows(self) -> int"""
1247 return _grid
.Grid_GetNumberRows(*args
, **kwargs
)
1249 def GetNumberCols(*args
, **kwargs
):
1250 """GetNumberCols(self) -> int"""
1251 return _grid
.Grid_GetNumberCols(*args
, **kwargs
)
1253 def ProcessTableMessage(*args
, **kwargs
):
1254 """ProcessTableMessage(self, GridTableMessage ??) -> bool"""
1255 return _grid
.Grid_ProcessTableMessage(*args
, **kwargs
)
1257 def GetTable(*args
, **kwargs
):
1258 """GetTable(self) -> GridTableBase"""
1259 return _grid
.Grid_GetTable(*args
, **kwargs
)
1261 def SetTable(*args
, **kwargs
):
1262 """SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
1263 return _grid
.Grid_SetTable(*args
, **kwargs
)
1265 def ClearGrid(*args
, **kwargs
):
1266 """ClearGrid(self)"""
1267 return _grid
.Grid_ClearGrid(*args
, **kwargs
)
1269 def InsertRows(*args
, **kwargs
):
1270 """InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool"""
1271 return _grid
.Grid_InsertRows(*args
, **kwargs
)
1273 def AppendRows(*args
, **kwargs
):
1274 """AppendRows(self, int numRows=1, bool updateLabels=True) -> bool"""
1275 return _grid
.Grid_AppendRows(*args
, **kwargs
)
1277 def DeleteRows(*args
, **kwargs
):
1278 """DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool"""
1279 return _grid
.Grid_DeleteRows(*args
, **kwargs
)
1281 def InsertCols(*args
, **kwargs
):
1282 """InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool"""
1283 return _grid
.Grid_InsertCols(*args
, **kwargs
)
1285 def AppendCols(*args
, **kwargs
):
1286 """AppendCols(self, int numCols=1, bool updateLabels=True) -> bool"""
1287 return _grid
.Grid_AppendCols(*args
, **kwargs
)
1289 def DeleteCols(*args
, **kwargs
):
1290 """DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool"""
1291 return _grid
.Grid_DeleteCols(*args
, **kwargs
)
1293 def DrawCellHighlight(*args
, **kwargs
):
1294 """DrawCellHighlight(self, DC dc, GridCellAttr attr)"""
1295 return _grid
.Grid_DrawCellHighlight(*args
, **kwargs
)
1297 def DrawTextRectangle(*args
, **kwargs
):
1299 DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT,
1300 int verticalAlignment=TOP, int textOrientation=HORIZONTAL)
1302 return _grid
.Grid_DrawTextRectangle(*args
, **kwargs
)
1304 def GetTextBoxSize(*args
, **kwargs
):
1305 """GetTextBoxSize(DC dc, list lines) -> (width, height)"""
1306 return _grid
.Grid_GetTextBoxSize(*args
, **kwargs
)
1308 def BeginBatch(*args
, **kwargs
):
1309 """BeginBatch(self)"""
1310 return _grid
.Grid_BeginBatch(*args
, **kwargs
)
1312 def EndBatch(*args
, **kwargs
):
1313 """EndBatch(self)"""
1314 return _grid
.Grid_EndBatch(*args
, **kwargs
)
1316 def GetBatchCount(*args
, **kwargs
):
1317 """GetBatchCount(self) -> int"""
1318 return _grid
.Grid_GetBatchCount(*args
, **kwargs
)
1320 def ForceRefresh(*args
, **kwargs
):
1321 """ForceRefresh(self)"""
1322 return _grid
.Grid_ForceRefresh(*args
, **kwargs
)
1324 def IsEditable(*args
, **kwargs
):
1325 """IsEditable(self) -> bool"""
1326 return _grid
.Grid_IsEditable(*args
, **kwargs
)
1328 def EnableEditing(*args
, **kwargs
):
1329 """EnableEditing(self, bool edit)"""
1330 return _grid
.Grid_EnableEditing(*args
, **kwargs
)
1332 def EnableCellEditControl(*args
, **kwargs
):
1333 """EnableCellEditControl(self, bool enable=True)"""
1334 return _grid
.Grid_EnableCellEditControl(*args
, **kwargs
)
1336 def DisableCellEditControl(*args
, **kwargs
):
1337 """DisableCellEditControl(self)"""
1338 return _grid
.Grid_DisableCellEditControl(*args
, **kwargs
)
1340 def CanEnableCellControl(*args
, **kwargs
):
1341 """CanEnableCellControl(self) -> bool"""
1342 return _grid
.Grid_CanEnableCellControl(*args
, **kwargs
)
1344 def IsCellEditControlEnabled(*args
, **kwargs
):
1345 """IsCellEditControlEnabled(self) -> bool"""
1346 return _grid
.Grid_IsCellEditControlEnabled(*args
, **kwargs
)
1348 def IsCellEditControlShown(*args
, **kwargs
):
1349 """IsCellEditControlShown(self) -> bool"""
1350 return _grid
.Grid_IsCellEditControlShown(*args
, **kwargs
)
1352 def IsCurrentCellReadOnly(*args
, **kwargs
):
1353 """IsCurrentCellReadOnly(self) -> bool"""
1354 return _grid
.Grid_IsCurrentCellReadOnly(*args
, **kwargs
)
1356 def ShowCellEditControl(*args
, **kwargs
):
1357 """ShowCellEditControl(self)"""
1358 return _grid
.Grid_ShowCellEditControl(*args
, **kwargs
)
1360 def HideCellEditControl(*args
, **kwargs
):
1361 """HideCellEditControl(self)"""
1362 return _grid
.Grid_HideCellEditControl(*args
, **kwargs
)
1364 def SaveEditControlValue(*args
, **kwargs
):
1365 """SaveEditControlValue(self)"""
1366 return _grid
.Grid_SaveEditControlValue(*args
, **kwargs
)
1368 def XYToCell(*args
, **kwargs
):
1369 """XYToCell(self, int x, int y) -> GridCellCoords"""
1370 return _grid
.Grid_XYToCell(*args
, **kwargs
)
1372 def YToRow(*args
, **kwargs
):
1373 """YToRow(self, int y) -> int"""
1374 return _grid
.Grid_YToRow(*args
, **kwargs
)
1376 def XToCol(*args
, **kwargs
):
1377 """XToCol(self, int x) -> int"""
1378 return _grid
.Grid_XToCol(*args
, **kwargs
)
1380 def YToEdgeOfRow(*args
, **kwargs
):
1381 """YToEdgeOfRow(self, int y) -> int"""
1382 return _grid
.Grid_YToEdgeOfRow(*args
, **kwargs
)
1384 def XToEdgeOfCol(*args
, **kwargs
):
1385 """XToEdgeOfCol(self, int x) -> int"""
1386 return _grid
.Grid_XToEdgeOfCol(*args
, **kwargs
)
1388 def CellToRect(*args
, **kwargs
):
1389 """CellToRect(self, int row, int col) -> Rect"""
1390 return _grid
.Grid_CellToRect(*args
, **kwargs
)
1392 def GetGridCursorRow(*args
, **kwargs
):
1393 """GetGridCursorRow(self) -> int"""
1394 return _grid
.Grid_GetGridCursorRow(*args
, **kwargs
)
1396 def GetGridCursorCol(*args
, **kwargs
):
1397 """GetGridCursorCol(self) -> int"""
1398 return _grid
.Grid_GetGridCursorCol(*args
, **kwargs
)
1400 def IsVisible(*args
, **kwargs
):
1401 """IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool"""
1402 return _grid
.Grid_IsVisible(*args
, **kwargs
)
1404 def MakeCellVisible(*args
, **kwargs
):
1405 """MakeCellVisible(self, int row, int col)"""
1406 return _grid
.Grid_MakeCellVisible(*args
, **kwargs
)
1408 def SetGridCursor(*args
, **kwargs
):
1409 """SetGridCursor(self, int row, int col)"""
1410 return _grid
.Grid_SetGridCursor(*args
, **kwargs
)
1412 def MoveCursorUp(*args
, **kwargs
):
1413 """MoveCursorUp(self, bool expandSelection) -> bool"""
1414 return _grid
.Grid_MoveCursorUp(*args
, **kwargs
)
1416 def MoveCursorDown(*args
, **kwargs
):
1417 """MoveCursorDown(self, bool expandSelection) -> bool"""
1418 return _grid
.Grid_MoveCursorDown(*args
, **kwargs
)
1420 def MoveCursorLeft(*args
, **kwargs
):
1421 """MoveCursorLeft(self, bool expandSelection) -> bool"""
1422 return _grid
.Grid_MoveCursorLeft(*args
, **kwargs
)
1424 def MoveCursorRight(*args
, **kwargs
):
1425 """MoveCursorRight(self, bool expandSelection) -> bool"""
1426 return _grid
.Grid_MoveCursorRight(*args
, **kwargs
)
1428 def MovePageDown(*args
, **kwargs
):
1429 """MovePageDown(self) -> bool"""
1430 return _grid
.Grid_MovePageDown(*args
, **kwargs
)
1432 def MovePageUp(*args
, **kwargs
):
1433 """MovePageUp(self) -> bool"""
1434 return _grid
.Grid_MovePageUp(*args
, **kwargs
)
1436 def MoveCursorUpBlock(*args
, **kwargs
):
1437 """MoveCursorUpBlock(self, bool expandSelection) -> bool"""
1438 return _grid
.Grid_MoveCursorUpBlock(*args
, **kwargs
)
1440 def MoveCursorDownBlock(*args
, **kwargs
):
1441 """MoveCursorDownBlock(self, bool expandSelection) -> bool"""
1442 return _grid
.Grid_MoveCursorDownBlock(*args
, **kwargs
)
1444 def MoveCursorLeftBlock(*args
, **kwargs
):
1445 """MoveCursorLeftBlock(self, bool expandSelection) -> bool"""
1446 return _grid
.Grid_MoveCursorLeftBlock(*args
, **kwargs
)
1448 def MoveCursorRightBlock(*args
, **kwargs
):
1449 """MoveCursorRightBlock(self, bool expandSelection) -> bool"""
1450 return _grid
.Grid_MoveCursorRightBlock(*args
, **kwargs
)
1452 def GetDefaultRowLabelSize(*args
, **kwargs
):
1453 """GetDefaultRowLabelSize(self) -> int"""
1454 return _grid
.Grid_GetDefaultRowLabelSize(*args
, **kwargs
)
1456 def GetRowLabelSize(*args
, **kwargs
):
1457 """GetRowLabelSize(self) -> int"""
1458 return _grid
.Grid_GetRowLabelSize(*args
, **kwargs
)
1460 def GetDefaultColLabelSize(*args
, **kwargs
):
1461 """GetDefaultColLabelSize(self) -> int"""
1462 return _grid
.Grid_GetDefaultColLabelSize(*args
, **kwargs
)
1464 def GetColLabelSize(*args
, **kwargs
):
1465 """GetColLabelSize(self) -> int"""
1466 return _grid
.Grid_GetColLabelSize(*args
, **kwargs
)
1468 def GetLabelBackgroundColour(*args
, **kwargs
):
1469 """GetLabelBackgroundColour(self) -> Colour"""
1470 return _grid
.Grid_GetLabelBackgroundColour(*args
, **kwargs
)
1472 def GetLabelTextColour(*args
, **kwargs
):
1473 """GetLabelTextColour(self) -> Colour"""
1474 return _grid
.Grid_GetLabelTextColour(*args
, **kwargs
)
1476 def GetLabelFont(*args
, **kwargs
):
1477 """GetLabelFont(self) -> Font"""
1478 return _grid
.Grid_GetLabelFont(*args
, **kwargs
)
1480 def GetRowLabelAlignment(*args
, **kwargs
):
1481 """GetRowLabelAlignment() -> (horiz, vert)"""
1482 return _grid
.Grid_GetRowLabelAlignment(*args
, **kwargs
)
1484 def GetColLabelAlignment(*args
, **kwargs
):
1485 """GetColLabelAlignment() -> (horiz, vert)"""
1486 return _grid
.Grid_GetColLabelAlignment(*args
, **kwargs
)
1488 def GetColLabelTextOrientation(*args
, **kwargs
):
1489 """GetColLabelTextOrientation(self) -> int"""
1490 return _grid
.Grid_GetColLabelTextOrientation(*args
, **kwargs
)
1492 def GetRowLabelValue(*args
, **kwargs
):
1493 """GetRowLabelValue(self, int row) -> String"""
1494 return _grid
.Grid_GetRowLabelValue(*args
, **kwargs
)
1496 def GetColLabelValue(*args
, **kwargs
):
1497 """GetColLabelValue(self, int col) -> String"""
1498 return _grid
.Grid_GetColLabelValue(*args
, **kwargs
)
1500 def GetGridLineColour(*args
, **kwargs
):
1501 """GetGridLineColour(self) -> Colour"""
1502 return _grid
.Grid_GetGridLineColour(*args
, **kwargs
)
1504 def GetCellHighlightColour(*args
, **kwargs
):
1505 """GetCellHighlightColour(self) -> Colour"""
1506 return _grid
.Grid_GetCellHighlightColour(*args
, **kwargs
)
1508 def GetCellHighlightPenWidth(*args
, **kwargs
):
1509 """GetCellHighlightPenWidth(self) -> int"""
1510 return _grid
.Grid_GetCellHighlightPenWidth(*args
, **kwargs
)
1512 def GetCellHighlightROPenWidth(*args
, **kwargs
):
1513 """GetCellHighlightROPenWidth(self) -> int"""
1514 return _grid
.Grid_GetCellHighlightROPenWidth(*args
, **kwargs
)
1516 def SetRowLabelSize(*args
, **kwargs
):
1517 """SetRowLabelSize(self, int width)"""
1518 return _grid
.Grid_SetRowLabelSize(*args
, **kwargs
)
1520 def SetColLabelSize(*args
, **kwargs
):
1521 """SetColLabelSize(self, int height)"""
1522 return _grid
.Grid_SetColLabelSize(*args
, **kwargs
)
1524 def SetLabelBackgroundColour(*args
, **kwargs
):
1525 """SetLabelBackgroundColour(self, Colour ??)"""
1526 return _grid
.Grid_SetLabelBackgroundColour(*args
, **kwargs
)
1528 def SetLabelTextColour(*args
, **kwargs
):
1529 """SetLabelTextColour(self, Colour ??)"""
1530 return _grid
.Grid_SetLabelTextColour(*args
, **kwargs
)
1532 def SetLabelFont(*args
, **kwargs
):
1533 """SetLabelFont(self, Font ??)"""
1534 return _grid
.Grid_SetLabelFont(*args
, **kwargs
)
1536 def SetRowLabelAlignment(*args
, **kwargs
):
1537 """SetRowLabelAlignment(self, int horiz, int vert)"""
1538 return _grid
.Grid_SetRowLabelAlignment(*args
, **kwargs
)
1540 def SetColLabelAlignment(*args
, **kwargs
):
1541 """SetColLabelAlignment(self, int horiz, int vert)"""
1542 return _grid
.Grid_SetColLabelAlignment(*args
, **kwargs
)
1544 def SetColLabelTextOrientation(*args
, **kwargs
):
1545 """SetColLabelTextOrientation(self, int textOrientation)"""
1546 return _grid
.Grid_SetColLabelTextOrientation(*args
, **kwargs
)
1548 def SetRowLabelValue(*args
, **kwargs
):
1549 """SetRowLabelValue(self, int row, String ??)"""
1550 return _grid
.Grid_SetRowLabelValue(*args
, **kwargs
)
1552 def SetColLabelValue(*args
, **kwargs
):
1553 """SetColLabelValue(self, int col, String ??)"""
1554 return _grid
.Grid_SetColLabelValue(*args
, **kwargs
)
1556 def SetGridLineColour(*args
, **kwargs
):
1557 """SetGridLineColour(self, Colour ??)"""
1558 return _grid
.Grid_SetGridLineColour(*args
, **kwargs
)
1560 def SetCellHighlightColour(*args
, **kwargs
):
1561 """SetCellHighlightColour(self, Colour ??)"""
1562 return _grid
.Grid_SetCellHighlightColour(*args
, **kwargs
)
1564 def SetCellHighlightPenWidth(*args
, **kwargs
):
1565 """SetCellHighlightPenWidth(self, int width)"""
1566 return _grid
.Grid_SetCellHighlightPenWidth(*args
, **kwargs
)
1568 def SetCellHighlightROPenWidth(*args
, **kwargs
):
1569 """SetCellHighlightROPenWidth(self, int width)"""
1570 return _grid
.Grid_SetCellHighlightROPenWidth(*args
, **kwargs
)
1572 def EnableDragRowSize(*args
, **kwargs
):
1573 """EnableDragRowSize(self, bool enable=True)"""
1574 return _grid
.Grid_EnableDragRowSize(*args
, **kwargs
)
1576 def DisableDragRowSize(*args
, **kwargs
):
1577 """DisableDragRowSize(self)"""
1578 return _grid
.Grid_DisableDragRowSize(*args
, **kwargs
)
1580 def CanDragRowSize(*args
, **kwargs
):
1581 """CanDragRowSize(self) -> bool"""
1582 return _grid
.Grid_CanDragRowSize(*args
, **kwargs
)
1584 def EnableDragColSize(*args
, **kwargs
):
1585 """EnableDragColSize(self, bool enable=True)"""
1586 return _grid
.Grid_EnableDragColSize(*args
, **kwargs
)
1588 def DisableDragColSize(*args
, **kwargs
):
1589 """DisableDragColSize(self)"""
1590 return _grid
.Grid_DisableDragColSize(*args
, **kwargs
)
1592 def CanDragColSize(*args
, **kwargs
):
1593 """CanDragColSize(self) -> bool"""
1594 return _grid
.Grid_CanDragColSize(*args
, **kwargs
)
1596 def EnableDragGridSize(*args
, **kwargs
):
1597 """EnableDragGridSize(self, bool enable=True)"""
1598 return _grid
.Grid_EnableDragGridSize(*args
, **kwargs
)
1600 def DisableDragGridSize(*args
, **kwargs
):
1601 """DisableDragGridSize(self)"""
1602 return _grid
.Grid_DisableDragGridSize(*args
, **kwargs
)
1604 def CanDragGridSize(*args
, **kwargs
):
1605 """CanDragGridSize(self) -> bool"""
1606 return _grid
.Grid_CanDragGridSize(*args
, **kwargs
)
1608 def SetAttr(*args
, **kwargs
):
1609 """SetAttr(self, int row, int col, GridCellAttr attr)"""
1610 return _grid
.Grid_SetAttr(*args
, **kwargs
)
1612 def SetRowAttr(*args
, **kwargs
):
1613 """SetRowAttr(self, int row, GridCellAttr attr)"""
1614 return _grid
.Grid_SetRowAttr(*args
, **kwargs
)
1616 def SetColAttr(*args
, **kwargs
):
1617 """SetColAttr(self, int col, GridCellAttr attr)"""
1618 return _grid
.Grid_SetColAttr(*args
, **kwargs
)
1620 def SetColFormatBool(*args
, **kwargs
):
1621 """SetColFormatBool(self, int col)"""
1622 return _grid
.Grid_SetColFormatBool(*args
, **kwargs
)
1624 def SetColFormatNumber(*args
, **kwargs
):
1625 """SetColFormatNumber(self, int col)"""
1626 return _grid
.Grid_SetColFormatNumber(*args
, **kwargs
)
1628 def SetColFormatFloat(*args
, **kwargs
):
1629 """SetColFormatFloat(self, int col, int width=-1, int precision=-1)"""
1630 return _grid
.Grid_SetColFormatFloat(*args
, **kwargs
)
1632 def SetColFormatCustom(*args
, **kwargs
):
1633 """SetColFormatCustom(self, int col, String typeName)"""
1634 return _grid
.Grid_SetColFormatCustom(*args
, **kwargs
)
1636 def EnableGridLines(*args
, **kwargs
):
1637 """EnableGridLines(self, bool enable=True)"""
1638 return _grid
.Grid_EnableGridLines(*args
, **kwargs
)
1640 def GridLinesEnabled(*args
, **kwargs
):
1641 """GridLinesEnabled(self) -> bool"""
1642 return _grid
.Grid_GridLinesEnabled(*args
, **kwargs
)
1644 def GetDefaultRowSize(*args
, **kwargs
):
1645 """GetDefaultRowSize(self) -> int"""
1646 return _grid
.Grid_GetDefaultRowSize(*args
, **kwargs
)
1648 def GetRowSize(*args
, **kwargs
):
1649 """GetRowSize(self, int row) -> int"""
1650 return _grid
.Grid_GetRowSize(*args
, **kwargs
)
1652 def GetDefaultColSize(*args
, **kwargs
):
1653 """GetDefaultColSize(self) -> int"""
1654 return _grid
.Grid_GetDefaultColSize(*args
, **kwargs
)
1656 def GetColSize(*args
, **kwargs
):
1657 """GetColSize(self, int col) -> int"""
1658 return _grid
.Grid_GetColSize(*args
, **kwargs
)
1660 def GetDefaultCellBackgroundColour(*args
, **kwargs
):
1661 """GetDefaultCellBackgroundColour(self) -> Colour"""
1662 return _grid
.Grid_GetDefaultCellBackgroundColour(*args
, **kwargs
)
1664 def GetCellBackgroundColour(*args
, **kwargs
):
1665 """GetCellBackgroundColour(self, int row, int col) -> Colour"""
1666 return _grid
.Grid_GetCellBackgroundColour(*args
, **kwargs
)
1668 def GetDefaultCellTextColour(*args
, **kwargs
):
1669 """GetDefaultCellTextColour(self) -> Colour"""
1670 return _grid
.Grid_GetDefaultCellTextColour(*args
, **kwargs
)
1672 def GetCellTextColour(*args
, **kwargs
):
1673 """GetCellTextColour(self, int row, int col) -> Colour"""
1674 return _grid
.Grid_GetCellTextColour(*args
, **kwargs
)
1676 def GetDefaultCellFont(*args
, **kwargs
):
1677 """GetDefaultCellFont(self) -> Font"""
1678 return _grid
.Grid_GetDefaultCellFont(*args
, **kwargs
)
1680 def GetCellFont(*args
, **kwargs
):
1681 """GetCellFont(self, int row, int col) -> Font"""
1682 return _grid
.Grid_GetCellFont(*args
, **kwargs
)
1684 def GetDefaultCellAlignment(*args
, **kwargs
):
1685 """GetDefaultCellAlignment() -> (horiz, vert)"""
1686 return _grid
.Grid_GetDefaultCellAlignment(*args
, **kwargs
)
1688 def GetCellAlignment(*args
, **kwargs
):
1689 """GetCellAlignment() -> (horiz, vert)"""
1690 return _grid
.Grid_GetCellAlignment(*args
, **kwargs
)
1692 def GetDefaultCellOverflow(*args
, **kwargs
):
1693 """GetDefaultCellOverflow(self) -> bool"""
1694 return _grid
.Grid_GetDefaultCellOverflow(*args
, **kwargs
)
1696 def GetCellOverflow(*args
, **kwargs
):
1697 """GetCellOverflow(self, int row, int col) -> bool"""
1698 return _grid
.Grid_GetCellOverflow(*args
, **kwargs
)
1700 def GetCellSize(*args
, **kwargs
):
1701 """GetCellSize(int row, int col) -> (num_rows, num_cols)"""
1702 return _grid
.Grid_GetCellSize(*args
, **kwargs
)
1704 def SetDefaultRowSize(*args
, **kwargs
):
1705 """SetDefaultRowSize(self, int height, bool resizeExistingRows=False)"""
1706 return _grid
.Grid_SetDefaultRowSize(*args
, **kwargs
)
1708 def SetRowSize(*args
, **kwargs
):
1709 """SetRowSize(self, int row, int height)"""
1710 return _grid
.Grid_SetRowSize(*args
, **kwargs
)
1712 def SetDefaultColSize(*args
, **kwargs
):
1713 """SetDefaultColSize(self, int width, bool resizeExistingCols=False)"""
1714 return _grid
.Grid_SetDefaultColSize(*args
, **kwargs
)
1716 def SetColSize(*args
, **kwargs
):
1717 """SetColSize(self, int col, int width)"""
1718 return _grid
.Grid_SetColSize(*args
, **kwargs
)
1720 def AutoSizeColumn(*args
, **kwargs
):
1721 """AutoSizeColumn(self, int col, bool setAsMin=True)"""
1722 return _grid
.Grid_AutoSizeColumn(*args
, **kwargs
)
1724 def AutoSizeRow(*args
, **kwargs
):
1725 """AutoSizeRow(self, int row, bool setAsMin=True)"""
1726 return _grid
.Grid_AutoSizeRow(*args
, **kwargs
)
1728 def AutoSizeColumns(*args
, **kwargs
):
1729 """AutoSizeColumns(self, bool setAsMin=True)"""
1730 return _grid
.Grid_AutoSizeColumns(*args
, **kwargs
)
1732 def AutoSizeRows(*args
, **kwargs
):
1733 """AutoSizeRows(self, bool setAsMin=True)"""
1734 return _grid
.Grid_AutoSizeRows(*args
, **kwargs
)
1736 def AutoSize(*args
, **kwargs
):
1737 """AutoSize(self)"""
1738 return _grid
.Grid_AutoSize(*args
, **kwargs
)
1740 def AutoSizeRowLabelSize(*args
, **kwargs
):
1741 """AutoSizeRowLabelSize(self, int row)"""
1742 return _grid
.Grid_AutoSizeRowLabelSize(*args
, **kwargs
)
1744 def AutoSizeColLabelSize(*args
, **kwargs
):
1745 """AutoSizeColLabelSize(self, int col)"""
1746 return _grid
.Grid_AutoSizeColLabelSize(*args
, **kwargs
)
1748 def SetColMinimalWidth(*args
, **kwargs
):
1749 """SetColMinimalWidth(self, int col, int width)"""
1750 return _grid
.Grid_SetColMinimalWidth(*args
, **kwargs
)
1752 def SetRowMinimalHeight(*args
, **kwargs
):
1753 """SetRowMinimalHeight(self, int row, int width)"""
1754 return _grid
.Grid_SetRowMinimalHeight(*args
, **kwargs
)
1756 def SetColMinimalAcceptableWidth(*args
, **kwargs
):
1757 """SetColMinimalAcceptableWidth(self, int width)"""
1758 return _grid
.Grid_SetColMinimalAcceptableWidth(*args
, **kwargs
)
1760 def SetRowMinimalAcceptableHeight(*args
, **kwargs
):
1761 """SetRowMinimalAcceptableHeight(self, int width)"""
1762 return _grid
.Grid_SetRowMinimalAcceptableHeight(*args
, **kwargs
)
1764 def GetColMinimalAcceptableWidth(*args
, **kwargs
):
1765 """GetColMinimalAcceptableWidth(self) -> int"""
1766 return _grid
.Grid_GetColMinimalAcceptableWidth(*args
, **kwargs
)
1768 def GetRowMinimalAcceptableHeight(*args
, **kwargs
):
1769 """GetRowMinimalAcceptableHeight(self) -> int"""
1770 return _grid
.Grid_GetRowMinimalAcceptableHeight(*args
, **kwargs
)
1772 def SetDefaultCellBackgroundColour(*args
, **kwargs
):
1773 """SetDefaultCellBackgroundColour(self, Colour ??)"""
1774 return _grid
.Grid_SetDefaultCellBackgroundColour(*args
, **kwargs
)
1776 def SetCellBackgroundColour(*args
, **kwargs
):
1777 """SetCellBackgroundColour(self, int row, int col, Colour ??)"""
1778 return _grid
.Grid_SetCellBackgroundColour(*args
, **kwargs
)
1780 def SetDefaultCellTextColour(*args
, **kwargs
):
1781 """SetDefaultCellTextColour(self, Colour ??)"""
1782 return _grid
.Grid_SetDefaultCellTextColour(*args
, **kwargs
)
1784 def SetCellTextColour(*args
, **kwargs
):
1785 """SetCellTextColour(self, int row, int col, Colour ??)"""
1786 return _grid
.Grid_SetCellTextColour(*args
, **kwargs
)
1788 def SetDefaultCellFont(*args
, **kwargs
):
1789 """SetDefaultCellFont(self, Font ??)"""
1790 return _grid
.Grid_SetDefaultCellFont(*args
, **kwargs
)
1792 def SetCellFont(*args
, **kwargs
):
1793 """SetCellFont(self, int row, int col, Font ??)"""
1794 return _grid
.Grid_SetCellFont(*args
, **kwargs
)
1796 def SetDefaultCellAlignment(*args
, **kwargs
):
1797 """SetDefaultCellAlignment(self, int horiz, int vert)"""
1798 return _grid
.Grid_SetDefaultCellAlignment(*args
, **kwargs
)
1800 def SetCellAlignment(*args
, **kwargs
):
1801 """SetCellAlignment(self, int row, int col, int horiz, int vert)"""
1802 return _grid
.Grid_SetCellAlignment(*args
, **kwargs
)
1804 def SetDefaultCellOverflow(*args
, **kwargs
):
1805 """SetDefaultCellOverflow(self, bool allow)"""
1806 return _grid
.Grid_SetDefaultCellOverflow(*args
, **kwargs
)
1808 def SetCellOverflow(*args
, **kwargs
):
1809 """SetCellOverflow(self, int row, int col, bool allow)"""
1810 return _grid
.Grid_SetCellOverflow(*args
, **kwargs
)
1812 def SetCellSize(*args
, **kwargs
):
1813 """SetCellSize(self, int row, int col, int num_rows, int num_cols)"""
1814 return _grid
.Grid_SetCellSize(*args
, **kwargs
)
1816 def SetDefaultRenderer(*args
, **kwargs
):
1817 """SetDefaultRenderer(self, GridCellRenderer renderer)"""
1818 return _grid
.Grid_SetDefaultRenderer(*args
, **kwargs
)
1820 def SetCellRenderer(*args
, **kwargs
):
1821 """SetCellRenderer(self, int row, int col, GridCellRenderer renderer)"""
1822 return _grid
.Grid_SetCellRenderer(*args
, **kwargs
)
1824 def GetDefaultRenderer(*args
, **kwargs
):
1825 """GetDefaultRenderer(self) -> GridCellRenderer"""
1826 return _grid
.Grid_GetDefaultRenderer(*args
, **kwargs
)
1828 def GetCellRenderer(*args
, **kwargs
):
1829 """GetCellRenderer(self, int row, int col) -> GridCellRenderer"""
1830 return _grid
.Grid_GetCellRenderer(*args
, **kwargs
)
1832 def SetDefaultEditor(*args
, **kwargs
):
1833 """SetDefaultEditor(self, GridCellEditor editor)"""
1834 return _grid
.Grid_SetDefaultEditor(*args
, **kwargs
)
1836 def SetCellEditor(*args
, **kwargs
):
1837 """SetCellEditor(self, int row, int col, GridCellEditor editor)"""
1838 return _grid
.Grid_SetCellEditor(*args
, **kwargs
)
1840 def GetDefaultEditor(*args
, **kwargs
):
1841 """GetDefaultEditor(self) -> GridCellEditor"""
1842 return _grid
.Grid_GetDefaultEditor(*args
, **kwargs
)
1844 def GetCellEditor(*args
, **kwargs
):
1845 """GetCellEditor(self, int row, int col) -> GridCellEditor"""
1846 return _grid
.Grid_GetCellEditor(*args
, **kwargs
)
1848 def GetCellValue(*args
, **kwargs
):
1849 """GetCellValue(self, int row, int col) -> String"""
1850 return _grid
.Grid_GetCellValue(*args
, **kwargs
)
1852 def SetCellValue(*args
, **kwargs
):
1853 """SetCellValue(self, int row, int col, String s)"""
1854 return _grid
.Grid_SetCellValue(*args
, **kwargs
)
1856 def IsReadOnly(*args
, **kwargs
):
1857 """IsReadOnly(self, int row, int col) -> bool"""
1858 return _grid
.Grid_IsReadOnly(*args
, **kwargs
)
1860 def SetReadOnly(*args
, **kwargs
):
1861 """SetReadOnly(self, int row, int col, bool isReadOnly=True)"""
1862 return _grid
.Grid_SetReadOnly(*args
, **kwargs
)
1864 def SelectRow(*args
, **kwargs
):
1865 """SelectRow(self, int row, bool addToSelected=False)"""
1866 return _grid
.Grid_SelectRow(*args
, **kwargs
)
1868 def SelectCol(*args
, **kwargs
):
1869 """SelectCol(self, int col, bool addToSelected=False)"""
1870 return _grid
.Grid_SelectCol(*args
, **kwargs
)
1872 def SelectBlock(*args
, **kwargs
):
1874 SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol,
1875 bool addToSelected=False)
1877 return _grid
.Grid_SelectBlock(*args
, **kwargs
)
1879 def SelectAll(*args
, **kwargs
):
1880 """SelectAll(self)"""
1881 return _grid
.Grid_SelectAll(*args
, **kwargs
)
1883 def IsSelection(*args
, **kwargs
):
1884 """IsSelection(self) -> bool"""
1885 return _grid
.Grid_IsSelection(*args
, **kwargs
)
1887 def ClearSelection(*args
, **kwargs
):
1888 """ClearSelection(self)"""
1889 return _grid
.Grid_ClearSelection(*args
, **kwargs
)
1891 def IsInSelection(*args
, **kwargs
):
1892 """IsInSelection(self, int row, int col) -> bool"""
1893 return _grid
.Grid_IsInSelection(*args
, **kwargs
)
1895 def GetSelectedCells(*args
, **kwargs
):
1896 """GetSelectedCells(self) -> wxGridCellCoordsArray"""
1897 return _grid
.Grid_GetSelectedCells(*args
, **kwargs
)
1899 def GetSelectionBlockTopLeft(*args
, **kwargs
):
1900 """GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray"""
1901 return _grid
.Grid_GetSelectionBlockTopLeft(*args
, **kwargs
)
1903 def GetSelectionBlockBottomRight(*args
, **kwargs
):
1904 """GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray"""
1905 return _grid
.Grid_GetSelectionBlockBottomRight(*args
, **kwargs
)
1907 def GetSelectedRows(*args
, **kwargs
):
1908 """GetSelectedRows(self) -> wxArrayInt"""
1909 return _grid
.Grid_GetSelectedRows(*args
, **kwargs
)
1911 def GetSelectedCols(*args
, **kwargs
):
1912 """GetSelectedCols(self) -> wxArrayInt"""
1913 return _grid
.Grid_GetSelectedCols(*args
, **kwargs
)
1915 def DeselectRow(*args
, **kwargs
):
1916 """DeselectRow(self, int row)"""
1917 return _grid
.Grid_DeselectRow(*args
, **kwargs
)
1919 def DeselectCol(*args
, **kwargs
):
1920 """DeselectCol(self, int col)"""
1921 return _grid
.Grid_DeselectCol(*args
, **kwargs
)
1923 def DeselectCell(*args
, **kwargs
):
1924 """DeselectCell(self, int row, int col)"""
1925 return _grid
.Grid_DeselectCell(*args
, **kwargs
)
1927 def BlockToDeviceRect(*args
, **kwargs
):
1928 """BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect"""
1929 return _grid
.Grid_BlockToDeviceRect(*args
, **kwargs
)
1931 def GetSelectionBackground(*args
, **kwargs
):
1932 """GetSelectionBackground(self) -> Colour"""
1933 return _grid
.Grid_GetSelectionBackground(*args
, **kwargs
)
1935 def GetSelectionForeground(*args
, **kwargs
):
1936 """GetSelectionForeground(self) -> Colour"""
1937 return _grid
.Grid_GetSelectionForeground(*args
, **kwargs
)
1939 def SetSelectionBackground(*args
, **kwargs
):
1940 """SetSelectionBackground(self, Colour c)"""
1941 return _grid
.Grid_SetSelectionBackground(*args
, **kwargs
)
1943 def SetSelectionForeground(*args
, **kwargs
):
1944 """SetSelectionForeground(self, Colour c)"""
1945 return _grid
.Grid_SetSelectionForeground(*args
, **kwargs
)
1947 def RegisterDataType(*args
, **kwargs
):
1948 """RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)"""
1949 return _grid
.Grid_RegisterDataType(*args
, **kwargs
)
1951 def GetDefaultEditorForCell(*args
, **kwargs
):
1952 """GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor"""
1953 return _grid
.Grid_GetDefaultEditorForCell(*args
, **kwargs
)
1955 def GetDefaultRendererForCell(*args
, **kwargs
):
1956 """GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer"""
1957 return _grid
.Grid_GetDefaultRendererForCell(*args
, **kwargs
)
1959 def GetDefaultEditorForType(*args
, **kwargs
):
1960 """GetDefaultEditorForType(self, String typeName) -> GridCellEditor"""
1961 return _grid
.Grid_GetDefaultEditorForType(*args
, **kwargs
)
1963 def GetDefaultRendererForType(*args
, **kwargs
):
1964 """GetDefaultRendererForType(self, String typeName) -> GridCellRenderer"""
1965 return _grid
.Grid_GetDefaultRendererForType(*args
, **kwargs
)
1967 def SetMargins(*args
, **kwargs
):
1968 """SetMargins(self, int extraWidth, int extraHeight)"""
1969 return _grid
.Grid_SetMargins(*args
, **kwargs
)
1971 def GetGridWindow(*args
, **kwargs
):
1972 """GetGridWindow(self) -> Window"""
1973 return _grid
.Grid_GetGridWindow(*args
, **kwargs
)
1975 def GetGridRowLabelWindow(*args
, **kwargs
):
1976 """GetGridRowLabelWindow(self) -> Window"""
1977 return _grid
.Grid_GetGridRowLabelWindow(*args
, **kwargs
)
1979 def GetGridColLabelWindow(*args
, **kwargs
):
1980 """GetGridColLabelWindow(self) -> Window"""
1981 return _grid
.Grid_GetGridColLabelWindow(*args
, **kwargs
)
1983 def GetGridCornerLabelWindow(*args
, **kwargs
):
1984 """GetGridCornerLabelWindow(self) -> Window"""
1985 return _grid
.Grid_GetGridCornerLabelWindow(*args
, **kwargs
)
1987 def GetClassDefaultAttributes(*args
, **kwargs
):
1989 GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
1991 Get the default attributes for this class. This is useful if you want
1992 to use the same font or colour in your own control as in a standard
1993 control -- which is a much better idea than hard coding specific
1994 colours or fonts which might look completely out of place on the users
1995 system, especially if it uses themes.
1997 The variant parameter is only relevant under Mac currently and is
1998 ignore under other platforms. Under Mac, it will change the size of
1999 the returned font. See SetWindowVariant for more about this.
2001 return _grid
.Grid_GetClassDefaultAttributes(*args
, **kwargs
)
2003 GetClassDefaultAttributes
= staticmethod(GetClassDefaultAttributes
)
2005 class GridPtr(Grid
):
2006 def __init__(self
, this
):
2008 if not hasattr(self
,"thisown"): self
.thisown
= 0
2009 self
.__class
__ = Grid
2010 _grid
.Grid_swigregister(GridPtr
)
2012 def Grid_GetClassDefaultAttributes(*args
, **kwargs
):
2014 Grid_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
2016 Get the default attributes for this class. This is useful if you want
2017 to use the same font or colour in your own control as in a standard
2018 control -- which is a much better idea than hard coding specific
2019 colours or fonts which might look completely out of place on the users
2020 system, especially if it uses themes.
2022 The variant parameter is only relevant under Mac currently and is
2023 ignore under other platforms. Under Mac, it will change the size of
2024 the returned font. See SetWindowVariant for more about this.
2026 return _grid
.Grid_GetClassDefaultAttributes(*args
, **kwargs
)
2028 class GridEvent(_core
.NotifyEvent
):
2030 return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2031 def __init__(self
, *args
, **kwargs
):
2033 __init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1,
2034 int x=-1, int y=-1, bool sel=True, bool control=False,
2035 bool shift=False, bool alt=False,
2036 bool meta=False) -> GridEvent
2038 newobj
= _grid
.new_GridEvent(*args
, **kwargs
)
2039 self
.this
= newobj
.this
2042 def GetRow(*args
, **kwargs
):
2043 """GetRow(self) -> int"""
2044 return _grid
.GridEvent_GetRow(*args
, **kwargs
)
2046 def GetCol(*args
, **kwargs
):
2047 """GetCol(self) -> int"""
2048 return _grid
.GridEvent_GetCol(*args
, **kwargs
)
2050 def GetPosition(*args
, **kwargs
):
2051 """GetPosition(self) -> Point"""
2052 return _grid
.GridEvent_GetPosition(*args
, **kwargs
)
2054 def Selecting(*args
, **kwargs
):
2055 """Selecting(self) -> bool"""
2056 return _grid
.GridEvent_Selecting(*args
, **kwargs
)
2058 def ControlDown(*args
, **kwargs
):
2059 """ControlDown(self) -> bool"""
2060 return _grid
.GridEvent_ControlDown(*args
, **kwargs
)
2062 def MetaDown(*args
, **kwargs
):
2063 """MetaDown(self) -> bool"""
2064 return _grid
.GridEvent_MetaDown(*args
, **kwargs
)
2066 def ShiftDown(*args
, **kwargs
):
2067 """ShiftDown(self) -> bool"""
2068 return _grid
.GridEvent_ShiftDown(*args
, **kwargs
)
2070 def AltDown(*args
, **kwargs
):
2071 """AltDown(self) -> bool"""
2072 return _grid
.GridEvent_AltDown(*args
, **kwargs
)
2075 class GridEventPtr(GridEvent
):
2076 def __init__(self
, this
):
2078 if not hasattr(self
,"thisown"): self
.thisown
= 0
2079 self
.__class
__ = GridEvent
2080 _grid
.GridEvent_swigregister(GridEventPtr
)
2082 class GridSizeEvent(_core
.NotifyEvent
):
2084 return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2085 def __init__(self
, *args
, **kwargs
):
2087 __init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1,
2088 int x=-1, int y=-1, bool control=False, bool shift=False,
2089 bool alt=False, bool meta=False) -> GridSizeEvent
2091 newobj
= _grid
.new_GridSizeEvent(*args
, **kwargs
)
2092 self
.this
= newobj
.this
2095 def GetRowOrCol(*args
, **kwargs
):
2096 """GetRowOrCol(self) -> int"""
2097 return _grid
.GridSizeEvent_GetRowOrCol(*args
, **kwargs
)
2099 def GetPosition(*args
, **kwargs
):
2100 """GetPosition(self) -> Point"""
2101 return _grid
.GridSizeEvent_GetPosition(*args
, **kwargs
)
2103 def ControlDown(*args
, **kwargs
):
2104 """ControlDown(self) -> bool"""
2105 return _grid
.GridSizeEvent_ControlDown(*args
, **kwargs
)
2107 def MetaDown(*args
, **kwargs
):
2108 """MetaDown(self) -> bool"""
2109 return _grid
.GridSizeEvent_MetaDown(*args
, **kwargs
)
2111 def ShiftDown(*args
, **kwargs
):
2112 """ShiftDown(self) -> bool"""
2113 return _grid
.GridSizeEvent_ShiftDown(*args
, **kwargs
)
2115 def AltDown(*args
, **kwargs
):
2116 """AltDown(self) -> bool"""
2117 return _grid
.GridSizeEvent_AltDown(*args
, **kwargs
)
2120 class GridSizeEventPtr(GridSizeEvent
):
2121 def __init__(self
, this
):
2123 if not hasattr(self
,"thisown"): self
.thisown
= 0
2124 self
.__class
__ = GridSizeEvent
2125 _grid
.GridSizeEvent_swigregister(GridSizeEventPtr
)
2127 class GridRangeSelectEvent(_core
.NotifyEvent
):
2129 return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2130 def __init__(self
, *args
, **kwargs
):
2132 __init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft,
2133 GridCellCoords bottomRight, bool sel=True,
2134 bool control=False, bool shift=False,
2135 bool alt=False, bool meta=False) -> GridRangeSelectEvent
2137 newobj
= _grid
.new_GridRangeSelectEvent(*args
, **kwargs
)
2138 self
.this
= newobj
.this
2141 def GetTopLeftCoords(*args
, **kwargs
):
2142 """GetTopLeftCoords(self) -> GridCellCoords"""
2143 return _grid
.GridRangeSelectEvent_GetTopLeftCoords(*args
, **kwargs
)
2145 def GetBottomRightCoords(*args
, **kwargs
):
2146 """GetBottomRightCoords(self) -> GridCellCoords"""
2147 return _grid
.GridRangeSelectEvent_GetBottomRightCoords(*args
, **kwargs
)
2149 def GetTopRow(*args
, **kwargs
):
2150 """GetTopRow(self) -> int"""
2151 return _grid
.GridRangeSelectEvent_GetTopRow(*args
, **kwargs
)
2153 def GetBottomRow(*args
, **kwargs
):
2154 """GetBottomRow(self) -> int"""
2155 return _grid
.GridRangeSelectEvent_GetBottomRow(*args
, **kwargs
)
2157 def GetLeftCol(*args
, **kwargs
):
2158 """GetLeftCol(self) -> int"""
2159 return _grid
.GridRangeSelectEvent_GetLeftCol(*args
, **kwargs
)
2161 def GetRightCol(*args
, **kwargs
):
2162 """GetRightCol(self) -> int"""
2163 return _grid
.GridRangeSelectEvent_GetRightCol(*args
, **kwargs
)
2165 def Selecting(*args
, **kwargs
):
2166 """Selecting(self) -> bool"""
2167 return _grid
.GridRangeSelectEvent_Selecting(*args
, **kwargs
)
2169 def ControlDown(*args
, **kwargs
):
2170 """ControlDown(self) -> bool"""
2171 return _grid
.GridRangeSelectEvent_ControlDown(*args
, **kwargs
)
2173 def MetaDown(*args
, **kwargs
):
2174 """MetaDown(self) -> bool"""
2175 return _grid
.GridRangeSelectEvent_MetaDown(*args
, **kwargs
)
2177 def ShiftDown(*args
, **kwargs
):
2178 """ShiftDown(self) -> bool"""
2179 return _grid
.GridRangeSelectEvent_ShiftDown(*args
, **kwargs
)
2181 def AltDown(*args
, **kwargs
):
2182 """AltDown(self) -> bool"""
2183 return _grid
.GridRangeSelectEvent_AltDown(*args
, **kwargs
)
2186 class GridRangeSelectEventPtr(GridRangeSelectEvent
):
2187 def __init__(self
, this
):
2189 if not hasattr(self
,"thisown"): self
.thisown
= 0
2190 self
.__class
__ = GridRangeSelectEvent
2191 _grid
.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr
)
2193 class GridEditorCreatedEvent(_core
.CommandEvent
):
2195 return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
,)
2196 def __init__(self
, *args
, **kwargs
):
2198 __init__(self, int id, wxEventType type, Object obj, int row, int col,
2199 Control ctrl) -> GridEditorCreatedEvent
2201 newobj
= _grid
.new_GridEditorCreatedEvent(*args
, **kwargs
)
2202 self
.this
= newobj
.this
2205 def GetRow(*args
, **kwargs
):
2206 """GetRow(self) -> int"""
2207 return _grid
.GridEditorCreatedEvent_GetRow(*args
, **kwargs
)
2209 def GetCol(*args
, **kwargs
):
2210 """GetCol(self) -> int"""
2211 return _grid
.GridEditorCreatedEvent_GetCol(*args
, **kwargs
)
2213 def GetControl(*args
, **kwargs
):
2214 """GetControl(self) -> Control"""
2215 return _grid
.GridEditorCreatedEvent_GetControl(*args
, **kwargs
)
2217 def SetRow(*args
, **kwargs
):
2218 """SetRow(self, int row)"""
2219 return _grid
.GridEditorCreatedEvent_SetRow(*args
, **kwargs
)
2221 def SetCol(*args
, **kwargs
):
2222 """SetCol(self, int col)"""
2223 return _grid
.GridEditorCreatedEvent_SetCol(*args
, **kwargs
)
2225 def SetControl(*args
, **kwargs
):
2226 """SetControl(self, Control ctrl)"""
2227 return _grid
.GridEditorCreatedEvent_SetControl(*args
, **kwargs
)
2230 class GridEditorCreatedEventPtr(GridEditorCreatedEvent
):
2231 def __init__(self
, this
):
2233 if not hasattr(self
,"thisown"): self
.thisown
= 0
2234 self
.__class
__ = GridEditorCreatedEvent
2235 _grid
.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr
)
2237 wxEVT_GRID_CELL_LEFT_CLICK
= _grid
.wxEVT_GRID_CELL_LEFT_CLICK
2238 wxEVT_GRID_CELL_RIGHT_CLICK
= _grid
.wxEVT_GRID_CELL_RIGHT_CLICK
2239 wxEVT_GRID_CELL_LEFT_DCLICK
= _grid
.wxEVT_GRID_CELL_LEFT_DCLICK
2240 wxEVT_GRID_CELL_RIGHT_DCLICK
= _grid
.wxEVT_GRID_CELL_RIGHT_DCLICK
2241 wxEVT_GRID_LABEL_LEFT_CLICK
= _grid
.wxEVT_GRID_LABEL_LEFT_CLICK
2242 wxEVT_GRID_LABEL_RIGHT_CLICK
= _grid
.wxEVT_GRID_LABEL_RIGHT_CLICK
2243 wxEVT_GRID_LABEL_LEFT_DCLICK
= _grid
.wxEVT_GRID_LABEL_LEFT_DCLICK
2244 wxEVT_GRID_LABEL_RIGHT_DCLICK
= _grid
.wxEVT_GRID_LABEL_RIGHT_DCLICK
2245 wxEVT_GRID_ROW_SIZE
= _grid
.wxEVT_GRID_ROW_SIZE
2246 wxEVT_GRID_COL_SIZE
= _grid
.wxEVT_GRID_COL_SIZE
2247 wxEVT_GRID_RANGE_SELECT
= _grid
.wxEVT_GRID_RANGE_SELECT
2248 wxEVT_GRID_CELL_CHANGE
= _grid
.wxEVT_GRID_CELL_CHANGE
2249 wxEVT_GRID_SELECT_CELL
= _grid
.wxEVT_GRID_SELECT_CELL
2250 wxEVT_GRID_EDITOR_SHOWN
= _grid
.wxEVT_GRID_EDITOR_SHOWN
2251 wxEVT_GRID_EDITOR_HIDDEN
= _grid
.wxEVT_GRID_EDITOR_HIDDEN
2252 wxEVT_GRID_EDITOR_CREATED
= _grid
.wxEVT_GRID_EDITOR_CREATED
2253 EVT_GRID_CELL_LEFT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK
)
2254 EVT_GRID_CELL_RIGHT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK
)
2255 EVT_GRID_CELL_LEFT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK
)
2256 EVT_GRID_CELL_RIGHT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK
)
2257 EVT_GRID_LABEL_LEFT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK
)
2258 EVT_GRID_LABEL_RIGHT_CLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK
)
2259 EVT_GRID_LABEL_LEFT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK
)
2260 EVT_GRID_LABEL_RIGHT_DCLICK
= wx
.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK
)
2261 EVT_GRID_ROW_SIZE
= wx
.PyEventBinder( wxEVT_GRID_ROW_SIZE
)
2262 EVT_GRID_COL_SIZE
= wx
.PyEventBinder( wxEVT_GRID_COL_SIZE
)
2263 EVT_GRID_RANGE_SELECT
= wx
.PyEventBinder( wxEVT_GRID_RANGE_SELECT
)
2264 EVT_GRID_CELL_CHANGE
= wx
.PyEventBinder( wxEVT_GRID_CELL_CHANGE
)
2265 EVT_GRID_SELECT_CELL
= wx
.PyEventBinder( wxEVT_GRID_SELECT_CELL
)
2266 EVT_GRID_EDITOR_SHOWN
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN
)
2267 EVT_GRID_EDITOR_HIDDEN
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN
)
2268 EVT_GRID_EDITOR_CREATED
= wx
.PyEventBinder( wxEVT_GRID_EDITOR_CREATED
)