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