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