1 # This file was created automatically by SWIG. 
  12 from clip_dnd 
import * 
  14 from controls 
import * 
  19 def EVT_GRID_CELL_LEFT_CLICK(win
, fn
): 
  20     win
.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_CLICK
, fn
) 
  22 def EVT_GRID_CELL_RIGHT_CLICK(win
, fn
): 
  23     win
.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_CLICK
, fn
) 
  25 def EVT_GRID_CELL_LEFT_DCLICK(win
, fn
): 
  26     win
.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_DCLICK
, fn
) 
  28 def EVT_GRID_CELL_RIGHT_DCLICK(win
, fn
): 
  29     win
.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_DCLICK
, fn
) 
  31 def EVT_GRID_LABEL_LEFT_CLICK(win
, fn
): 
  32     win
.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_CLICK
, fn
) 
  34 def EVT_GRID_LABEL_RIGHT_CLICK(win
, fn
): 
  35     win
.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_CLICK
, fn
) 
  37 def EVT_GRID_LABEL_LEFT_DCLICK(win
, fn
): 
  38     win
.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_DCLICK
, fn
) 
  40 def EVT_GRID_LABEL_RIGHT_DCLICK(win
, fn
): 
  41     win
.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_DCLICK
, fn
) 
  43 def EVT_GRID_ROW_SIZE(win
, fn
): 
  44     win
.Connect(-1, -1, wxEVT_GRID_ROW_SIZE
, fn
) 
  46 def EVT_GRID_COL_SIZE(win
, fn
): 
  47     win
.Connect(-1, -1, wxEVT_GRID_COL_SIZE
, fn
) 
  49 def EVT_GRID_RANGE_SELECT(win
, fn
): 
  50     win
.Connect(-1, -1, wxEVT_GRID_RANGE_SELECT
, fn
) 
  52 def EVT_GRID_CELL_CHANGE(win
, fn
): 
  53     win
.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE
, fn
) 
  55 def EVT_GRID_SELECT_CELL(win
, fn
): 
  56     win
.Connect(-1, -1, wxEVT_GRID_SELECT_CELL
, fn
) 
  58 def EVT_GRID_EDITOR_SHOWN(win
, fn
): 
  59     win
.Connect(-1, -1, wxEVT_GRID_EDITOR_SHOWN
, fn
) 
  61 def EVT_GRID_EDITOR_HIDDEN(win
, fn
): 
  62     win
.Connect(-1, -1, wxEVT_GRID_EDITOR_HIDDEN
, fn
) 
  64 def EVT_GRID_EDITOR_CREATED(win
, fn
): 
  65     win
.Connect(-1, -1, wxEVT_GRID_EDITOR_CREATED
, fn
) 
  68 class wxGridCellRendererPtr 
: 
  69     def __init__(self
,this
): 
  72     def _setOORInfo(self
, *_args
, **_kwargs
): 
  73         val 
= apply(gridc
.wxGridCellRenderer__setOORInfo
,(self
,) + _args
, _kwargs
) 
  75     def SetParameters(self
, *_args
, **_kwargs
): 
  76         val 
= apply(gridc
.wxGridCellRenderer_SetParameters
,(self
,) + _args
, _kwargs
) 
  78     def IncRef(self
, *_args
, **_kwargs
): 
  79         val 
= apply(gridc
.wxGridCellRenderer_IncRef
,(self
,) + _args
, _kwargs
) 
  81     def DecRef(self
, *_args
, **_kwargs
): 
  82         val 
= apply(gridc
.wxGridCellRenderer_DecRef
,(self
,) + _args
, _kwargs
) 
  84     def Draw(self
, *_args
, **_kwargs
): 
  85         val 
= apply(gridc
.wxGridCellRenderer_Draw
,(self
,) + _args
, _kwargs
) 
  87     def GetBestSize(self
, *_args
, **_kwargs
): 
  88         val 
= apply(gridc
.wxGridCellRenderer_GetBestSize
,(self
,) + _args
, _kwargs
) 
  89         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
  91     def Clone(self
, *_args
, **_kwargs
): 
  92         val 
= apply(gridc
.wxGridCellRenderer_Clone
,(self
,) + _args
, _kwargs
) 
  95         return "<C wxGridCellRenderer instance at %s>" % (self
.this
,) 
  96 class wxGridCellRenderer(wxGridCellRendererPtr
): 
  97     def __init__(self
,this
): 
 103 class wxPyGridCellRendererPtr(wxGridCellRendererPtr
): 
 104     def __init__(self
,this
): 
 107     def _setCallbackInfo(self
, *_args
, **_kwargs
): 
 108         val 
= apply(gridc
.wxPyGridCellRenderer__setCallbackInfo
,(self
,) + _args
, _kwargs
) 
 110     def base_SetParameters(self
, *_args
, **_kwargs
): 
 111         val 
= apply(gridc
.wxPyGridCellRenderer_base_SetParameters
,(self
,) + _args
, _kwargs
) 
 114         return "<C wxPyGridCellRenderer instance at %s>" % (self
.this
,) 
 115 class wxPyGridCellRenderer(wxPyGridCellRendererPtr
): 
 116     def __init__(self
,*_args
,**_kwargs
): 
 117         self
.this 
= apply(gridc
.new_wxPyGridCellRenderer
,_args
,_kwargs
) 
 119         self
._setCallbackInfo
(self
, wxPyGridCellRenderer
) 
 120         self
._setOORInfo
(self
) 
 125 class wxGridCellStringRendererPtr(wxGridCellRendererPtr
): 
 126     def __init__(self
,this
): 
 130         return "<C wxGridCellStringRenderer instance at %s>" % (self
.this
,) 
 131 class wxGridCellStringRenderer(wxGridCellStringRendererPtr
): 
 132     def __init__(self
,*_args
,**_kwargs
): 
 133         self
.this 
= apply(gridc
.new_wxGridCellStringRenderer
,_args
,_kwargs
) 
 135         self
._setOORInfo
(self
) 
 140 class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr
): 
 141     def __init__(self
,this
): 
 145         return "<C wxGridCellNumberRenderer instance at %s>" % (self
.this
,) 
 146 class wxGridCellNumberRenderer(wxGridCellNumberRendererPtr
): 
 147     def __init__(self
,*_args
,**_kwargs
): 
 148         self
.this 
= apply(gridc
.new_wxGridCellNumberRenderer
,_args
,_kwargs
) 
 150         self
._setOORInfo
(self
) 
 155 class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr
): 
 156     def __init__(self
,this
): 
 159     def GetWidth(self
, *_args
, **_kwargs
): 
 160         val 
= apply(gridc
.wxGridCellFloatRenderer_GetWidth
,(self
,) + _args
, _kwargs
) 
 162     def SetWidth(self
, *_args
, **_kwargs
): 
 163         val 
= apply(gridc
.wxGridCellFloatRenderer_SetWidth
,(self
,) + _args
, _kwargs
) 
 165     def GetPrecision(self
, *_args
, **_kwargs
): 
 166         val 
= apply(gridc
.wxGridCellFloatRenderer_GetPrecision
,(self
,) + _args
, _kwargs
) 
 168     def SetPrecision(self
, *_args
, **_kwargs
): 
 169         val 
= apply(gridc
.wxGridCellFloatRenderer_SetPrecision
,(self
,) + _args
, _kwargs
) 
 172         return "<C wxGridCellFloatRenderer instance at %s>" % (self
.this
,) 
 173 class wxGridCellFloatRenderer(wxGridCellFloatRendererPtr
): 
 174     def __init__(self
,*_args
,**_kwargs
): 
 175         self
.this 
= apply(gridc
.new_wxGridCellFloatRenderer
,_args
,_kwargs
) 
 177         self
._setOORInfo
(self
) 
 182 class wxGridCellBoolRendererPtr(wxGridCellRendererPtr
): 
 183     def __init__(self
,this
): 
 187         return "<C wxGridCellBoolRenderer instance at %s>" % (self
.this
,) 
 188 class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr
): 
 189     def __init__(self
,*_args
,**_kwargs
): 
 190         self
.this 
= apply(gridc
.new_wxGridCellBoolRenderer
,_args
,_kwargs
) 
 192         self
._setOORInfo
(self
) 
 197 class wxGridCellDateTimeRendererPtr(wxGridCellStringRendererPtr
): 
 198     def __init__(self
,this
): 
 202         return "<C wxGridCellDateTimeRenderer instance at %s>" % (self
.this
,) 
 203 class wxGridCellDateTimeRenderer(wxGridCellDateTimeRendererPtr
): 
 204     def __init__(self
,*_args
,**_kwargs
): 
 205         self
.this 
= apply(gridc
.new_wxGridCellDateTimeRenderer
,_args
,_kwargs
) 
 207         self
._setOORInfo
(self
) 
 212 class wxGridCellEnumRendererPtr(wxGridCellStringRendererPtr
): 
 213     def __init__(self
,this
): 
 217         return "<C wxGridCellEnumRenderer instance at %s>" % (self
.this
,) 
 218 class wxGridCellEnumRenderer(wxGridCellEnumRendererPtr
): 
 219     def __init__(self
,*_args
,**_kwargs
): 
 220         self
.this 
= apply(gridc
.new_wxGridCellEnumRenderer
,_args
,_kwargs
) 
 222         self
._setOORInfo
(self
) 
 227 class wxGridCellAutoWrapStringRendererPtr(wxGridCellStringRendererPtr
): 
 228     def __init__(self
,this
): 
 232         return "<C wxGridCellAutoWrapStringRenderer instance at %s>" % (self
.this
,) 
 233 class wxGridCellAutoWrapStringRenderer(wxGridCellAutoWrapStringRendererPtr
): 
 234     def __init__(self
,*_args
,**_kwargs
): 
 235         self
.this 
= apply(gridc
.new_wxGridCellAutoWrapStringRenderer
,_args
,_kwargs
) 
 237         self
._setOORInfo
(self
) 
 242 class wxGridCellEditorPtr 
: 
 243     def __init__(self
,this
): 
 246     def _setOORInfo(self
, *_args
, **_kwargs
): 
 247         val 
= apply(gridc
.wxGridCellEditor__setOORInfo
,(self
,) + _args
, _kwargs
) 
 249     def IsCreated(self
, *_args
, **_kwargs
): 
 250         val 
= apply(gridc
.wxGridCellEditor_IsCreated
,(self
,) + _args
, _kwargs
) 
 252     def GetControl(self
, *_args
, **_kwargs
): 
 253         val 
= apply(gridc
.wxGridCellEditor_GetControl
,(self
,) + _args
, _kwargs
) 
 255     def SetControl(self
, *_args
, **_kwargs
): 
 256         val 
= apply(gridc
.wxGridCellEditor_SetControl
,(self
,) + _args
, _kwargs
) 
 258     def SetParameters(self
, *_args
, **_kwargs
): 
 259         val 
= apply(gridc
.wxGridCellEditor_SetParameters
,(self
,) + _args
, _kwargs
) 
 261     def IncRef(self
, *_args
, **_kwargs
): 
 262         val 
= apply(gridc
.wxGridCellEditor_IncRef
,(self
,) + _args
, _kwargs
) 
 264     def DecRef(self
, *_args
, **_kwargs
): 
 265         val 
= apply(gridc
.wxGridCellEditor_DecRef
,(self
,) + _args
, _kwargs
) 
 267     def Create(self
, *_args
, **_kwargs
): 
 268         val 
= apply(gridc
.wxGridCellEditor_Create
,(self
,) + _args
, _kwargs
) 
 270     def BeginEdit(self
, *_args
, **_kwargs
): 
 271         val 
= apply(gridc
.wxGridCellEditor_BeginEdit
,(self
,) + _args
, _kwargs
) 
 273     def EndEdit(self
, *_args
, **_kwargs
): 
 274         val 
= apply(gridc
.wxGridCellEditor_EndEdit
,(self
,) + _args
, _kwargs
) 
 276     def Reset(self
, *_args
, **_kwargs
): 
 277         val 
= apply(gridc
.wxGridCellEditor_Reset
,(self
,) + _args
, _kwargs
) 
 279     def Clone(self
, *_args
, **_kwargs
): 
 280         val 
= apply(gridc
.wxGridCellEditor_Clone
,(self
,) + _args
, _kwargs
) 
 282     def SetSize(self
, *_args
, **_kwargs
): 
 283         val 
= apply(gridc
.wxGridCellEditor_SetSize
,(self
,) + _args
, _kwargs
) 
 285     def Show(self
, *_args
, **_kwargs
): 
 286         val 
= apply(gridc
.wxGridCellEditor_Show
,(self
,) + _args
, _kwargs
) 
 288     def PaintBackground(self
, *_args
, **_kwargs
): 
 289         val 
= apply(gridc
.wxGridCellEditor_PaintBackground
,(self
,) + _args
, _kwargs
) 
 291     def IsAcceptedKey(self
, *_args
, **_kwargs
): 
 292         val 
= apply(gridc
.wxGridCellEditor_IsAcceptedKey
,(self
,) + _args
, _kwargs
) 
 294     def StartingKey(self
, *_args
, **_kwargs
): 
 295         val 
= apply(gridc
.wxGridCellEditor_StartingKey
,(self
,) + _args
, _kwargs
) 
 297     def StartingClick(self
, *_args
, **_kwargs
): 
 298         val 
= apply(gridc
.wxGridCellEditor_StartingClick
,(self
,) + _args
, _kwargs
) 
 300     def HandleReturn(self
, *_args
, **_kwargs
): 
 301         val 
= apply(gridc
.wxGridCellEditor_HandleReturn
,(self
,) + _args
, _kwargs
) 
 303     def Destroy(self
, *_args
, **_kwargs
): 
 304         val 
= apply(gridc
.wxGridCellEditor_Destroy
,(self
,) + _args
, _kwargs
) 
 307         return "<C wxGridCellEditor instance at %s>" % (self
.this
,) 
 308 class wxGridCellEditor(wxGridCellEditorPtr
): 
 309     def __init__(self
,this
): 
 315 class wxPyGridCellEditorPtr(wxGridCellEditorPtr
): 
 316     def __init__(self
,this
): 
 319     def _setCallbackInfo(self
, *_args
, **_kwargs
): 
 320         val 
= apply(gridc
.wxPyGridCellEditor__setCallbackInfo
,(self
,) + _args
, _kwargs
) 
 322     def base_SetSize(self
, *_args
, **_kwargs
): 
 323         val 
= apply(gridc
.wxPyGridCellEditor_base_SetSize
,(self
,) + _args
, _kwargs
) 
 325     def base_Show(self
, *_args
, **_kwargs
): 
 326         val 
= apply(gridc
.wxPyGridCellEditor_base_Show
,(self
,) + _args
, _kwargs
) 
 328     def base_PaintBackground(self
, *_args
, **_kwargs
): 
 329         val 
= apply(gridc
.wxPyGridCellEditor_base_PaintBackground
,(self
,) + _args
, _kwargs
) 
 331     def base_IsAcceptedKey(self
, *_args
, **_kwargs
): 
 332         val 
= apply(gridc
.wxPyGridCellEditor_base_IsAcceptedKey
,(self
,) + _args
, _kwargs
) 
 334     def base_StartingKey(self
, *_args
, **_kwargs
): 
 335         val 
= apply(gridc
.wxPyGridCellEditor_base_StartingKey
,(self
,) + _args
, _kwargs
) 
 337     def base_StartingClick(self
, *_args
, **_kwargs
): 
 338         val 
= apply(gridc
.wxPyGridCellEditor_base_StartingClick
,(self
,) + _args
, _kwargs
) 
 340     def base_HandleReturn(self
, *_args
, **_kwargs
): 
 341         val 
= apply(gridc
.wxPyGridCellEditor_base_HandleReturn
,(self
,) + _args
, _kwargs
) 
 343     def base_Destroy(self
, *_args
, **_kwargs
): 
 344         val 
= apply(gridc
.wxPyGridCellEditor_base_Destroy
,(self
,) + _args
, _kwargs
) 
 346     def base_SetParameters(self
, *_args
, **_kwargs
): 
 347         val 
= apply(gridc
.wxPyGridCellEditor_base_SetParameters
,(self
,) + _args
, _kwargs
) 
 350         return "<C wxPyGridCellEditor instance at %s>" % (self
.this
,) 
 351 class wxPyGridCellEditor(wxPyGridCellEditorPtr
): 
 352     def __init__(self
,*_args
,**_kwargs
): 
 353         self
.this 
= apply(gridc
.new_wxPyGridCellEditor
,_args
,_kwargs
) 
 355         self
._setCallbackInfo
(self
, wxPyGridCellEditor
) 
 356         self
._setOORInfo
(self
) 
 361 class wxGridCellTextEditorPtr(wxGridCellEditorPtr
): 
 362     def __init__(self
,this
): 
 366         return "<C wxGridCellTextEditor instance at %s>" % (self
.this
,) 
 367 class wxGridCellTextEditor(wxGridCellTextEditorPtr
): 
 368     def __init__(self
,*_args
,**_kwargs
): 
 369         self
.this 
= apply(gridc
.new_wxGridCellTextEditor
,_args
,_kwargs
) 
 371         self
._setOORInfo
(self
) 
 376 class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr
): 
 377     def __init__(self
,this
): 
 381         return "<C wxGridCellNumberEditor instance at %s>" % (self
.this
,) 
 382 class wxGridCellNumberEditor(wxGridCellNumberEditorPtr
): 
 383     def __init__(self
,*_args
,**_kwargs
): 
 384         self
.this 
= apply(gridc
.new_wxGridCellNumberEditor
,_args
,_kwargs
) 
 386         self
._setOORInfo
(self
) 
 391 class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr
): 
 392     def __init__(self
,this
): 
 396         return "<C wxGridCellFloatEditor instance at %s>" % (self
.this
,) 
 397 class wxGridCellFloatEditor(wxGridCellFloatEditorPtr
): 
 398     def __init__(self
,*_args
,**_kwargs
): 
 399         self
.this 
= apply(gridc
.new_wxGridCellFloatEditor
,_args
,_kwargs
) 
 401         self
._setOORInfo
(self
) 
 406 class wxGridCellBoolEditorPtr(wxGridCellEditorPtr
): 
 407     def __init__(self
,this
): 
 411         return "<C wxGridCellBoolEditor instance at %s>" % (self
.this
,) 
 412 class wxGridCellBoolEditor(wxGridCellBoolEditorPtr
): 
 413     def __init__(self
,*_args
,**_kwargs
): 
 414         self
.this 
= apply(gridc
.new_wxGridCellBoolEditor
,_args
,_kwargs
) 
 416         self
._setOORInfo
(self
) 
 421 class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr
): 
 422     def __init__(self
,this
): 
 426         return "<C wxGridCellChoiceEditor instance at %s>" % (self
.this
,) 
 427 class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr
): 
 428     def __init__(self
,*_args
,**_kwargs
): 
 429         self
.this 
= apply(gridc
.new_wxGridCellChoiceEditor
,_args
,_kwargs
) 
 431         self
._setOORInfo
(self
) 
 436 class wxGridCellEnumEditorPtr(wxGridCellChoiceEditorPtr
): 
 437     def __init__(self
,this
): 
 441         return "<C wxGridCellEnumEditor instance at %s>" % (self
.this
,) 
 442 class wxGridCellEnumEditor(wxGridCellEnumEditorPtr
): 
 443     def __init__(self
,*_args
,**_kwargs
): 
 444         self
.this 
= apply(gridc
.new_wxGridCellEnumEditor
,_args
,_kwargs
) 
 446         self
._setOORInfo
(self
) 
 451 class wxGridCellAutoWrapStringEditorPtr(wxGridCellTextEditorPtr
): 
 452     def __init__(self
,this
): 
 456         return "<C wxGridCellAutoWrapStringEditor instance at %s>" % (self
.this
,) 
 457 class wxGridCellAutoWrapStringEditor(wxGridCellAutoWrapStringEditorPtr
): 
 458     def __init__(self
,*_args
,**_kwargs
): 
 459         self
.this 
= apply(gridc
.new_wxGridCellAutoWrapStringEditor
,_args
,_kwargs
) 
 461         self
._setOORInfo
(self
) 
 466 class wxGridCellAttrPtr 
: 
 467     Any 
= gridc
.wxGridCellAttr_Any
 
 468     Default 
= gridc
.wxGridCellAttr_Default
 
 469     Cell 
= gridc
.wxGridCellAttr_Cell
 
 470     Row 
= gridc
.wxGridCellAttr_Row
 
 471     Col 
= gridc
.wxGridCellAttr_Col
 
 472     Merged 
= gridc
.wxGridCellAttr_Merged
 
 473     def __init__(self
,this
): 
 476     def _setOORInfo(self
, *_args
, **_kwargs
): 
 477         val 
= apply(gridc
.wxGridCellAttr__setOORInfo
,(self
,) + _args
, _kwargs
) 
 479     def Clone(self
, *_args
, **_kwargs
): 
 480         val 
= apply(gridc
.wxGridCellAttr_Clone
,(self
,) + _args
, _kwargs
) 
 482     def MergeWith(self
, *_args
, **_kwargs
): 
 483         val 
= apply(gridc
.wxGridCellAttr_MergeWith
,(self
,) + _args
, _kwargs
) 
 485     def IncRef(self
, *_args
, **_kwargs
): 
 486         val 
= apply(gridc
.wxGridCellAttr_IncRef
,(self
,) + _args
, _kwargs
) 
 488     def DecRef(self
, *_args
, **_kwargs
): 
 489         val 
= apply(gridc
.wxGridCellAttr_DecRef
,(self
,) + _args
, _kwargs
) 
 491     def SetTextColour(self
, *_args
, **_kwargs
): 
 492         val 
= apply(gridc
.wxGridCellAttr_SetTextColour
,(self
,) + _args
, _kwargs
) 
 494     def SetBackgroundColour(self
, *_args
, **_kwargs
): 
 495         val 
= apply(gridc
.wxGridCellAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 497     def SetFont(self
, *_args
, **_kwargs
): 
 498         val 
= apply(gridc
.wxGridCellAttr_SetFont
,(self
,) + _args
, _kwargs
) 
 500     def SetAlignment(self
, *_args
, **_kwargs
): 
 501         val 
= apply(gridc
.wxGridCellAttr_SetAlignment
,(self
,) + _args
, _kwargs
) 
 503     def SetReadOnly(self
, *_args
, **_kwargs
): 
 504         val 
= apply(gridc
.wxGridCellAttr_SetReadOnly
,(self
,) + _args
, _kwargs
) 
 506     def SetRenderer(self
, *_args
, **_kwargs
): 
 507         val 
= apply(gridc
.wxGridCellAttr_SetRenderer
,(self
,) + _args
, _kwargs
) 
 509     def SetEditor(self
, *_args
, **_kwargs
): 
 510         val 
= apply(gridc
.wxGridCellAttr_SetEditor
,(self
,) + _args
, _kwargs
) 
 512     def SetKind(self
, *_args
, **_kwargs
): 
 513         val 
= apply(gridc
.wxGridCellAttr_SetKind
,(self
,) + _args
, _kwargs
) 
 515     def HasTextColour(self
, *_args
, **_kwargs
): 
 516         val 
= apply(gridc
.wxGridCellAttr_HasTextColour
,(self
,) + _args
, _kwargs
) 
 518     def HasBackgroundColour(self
, *_args
, **_kwargs
): 
 519         val 
= apply(gridc
.wxGridCellAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
) 
 521     def HasFont(self
, *_args
, **_kwargs
): 
 522         val 
= apply(gridc
.wxGridCellAttr_HasFont
,(self
,) + _args
, _kwargs
) 
 524     def HasAlignment(self
, *_args
, **_kwargs
): 
 525         val 
= apply(gridc
.wxGridCellAttr_HasAlignment
,(self
,) + _args
, _kwargs
) 
 527     def HasRenderer(self
, *_args
, **_kwargs
): 
 528         val 
= apply(gridc
.wxGridCellAttr_HasRenderer
,(self
,) + _args
, _kwargs
) 
 530     def HasEditor(self
, *_args
, **_kwargs
): 
 531         val 
= apply(gridc
.wxGridCellAttr_HasEditor
,(self
,) + _args
, _kwargs
) 
 533     def HasReadWriteMode(self
, *_args
, **_kwargs
): 
 534         val 
= apply(gridc
.wxGridCellAttr_HasReadWriteMode
,(self
,) + _args
, _kwargs
) 
 536     def GetTextColour(self
, *_args
, **_kwargs
): 
 537         val 
= apply(gridc
.wxGridCellAttr_GetTextColour
,(self
,) + _args
, _kwargs
) 
 538         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 540     def GetBackgroundColour(self
, *_args
, **_kwargs
): 
 541         val 
= apply(gridc
.wxGridCellAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 542         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
 544     def GetFont(self
, *_args
, **_kwargs
): 
 545         val 
= apply(gridc
.wxGridCellAttr_GetFont
,(self
,) + _args
, _kwargs
) 
 546         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
 548     def GetAlignment(self
, *_args
, **_kwargs
): 
 549         val 
= apply(gridc
.wxGridCellAttr_GetAlignment
,(self
,) + _args
, _kwargs
) 
 551     def GetRenderer(self
, *_args
, **_kwargs
): 
 552         val 
= apply(gridc
.wxGridCellAttr_GetRenderer
,(self
,) + _args
, _kwargs
) 
 554     def GetEditor(self
, *_args
, **_kwargs
): 
 555         val 
= apply(gridc
.wxGridCellAttr_GetEditor
,(self
,) + _args
, _kwargs
) 
 557     def IsReadOnly(self
, *_args
, **_kwargs
): 
 558         val 
= apply(gridc
.wxGridCellAttr_IsReadOnly
,(self
,) + _args
, _kwargs
) 
 560     def SetDefAttr(self
, *_args
, **_kwargs
): 
 561         val 
= apply(gridc
.wxGridCellAttr_SetDefAttr
,(self
,) + _args
, _kwargs
) 
 564         return "<C wxGridCellAttr instance at %s>" % (self
.this
,) 
 565 class wxGridCellAttr(wxGridCellAttrPtr
): 
 566     def __init__(self
,*_args
,**_kwargs
): 
 567         self
.this 
= apply(gridc
.new_wxGridCellAttr
,_args
,_kwargs
) 
 569         self
._setOORInfo
(self
) 
 574 class wxGridCellAttrProviderPtr 
: 
 575     def __init__(self
,this
): 
 578     def _setOORInfo(self
, *_args
, **_kwargs
): 
 579         val 
= apply(gridc
.wxGridCellAttrProvider__setOORInfo
,(self
,) + _args
, _kwargs
) 
 581     def GetAttr(self
, *_args
, **_kwargs
): 
 582         val 
= apply(gridc
.wxGridCellAttrProvider_GetAttr
,(self
,) + _args
, _kwargs
) 
 584     def SetAttr(self
, *_args
, **_kwargs
): 
 585         val 
= apply(gridc
.wxGridCellAttrProvider_SetAttr
,(self
,) + _args
, _kwargs
) 
 587     def SetRowAttr(self
, *_args
, **_kwargs
): 
 588         val 
= apply(gridc
.wxGridCellAttrProvider_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 590     def SetColAttr(self
, *_args
, **_kwargs
): 
 591         val 
= apply(gridc
.wxGridCellAttrProvider_SetColAttr
,(self
,) + _args
, _kwargs
) 
 593     def UpdateAttrRows(self
, *_args
, **_kwargs
): 
 594         val 
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrRows
,(self
,) + _args
, _kwargs
) 
 596     def UpdateAttrCols(self
, *_args
, **_kwargs
): 
 597         val 
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrCols
,(self
,) + _args
, _kwargs
) 
 600         return "<C wxGridCellAttrProvider instance at %s>" % (self
.this
,) 
 601 class wxGridCellAttrProvider(wxGridCellAttrProviderPtr
): 
 602     def __init__(self
,*_args
,**_kwargs
): 
 603         self
.this 
= apply(gridc
.new_wxGridCellAttrProvider
,_args
,_kwargs
) 
 605         self
._setOORInfo
(self
) 
 610 class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr
): 
 611     def __init__(self
,this
): 
 614     def _setCallbackInfo(self
, *_args
, **_kwargs
): 
 615         val 
= apply(gridc
.wxPyGridCellAttrProvider__setCallbackInfo
,(self
,) + _args
, _kwargs
) 
 617     def base_GetAttr(self
, *_args
, **_kwargs
): 
 618         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_GetAttr
,(self
,) + _args
, _kwargs
) 
 620     def base_SetAttr(self
, *_args
, **_kwargs
): 
 621         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_SetAttr
,(self
,) + _args
, _kwargs
) 
 623     def base_SetRowAttr(self
, *_args
, **_kwargs
): 
 624         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 626     def base_SetColAttr(self
, *_args
, **_kwargs
): 
 627         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_SetColAttr
,(self
,) + _args
, _kwargs
) 
 630         return "<C wxPyGridCellAttrProvider instance at %s>" % (self
.this
,) 
 631 class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr
): 
 632     def __init__(self
,*_args
,**_kwargs
): 
 633         self
.this 
= apply(gridc
.new_wxPyGridCellAttrProvider
,_args
,_kwargs
) 
 635         self
._setCallbackInfo
(self
, wxPyGridCellAttrProvider
) 
 640 class wxGridTableBasePtr(wxObjectPtr
): 
 641     def __init__(self
,this
): 
 644     def _setOORInfo(self
, *_args
, **_kwargs
): 
 645         val 
= apply(gridc
.wxGridTableBase__setOORInfo
,(self
,) + _args
, _kwargs
) 
 647     def SetAttrProvider(self
, *_args
, **_kwargs
): 
 648         val 
= apply(gridc
.wxGridTableBase_SetAttrProvider
,(self
,) + _args
, _kwargs
) 
 650     def GetAttrProvider(self
, *_args
, **_kwargs
): 
 651         val 
= apply(gridc
.wxGridTableBase_GetAttrProvider
,(self
,) + _args
, _kwargs
) 
 653     def SetView(self
, *_args
, **_kwargs
): 
 654         val 
= apply(gridc
.wxGridTableBase_SetView
,(self
,) + _args
, _kwargs
) 
 656     def GetView(self
, *_args
, **_kwargs
): 
 657         val 
= apply(gridc
.wxGridTableBase_GetView
,(self
,) + _args
, _kwargs
) 
 659     def GetNumberRows(self
, *_args
, **_kwargs
): 
 660         val 
= apply(gridc
.wxGridTableBase_GetNumberRows
,(self
,) + _args
, _kwargs
) 
 662     def GetNumberCols(self
, *_args
, **_kwargs
): 
 663         val 
= apply(gridc
.wxGridTableBase_GetNumberCols
,(self
,) + _args
, _kwargs
) 
 665     def IsEmptyCell(self
, *_args
, **_kwargs
): 
 666         val 
= apply(gridc
.wxGridTableBase_IsEmptyCell
,(self
,) + _args
, _kwargs
) 
 668     def GetValue(self
, *_args
, **_kwargs
): 
 669         val 
= apply(gridc
.wxGridTableBase_GetValue
,(self
,) + _args
, _kwargs
) 
 671     def SetValue(self
, *_args
, **_kwargs
): 
 672         val 
= apply(gridc
.wxGridTableBase_SetValue
,(self
,) + _args
, _kwargs
) 
 674     def GetTypeName(self
, *_args
, **_kwargs
): 
 675         val 
= apply(gridc
.wxGridTableBase_GetTypeName
,(self
,) + _args
, _kwargs
) 
 677     def CanGetValueAs(self
, *_args
, **_kwargs
): 
 678         val 
= apply(gridc
.wxGridTableBase_CanGetValueAs
,(self
,) + _args
, _kwargs
) 
 680     def CanSetValueAs(self
, *_args
, **_kwargs
): 
 681         val 
= apply(gridc
.wxGridTableBase_CanSetValueAs
,(self
,) + _args
, _kwargs
) 
 683     def GetValueAsLong(self
, *_args
, **_kwargs
): 
 684         val 
= apply(gridc
.wxGridTableBase_GetValueAsLong
,(self
,) + _args
, _kwargs
) 
 686     def GetValueAsDouble(self
, *_args
, **_kwargs
): 
 687         val 
= apply(gridc
.wxGridTableBase_GetValueAsDouble
,(self
,) + _args
, _kwargs
) 
 689     def GetValueAsBool(self
, *_args
, **_kwargs
): 
 690         val 
= apply(gridc
.wxGridTableBase_GetValueAsBool
,(self
,) + _args
, _kwargs
) 
 692     def SetValueAsLong(self
, *_args
, **_kwargs
): 
 693         val 
= apply(gridc
.wxGridTableBase_SetValueAsLong
,(self
,) + _args
, _kwargs
) 
 695     def SetValueAsDouble(self
, *_args
, **_kwargs
): 
 696         val 
= apply(gridc
.wxGridTableBase_SetValueAsDouble
,(self
,) + _args
, _kwargs
) 
 698     def SetValueAsBool(self
, *_args
, **_kwargs
): 
 699         val 
= apply(gridc
.wxGridTableBase_SetValueAsBool
,(self
,) + _args
, _kwargs
) 
 701     def Clear(self
, *_args
, **_kwargs
): 
 702         val 
= apply(gridc
.wxGridTableBase_Clear
,(self
,) + _args
, _kwargs
) 
 704     def InsertRows(self
, *_args
, **_kwargs
): 
 705         val 
= apply(gridc
.wxGridTableBase_InsertRows
,(self
,) + _args
, _kwargs
) 
 707     def AppendRows(self
, *_args
, **_kwargs
): 
 708         val 
= apply(gridc
.wxGridTableBase_AppendRows
,(self
,) + _args
, _kwargs
) 
 710     def DeleteRows(self
, *_args
, **_kwargs
): 
 711         val 
= apply(gridc
.wxGridTableBase_DeleteRows
,(self
,) + _args
, _kwargs
) 
 713     def InsertCols(self
, *_args
, **_kwargs
): 
 714         val 
= apply(gridc
.wxGridTableBase_InsertCols
,(self
,) + _args
, _kwargs
) 
 716     def AppendCols(self
, *_args
, **_kwargs
): 
 717         val 
= apply(gridc
.wxGridTableBase_AppendCols
,(self
,) + _args
, _kwargs
) 
 719     def DeleteCols(self
, *_args
, **_kwargs
): 
 720         val 
= apply(gridc
.wxGridTableBase_DeleteCols
,(self
,) + _args
, _kwargs
) 
 722     def GetRowLabelValue(self
, *_args
, **_kwargs
): 
 723         val 
= apply(gridc
.wxGridTableBase_GetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 725     def GetColLabelValue(self
, *_args
, **_kwargs
): 
 726         val 
= apply(gridc
.wxGridTableBase_GetColLabelValue
,(self
,) + _args
, _kwargs
) 
 728     def SetRowLabelValue(self
, *_args
, **_kwargs
): 
 729         val 
= apply(gridc
.wxGridTableBase_SetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 731     def SetColLabelValue(self
, *_args
, **_kwargs
): 
 732         val 
= apply(gridc
.wxGridTableBase_SetColLabelValue
,(self
,) + _args
, _kwargs
) 
 734     def CanHaveAttributes(self
, *_args
, **_kwargs
): 
 735         val 
= apply(gridc
.wxGridTableBase_CanHaveAttributes
,(self
,) + _args
, _kwargs
) 
 737     def GetAttr(self
, *_args
, **_kwargs
): 
 738         val 
= apply(gridc
.wxGridTableBase_GetAttr
,(self
,) + _args
, _kwargs
) 
 740     def SetAttr(self
, *_args
, **_kwargs
): 
 741         val 
= apply(gridc
.wxGridTableBase_SetAttr
,(self
,) + _args
, _kwargs
) 
 743     def SetRowAttr(self
, *_args
, **_kwargs
): 
 744         val 
= apply(gridc
.wxGridTableBase_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 746     def SetColAttr(self
, *_args
, **_kwargs
): 
 747         val 
= apply(gridc
.wxGridTableBase_SetColAttr
,(self
,) + _args
, _kwargs
) 
 750         return "<C wxGridTableBase instance at %s>" % (self
.this
,) 
 751 class wxGridTableBase(wxGridTableBasePtr
): 
 752     def __init__(self
,this
): 
 758 class wxPyGridTableBasePtr(wxGridTableBasePtr
): 
 759     def __init__(self
,this
): 
 762     def _setCallbackInfo(self
, *_args
, **_kwargs
): 
 763         val 
= apply(gridc
.wxPyGridTableBase__setCallbackInfo
,(self
,) + _args
, _kwargs
) 
 765     def Destroy(self
, *_args
, **_kwargs
): 
 766         val 
= apply(gridc
.wxPyGridTableBase_Destroy
,(self
,) + _args
, _kwargs
) 
 768     def base_GetTypeName(self
, *_args
, **_kwargs
): 
 769         val 
= apply(gridc
.wxPyGridTableBase_base_GetTypeName
,(self
,) + _args
, _kwargs
) 
 771     def base_CanGetValueAs(self
, *_args
, **_kwargs
): 
 772         val 
= apply(gridc
.wxPyGridTableBase_base_CanGetValueAs
,(self
,) + _args
, _kwargs
) 
 774     def base_CanSetValueAs(self
, *_args
, **_kwargs
): 
 775         val 
= apply(gridc
.wxPyGridTableBase_base_CanSetValueAs
,(self
,) + _args
, _kwargs
) 
 777     def base_Clear(self
, *_args
, **_kwargs
): 
 778         val 
= apply(gridc
.wxPyGridTableBase_base_Clear
,(self
,) + _args
, _kwargs
) 
 780     def base_InsertRows(self
, *_args
, **_kwargs
): 
 781         val 
= apply(gridc
.wxPyGridTableBase_base_InsertRows
,(self
,) + _args
, _kwargs
) 
 783     def base_AppendRows(self
, *_args
, **_kwargs
): 
 784         val 
= apply(gridc
.wxPyGridTableBase_base_AppendRows
,(self
,) + _args
, _kwargs
) 
 786     def base_DeleteRows(self
, *_args
, **_kwargs
): 
 787         val 
= apply(gridc
.wxPyGridTableBase_base_DeleteRows
,(self
,) + _args
, _kwargs
) 
 789     def base_InsertCols(self
, *_args
, **_kwargs
): 
 790         val 
= apply(gridc
.wxPyGridTableBase_base_InsertCols
,(self
,) + _args
, _kwargs
) 
 792     def base_AppendCols(self
, *_args
, **_kwargs
): 
 793         val 
= apply(gridc
.wxPyGridTableBase_base_AppendCols
,(self
,) + _args
, _kwargs
) 
 795     def base_DeleteCols(self
, *_args
, **_kwargs
): 
 796         val 
= apply(gridc
.wxPyGridTableBase_base_DeleteCols
,(self
,) + _args
, _kwargs
) 
 798     def base_GetRowLabelValue(self
, *_args
, **_kwargs
): 
 799         val 
= apply(gridc
.wxPyGridTableBase_base_GetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 801     def base_GetColLabelValue(self
, *_args
, **_kwargs
): 
 802         val 
= apply(gridc
.wxPyGridTableBase_base_GetColLabelValue
,(self
,) + _args
, _kwargs
) 
 804     def base_SetRowLabelValue(self
, *_args
, **_kwargs
): 
 805         val 
= apply(gridc
.wxPyGridTableBase_base_SetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 807     def base_SetColLabelValue(self
, *_args
, **_kwargs
): 
 808         val 
= apply(gridc
.wxPyGridTableBase_base_SetColLabelValue
,(self
,) + _args
, _kwargs
) 
 810     def base_CanHaveAttributes(self
, *_args
, **_kwargs
): 
 811         val 
= apply(gridc
.wxPyGridTableBase_base_CanHaveAttributes
,(self
,) + _args
, _kwargs
) 
 813     def base_GetAttr(self
, *_args
, **_kwargs
): 
 814         val 
= apply(gridc
.wxPyGridTableBase_base_GetAttr
,(self
,) + _args
, _kwargs
) 
 816     def base_SetAttr(self
, *_args
, **_kwargs
): 
 817         val 
= apply(gridc
.wxPyGridTableBase_base_SetAttr
,(self
,) + _args
, _kwargs
) 
 819     def base_SetRowAttr(self
, *_args
, **_kwargs
): 
 820         val 
= apply(gridc
.wxPyGridTableBase_base_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 822     def base_SetColAttr(self
, *_args
, **_kwargs
): 
 823         val 
= apply(gridc
.wxPyGridTableBase_base_SetColAttr
,(self
,) + _args
, _kwargs
) 
 826         return "<C wxPyGridTableBase instance at %s>" % (self
.this
,) 
 827 class wxPyGridTableBase(wxPyGridTableBasePtr
): 
 828     def __init__(self
,*_args
,**_kwargs
): 
 829         self
.this 
= apply(gridc
.new_wxPyGridTableBase
,_args
,_kwargs
) 
 831         self
._setCallbackInfo
(self
, wxPyGridTableBase
) 
 832         self
._setOORInfo
(self
) 
 837 class wxGridStringTablePtr(wxGridTableBasePtr
): 
 838     def __init__(self
,this
): 
 842         return "<C wxGridStringTable instance at %s>" % (self
.this
,) 
 843 class wxGridStringTable(wxGridStringTablePtr
): 
 844     def __init__(self
,*_args
,**_kwargs
): 
 845         self
.this 
= apply(gridc
.new_wxGridStringTable
,_args
,_kwargs
) 
 847         self
._setOORInfo
(self
) 
 852 class wxGridTableMessagePtr 
: 
 853     def __init__(self
,this
): 
 856     def __del__(self
,gridc
=gridc
): 
 857         if self
.thisown 
== 1 : 
 858             gridc
.delete_wxGridTableMessage(self
) 
 859     def SetTableObject(self
, *_args
, **_kwargs
): 
 860         val 
= apply(gridc
.wxGridTableMessage_SetTableObject
,(self
,) + _args
, _kwargs
) 
 862     def GetTableObject(self
, *_args
, **_kwargs
): 
 863         val 
= apply(gridc
.wxGridTableMessage_GetTableObject
,(self
,) + _args
, _kwargs
) 
 865     def SetId(self
, *_args
, **_kwargs
): 
 866         val 
= apply(gridc
.wxGridTableMessage_SetId
,(self
,) + _args
, _kwargs
) 
 868     def GetId(self
, *_args
, **_kwargs
): 
 869         val 
= apply(gridc
.wxGridTableMessage_GetId
,(self
,) + _args
, _kwargs
) 
 871     def SetCommandInt(self
, *_args
, **_kwargs
): 
 872         val 
= apply(gridc
.wxGridTableMessage_SetCommandInt
,(self
,) + _args
, _kwargs
) 
 874     def GetCommandInt(self
, *_args
, **_kwargs
): 
 875         val 
= apply(gridc
.wxGridTableMessage_GetCommandInt
,(self
,) + _args
, _kwargs
) 
 877     def SetCommandInt2(self
, *_args
, **_kwargs
): 
 878         val 
= apply(gridc
.wxGridTableMessage_SetCommandInt2
,(self
,) + _args
, _kwargs
) 
 880     def GetCommandInt2(self
, *_args
, **_kwargs
): 
 881         val 
= apply(gridc
.wxGridTableMessage_GetCommandInt2
,(self
,) + _args
, _kwargs
) 
 884         return "<C wxGridTableMessage instance at %s>" % (self
.this
,) 
 885 class wxGridTableMessage(wxGridTableMessagePtr
): 
 886     def __init__(self
,*_args
,**_kwargs
): 
 887         self
.this 
= apply(gridc
.new_wxGridTableMessage
,_args
,_kwargs
) 
 893 class wxGridCellCoordsPtr 
: 
 894     def __init__(self
,this
): 
 897     def __del__(self
,gridc
=gridc
): 
 898         if self
.thisown 
== 1 : 
 899             gridc
.delete_wxGridCellCoords(self
) 
 900     def GetRow(self
, *_args
, **_kwargs
): 
 901         val 
= apply(gridc
.wxGridCellCoords_GetRow
,(self
,) + _args
, _kwargs
) 
 903     def SetRow(self
, *_args
, **_kwargs
): 
 904         val 
= apply(gridc
.wxGridCellCoords_SetRow
,(self
,) + _args
, _kwargs
) 
 906     def GetCol(self
, *_args
, **_kwargs
): 
 907         val 
= apply(gridc
.wxGridCellCoords_GetCol
,(self
,) + _args
, _kwargs
) 
 909     def SetCol(self
, *_args
, **_kwargs
): 
 910         val 
= apply(gridc
.wxGridCellCoords_SetCol
,(self
,) + _args
, _kwargs
) 
 912     def Set(self
, *_args
, **_kwargs
): 
 913         val 
= apply(gridc
.wxGridCellCoords_Set
,(self
,) + _args
, _kwargs
) 
 915     def asTuple(self
, *_args
, **_kwargs
): 
 916         val 
= apply(gridc
.wxGridCellCoords_asTuple
,(self
,) + _args
, _kwargs
) 
 918     def __cmp__(self
, *_args
, **_kwargs
): 
 919         val 
= apply(gridc
.wxGridCellCoords___cmp__
,(self
,) + _args
, _kwargs
) 
 922         return "<C wxGridCellCoords instance at %s>" % (self
.this
,) 
 923     def __str__(self
): return str(self
.asTuple()) 
 924     def __repr__(self
): return str(self
.asTuple()) 
 925 class wxGridCellCoords(wxGridCellCoordsPtr
): 
 926     def __init__(self
,*_args
,**_kwargs
): 
 927         self
.this 
= apply(gridc
.new_wxGridCellCoords
,_args
,_kwargs
) 
 933 class wxGridPtr(wxScrolledWindowPtr
): 
 934     wxGridSelectCells 
= gridc
.wxGrid_wxGridSelectCells
 
 935     wxGridSelectRows 
= gridc
.wxGrid_wxGridSelectRows
 
 936     wxGridSelectColumns 
= gridc
.wxGrid_wxGridSelectColumns
 
 937     def __init__(self
,this
): 
 940     def CreateGrid(self
, *_args
, **_kwargs
): 
 941         val 
= apply(gridc
.wxGrid_CreateGrid
,(self
,) + _args
, _kwargs
) 
 943     def SetSelectionMode(self
, *_args
, **_kwargs
): 
 944         val 
= apply(gridc
.wxGrid_SetSelectionMode
,(self
,) + _args
, _kwargs
) 
 946     def GetNumberRows(self
, *_args
, **_kwargs
): 
 947         val 
= apply(gridc
.wxGrid_GetNumberRows
,(self
,) + _args
, _kwargs
) 
 949     def GetNumberCols(self
, *_args
, **_kwargs
): 
 950         val 
= apply(gridc
.wxGrid_GetNumberCols
,(self
,) + _args
, _kwargs
) 
 952     def ProcessTableMessage(self
, *_args
, **_kwargs
): 
 953         val 
= apply(gridc
.wxGrid_ProcessTableMessage
,(self
,) + _args
, _kwargs
) 
 955     def GetTable(self
, *_args
, **_kwargs
): 
 956         val 
= apply(gridc
.wxGrid_GetTable
,(self
,) + _args
, _kwargs
) 
 958     def SetTable(self
, *_args
, **_kwargs
): 
 959         val 
= apply(gridc
.wxGrid_SetTable
,(self
,) + _args
, _kwargs
) 
 961     def ClearGrid(self
, *_args
, **_kwargs
): 
 962         val 
= apply(gridc
.wxGrid_ClearGrid
,(self
,) + _args
, _kwargs
) 
 964     def InsertRows(self
, *_args
, **_kwargs
): 
 965         val 
= apply(gridc
.wxGrid_InsertRows
,(self
,) + _args
, _kwargs
) 
 967     def AppendRows(self
, *_args
, **_kwargs
): 
 968         val 
= apply(gridc
.wxGrid_AppendRows
,(self
,) + _args
, _kwargs
) 
 970     def DeleteRows(self
, *_args
, **_kwargs
): 
 971         val 
= apply(gridc
.wxGrid_DeleteRows
,(self
,) + _args
, _kwargs
) 
 973     def InsertCols(self
, *_args
, **_kwargs
): 
 974         val 
= apply(gridc
.wxGrid_InsertCols
,(self
,) + _args
, _kwargs
) 
 976     def AppendCols(self
, *_args
, **_kwargs
): 
 977         val 
= apply(gridc
.wxGrid_AppendCols
,(self
,) + _args
, _kwargs
) 
 979     def DeleteCols(self
, *_args
, **_kwargs
): 
 980         val 
= apply(gridc
.wxGrid_DeleteCols
,(self
,) + _args
, _kwargs
) 
 982     def DrawCellHighlight(self
, *_args
, **_kwargs
): 
 983         val 
= apply(gridc
.wxGrid_DrawCellHighlight
,(self
,) + _args
, _kwargs
) 
 985     def DrawTextRectangle(self
, *_args
, **_kwargs
): 
 986         val 
= apply(gridc
.wxGrid_DrawTextRectangle
,(self
,) + _args
, _kwargs
) 
 988     def GetTextBoxSize(self
, *_args
, **_kwargs
): 
 989         val 
= apply(gridc
.wxGrid_GetTextBoxSize
,(self
,) + _args
, _kwargs
) 
 991     def BeginBatch(self
, *_args
, **_kwargs
): 
 992         val 
= apply(gridc
.wxGrid_BeginBatch
,(self
,) + _args
, _kwargs
) 
 994     def EndBatch(self
, *_args
, **_kwargs
): 
 995         val 
= apply(gridc
.wxGrid_EndBatch
,(self
,) + _args
, _kwargs
) 
 997     def GetBatchCount(self
, *_args
, **_kwargs
): 
 998         val 
= apply(gridc
.wxGrid_GetBatchCount
,(self
,) + _args
, _kwargs
) 
1000     def ForceRefresh(self
, *_args
, **_kwargs
): 
1001         val 
= apply(gridc
.wxGrid_ForceRefresh
,(self
,) + _args
, _kwargs
) 
1003     def IsEditable(self
, *_args
, **_kwargs
): 
1004         val 
= apply(gridc
.wxGrid_IsEditable
,(self
,) + _args
, _kwargs
) 
1006     def EnableEditing(self
, *_args
, **_kwargs
): 
1007         val 
= apply(gridc
.wxGrid_EnableEditing
,(self
,) + _args
, _kwargs
) 
1009     def EnableCellEditControl(self
, *_args
, **_kwargs
): 
1010         val 
= apply(gridc
.wxGrid_EnableCellEditControl
,(self
,) + _args
, _kwargs
) 
1012     def DisableCellEditControl(self
, *_args
, **_kwargs
): 
1013         val 
= apply(gridc
.wxGrid_DisableCellEditControl
,(self
,) + _args
, _kwargs
) 
1015     def CanEnableCellControl(self
, *_args
, **_kwargs
): 
1016         val 
= apply(gridc
.wxGrid_CanEnableCellControl
,(self
,) + _args
, _kwargs
) 
1018     def IsCellEditControlEnabled(self
, *_args
, **_kwargs
): 
1019         val 
= apply(gridc
.wxGrid_IsCellEditControlEnabled
,(self
,) + _args
, _kwargs
) 
1021     def IsCellEditControlShown(self
, *_args
, **_kwargs
): 
1022         val 
= apply(gridc
.wxGrid_IsCellEditControlShown
,(self
,) + _args
, _kwargs
) 
1024     def IsCurrentCellReadOnly(self
, *_args
, **_kwargs
): 
1025         val 
= apply(gridc
.wxGrid_IsCurrentCellReadOnly
,(self
,) + _args
, _kwargs
) 
1027     def ShowCellEditControl(self
, *_args
, **_kwargs
): 
1028         val 
= apply(gridc
.wxGrid_ShowCellEditControl
,(self
,) + _args
, _kwargs
) 
1030     def HideCellEditControl(self
, *_args
, **_kwargs
): 
1031         val 
= apply(gridc
.wxGrid_HideCellEditControl
,(self
,) + _args
, _kwargs
) 
1033     def SaveEditControlValue(self
, *_args
, **_kwargs
): 
1034         val 
= apply(gridc
.wxGrid_SaveEditControlValue
,(self
,) + _args
, _kwargs
) 
1036     def XYToCell(self
, *_args
, **_kwargs
): 
1037         val 
= apply(gridc
.wxGrid_XYToCell
,(self
,) + _args
, _kwargs
) 
1038         if val
: val 
= wxGridCellCoordsPtr(val
) ; val
.thisown 
= 1 
1040     def YToRow(self
, *_args
, **_kwargs
): 
1041         val 
= apply(gridc
.wxGrid_YToRow
,(self
,) + _args
, _kwargs
) 
1043     def XToCol(self
, *_args
, **_kwargs
): 
1044         val 
= apply(gridc
.wxGrid_XToCol
,(self
,) + _args
, _kwargs
) 
1046     def YToEdgeOfRow(self
, *_args
, **_kwargs
): 
1047         val 
= apply(gridc
.wxGrid_YToEdgeOfRow
,(self
,) + _args
, _kwargs
) 
1049     def XToEdgeOfCol(self
, *_args
, **_kwargs
): 
1050         val 
= apply(gridc
.wxGrid_XToEdgeOfCol
,(self
,) + _args
, _kwargs
) 
1052     def CellToRect(self
, *_args
, **_kwargs
): 
1053         val 
= apply(gridc
.wxGrid_CellToRect
,(self
,) + _args
, _kwargs
) 
1054         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
1056     def GetGridCursorRow(self
, *_args
, **_kwargs
): 
1057         val 
= apply(gridc
.wxGrid_GetGridCursorRow
,(self
,) + _args
, _kwargs
) 
1059     def GetGridCursorCol(self
, *_args
, **_kwargs
): 
1060         val 
= apply(gridc
.wxGrid_GetGridCursorCol
,(self
,) + _args
, _kwargs
) 
1062     def IsVisible(self
, *_args
, **_kwargs
): 
1063         val 
= apply(gridc
.wxGrid_IsVisible
,(self
,) + _args
, _kwargs
) 
1065     def MakeCellVisible(self
, *_args
, **_kwargs
): 
1066         val 
= apply(gridc
.wxGrid_MakeCellVisible
,(self
,) + _args
, _kwargs
) 
1068     def SetGridCursor(self
, *_args
, **_kwargs
): 
1069         val 
= apply(gridc
.wxGrid_SetGridCursor
,(self
,) + _args
, _kwargs
) 
1071     def MoveCursorUp(self
, *_args
, **_kwargs
): 
1072         val 
= apply(gridc
.wxGrid_MoveCursorUp
,(self
,) + _args
, _kwargs
) 
1074     def MoveCursorDown(self
, *_args
, **_kwargs
): 
1075         val 
= apply(gridc
.wxGrid_MoveCursorDown
,(self
,) + _args
, _kwargs
) 
1077     def MoveCursorLeft(self
, *_args
, **_kwargs
): 
1078         val 
= apply(gridc
.wxGrid_MoveCursorLeft
,(self
,) + _args
, _kwargs
) 
1080     def MoveCursorRight(self
, *_args
, **_kwargs
): 
1081         val 
= apply(gridc
.wxGrid_MoveCursorRight
,(self
,) + _args
, _kwargs
) 
1083     def MovePageDown(self
, *_args
, **_kwargs
): 
1084         val 
= apply(gridc
.wxGrid_MovePageDown
,(self
,) + _args
, _kwargs
) 
1086     def MovePageUp(self
, *_args
, **_kwargs
): 
1087         val 
= apply(gridc
.wxGrid_MovePageUp
,(self
,) + _args
, _kwargs
) 
1089     def MoveCursorUpBlock(self
, *_args
, **_kwargs
): 
1090         val 
= apply(gridc
.wxGrid_MoveCursorUpBlock
,(self
,) + _args
, _kwargs
) 
1092     def MoveCursorDownBlock(self
, *_args
, **_kwargs
): 
1093         val 
= apply(gridc
.wxGrid_MoveCursorDownBlock
,(self
,) + _args
, _kwargs
) 
1095     def MoveCursorLeftBlock(self
, *_args
, **_kwargs
): 
1096         val 
= apply(gridc
.wxGrid_MoveCursorLeftBlock
,(self
,) + _args
, _kwargs
) 
1098     def MoveCursorRightBlock(self
, *_args
, **_kwargs
): 
1099         val 
= apply(gridc
.wxGrid_MoveCursorRightBlock
,(self
,) + _args
, _kwargs
) 
1101     def GetDefaultRowLabelSize(self
, *_args
, **_kwargs
): 
1102         val 
= apply(gridc
.wxGrid_GetDefaultRowLabelSize
,(self
,) + _args
, _kwargs
) 
1104     def GetRowLabelSize(self
, *_args
, **_kwargs
): 
1105         val 
= apply(gridc
.wxGrid_GetRowLabelSize
,(self
,) + _args
, _kwargs
) 
1107     def GetDefaultColLabelSize(self
, *_args
, **_kwargs
): 
1108         val 
= apply(gridc
.wxGrid_GetDefaultColLabelSize
,(self
,) + _args
, _kwargs
) 
1110     def GetColLabelSize(self
, *_args
, **_kwargs
): 
1111         val 
= apply(gridc
.wxGrid_GetColLabelSize
,(self
,) + _args
, _kwargs
) 
1113     def GetLabelBackgroundColour(self
, *_args
, **_kwargs
): 
1114         val 
= apply(gridc
.wxGrid_GetLabelBackgroundColour
,(self
,) + _args
, _kwargs
) 
1115         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1117     def GetLabelTextColour(self
, *_args
, **_kwargs
): 
1118         val 
= apply(gridc
.wxGrid_GetLabelTextColour
,(self
,) + _args
, _kwargs
) 
1119         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1121     def GetLabelFont(self
, *_args
, **_kwargs
): 
1122         val 
= apply(gridc
.wxGrid_GetLabelFont
,(self
,) + _args
, _kwargs
) 
1123         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
1125     def GetRowLabelAlignment(self
, *_args
, **_kwargs
): 
1126         val 
= apply(gridc
.wxGrid_GetRowLabelAlignment
,(self
,) + _args
, _kwargs
) 
1128     def GetColLabelAlignment(self
, *_args
, **_kwargs
): 
1129         val 
= apply(gridc
.wxGrid_GetColLabelAlignment
,(self
,) + _args
, _kwargs
) 
1131     def GetRowLabelValue(self
, *_args
, **_kwargs
): 
1132         val 
= apply(gridc
.wxGrid_GetRowLabelValue
,(self
,) + _args
, _kwargs
) 
1134     def GetColLabelValue(self
, *_args
, **_kwargs
): 
1135         val 
= apply(gridc
.wxGrid_GetColLabelValue
,(self
,) + _args
, _kwargs
) 
1137     def GetGridLineColour(self
, *_args
, **_kwargs
): 
1138         val 
= apply(gridc
.wxGrid_GetGridLineColour
,(self
,) + _args
, _kwargs
) 
1139         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1141     def GetCellHighlightColour(self
, *_args
, **_kwargs
): 
1142         val 
= apply(gridc
.wxGrid_GetCellHighlightColour
,(self
,) + _args
, _kwargs
) 
1143         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1145     def GetCellHighlightPenWidth(self
, *_args
, **_kwargs
): 
1146         val 
= apply(gridc
.wxGrid_GetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
) 
1148     def GetCellHighlightROPenWidth(self
, *_args
, **_kwargs
): 
1149         val 
= apply(gridc
.wxGrid_GetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
) 
1151     def SetRowLabelSize(self
, *_args
, **_kwargs
): 
1152         val 
= apply(gridc
.wxGrid_SetRowLabelSize
,(self
,) + _args
, _kwargs
) 
1154     def SetColLabelSize(self
, *_args
, **_kwargs
): 
1155         val 
= apply(gridc
.wxGrid_SetColLabelSize
,(self
,) + _args
, _kwargs
) 
1157     def SetLabelBackgroundColour(self
, *_args
, **_kwargs
): 
1158         val 
= apply(gridc
.wxGrid_SetLabelBackgroundColour
,(self
,) + _args
, _kwargs
) 
1160     def SetLabelTextColour(self
, *_args
, **_kwargs
): 
1161         val 
= apply(gridc
.wxGrid_SetLabelTextColour
,(self
,) + _args
, _kwargs
) 
1163     def SetLabelFont(self
, *_args
, **_kwargs
): 
1164         val 
= apply(gridc
.wxGrid_SetLabelFont
,(self
,) + _args
, _kwargs
) 
1166     def SetRowLabelAlignment(self
, *_args
, **_kwargs
): 
1167         val 
= apply(gridc
.wxGrid_SetRowLabelAlignment
,(self
,) + _args
, _kwargs
) 
1169     def SetColLabelAlignment(self
, *_args
, **_kwargs
): 
1170         val 
= apply(gridc
.wxGrid_SetColLabelAlignment
,(self
,) + _args
, _kwargs
) 
1172     def SetRowLabelValue(self
, *_args
, **_kwargs
): 
1173         val 
= apply(gridc
.wxGrid_SetRowLabelValue
,(self
,) + _args
, _kwargs
) 
1175     def SetColLabelValue(self
, *_args
, **_kwargs
): 
1176         val 
= apply(gridc
.wxGrid_SetColLabelValue
,(self
,) + _args
, _kwargs
) 
1178     def SetGridLineColour(self
, *_args
, **_kwargs
): 
1179         val 
= apply(gridc
.wxGrid_SetGridLineColour
,(self
,) + _args
, _kwargs
) 
1181     def SetCellHighlightColour(self
, *_args
, **_kwargs
): 
1182         val 
= apply(gridc
.wxGrid_SetCellHighlightColour
,(self
,) + _args
, _kwargs
) 
1184     def SetCellHighlightPenWidth(self
, *_args
, **_kwargs
): 
1185         val 
= apply(gridc
.wxGrid_SetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
) 
1187     def SetCellHighlightROPenWidth(self
, *_args
, **_kwargs
): 
1188         val 
= apply(gridc
.wxGrid_SetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
) 
1190     def EnableDragRowSize(self
, *_args
, **_kwargs
): 
1191         val 
= apply(gridc
.wxGrid_EnableDragRowSize
,(self
,) + _args
, _kwargs
) 
1193     def DisableDragRowSize(self
, *_args
, **_kwargs
): 
1194         val 
= apply(gridc
.wxGrid_DisableDragRowSize
,(self
,) + _args
, _kwargs
) 
1196     def CanDragRowSize(self
, *_args
, **_kwargs
): 
1197         val 
= apply(gridc
.wxGrid_CanDragRowSize
,(self
,) + _args
, _kwargs
) 
1199     def EnableDragColSize(self
, *_args
, **_kwargs
): 
1200         val 
= apply(gridc
.wxGrid_EnableDragColSize
,(self
,) + _args
, _kwargs
) 
1202     def DisableDragColSize(self
, *_args
, **_kwargs
): 
1203         val 
= apply(gridc
.wxGrid_DisableDragColSize
,(self
,) + _args
, _kwargs
) 
1205     def CanDragColSize(self
, *_args
, **_kwargs
): 
1206         val 
= apply(gridc
.wxGrid_CanDragColSize
,(self
,) + _args
, _kwargs
) 
1208     def EnableDragGridSize(self
, *_args
, **_kwargs
): 
1209         val 
= apply(gridc
.wxGrid_EnableDragGridSize
,(self
,) + _args
, _kwargs
) 
1211     def DisableDragGridSize(self
, *_args
, **_kwargs
): 
1212         val 
= apply(gridc
.wxGrid_DisableDragGridSize
,(self
,) + _args
, _kwargs
) 
1214     def CanDragGridSize(self
, *_args
, **_kwargs
): 
1215         val 
= apply(gridc
.wxGrid_CanDragGridSize
,(self
,) + _args
, _kwargs
) 
1217     def SetRowAttr(self
, *_args
, **_kwargs
): 
1218         val 
= apply(gridc
.wxGrid_SetRowAttr
,(self
,) + _args
, _kwargs
) 
1220     def SetColAttr(self
, *_args
, **_kwargs
): 
1221         val 
= apply(gridc
.wxGrid_SetColAttr
,(self
,) + _args
, _kwargs
) 
1223     def SetColFormatBool(self
, *_args
, **_kwargs
): 
1224         val 
= apply(gridc
.wxGrid_SetColFormatBool
,(self
,) + _args
, _kwargs
) 
1226     def SetColFormatNumber(self
, *_args
, **_kwargs
): 
1227         val 
= apply(gridc
.wxGrid_SetColFormatNumber
,(self
,) + _args
, _kwargs
) 
1229     def SetColFormatFloat(self
, *_args
, **_kwargs
): 
1230         val 
= apply(gridc
.wxGrid_SetColFormatFloat
,(self
,) + _args
, _kwargs
) 
1232     def SetColFormatCustom(self
, *_args
, **_kwargs
): 
1233         val 
= apply(gridc
.wxGrid_SetColFormatCustom
,(self
,) + _args
, _kwargs
) 
1235     def EnableGridLines(self
, *_args
, **_kwargs
): 
1236         val 
= apply(gridc
.wxGrid_EnableGridLines
,(self
,) + _args
, _kwargs
) 
1238     def GridLinesEnabled(self
, *_args
, **_kwargs
): 
1239         val 
= apply(gridc
.wxGrid_GridLinesEnabled
,(self
,) + _args
, _kwargs
) 
1241     def GetDefaultRowSize(self
, *_args
, **_kwargs
): 
1242         val 
= apply(gridc
.wxGrid_GetDefaultRowSize
,(self
,) + _args
, _kwargs
) 
1244     def GetRowSize(self
, *_args
, **_kwargs
): 
1245         val 
= apply(gridc
.wxGrid_GetRowSize
,(self
,) + _args
, _kwargs
) 
1247     def GetDefaultColSize(self
, *_args
, **_kwargs
): 
1248         val 
= apply(gridc
.wxGrid_GetDefaultColSize
,(self
,) + _args
, _kwargs
) 
1250     def GetColSize(self
, *_args
, **_kwargs
): 
1251         val 
= apply(gridc
.wxGrid_GetColSize
,(self
,) + _args
, _kwargs
) 
1253     def GetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
): 
1254         val 
= apply(gridc
.wxGrid_GetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1255         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1257     def GetCellBackgroundColour(self
, *_args
, **_kwargs
): 
1258         val 
= apply(gridc
.wxGrid_GetCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1259         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1261     def GetDefaultCellTextColour(self
, *_args
, **_kwargs
): 
1262         val 
= apply(gridc
.wxGrid_GetDefaultCellTextColour
,(self
,) + _args
, _kwargs
) 
1263         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1265     def GetCellTextColour(self
, *_args
, **_kwargs
): 
1266         val 
= apply(gridc
.wxGrid_GetCellTextColour
,(self
,) + _args
, _kwargs
) 
1267         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1269     def GetDefaultCellFont(self
, *_args
, **_kwargs
): 
1270         val 
= apply(gridc
.wxGrid_GetDefaultCellFont
,(self
,) + _args
, _kwargs
) 
1271         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
1273     def GetCellFont(self
, *_args
, **_kwargs
): 
1274         val 
= apply(gridc
.wxGrid_GetCellFont
,(self
,) + _args
, _kwargs
) 
1275         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
1277     def GetDefaultCellAlignment(self
, *_args
, **_kwargs
): 
1278         val 
= apply(gridc
.wxGrid_GetDefaultCellAlignment
,(self
,) + _args
, _kwargs
) 
1280     def GetCellAlignment(self
, *_args
, **_kwargs
): 
1281         val 
= apply(gridc
.wxGrid_GetCellAlignment
,(self
,) + _args
, _kwargs
) 
1283     def SetDefaultRowSize(self
, *_args
, **_kwargs
): 
1284         val 
= apply(gridc
.wxGrid_SetDefaultRowSize
,(self
,) + _args
, _kwargs
) 
1286     def SetRowSize(self
, *_args
, **_kwargs
): 
1287         val 
= apply(gridc
.wxGrid_SetRowSize
,(self
,) + _args
, _kwargs
) 
1289     def SetDefaultColSize(self
, *_args
, **_kwargs
): 
1290         val 
= apply(gridc
.wxGrid_SetDefaultColSize
,(self
,) + _args
, _kwargs
) 
1292     def SetColSize(self
, *_args
, **_kwargs
): 
1293         val 
= apply(gridc
.wxGrid_SetColSize
,(self
,) + _args
, _kwargs
) 
1295     def AutoSizeColumn(self
, *_args
, **_kwargs
): 
1296         val 
= apply(gridc
.wxGrid_AutoSizeColumn
,(self
,) + _args
, _kwargs
) 
1298     def AutoSizeRow(self
, *_args
, **_kwargs
): 
1299         val 
= apply(gridc
.wxGrid_AutoSizeRow
,(self
,) + _args
, _kwargs
) 
1301     def AutoSizeColumns(self
, *_args
, **_kwargs
): 
1302         val 
= apply(gridc
.wxGrid_AutoSizeColumns
,(self
,) + _args
, _kwargs
) 
1304     def AutoSizeRows(self
, *_args
, **_kwargs
): 
1305         val 
= apply(gridc
.wxGrid_AutoSizeRows
,(self
,) + _args
, _kwargs
) 
1307     def AutoSize(self
, *_args
, **_kwargs
): 
1308         val 
= apply(gridc
.wxGrid_AutoSize
,(self
,) + _args
, _kwargs
) 
1310     def SetColMinimalWidth(self
, *_args
, **_kwargs
): 
1311         val 
= apply(gridc
.wxGrid_SetColMinimalWidth
,(self
,) + _args
, _kwargs
) 
1313     def SetRowMinimalHeight(self
, *_args
, **_kwargs
): 
1314         val 
= apply(gridc
.wxGrid_SetRowMinimalHeight
,(self
,) + _args
, _kwargs
) 
1316     def SetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
): 
1317         val 
= apply(gridc
.wxGrid_SetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1319     def SetCellBackgroundColour(self
, *_args
, **_kwargs
): 
1320         val 
= apply(gridc
.wxGrid_SetCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1322     def SetDefaultCellTextColour(self
, *_args
, **_kwargs
): 
1323         val 
= apply(gridc
.wxGrid_SetDefaultCellTextColour
,(self
,) + _args
, _kwargs
) 
1325     def SetCellTextColour(self
, *_args
, **_kwargs
): 
1326         val 
= apply(gridc
.wxGrid_SetCellTextColour
,(self
,) + _args
, _kwargs
) 
1328     def SetDefaultCellFont(self
, *_args
, **_kwargs
): 
1329         val 
= apply(gridc
.wxGrid_SetDefaultCellFont
,(self
,) + _args
, _kwargs
) 
1331     def SetCellFont(self
, *_args
, **_kwargs
): 
1332         val 
= apply(gridc
.wxGrid_SetCellFont
,(self
,) + _args
, _kwargs
) 
1334     def SetDefaultCellAlignment(self
, *_args
, **_kwargs
): 
1335         val 
= apply(gridc
.wxGrid_SetDefaultCellAlignment
,(self
,) + _args
, _kwargs
) 
1337     def SetCellAlignment(self
, *_args
, **_kwargs
): 
1338         val 
= apply(gridc
.wxGrid_SetCellAlignment
,(self
,) + _args
, _kwargs
) 
1340     def SetDefaultRenderer(self
, *_args
, **_kwargs
): 
1341         val 
= apply(gridc
.wxGrid_SetDefaultRenderer
,(self
,) + _args
, _kwargs
) 
1343     def SetCellRenderer(self
, *_args
, **_kwargs
): 
1344         val 
= apply(gridc
.wxGrid_SetCellRenderer
,(self
,) + _args
, _kwargs
) 
1346     def GetDefaultRenderer(self
, *_args
, **_kwargs
): 
1347         val 
= apply(gridc
.wxGrid_GetDefaultRenderer
,(self
,) + _args
, _kwargs
) 
1349     def GetCellRenderer(self
, *_args
, **_kwargs
): 
1350         val 
= apply(gridc
.wxGrid_GetCellRenderer
,(self
,) + _args
, _kwargs
) 
1352     def SetDefaultEditor(self
, *_args
, **_kwargs
): 
1353         val 
= apply(gridc
.wxGrid_SetDefaultEditor
,(self
,) + _args
, _kwargs
) 
1355     def SetCellEditor(self
, *_args
, **_kwargs
): 
1356         val 
= apply(gridc
.wxGrid_SetCellEditor
,(self
,) + _args
, _kwargs
) 
1358     def GetDefaultEditor(self
, *_args
, **_kwargs
): 
1359         val 
= apply(gridc
.wxGrid_GetDefaultEditor
,(self
,) + _args
, _kwargs
) 
1361     def GetCellEditor(self
, *_args
, **_kwargs
): 
1362         val 
= apply(gridc
.wxGrid_GetCellEditor
,(self
,) + _args
, _kwargs
) 
1364     def GetCellValue(self
, *_args
, **_kwargs
): 
1365         val 
= apply(gridc
.wxGrid_GetCellValue
,(self
,) + _args
, _kwargs
) 
1367     def SetCellValue(self
, *_args
, **_kwargs
): 
1368         val 
= apply(gridc
.wxGrid_SetCellValue
,(self
,) + _args
, _kwargs
) 
1370     def IsReadOnly(self
, *_args
, **_kwargs
): 
1371         val 
= apply(gridc
.wxGrid_IsReadOnly
,(self
,) + _args
, _kwargs
) 
1373     def SetReadOnly(self
, *_args
, **_kwargs
): 
1374         val 
= apply(gridc
.wxGrid_SetReadOnly
,(self
,) + _args
, _kwargs
) 
1376     def SelectRow(self
, *_args
, **_kwargs
): 
1377         val 
= apply(gridc
.wxGrid_SelectRow
,(self
,) + _args
, _kwargs
) 
1379     def SelectCol(self
, *_args
, **_kwargs
): 
1380         val 
= apply(gridc
.wxGrid_SelectCol
,(self
,) + _args
, _kwargs
) 
1382     def SelectBlock(self
, *_args
, **_kwargs
): 
1383         val 
= apply(gridc
.wxGrid_SelectBlock
,(self
,) + _args
, _kwargs
) 
1385     def SelectAll(self
, *_args
, **_kwargs
): 
1386         val 
= apply(gridc
.wxGrid_SelectAll
,(self
,) + _args
, _kwargs
) 
1388     def IsSelection(self
, *_args
, **_kwargs
): 
1389         val 
= apply(gridc
.wxGrid_IsSelection
,(self
,) + _args
, _kwargs
) 
1391     def ClearSelection(self
, *_args
, **_kwargs
): 
1392         val 
= apply(gridc
.wxGrid_ClearSelection
,(self
,) + _args
, _kwargs
) 
1394     def IsInSelection(self
, *_args
, **_kwargs
): 
1395         val 
= apply(gridc
.wxGrid_IsInSelection
,(self
,) + _args
, _kwargs
) 
1397     def BlockToDeviceRect(self
, *_args
, **_kwargs
): 
1398         val 
= apply(gridc
.wxGrid_BlockToDeviceRect
,(self
,) + _args
, _kwargs
) 
1399         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
1401     def GetSelectionBackground(self
, *_args
, **_kwargs
): 
1402         val 
= apply(gridc
.wxGrid_GetSelectionBackground
,(self
,) + _args
, _kwargs
) 
1403         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1405     def GetSelectionForeground(self
, *_args
, **_kwargs
): 
1406         val 
= apply(gridc
.wxGrid_GetSelectionForeground
,(self
,) + _args
, _kwargs
) 
1407         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1409     def SetSelectionBackground(self
, *_args
, **_kwargs
): 
1410         val 
= apply(gridc
.wxGrid_SetSelectionBackground
,(self
,) + _args
, _kwargs
) 
1412     def SetSelectionForeground(self
, *_args
, **_kwargs
): 
1413         val 
= apply(gridc
.wxGrid_SetSelectionForeground
,(self
,) + _args
, _kwargs
) 
1415     def RegisterDataType(self
, *_args
, **_kwargs
): 
1416         val 
= apply(gridc
.wxGrid_RegisterDataType
,(self
,) + _args
, _kwargs
) 
1418     def GetDefaultEditorForCell(self
, *_args
, **_kwargs
): 
1419         val 
= apply(gridc
.wxGrid_GetDefaultEditorForCell
,(self
,) + _args
, _kwargs
) 
1421     def GetDefaultRendererForCell(self
, *_args
, **_kwargs
): 
1422         val 
= apply(gridc
.wxGrid_GetDefaultRendererForCell
,(self
,) + _args
, _kwargs
) 
1424     def GetDefaultEditorForType(self
, *_args
, **_kwargs
): 
1425         val 
= apply(gridc
.wxGrid_GetDefaultEditorForType
,(self
,) + _args
, _kwargs
) 
1427     def GetDefaultRendererForType(self
, *_args
, **_kwargs
): 
1428         val 
= apply(gridc
.wxGrid_GetDefaultRendererForType
,(self
,) + _args
, _kwargs
) 
1430     def SetMargins(self
, *_args
, **_kwargs
): 
1431         val 
= apply(gridc
.wxGrid_SetMargins
,(self
,) + _args
, _kwargs
) 
1433     def GetGridWindow(self
, *_args
, **_kwargs
): 
1434         val 
= apply(gridc
.wxGrid_GetGridWindow
,(self
,) + _args
, _kwargs
) 
1436     def GetGridRowLabelWindow(self
, *_args
, **_kwargs
): 
1437         val 
= apply(gridc
.wxGrid_GetGridRowLabelWindow
,(self
,) + _args
, _kwargs
) 
1439     def GetGridColLabelWindow(self
, *_args
, **_kwargs
): 
1440         val 
= apply(gridc
.wxGrid_GetGridColLabelWindow
,(self
,) + _args
, _kwargs
) 
1442     def GetGridCornerLabelWindow(self
, *_args
, **_kwargs
): 
1443         val 
= apply(gridc
.wxGrid_GetGridCornerLabelWindow
,(self
,) + _args
, _kwargs
) 
1446         return "<C wxGrid instance at %s>" % (self
.this
,) 
1447 class wxGrid(wxGridPtr
): 
1448     def __init__(self
,*_args
,**_kwargs
): 
1449         self
.this 
= apply(gridc
.new_wxGrid
,_args
,_kwargs
) 
1451         self
._setOORInfo
(self
) 
1456 class wxGridEventPtr(wxNotifyEventPtr
): 
1457     def __init__(self
,this
): 
1460     def GetRow(self
, *_args
, **_kwargs
): 
1461         val 
= apply(gridc
.wxGridEvent_GetRow
,(self
,) + _args
, _kwargs
) 
1463     def GetCol(self
, *_args
, **_kwargs
): 
1464         val 
= apply(gridc
.wxGridEvent_GetCol
,(self
,) + _args
, _kwargs
) 
1466     def GetPosition(self
, *_args
, **_kwargs
): 
1467         val 
= apply(gridc
.wxGridEvent_GetPosition
,(self
,) + _args
, _kwargs
) 
1468         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
1470     def Selecting(self
, *_args
, **_kwargs
): 
1471         val 
= apply(gridc
.wxGridEvent_Selecting
,(self
,) + _args
, _kwargs
) 
1473     def ControlDown(self
, *_args
, **_kwargs
): 
1474         val 
= apply(gridc
.wxGridEvent_ControlDown
,(self
,) + _args
, _kwargs
) 
1476     def MetaDown(self
, *_args
, **_kwargs
): 
1477         val 
= apply(gridc
.wxGridEvent_MetaDown
,(self
,) + _args
, _kwargs
) 
1479     def ShiftDown(self
, *_args
, **_kwargs
): 
1480         val 
= apply(gridc
.wxGridEvent_ShiftDown
,(self
,) + _args
, _kwargs
) 
1482     def AltDown(self
, *_args
, **_kwargs
): 
1483         val 
= apply(gridc
.wxGridEvent_AltDown
,(self
,) + _args
, _kwargs
) 
1486         return "<C wxGridEvent instance at %s>" % (self
.this
,) 
1487 class wxGridEvent(wxGridEventPtr
): 
1488     def __init__(self
,*_args
,**_kwargs
): 
1489         self
.this 
= apply(gridc
.new_wxGridEvent
,_args
,_kwargs
) 
1495 class wxGridSizeEventPtr(wxNotifyEventPtr
): 
1496     def __init__(self
,this
): 
1499     def GetRowOrCol(self
, *_args
, **_kwargs
): 
1500         val 
= apply(gridc
.wxGridSizeEvent_GetRowOrCol
,(self
,) + _args
, _kwargs
) 
1502     def GetPosition(self
, *_args
, **_kwargs
): 
1503         val 
= apply(gridc
.wxGridSizeEvent_GetPosition
,(self
,) + _args
, _kwargs
) 
1504         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
1506     def ControlDown(self
, *_args
, **_kwargs
): 
1507         val 
= apply(gridc
.wxGridSizeEvent_ControlDown
,(self
,) + _args
, _kwargs
) 
1509     def MetaDown(self
, *_args
, **_kwargs
): 
1510         val 
= apply(gridc
.wxGridSizeEvent_MetaDown
,(self
,) + _args
, _kwargs
) 
1512     def ShiftDown(self
, *_args
, **_kwargs
): 
1513         val 
= apply(gridc
.wxGridSizeEvent_ShiftDown
,(self
,) + _args
, _kwargs
) 
1515     def AltDown(self
, *_args
, **_kwargs
): 
1516         val 
= apply(gridc
.wxGridSizeEvent_AltDown
,(self
,) + _args
, _kwargs
) 
1519         return "<C wxGridSizeEvent instance at %s>" % (self
.this
,) 
1520 class wxGridSizeEvent(wxGridSizeEventPtr
): 
1521     def __init__(self
,*_args
,**_kwargs
): 
1522         self
.this 
= apply(gridc
.new_wxGridSizeEvent
,_args
,_kwargs
) 
1528 class wxGridRangeSelectEventPtr(wxNotifyEventPtr
): 
1529     def __init__(self
,this
): 
1532     def GetTopLeftCoords(self
, *_args
, **_kwargs
): 
1533         val 
= apply(gridc
.wxGridRangeSelectEvent_GetTopLeftCoords
,(self
,) + _args
, _kwargs
) 
1534         if val
: val 
= wxGridCellCoordsPtr(val
) ; val
.thisown 
= 1 
1536     def GetBottomRightCoords(self
, *_args
, **_kwargs
): 
1537         val 
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRightCoords
,(self
,) + _args
, _kwargs
) 
1538         if val
: val 
= wxGridCellCoordsPtr(val
) ; val
.thisown 
= 1 
1540     def GetTopRow(self
, *_args
, **_kwargs
): 
1541         val 
= apply(gridc
.wxGridRangeSelectEvent_GetTopRow
,(self
,) + _args
, _kwargs
) 
1543     def GetBottomRow(self
, *_args
, **_kwargs
): 
1544         val 
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRow
,(self
,) + _args
, _kwargs
) 
1546     def GetLeftCol(self
, *_args
, **_kwargs
): 
1547         val 
= apply(gridc
.wxGridRangeSelectEvent_GetLeftCol
,(self
,) + _args
, _kwargs
) 
1549     def GetRightCol(self
, *_args
, **_kwargs
): 
1550         val 
= apply(gridc
.wxGridRangeSelectEvent_GetRightCol
,(self
,) + _args
, _kwargs
) 
1552     def Selecting(self
, *_args
, **_kwargs
): 
1553         val 
= apply(gridc
.wxGridRangeSelectEvent_Selecting
,(self
,) + _args
, _kwargs
) 
1555     def ControlDown(self
, *_args
, **_kwargs
): 
1556         val 
= apply(gridc
.wxGridRangeSelectEvent_ControlDown
,(self
,) + _args
, _kwargs
) 
1558     def MetaDown(self
, *_args
, **_kwargs
): 
1559         val 
= apply(gridc
.wxGridRangeSelectEvent_MetaDown
,(self
,) + _args
, _kwargs
) 
1561     def ShiftDown(self
, *_args
, **_kwargs
): 
1562         val 
= apply(gridc
.wxGridRangeSelectEvent_ShiftDown
,(self
,) + _args
, _kwargs
) 
1564     def AltDown(self
, *_args
, **_kwargs
): 
1565         val 
= apply(gridc
.wxGridRangeSelectEvent_AltDown
,(self
,) + _args
, _kwargs
) 
1568         return "<C wxGridRangeSelectEvent instance at %s>" % (self
.this
,) 
1569 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr
): 
1570     def __init__(self
,*_args
,**_kwargs
): 
1571         self
.this 
= apply(gridc
.new_wxGridRangeSelectEvent
,_args
,_kwargs
) 
1577 class wxGridEditorCreatedEventPtr(wxCommandEventPtr
): 
1578     def __init__(self
,this
): 
1581     def GetRow(self
, *_args
, **_kwargs
): 
1582         val 
= apply(gridc
.wxGridEditorCreatedEvent_GetRow
,(self
,) + _args
, _kwargs
) 
1584     def GetCol(self
, *_args
, **_kwargs
): 
1585         val 
= apply(gridc
.wxGridEditorCreatedEvent_GetCol
,(self
,) + _args
, _kwargs
) 
1587     def GetControl(self
, *_args
, **_kwargs
): 
1588         val 
= apply(gridc
.wxGridEditorCreatedEvent_GetControl
,(self
,) + _args
, _kwargs
) 
1590     def SetRow(self
, *_args
, **_kwargs
): 
1591         val 
= apply(gridc
.wxGridEditorCreatedEvent_SetRow
,(self
,) + _args
, _kwargs
) 
1593     def SetCol(self
, *_args
, **_kwargs
): 
1594         val 
= apply(gridc
.wxGridEditorCreatedEvent_SetCol
,(self
,) + _args
, _kwargs
) 
1596     def SetControl(self
, *_args
, **_kwargs
): 
1597         val 
= apply(gridc
.wxGridEditorCreatedEvent_SetControl
,(self
,) + _args
, _kwargs
) 
1600         return "<C wxGridEditorCreatedEvent instance at %s>" % (self
.this
,) 
1601 class wxGridEditorCreatedEvent(wxGridEditorCreatedEventPtr
): 
1602     def __init__(self
,*_args
,**_kwargs
): 
1603         self
.this 
= apply(gridc
.new_wxGridEditorCreatedEvent
,_args
,_kwargs
) 
1611 #-------------- FUNCTION WRAPPERS ------------------ 
1615 #-------------- VARIABLE WRAPPERS ------------------ 
1617 wxGRID_VALUE_STRING 
= gridc
.wxGRID_VALUE_STRING
 
1618 wxGRID_VALUE_BOOL 
= gridc
.wxGRID_VALUE_BOOL
 
1619 wxGRID_VALUE_NUMBER 
= gridc
.wxGRID_VALUE_NUMBER
 
1620 wxGRID_VALUE_FLOAT 
= gridc
.wxGRID_VALUE_FLOAT
 
1621 wxGRID_VALUE_CHOICE 
= gridc
.wxGRID_VALUE_CHOICE
 
1622 wxGRID_VALUE_TEXT 
= gridc
.wxGRID_VALUE_TEXT
 
1623 wxGRID_VALUE_LONG 
= gridc
.wxGRID_VALUE_LONG
 
1624 wxGRID_VALUE_CHOICEINT 
= gridc
.wxGRID_VALUE_CHOICEINT
 
1625 wxGRID_VALUE_DATETIME 
= gridc
.wxGRID_VALUE_DATETIME
 
1627 wxGridNoCellCoords 
= wxGridCellCoordsPtr(gridc
.cvar
.wxGridNoCellCoords
) 
1628 wxGridNoCellRect 
= wxRectPtr(gridc
.cvar
.wxGridNoCellRect
) 
1629 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES 
= gridc
.wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
 
1630 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES 
= gridc
.wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
 
1631 wxGRIDTABLE_NOTIFY_ROWS_INSERTED 
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_INSERTED
 
1632 wxGRIDTABLE_NOTIFY_ROWS_APPENDED 
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_APPENDED
 
1633 wxGRIDTABLE_NOTIFY_ROWS_DELETED 
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_DELETED
 
1634 wxGRIDTABLE_NOTIFY_COLS_INSERTED 
= gridc
.wxGRIDTABLE_NOTIFY_COLS_INSERTED
 
1635 wxGRIDTABLE_NOTIFY_COLS_APPENDED 
= gridc
.wxGRIDTABLE_NOTIFY_COLS_APPENDED
 
1636 wxGRIDTABLE_NOTIFY_COLS_DELETED 
= gridc
.wxGRIDTABLE_NOTIFY_COLS_DELETED
 
1637 wxEVT_GRID_CELL_LEFT_CLICK 
= gridc
.wxEVT_GRID_CELL_LEFT_CLICK
 
1638 wxEVT_GRID_CELL_RIGHT_CLICK 
= gridc
.wxEVT_GRID_CELL_RIGHT_CLICK
 
1639 wxEVT_GRID_CELL_LEFT_DCLICK 
= gridc
.wxEVT_GRID_CELL_LEFT_DCLICK
 
1640 wxEVT_GRID_CELL_RIGHT_DCLICK 
= gridc
.wxEVT_GRID_CELL_RIGHT_DCLICK
 
1641 wxEVT_GRID_LABEL_LEFT_CLICK 
= gridc
.wxEVT_GRID_LABEL_LEFT_CLICK
 
1642 wxEVT_GRID_LABEL_RIGHT_CLICK 
= gridc
.wxEVT_GRID_LABEL_RIGHT_CLICK
 
1643 wxEVT_GRID_LABEL_LEFT_DCLICK 
= gridc
.wxEVT_GRID_LABEL_LEFT_DCLICK
 
1644 wxEVT_GRID_LABEL_RIGHT_DCLICK 
= gridc
.wxEVT_GRID_LABEL_RIGHT_DCLICK
 
1645 wxEVT_GRID_ROW_SIZE 
= gridc
.wxEVT_GRID_ROW_SIZE
 
1646 wxEVT_GRID_COL_SIZE 
= gridc
.wxEVT_GRID_COL_SIZE
 
1647 wxEVT_GRID_RANGE_SELECT 
= gridc
.wxEVT_GRID_RANGE_SELECT
 
1648 wxEVT_GRID_CELL_CHANGE 
= gridc
.wxEVT_GRID_CELL_CHANGE
 
1649 wxEVT_GRID_SELECT_CELL 
= gridc
.wxEVT_GRID_SELECT_CELL
 
1650 wxEVT_GRID_EDITOR_SHOWN 
= gridc
.wxEVT_GRID_EDITOR_SHOWN
 
1651 wxEVT_GRID_EDITOR_HIDDEN 
= gridc
.wxEVT_GRID_EDITOR_HIDDEN
 
1652 wxEVT_GRID_EDITOR_CREATED 
= gridc
.wxEVT_GRID_EDITOR_CREATED
 
1655 #-------------- USER INCLUDE ----------------------- 
1659 # Stuff these names into the wx namespace so wxPyConstructObject can find them 
1661 wx
.wxGridEventPtr                  
= wxGridEventPtr
 
1662 wx
.wxGridSizeEventPtr              
= wxGridSizeEventPtr
 
1663 wx
.wxGridRangeSelectEventPtr       
= wxGridRangeSelectEventPtr
 
1664 wx
.wxGridEditorCreatedEventPtr     
= wxGridEditorCreatedEventPtr
 
1665 wx
.wxGridCellRendererPtr           
= wxGridCellRendererPtr
 
1666 wx
.wxPyGridCellRendererPtr         
= wxPyGridCellRendererPtr
 
1667 wx
.wxGridCellEditorPtr             
= wxGridCellEditorPtr
 
1668 wx
.wxPyGridCellEditorPtr           
= wxPyGridCellEditorPtr
 
1669 wx
.wxGridCellAttrPtr               
= wxGridCellAttrPtr
 
1670 wx
.wxGridCellAttrProviderPtr       
= wxGridCellAttrProviderPtr
 
1671 wx
.wxPyGridCellAttrProviderPtr     
= wxPyGridCellAttrProviderPtr
 
1672 wx
.wxGridTableBasePtr              
= wxGridTableBasePtr
 
1673 wx
.wxPyGridTableBasePtr            
= wxPyGridTableBasePtr
 
1674 wx
.wxGridTableMessagePtr           
= wxGridTableMessagePtr
 
1675 wx
.wxGridCellCoordsPtr             
= wxGridCellCoordsPtr
 
1676 wx
.wxGridPtr                       
= wxGridPtr