1 # This file was created automatically by SWIG. 
  10 from clip_dnd 
import * 
  12 from controls 
import * 
  17 def EVT_GRID_CELL_LEFT_CLICK(win
, fn
): 
  18     win
.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_CLICK
, fn
) 
  20 def EVT_GRID_CELL_RIGHT_CLICK(win
, fn
): 
  21     win
.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_CLICK
, fn
) 
  23 def EVT_GRID_CELL_LEFT_DCLICK(win
, fn
): 
  24     win
.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_DCLICK
, fn
) 
  26 def EVT_GRID_CELL_RIGHT_DCLICK(win
, fn
): 
  27     win
.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_DCLICK
, fn
) 
  29 def EVT_GRID_LABEL_LEFT_CLICK(win
, fn
): 
  30     win
.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_CLICK
, fn
) 
  32 def EVT_GRID_LABEL_RIGHT_CLICK(win
, fn
): 
  33     win
.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_CLICK
, fn
) 
  35 def EVT_GRID_LABEL_LEFT_DCLICK(win
, fn
): 
  36     win
.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_DCLICK
, fn
) 
  38 def EVT_GRID_LABEL_RIGHT_DCLICK(win
, fn
): 
  39     win
.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_DCLICK
, fn
) 
  41 def EVT_GRID_ROW_SIZE(win
, fn
): 
  42     win
.Connect(-1, -1, wxEVT_GRID_ROW_SIZE
, fn
) 
  44 def EVT_GRID_COL_SIZE(win
, fn
): 
  45     win
.Connect(-1, -1, wxEVT_GRID_COL_SIZE
, fn
) 
  47 def EVT_GRID_RANGE_SELECT(win
, fn
): 
  48     win
.Connect(-1, -1, wxEVT_GRID_RANGE_SELECT
, fn
) 
  50 def EVT_GRID_CELL_CHANGE(win
, fn
): 
  51     win
.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE
, fn
) 
  53 def EVT_GRID_SELECT_CELL(win
, fn
): 
  54     win
.Connect(-1, -1, wxEVT_GRID_SELECT_CELL
, fn
) 
  56 def EVT_GRID_EDITOR_SHOWN(win
, fn
): 
  57     win
.Connect(-1, -1, wxEVT_GRID_EDITOR_SHOWN
, fn
) 
  59 def EVT_GRID_EDITOR_HIDDEN(win
, fn
): 
  60     win
.Connect(-1, -1, wxEVT_GRID_EDITOR_HIDDEN
, fn
) 
  63 class wxGridCellRendererPtr 
: 
  64     def __init__(self
,this
): 
  67     def SetParameters(self
, *_args
, **_kwargs
): 
  68         val 
= apply(gridc
.wxGridCellRenderer_SetParameters
,(self
,) + _args
, _kwargs
) 
  70     def IncRef(self
, *_args
, **_kwargs
): 
  71         val 
= apply(gridc
.wxGridCellRenderer_IncRef
,(self
,) + _args
, _kwargs
) 
  73     def DecRef(self
, *_args
, **_kwargs
): 
  74         val 
= apply(gridc
.wxGridCellRenderer_DecRef
,(self
,) + _args
, _kwargs
) 
  76     def Draw(self
, *_args
, **_kwargs
): 
  77         val 
= apply(gridc
.wxGridCellRenderer_Draw
,(self
,) + _args
, _kwargs
) 
  79     def GetBestSize(self
, *_args
, **_kwargs
): 
  80         val 
= apply(gridc
.wxGridCellRenderer_GetBestSize
,(self
,) + _args
, _kwargs
) 
  81         if val
: val 
= wxSizePtr(val
) ; val
.thisown 
= 1 
  83     def Clone(self
, *_args
, **_kwargs
): 
  84         val 
= apply(gridc
.wxGridCellRenderer_Clone
,(self
,) + _args
, _kwargs
) 
  85         if val
: val 
= wxGridCellRendererPtr(val
)  
  88         return "<C wxGridCellRenderer instance at %s>" % (self
.this
,) 
  89 class wxGridCellRenderer(wxGridCellRendererPtr
): 
  90     def __init__(self
,this
): 
  96 class wxPyGridCellRendererPtr(wxGridCellRendererPtr
): 
  97     def __init__(self
,this
): 
 100     def _setSelf(self
, *_args
, **_kwargs
): 
 101         val 
= apply(gridc
.wxPyGridCellRenderer__setSelf
,(self
,) + _args
, _kwargs
) 
 103     def base_SetParameters(self
, *_args
, **_kwargs
): 
 104         val 
= apply(gridc
.wxPyGridCellRenderer_base_SetParameters
,(self
,) + _args
, _kwargs
) 
 107         return "<C wxPyGridCellRenderer instance at %s>" % (self
.this
,) 
 108 class wxPyGridCellRenderer(wxPyGridCellRendererPtr
): 
 109     def __init__(self
,*_args
,**_kwargs
): 
 110         self
.this 
= apply(gridc
.new_wxPyGridCellRenderer
,_args
,_kwargs
) 
 112         self
._setSelf
(self
, wxPyGridCellRenderer
) 
 117 class wxGridCellStringRendererPtr(wxGridCellRendererPtr
): 
 118     def __init__(self
,this
): 
 122         return "<C wxGridCellStringRenderer instance at %s>" % (self
.this
,) 
 123 class wxGridCellStringRenderer(wxGridCellStringRendererPtr
): 
 124     def __init__(self
,*_args
,**_kwargs
): 
 125         self
.this 
= apply(gridc
.new_wxGridCellStringRenderer
,_args
,_kwargs
) 
 131 class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr
): 
 132     def __init__(self
,this
): 
 136         return "<C wxGridCellNumberRenderer instance at %s>" % (self
.this
,) 
 137 class wxGridCellNumberRenderer(wxGridCellNumberRendererPtr
): 
 138     def __init__(self
,*_args
,**_kwargs
): 
 139         self
.this 
= apply(gridc
.new_wxGridCellNumberRenderer
,_args
,_kwargs
) 
 145 class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr
): 
 146     def __init__(self
,this
): 
 149     def GetWidth(self
, *_args
, **_kwargs
): 
 150         val 
= apply(gridc
.wxGridCellFloatRenderer_GetWidth
,(self
,) + _args
, _kwargs
) 
 152     def SetWidth(self
, *_args
, **_kwargs
): 
 153         val 
= apply(gridc
.wxGridCellFloatRenderer_SetWidth
,(self
,) + _args
, _kwargs
) 
 155     def GetPrecision(self
, *_args
, **_kwargs
): 
 156         val 
= apply(gridc
.wxGridCellFloatRenderer_GetPrecision
,(self
,) + _args
, _kwargs
) 
 158     def SetPrecision(self
, *_args
, **_kwargs
): 
 159         val 
= apply(gridc
.wxGridCellFloatRenderer_SetPrecision
,(self
,) + _args
, _kwargs
) 
 162         return "<C wxGridCellFloatRenderer instance at %s>" % (self
.this
,) 
 163 class wxGridCellFloatRenderer(wxGridCellFloatRendererPtr
): 
 164     def __init__(self
,*_args
,**_kwargs
): 
 165         self
.this 
= apply(gridc
.new_wxGridCellFloatRenderer
,_args
,_kwargs
) 
 171 class wxGridCellBoolRendererPtr(wxGridCellRendererPtr
): 
 172     def __init__(self
,this
): 
 176         return "<C wxGridCellBoolRenderer instance at %s>" % (self
.this
,) 
 177 class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr
): 
 178     def __init__(self
,*_args
,**_kwargs
): 
 179         self
.this 
= apply(gridc
.new_wxGridCellBoolRenderer
,_args
,_kwargs
) 
 185 class wxGridCellEditorPtr 
: 
 186     def __init__(self
,this
): 
 189     def IsCreated(self
, *_args
, **_kwargs
): 
 190         val 
= apply(gridc
.wxGridCellEditor_IsCreated
,(self
,) + _args
, _kwargs
) 
 192     def GetControl(self
, *_args
, **_kwargs
): 
 193         val 
= apply(gridc
.wxGridCellEditor_GetControl
,(self
,) + _args
, _kwargs
) 
 195     def SetControl(self
, *_args
, **_kwargs
): 
 196         val 
= apply(gridc
.wxGridCellEditor_SetControl
,(self
,) + _args
, _kwargs
) 
 198     def SetParameters(self
, *_args
, **_kwargs
): 
 199         val 
= apply(gridc
.wxGridCellEditor_SetParameters
,(self
,) + _args
, _kwargs
) 
 201     def IncRef(self
, *_args
, **_kwargs
): 
 202         val 
= apply(gridc
.wxGridCellEditor_IncRef
,(self
,) + _args
, _kwargs
) 
 204     def DecRef(self
, *_args
, **_kwargs
): 
 205         val 
= apply(gridc
.wxGridCellEditor_DecRef
,(self
,) + _args
, _kwargs
) 
 207     def Create(self
, *_args
, **_kwargs
): 
 208         val 
= apply(gridc
.wxGridCellEditor_Create
,(self
,) + _args
, _kwargs
) 
 210     def BeginEdit(self
, *_args
, **_kwargs
): 
 211         val 
= apply(gridc
.wxGridCellEditor_BeginEdit
,(self
,) + _args
, _kwargs
) 
 213     def EndEdit(self
, *_args
, **_kwargs
): 
 214         val 
= apply(gridc
.wxGridCellEditor_EndEdit
,(self
,) + _args
, _kwargs
) 
 216     def Reset(self
, *_args
, **_kwargs
): 
 217         val 
= apply(gridc
.wxGridCellEditor_Reset
,(self
,) + _args
, _kwargs
) 
 219     def Clone(self
, *_args
, **_kwargs
): 
 220         val 
= apply(gridc
.wxGridCellEditor_Clone
,(self
,) + _args
, _kwargs
) 
 221         if val
: val 
= wxGridCellEditorPtr(val
)  
 223     def SetSize(self
, *_args
, **_kwargs
): 
 224         val 
= apply(gridc
.wxGridCellEditor_SetSize
,(self
,) + _args
, _kwargs
) 
 226     def Show(self
, *_args
, **_kwargs
): 
 227         val 
= apply(gridc
.wxGridCellEditor_Show
,(self
,) + _args
, _kwargs
) 
 229     def PaintBackground(self
, *_args
, **_kwargs
): 
 230         val 
= apply(gridc
.wxGridCellEditor_PaintBackground
,(self
,) + _args
, _kwargs
) 
 232     def IsAcceptedKey(self
, *_args
, **_kwargs
): 
 233         val 
= apply(gridc
.wxGridCellEditor_IsAcceptedKey
,(self
,) + _args
, _kwargs
) 
 235     def StartingKey(self
, *_args
, **_kwargs
): 
 236         val 
= apply(gridc
.wxGridCellEditor_StartingKey
,(self
,) + _args
, _kwargs
) 
 238     def StartingClick(self
, *_args
, **_kwargs
): 
 239         val 
= apply(gridc
.wxGridCellEditor_StartingClick
,(self
,) + _args
, _kwargs
) 
 241     def HandleReturn(self
, *_args
, **_kwargs
): 
 242         val 
= apply(gridc
.wxGridCellEditor_HandleReturn
,(self
,) + _args
, _kwargs
) 
 244     def Destroy(self
, *_args
, **_kwargs
): 
 245         val 
= apply(gridc
.wxGridCellEditor_Destroy
,(self
,) + _args
, _kwargs
) 
 248         return "<C wxGridCellEditor instance at %s>" % (self
.this
,) 
 249 class wxGridCellEditor(wxGridCellEditorPtr
): 
 250     def __init__(self
,this
): 
 256 class wxPyGridCellEditorPtr(wxGridCellEditorPtr
): 
 257     def __init__(self
,this
): 
 260     def _setSelf(self
, *_args
, **_kwargs
): 
 261         val 
= apply(gridc
.wxPyGridCellEditor__setSelf
,(self
,) + _args
, _kwargs
) 
 263     def base_SetSize(self
, *_args
, **_kwargs
): 
 264         val 
= apply(gridc
.wxPyGridCellEditor_base_SetSize
,(self
,) + _args
, _kwargs
) 
 266     def base_Show(self
, *_args
, **_kwargs
): 
 267         val 
= apply(gridc
.wxPyGridCellEditor_base_Show
,(self
,) + _args
, _kwargs
) 
 269     def base_PaintBackground(self
, *_args
, **_kwargs
): 
 270         val 
= apply(gridc
.wxPyGridCellEditor_base_PaintBackground
,(self
,) + _args
, _kwargs
) 
 272     def base_IsAcceptedKey(self
, *_args
, **_kwargs
): 
 273         val 
= apply(gridc
.wxPyGridCellEditor_base_IsAcceptedKey
,(self
,) + _args
, _kwargs
) 
 275     def base_StartingKey(self
, *_args
, **_kwargs
): 
 276         val 
= apply(gridc
.wxPyGridCellEditor_base_StartingKey
,(self
,) + _args
, _kwargs
) 
 278     def base_StartingClick(self
, *_args
, **_kwargs
): 
 279         val 
= apply(gridc
.wxPyGridCellEditor_base_StartingClick
,(self
,) + _args
, _kwargs
) 
 281     def base_HandleReturn(self
, *_args
, **_kwargs
): 
 282         val 
= apply(gridc
.wxPyGridCellEditor_base_HandleReturn
,(self
,) + _args
, _kwargs
) 
 284     def base_Destroy(self
, *_args
, **_kwargs
): 
 285         val 
= apply(gridc
.wxPyGridCellEditor_base_Destroy
,(self
,) + _args
, _kwargs
) 
 287     def base_SetParameters(self
, *_args
, **_kwargs
): 
 288         val 
= apply(gridc
.wxPyGridCellEditor_base_SetParameters
,(self
,) + _args
, _kwargs
) 
 291         return "<C wxPyGridCellEditor instance at %s>" % (self
.this
,) 
 292 class wxPyGridCellEditor(wxPyGridCellEditorPtr
): 
 293     def __init__(self
,*_args
,**_kwargs
): 
 294         self
.this 
= apply(gridc
.new_wxPyGridCellEditor
,_args
,_kwargs
) 
 296         self
._setSelf
(self
, wxPyGridCellEditor
) 
 301 class wxGridCellTextEditorPtr(wxGridCellEditorPtr
): 
 302     def __init__(self
,this
): 
 306         return "<C wxGridCellTextEditor instance at %s>" % (self
.this
,) 
 307 class wxGridCellTextEditor(wxGridCellTextEditorPtr
): 
 308     def __init__(self
,*_args
,**_kwargs
): 
 309         self
.this 
= apply(gridc
.new_wxGridCellTextEditor
,_args
,_kwargs
) 
 315 class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr
): 
 316     def __init__(self
,this
): 
 320         return "<C wxGridCellNumberEditor instance at %s>" % (self
.this
,) 
 321 class wxGridCellNumberEditor(wxGridCellNumberEditorPtr
): 
 322     def __init__(self
,*_args
,**_kwargs
): 
 323         self
.this 
= apply(gridc
.new_wxGridCellNumberEditor
,_args
,_kwargs
) 
 329 class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr
): 
 330     def __init__(self
,this
): 
 334         return "<C wxGridCellFloatEditor instance at %s>" % (self
.this
,) 
 335 class wxGridCellFloatEditor(wxGridCellFloatEditorPtr
): 
 336     def __init__(self
,*_args
,**_kwargs
): 
 337         self
.this 
= apply(gridc
.new_wxGridCellFloatEditor
,_args
,_kwargs
) 
 343 class wxGridCellBoolEditorPtr(wxGridCellEditorPtr
): 
 344     def __init__(self
,this
): 
 348         return "<C wxGridCellBoolEditor instance at %s>" % (self
.this
,) 
 349 class wxGridCellBoolEditor(wxGridCellBoolEditorPtr
): 
 350     def __init__(self
,*_args
,**_kwargs
): 
 351         self
.this 
= apply(gridc
.new_wxGridCellBoolEditor
,_args
,_kwargs
) 
 357 class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr
): 
 358     def __init__(self
,this
): 
 362         return "<C wxGridCellChoiceEditor instance at %s>" % (self
.this
,) 
 363 class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr
): 
 364     def __init__(self
,*_args
,**_kwargs
): 
 365         self
.this 
= apply(gridc
.new_wxGridCellChoiceEditor
,_args
,_kwargs
) 
 371 class wxGridCellAttrPtr 
: 
 372     Any 
= gridc
.wxGridCellAttr_Any
 
 373     Default 
= gridc
.wxGridCellAttr_Default
 
 374     Cell 
= gridc
.wxGridCellAttr_Cell
 
 375     Row 
= gridc
.wxGridCellAttr_Row
 
 376     Col 
= gridc
.wxGridCellAttr_Col
 
 377     Merged 
= gridc
.wxGridCellAttr_Merged
 
 378     def __init__(self
,this
): 
 381     def Clone(self
, *_args
, **_kwargs
): 
 382         val 
= apply(gridc
.wxGridCellAttr_Clone
,(self
,) + _args
, _kwargs
) 
 383         if val
: val 
= wxGridCellAttrPtr(val
)  
 385     def MergeWith(self
, *_args
, **_kwargs
): 
 386         val 
= apply(gridc
.wxGridCellAttr_MergeWith
,(self
,) + _args
, _kwargs
) 
 388     def IncRef(self
, *_args
, **_kwargs
): 
 389         val 
= apply(gridc
.wxGridCellAttr_IncRef
,(self
,) + _args
, _kwargs
) 
 391     def DecRef(self
, *_args
, **_kwargs
): 
 392         val 
= apply(gridc
.wxGridCellAttr_DecRef
,(self
,) + _args
, _kwargs
) 
 394     def SetTextColour(self
, *_args
, **_kwargs
): 
 395         val 
= apply(gridc
.wxGridCellAttr_SetTextColour
,(self
,) + _args
, _kwargs
) 
 397     def SetBackgroundColour(self
, *_args
, **_kwargs
): 
 398         val 
= apply(gridc
.wxGridCellAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 400     def SetFont(self
, *_args
, **_kwargs
): 
 401         val 
= apply(gridc
.wxGridCellAttr_SetFont
,(self
,) + _args
, _kwargs
) 
 403     def SetAlignment(self
, *_args
, **_kwargs
): 
 404         val 
= apply(gridc
.wxGridCellAttr_SetAlignment
,(self
,) + _args
, _kwargs
) 
 406     def SetReadOnly(self
, *_args
, **_kwargs
): 
 407         val 
= apply(gridc
.wxGridCellAttr_SetReadOnly
,(self
,) + _args
, _kwargs
) 
 409     def SetRenderer(self
, *_args
, **_kwargs
): 
 410         val 
= apply(gridc
.wxGridCellAttr_SetRenderer
,(self
,) + _args
, _kwargs
) 
 412     def SetEditor(self
, *_args
, **_kwargs
): 
 413         val 
= apply(gridc
.wxGridCellAttr_SetEditor
,(self
,) + _args
, _kwargs
) 
 415     def SetKind(self
, *_args
, **_kwargs
): 
 416         val 
= apply(gridc
.wxGridCellAttr_SetKind
,(self
,) + _args
, _kwargs
) 
 418     def HasTextColour(self
, *_args
, **_kwargs
): 
 419         val 
= apply(gridc
.wxGridCellAttr_HasTextColour
,(self
,) + _args
, _kwargs
) 
 421     def HasBackgroundColour(self
, *_args
, **_kwargs
): 
 422         val 
= apply(gridc
.wxGridCellAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
) 
 424     def HasFont(self
, *_args
, **_kwargs
): 
 425         val 
= apply(gridc
.wxGridCellAttr_HasFont
,(self
,) + _args
, _kwargs
) 
 427     def HasAlignment(self
, *_args
, **_kwargs
): 
 428         val 
= apply(gridc
.wxGridCellAttr_HasAlignment
,(self
,) + _args
, _kwargs
) 
 430     def HasRenderer(self
, *_args
, **_kwargs
): 
 431         val 
= apply(gridc
.wxGridCellAttr_HasRenderer
,(self
,) + _args
, _kwargs
) 
 433     def HasEditor(self
, *_args
, **_kwargs
): 
 434         val 
= apply(gridc
.wxGridCellAttr_HasEditor
,(self
,) + _args
, _kwargs
) 
 436     def HasReadWriteMode(self
, *_args
, **_kwargs
): 
 437         val 
= apply(gridc
.wxGridCellAttr_HasReadWriteMode
,(self
,) + _args
, _kwargs
) 
 439     def GetTextColour(self
, *_args
, **_kwargs
): 
 440         val 
= apply(gridc
.wxGridCellAttr_GetTextColour
,(self
,) + _args
, _kwargs
) 
 441         if val
: val 
= wxColourPtr(val
)  
 443     def GetBackgroundColour(self
, *_args
, **_kwargs
): 
 444         val 
= apply(gridc
.wxGridCellAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
) 
 445         if val
: val 
= wxColourPtr(val
)  
 447     def GetFont(self
, *_args
, **_kwargs
): 
 448         val 
= apply(gridc
.wxGridCellAttr_GetFont
,(self
,) + _args
, _kwargs
) 
 449         if val
: val 
= wxFontPtr(val
)  
 451     def GetAlignment(self
, *_args
, **_kwargs
): 
 452         val 
= apply(gridc
.wxGridCellAttr_GetAlignment
,(self
,) + _args
, _kwargs
) 
 454     def GetRenderer(self
, *_args
, **_kwargs
): 
 455         val 
= apply(gridc
.wxGridCellAttr_GetRenderer
,(self
,) + _args
, _kwargs
) 
 456         if val
: val 
= wxGridCellRendererPtr(val
)  
 458     def GetEditor(self
, *_args
, **_kwargs
): 
 459         val 
= apply(gridc
.wxGridCellAttr_GetEditor
,(self
,) + _args
, _kwargs
) 
 460         if val
: val 
= wxGridCellEditorPtr(val
)  
 462     def IsReadOnly(self
, *_args
, **_kwargs
): 
 463         val 
= apply(gridc
.wxGridCellAttr_IsReadOnly
,(self
,) + _args
, _kwargs
) 
 465     def SetDefAttr(self
, *_args
, **_kwargs
): 
 466         val 
= apply(gridc
.wxGridCellAttr_SetDefAttr
,(self
,) + _args
, _kwargs
) 
 469         return "<C wxGridCellAttr instance at %s>" % (self
.this
,) 
 470 class wxGridCellAttr(wxGridCellAttrPtr
): 
 471     def __init__(self
,*_args
,**_kwargs
): 
 472         self
.this 
= apply(gridc
.new_wxGridCellAttr
,_args
,_kwargs
) 
 478 class wxGridCellAttrProviderPtr 
: 
 479     def __init__(self
,this
): 
 482     def GetAttr(self
, *_args
, **_kwargs
): 
 483         val 
= apply(gridc
.wxGridCellAttrProvider_GetAttr
,(self
,) + _args
, _kwargs
) 
 484         if val
: val 
= wxGridCellAttrPtr(val
)  
 486     def SetAttr(self
, *_args
, **_kwargs
): 
 487         val 
= apply(gridc
.wxGridCellAttrProvider_SetAttr
,(self
,) + _args
, _kwargs
) 
 489     def SetRowAttr(self
, *_args
, **_kwargs
): 
 490         val 
= apply(gridc
.wxGridCellAttrProvider_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 492     def SetColAttr(self
, *_args
, **_kwargs
): 
 493         val 
= apply(gridc
.wxGridCellAttrProvider_SetColAttr
,(self
,) + _args
, _kwargs
) 
 495     def UpdateAttrRows(self
, *_args
, **_kwargs
): 
 496         val 
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrRows
,(self
,) + _args
, _kwargs
) 
 498     def UpdateAttrCols(self
, *_args
, **_kwargs
): 
 499         val 
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrCols
,(self
,) + _args
, _kwargs
) 
 502         return "<C wxGridCellAttrProvider instance at %s>" % (self
.this
,) 
 503 class wxGridCellAttrProvider(wxGridCellAttrProviderPtr
): 
 504     def __init__(self
,*_args
,**_kwargs
): 
 505         self
.this 
= apply(gridc
.new_wxGridCellAttrProvider
,_args
,_kwargs
) 
 511 class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr
): 
 512     def __init__(self
,this
): 
 515     def _setSelf(self
, *_args
, **_kwargs
): 
 516         val 
= apply(gridc
.wxPyGridCellAttrProvider__setSelf
,(self
,) + _args
, _kwargs
) 
 518     def base_GetAttr(self
, *_args
, **_kwargs
): 
 519         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_GetAttr
,(self
,) + _args
, _kwargs
) 
 520         if val
: val 
= wxGridCellAttrPtr(val
)  
 522     def base_SetAttr(self
, *_args
, **_kwargs
): 
 523         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_SetAttr
,(self
,) + _args
, _kwargs
) 
 525     def base_SetRowAttr(self
, *_args
, **_kwargs
): 
 526         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 528     def base_SetColAttr(self
, *_args
, **_kwargs
): 
 529         val 
= apply(gridc
.wxPyGridCellAttrProvider_base_SetColAttr
,(self
,) + _args
, _kwargs
) 
 532         return "<C wxPyGridCellAttrProvider instance at %s>" % (self
.this
,) 
 533 class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr
): 
 534     def __init__(self
,*_args
,**_kwargs
): 
 535         self
.this 
= apply(gridc
.new_wxPyGridCellAttrProvider
,_args
,_kwargs
) 
 537         self
._setSelf
(self
, wxPyGridCellAttrProvider
) 
 542 class wxGridTableBasePtr(wxObjectPtr
): 
 543     def __init__(self
,this
): 
 546     def SetAttrProvider(self
, *_args
, **_kwargs
): 
 547         val 
= apply(gridc
.wxGridTableBase_SetAttrProvider
,(self
,) + _args
, _kwargs
) 
 549     def GetAttrProvider(self
, *_args
, **_kwargs
): 
 550         val 
= apply(gridc
.wxGridTableBase_GetAttrProvider
,(self
,) + _args
, _kwargs
) 
 551         if val
: val 
= wxGridCellAttrProviderPtr(val
)  
 553     def SetView(self
, *_args
, **_kwargs
): 
 554         val 
= apply(gridc
.wxGridTableBase_SetView
,(self
,) + _args
, _kwargs
) 
 556     def GetView(self
, *_args
, **_kwargs
): 
 557         val 
= apply(gridc
.wxGridTableBase_GetView
,(self
,) + _args
, _kwargs
) 
 559     def GetNumberRows(self
, *_args
, **_kwargs
): 
 560         val 
= apply(gridc
.wxGridTableBase_GetNumberRows
,(self
,) + _args
, _kwargs
) 
 562     def GetNumberCols(self
, *_args
, **_kwargs
): 
 563         val 
= apply(gridc
.wxGridTableBase_GetNumberCols
,(self
,) + _args
, _kwargs
) 
 565     def IsEmptyCell(self
, *_args
, **_kwargs
): 
 566         val 
= apply(gridc
.wxGridTableBase_IsEmptyCell
,(self
,) + _args
, _kwargs
) 
 568     def GetValue(self
, *_args
, **_kwargs
): 
 569         val 
= apply(gridc
.wxGridTableBase_GetValue
,(self
,) + _args
, _kwargs
) 
 571     def SetValue(self
, *_args
, **_kwargs
): 
 572         val 
= apply(gridc
.wxGridTableBase_SetValue
,(self
,) + _args
, _kwargs
) 
 574     def GetTypeName(self
, *_args
, **_kwargs
): 
 575         val 
= apply(gridc
.wxGridTableBase_GetTypeName
,(self
,) + _args
, _kwargs
) 
 577     def CanGetValueAs(self
, *_args
, **_kwargs
): 
 578         val 
= apply(gridc
.wxGridTableBase_CanGetValueAs
,(self
,) + _args
, _kwargs
) 
 580     def CanSetValueAs(self
, *_args
, **_kwargs
): 
 581         val 
= apply(gridc
.wxGridTableBase_CanSetValueAs
,(self
,) + _args
, _kwargs
) 
 583     def GetValueAsLong(self
, *_args
, **_kwargs
): 
 584         val 
= apply(gridc
.wxGridTableBase_GetValueAsLong
,(self
,) + _args
, _kwargs
) 
 586     def GetValueAsDouble(self
, *_args
, **_kwargs
): 
 587         val 
= apply(gridc
.wxGridTableBase_GetValueAsDouble
,(self
,) + _args
, _kwargs
) 
 589     def GetValueAsBool(self
, *_args
, **_kwargs
): 
 590         val 
= apply(gridc
.wxGridTableBase_GetValueAsBool
,(self
,) + _args
, _kwargs
) 
 592     def SetValueAsLong(self
, *_args
, **_kwargs
): 
 593         val 
= apply(gridc
.wxGridTableBase_SetValueAsLong
,(self
,) + _args
, _kwargs
) 
 595     def SetValueAsDouble(self
, *_args
, **_kwargs
): 
 596         val 
= apply(gridc
.wxGridTableBase_SetValueAsDouble
,(self
,) + _args
, _kwargs
) 
 598     def SetValueAsBool(self
, *_args
, **_kwargs
): 
 599         val 
= apply(gridc
.wxGridTableBase_SetValueAsBool
,(self
,) + _args
, _kwargs
) 
 601     def Clear(self
, *_args
, **_kwargs
): 
 602         val 
= apply(gridc
.wxGridTableBase_Clear
,(self
,) + _args
, _kwargs
) 
 604     def InsertRows(self
, *_args
, **_kwargs
): 
 605         val 
= apply(gridc
.wxGridTableBase_InsertRows
,(self
,) + _args
, _kwargs
) 
 607     def AppendRows(self
, *_args
, **_kwargs
): 
 608         val 
= apply(gridc
.wxGridTableBase_AppendRows
,(self
,) + _args
, _kwargs
) 
 610     def DeleteRows(self
, *_args
, **_kwargs
): 
 611         val 
= apply(gridc
.wxGridTableBase_DeleteRows
,(self
,) + _args
, _kwargs
) 
 613     def InsertCols(self
, *_args
, **_kwargs
): 
 614         val 
= apply(gridc
.wxGridTableBase_InsertCols
,(self
,) + _args
, _kwargs
) 
 616     def AppendCols(self
, *_args
, **_kwargs
): 
 617         val 
= apply(gridc
.wxGridTableBase_AppendCols
,(self
,) + _args
, _kwargs
) 
 619     def DeleteCols(self
, *_args
, **_kwargs
): 
 620         val 
= apply(gridc
.wxGridTableBase_DeleteCols
,(self
,) + _args
, _kwargs
) 
 622     def GetRowLabelValue(self
, *_args
, **_kwargs
): 
 623         val 
= apply(gridc
.wxGridTableBase_GetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 625     def GetColLabelValue(self
, *_args
, **_kwargs
): 
 626         val 
= apply(gridc
.wxGridTableBase_GetColLabelValue
,(self
,) + _args
, _kwargs
) 
 628     def SetRowLabelValue(self
, *_args
, **_kwargs
): 
 629         val 
= apply(gridc
.wxGridTableBase_SetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 631     def SetColLabelValue(self
, *_args
, **_kwargs
): 
 632         val 
= apply(gridc
.wxGridTableBase_SetColLabelValue
,(self
,) + _args
, _kwargs
) 
 634     def CanHaveAttributes(self
, *_args
, **_kwargs
): 
 635         val 
= apply(gridc
.wxGridTableBase_CanHaveAttributes
,(self
,) + _args
, _kwargs
) 
 637     def GetAttr(self
, *_args
, **_kwargs
): 
 638         val 
= apply(gridc
.wxGridTableBase_GetAttr
,(self
,) + _args
, _kwargs
) 
 639         if val
: val 
= wxGridCellAttrPtr(val
)  
 641     def SetAttr(self
, *_args
, **_kwargs
): 
 642         val 
= apply(gridc
.wxGridTableBase_SetAttr
,(self
,) + _args
, _kwargs
) 
 644     def SetRowAttr(self
, *_args
, **_kwargs
): 
 645         val 
= apply(gridc
.wxGridTableBase_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 647     def SetColAttr(self
, *_args
, **_kwargs
): 
 648         val 
= apply(gridc
.wxGridTableBase_SetColAttr
,(self
,) + _args
, _kwargs
) 
 651         return "<C wxGridTableBase instance at %s>" % (self
.this
,) 
 652 class wxGridTableBase(wxGridTableBasePtr
): 
 653     def __init__(self
,this
): 
 659 class wxPyGridTableBasePtr(wxGridTableBasePtr
): 
 660     def __init__(self
,this
): 
 663     def _setSelf(self
, *_args
, **_kwargs
): 
 664         val 
= apply(gridc
.wxPyGridTableBase__setSelf
,(self
,) + _args
, _kwargs
) 
 666     def Destroy(self
, *_args
, **_kwargs
): 
 667         val 
= apply(gridc
.wxPyGridTableBase_Destroy
,(self
,) + _args
, _kwargs
) 
 669     def base_GetTypeName(self
, *_args
, **_kwargs
): 
 670         val 
= apply(gridc
.wxPyGridTableBase_base_GetTypeName
,(self
,) + _args
, _kwargs
) 
 672     def base_CanGetValueAs(self
, *_args
, **_kwargs
): 
 673         val 
= apply(gridc
.wxPyGridTableBase_base_CanGetValueAs
,(self
,) + _args
, _kwargs
) 
 675     def base_CanSetValueAs(self
, *_args
, **_kwargs
): 
 676         val 
= apply(gridc
.wxPyGridTableBase_base_CanSetValueAs
,(self
,) + _args
, _kwargs
) 
 678     def base_Clear(self
, *_args
, **_kwargs
): 
 679         val 
= apply(gridc
.wxPyGridTableBase_base_Clear
,(self
,) + _args
, _kwargs
) 
 681     def base_InsertRows(self
, *_args
, **_kwargs
): 
 682         val 
= apply(gridc
.wxPyGridTableBase_base_InsertRows
,(self
,) + _args
, _kwargs
) 
 684     def base_AppendRows(self
, *_args
, **_kwargs
): 
 685         val 
= apply(gridc
.wxPyGridTableBase_base_AppendRows
,(self
,) + _args
, _kwargs
) 
 687     def base_DeleteRows(self
, *_args
, **_kwargs
): 
 688         val 
= apply(gridc
.wxPyGridTableBase_base_DeleteRows
,(self
,) + _args
, _kwargs
) 
 690     def base_InsertCols(self
, *_args
, **_kwargs
): 
 691         val 
= apply(gridc
.wxPyGridTableBase_base_InsertCols
,(self
,) + _args
, _kwargs
) 
 693     def base_AppendCols(self
, *_args
, **_kwargs
): 
 694         val 
= apply(gridc
.wxPyGridTableBase_base_AppendCols
,(self
,) + _args
, _kwargs
) 
 696     def base_DeleteCols(self
, *_args
, **_kwargs
): 
 697         val 
= apply(gridc
.wxPyGridTableBase_base_DeleteCols
,(self
,) + _args
, _kwargs
) 
 699     def base_GetRowLabelValue(self
, *_args
, **_kwargs
): 
 700         val 
= apply(gridc
.wxPyGridTableBase_base_GetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 702     def base_GetColLabelValue(self
, *_args
, **_kwargs
): 
 703         val 
= apply(gridc
.wxPyGridTableBase_base_GetColLabelValue
,(self
,) + _args
, _kwargs
) 
 705     def base_SetRowLabelValue(self
, *_args
, **_kwargs
): 
 706         val 
= apply(gridc
.wxPyGridTableBase_base_SetRowLabelValue
,(self
,) + _args
, _kwargs
) 
 708     def base_SetColLabelValue(self
, *_args
, **_kwargs
): 
 709         val 
= apply(gridc
.wxPyGridTableBase_base_SetColLabelValue
,(self
,) + _args
, _kwargs
) 
 711     def base_CanHaveAttributes(self
, *_args
, **_kwargs
): 
 712         val 
= apply(gridc
.wxPyGridTableBase_base_CanHaveAttributes
,(self
,) + _args
, _kwargs
) 
 714     def base_GetAttr(self
, *_args
, **_kwargs
): 
 715         val 
= apply(gridc
.wxPyGridTableBase_base_GetAttr
,(self
,) + _args
, _kwargs
) 
 716         if val
: val 
= wxGridCellAttrPtr(val
)  
 718     def base_SetAttr(self
, *_args
, **_kwargs
): 
 719         val 
= apply(gridc
.wxPyGridTableBase_base_SetAttr
,(self
,) + _args
, _kwargs
) 
 721     def base_SetRowAttr(self
, *_args
, **_kwargs
): 
 722         val 
= apply(gridc
.wxPyGridTableBase_base_SetRowAttr
,(self
,) + _args
, _kwargs
) 
 724     def base_SetColAttr(self
, *_args
, **_kwargs
): 
 725         val 
= apply(gridc
.wxPyGridTableBase_base_SetColAttr
,(self
,) + _args
, _kwargs
) 
 728         return "<C wxPyGridTableBase instance at %s>" % (self
.this
,) 
 729 class wxPyGridTableBase(wxPyGridTableBasePtr
): 
 730     def __init__(self
,*_args
,**_kwargs
): 
 731         self
.this 
= apply(gridc
.new_wxPyGridTableBase
,_args
,_kwargs
) 
 733         self
._setSelf
(self
, wxPyGridTableBase
) 
 738 class wxGridStringTablePtr(wxGridTableBasePtr
): 
 739     def __init__(self
,this
): 
 743         return "<C wxGridStringTable instance at %s>" % (self
.this
,) 
 744 class wxGridStringTable(wxGridStringTablePtr
): 
 745     def __init__(self
,*_args
,**_kwargs
): 
 746         self
.this 
= apply(gridc
.new_wxGridStringTable
,_args
,_kwargs
) 
 752 class wxGridTableMessagePtr 
: 
 753     def __init__(self
,this
): 
 756     def __del__(self
,gridc
=gridc
): 
 757         if self
.thisown 
== 1 : 
 758             gridc
.delete_wxGridTableMessage(self
) 
 759     def SetTableObject(self
, *_args
, **_kwargs
): 
 760         val 
= apply(gridc
.wxGridTableMessage_SetTableObject
,(self
,) + _args
, _kwargs
) 
 762     def GetTableObject(self
, *_args
, **_kwargs
): 
 763         val 
= apply(gridc
.wxGridTableMessage_GetTableObject
,(self
,) + _args
, _kwargs
) 
 765     def SetId(self
, *_args
, **_kwargs
): 
 766         val 
= apply(gridc
.wxGridTableMessage_SetId
,(self
,) + _args
, _kwargs
) 
 768     def GetId(self
, *_args
, **_kwargs
): 
 769         val 
= apply(gridc
.wxGridTableMessage_GetId
,(self
,) + _args
, _kwargs
) 
 771     def SetCommandInt(self
, *_args
, **_kwargs
): 
 772         val 
= apply(gridc
.wxGridTableMessage_SetCommandInt
,(self
,) + _args
, _kwargs
) 
 774     def GetCommandInt(self
, *_args
, **_kwargs
): 
 775         val 
= apply(gridc
.wxGridTableMessage_GetCommandInt
,(self
,) + _args
, _kwargs
) 
 777     def SetCommandInt2(self
, *_args
, **_kwargs
): 
 778         val 
= apply(gridc
.wxGridTableMessage_SetCommandInt2
,(self
,) + _args
, _kwargs
) 
 780     def GetCommandInt2(self
, *_args
, **_kwargs
): 
 781         val 
= apply(gridc
.wxGridTableMessage_GetCommandInt2
,(self
,) + _args
, _kwargs
) 
 784         return "<C wxGridTableMessage instance at %s>" % (self
.this
,) 
 785 class wxGridTableMessage(wxGridTableMessagePtr
): 
 786     def __init__(self
,*_args
,**_kwargs
): 
 787         self
.this 
= apply(gridc
.new_wxGridTableMessage
,_args
,_kwargs
) 
 793 class wxGridCellCoordsPtr 
: 
 794     def __init__(self
,this
): 
 797     def __del__(self
,gridc
=gridc
): 
 798         if self
.thisown 
== 1 : 
 799             gridc
.delete_wxGridCellCoords(self
) 
 800     def GetRow(self
, *_args
, **_kwargs
): 
 801         val 
= apply(gridc
.wxGridCellCoords_GetRow
,(self
,) + _args
, _kwargs
) 
 803     def SetRow(self
, *_args
, **_kwargs
): 
 804         val 
= apply(gridc
.wxGridCellCoords_SetRow
,(self
,) + _args
, _kwargs
) 
 806     def GetCol(self
, *_args
, **_kwargs
): 
 807         val 
= apply(gridc
.wxGridCellCoords_GetCol
,(self
,) + _args
, _kwargs
) 
 809     def SetCol(self
, *_args
, **_kwargs
): 
 810         val 
= apply(gridc
.wxGridCellCoords_SetCol
,(self
,) + _args
, _kwargs
) 
 812     def Set(self
, *_args
, **_kwargs
): 
 813         val 
= apply(gridc
.wxGridCellCoords_Set
,(self
,) + _args
, _kwargs
) 
 815     def asTuple(self
, *_args
, **_kwargs
): 
 816         val 
= apply(gridc
.wxGridCellCoords_asTuple
,(self
,) + _args
, _kwargs
) 
 818     def __cmp__(self
, *_args
, **_kwargs
): 
 819         val 
= apply(gridc
.wxGridCellCoords___cmp__
,(self
,) + _args
, _kwargs
) 
 822         return "<C wxGridCellCoords instance at %s>" % (self
.this
,) 
 823     def __str__(self
): return str(self
.asTuple()) 
 824     def __repr__(self
): return str(self
.asTuple()) 
 825 class wxGridCellCoords(wxGridCellCoordsPtr
): 
 826     def __init__(self
,*_args
,**_kwargs
): 
 827         self
.this 
= apply(gridc
.new_wxGridCellCoords
,_args
,_kwargs
) 
 833 class wxGridPtr(wxScrolledWindowPtr
): 
 834     wxGridSelectCells 
= gridc
.wxGrid_wxGridSelectCells
 
 835     wxGridSelectRows 
= gridc
.wxGrid_wxGridSelectRows
 
 836     wxGridSelectColumns 
= gridc
.wxGrid_wxGridSelectColumns
 
 837     def __init__(self
,this
): 
 840     def CreateGrid(self
, *_args
, **_kwargs
): 
 841         val 
= apply(gridc
.wxGrid_CreateGrid
,(self
,) + _args
, _kwargs
) 
 843     def SetSelectionMode(self
, *_args
, **_kwargs
): 
 844         val 
= apply(gridc
.wxGrid_SetSelectionMode
,(self
,) + _args
, _kwargs
) 
 846     def GetNumberRows(self
, *_args
, **_kwargs
): 
 847         val 
= apply(gridc
.wxGrid_GetNumberRows
,(self
,) + _args
, _kwargs
) 
 849     def GetNumberCols(self
, *_args
, **_kwargs
): 
 850         val 
= apply(gridc
.wxGrid_GetNumberCols
,(self
,) + _args
, _kwargs
) 
 852     def ProcessTableMessage(self
, *_args
, **_kwargs
): 
 853         val 
= apply(gridc
.wxGrid_ProcessTableMessage
,(self
,) + _args
, _kwargs
) 
 855     def GetTable(self
, *_args
, **_kwargs
): 
 856         val 
= apply(gridc
.wxGrid_GetTable
,(self
,) + _args
, _kwargs
) 
 858     def SetTable(self
, *_args
, **_kwargs
): 
 859         val 
= apply(gridc
.wxGrid_SetTable
,(self
,) + _args
, _kwargs
) 
 861     def ClearGrid(self
, *_args
, **_kwargs
): 
 862         val 
= apply(gridc
.wxGrid_ClearGrid
,(self
,) + _args
, _kwargs
) 
 864     def InsertRows(self
, *_args
, **_kwargs
): 
 865         val 
= apply(gridc
.wxGrid_InsertRows
,(self
,) + _args
, _kwargs
) 
 867     def AppendRows(self
, *_args
, **_kwargs
): 
 868         val 
= apply(gridc
.wxGrid_AppendRows
,(self
,) + _args
, _kwargs
) 
 870     def DeleteRows(self
, *_args
, **_kwargs
): 
 871         val 
= apply(gridc
.wxGrid_DeleteRows
,(self
,) + _args
, _kwargs
) 
 873     def InsertCols(self
, *_args
, **_kwargs
): 
 874         val 
= apply(gridc
.wxGrid_InsertCols
,(self
,) + _args
, _kwargs
) 
 876     def AppendCols(self
, *_args
, **_kwargs
): 
 877         val 
= apply(gridc
.wxGrid_AppendCols
,(self
,) + _args
, _kwargs
) 
 879     def DeleteCols(self
, *_args
, **_kwargs
): 
 880         val 
= apply(gridc
.wxGrid_DeleteCols
,(self
,) + _args
, _kwargs
) 
 882     def DrawCellHighlight(self
, *_args
, **_kwargs
): 
 883         val 
= apply(gridc
.wxGrid_DrawCellHighlight
,(self
,) + _args
, _kwargs
) 
 885     def DrawTextRectangle(self
, *_args
, **_kwargs
): 
 886         val 
= apply(gridc
.wxGrid_DrawTextRectangle
,(self
,) + _args
, _kwargs
) 
 888     def StringToLines(self
, *_args
, **_kwargs
): 
 889         val 
= apply(gridc
.wxGrid_StringToLines
,(self
,) + _args
, _kwargs
) 
 891     def GetTextBoxSize(self
, *_args
, **_kwargs
): 
 892         val 
= apply(gridc
.wxGrid_GetTextBoxSize
,(self
,) + _args
, _kwargs
) 
 894     def BeginBatch(self
, *_args
, **_kwargs
): 
 895         val 
= apply(gridc
.wxGrid_BeginBatch
,(self
,) + _args
, _kwargs
) 
 897     def EndBatch(self
, *_args
, **_kwargs
): 
 898         val 
= apply(gridc
.wxGrid_EndBatch
,(self
,) + _args
, _kwargs
) 
 900     def GetBatchCount(self
, *_args
, **_kwargs
): 
 901         val 
= apply(gridc
.wxGrid_GetBatchCount
,(self
,) + _args
, _kwargs
) 
 903     def IsEditable(self
, *_args
, **_kwargs
): 
 904         val 
= apply(gridc
.wxGrid_IsEditable
,(self
,) + _args
, _kwargs
) 
 906     def EnableEditing(self
, *_args
, **_kwargs
): 
 907         val 
= apply(gridc
.wxGrid_EnableEditing
,(self
,) + _args
, _kwargs
) 
 909     def EnableCellEditControl(self
, *_args
, **_kwargs
): 
 910         val 
= apply(gridc
.wxGrid_EnableCellEditControl
,(self
,) + _args
, _kwargs
) 
 912     def DisableCellEditControl(self
, *_args
, **_kwargs
): 
 913         val 
= apply(gridc
.wxGrid_DisableCellEditControl
,(self
,) + _args
, _kwargs
) 
 915     def CanEnableCellControl(self
, *_args
, **_kwargs
): 
 916         val 
= apply(gridc
.wxGrid_CanEnableCellControl
,(self
,) + _args
, _kwargs
) 
 918     def IsCellEditControlEnabled(self
, *_args
, **_kwargs
): 
 919         val 
= apply(gridc
.wxGrid_IsCellEditControlEnabled
,(self
,) + _args
, _kwargs
) 
 921     def IsCellEditControlShown(self
, *_args
, **_kwargs
): 
 922         val 
= apply(gridc
.wxGrid_IsCellEditControlShown
,(self
,) + _args
, _kwargs
) 
 924     def IsCurrentCellReadOnly(self
, *_args
, **_kwargs
): 
 925         val 
= apply(gridc
.wxGrid_IsCurrentCellReadOnly
,(self
,) + _args
, _kwargs
) 
 927     def ShowCellEditControl(self
, *_args
, **_kwargs
): 
 928         val 
= apply(gridc
.wxGrid_ShowCellEditControl
,(self
,) + _args
, _kwargs
) 
 930     def HideCellEditControl(self
, *_args
, **_kwargs
): 
 931         val 
= apply(gridc
.wxGrid_HideCellEditControl
,(self
,) + _args
, _kwargs
) 
 933     def SaveEditControlValue(self
, *_args
, **_kwargs
): 
 934         val 
= apply(gridc
.wxGrid_SaveEditControlValue
,(self
,) + _args
, _kwargs
) 
 936     def XYToCell(self
, *_args
, **_kwargs
): 
 937         val 
= apply(gridc
.wxGrid_XYToCell
,(self
,) + _args
, _kwargs
) 
 938         if val
: val 
= wxGridCellCoordsPtr(val
) ; val
.thisown 
= 1 
 940     def YToRow(self
, *_args
, **_kwargs
): 
 941         val 
= apply(gridc
.wxGrid_YToRow
,(self
,) + _args
, _kwargs
) 
 943     def XToCol(self
, *_args
, **_kwargs
): 
 944         val 
= apply(gridc
.wxGrid_XToCol
,(self
,) + _args
, _kwargs
) 
 946     def YToEdgeOfRow(self
, *_args
, **_kwargs
): 
 947         val 
= apply(gridc
.wxGrid_YToEdgeOfRow
,(self
,) + _args
, _kwargs
) 
 949     def XToEdgeOfCol(self
, *_args
, **_kwargs
): 
 950         val 
= apply(gridc
.wxGrid_XToEdgeOfCol
,(self
,) + _args
, _kwargs
) 
 952     def CellToRect(self
, *_args
, **_kwargs
): 
 953         val 
= apply(gridc
.wxGrid_CellToRect
,(self
,) + _args
, _kwargs
) 
 954         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
 956     def GetGridCursorRow(self
, *_args
, **_kwargs
): 
 957         val 
= apply(gridc
.wxGrid_GetGridCursorRow
,(self
,) + _args
, _kwargs
) 
 959     def GetGridCursorCol(self
, *_args
, **_kwargs
): 
 960         val 
= apply(gridc
.wxGrid_GetGridCursorCol
,(self
,) + _args
, _kwargs
) 
 962     def IsVisible(self
, *_args
, **_kwargs
): 
 963         val 
= apply(gridc
.wxGrid_IsVisible
,(self
,) + _args
, _kwargs
) 
 965     def MakeCellVisible(self
, *_args
, **_kwargs
): 
 966         val 
= apply(gridc
.wxGrid_MakeCellVisible
,(self
,) + _args
, _kwargs
) 
 968     def SetGridCursor(self
, *_args
, **_kwargs
): 
 969         val 
= apply(gridc
.wxGrid_SetGridCursor
,(self
,) + _args
, _kwargs
) 
 971     def MoveCursorUp(self
, *_args
, **_kwargs
): 
 972         val 
= apply(gridc
.wxGrid_MoveCursorUp
,(self
,) + _args
, _kwargs
) 
 974     def MoveCursorDown(self
, *_args
, **_kwargs
): 
 975         val 
= apply(gridc
.wxGrid_MoveCursorDown
,(self
,) + _args
, _kwargs
) 
 977     def MoveCursorLeft(self
, *_args
, **_kwargs
): 
 978         val 
= apply(gridc
.wxGrid_MoveCursorLeft
,(self
,) + _args
, _kwargs
) 
 980     def MoveCursorRight(self
, *_args
, **_kwargs
): 
 981         val 
= apply(gridc
.wxGrid_MoveCursorRight
,(self
,) + _args
, _kwargs
) 
 983     def MovePageDown(self
, *_args
, **_kwargs
): 
 984         val 
= apply(gridc
.wxGrid_MovePageDown
,(self
,) + _args
, _kwargs
) 
 986     def MovePageUp(self
, *_args
, **_kwargs
): 
 987         val 
= apply(gridc
.wxGrid_MovePageUp
,(self
,) + _args
, _kwargs
) 
 989     def MoveCursorUpBlock(self
, *_args
, **_kwargs
): 
 990         val 
= apply(gridc
.wxGrid_MoveCursorUpBlock
,(self
,) + _args
, _kwargs
) 
 992     def MoveCursorDownBlock(self
, *_args
, **_kwargs
): 
 993         val 
= apply(gridc
.wxGrid_MoveCursorDownBlock
,(self
,) + _args
, _kwargs
) 
 995     def MoveCursorLeftBlock(self
, *_args
, **_kwargs
): 
 996         val 
= apply(gridc
.wxGrid_MoveCursorLeftBlock
,(self
,) + _args
, _kwargs
) 
 998     def MoveCursorRightBlock(self
, *_args
, **_kwargs
): 
 999         val 
= apply(gridc
.wxGrid_MoveCursorRightBlock
,(self
,) + _args
, _kwargs
) 
1001     def GetDefaultRowLabelSize(self
, *_args
, **_kwargs
): 
1002         val 
= apply(gridc
.wxGrid_GetDefaultRowLabelSize
,(self
,) + _args
, _kwargs
) 
1004     def GetRowLabelSize(self
, *_args
, **_kwargs
): 
1005         val 
= apply(gridc
.wxGrid_GetRowLabelSize
,(self
,) + _args
, _kwargs
) 
1007     def GetDefaultColLabelSize(self
, *_args
, **_kwargs
): 
1008         val 
= apply(gridc
.wxGrid_GetDefaultColLabelSize
,(self
,) + _args
, _kwargs
) 
1010     def GetColLabelSize(self
, *_args
, **_kwargs
): 
1011         val 
= apply(gridc
.wxGrid_GetColLabelSize
,(self
,) + _args
, _kwargs
) 
1013     def GetLabelBackgroundColour(self
, *_args
, **_kwargs
): 
1014         val 
= apply(gridc
.wxGrid_GetLabelBackgroundColour
,(self
,) + _args
, _kwargs
) 
1015         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1017     def GetLabelTextColour(self
, *_args
, **_kwargs
): 
1018         val 
= apply(gridc
.wxGrid_GetLabelTextColour
,(self
,) + _args
, _kwargs
) 
1019         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1021     def GetLabelFont(self
, *_args
, **_kwargs
): 
1022         val 
= apply(gridc
.wxGrid_GetLabelFont
,(self
,) + _args
, _kwargs
) 
1023         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
1025     def GetRowLabelAlignment(self
, *_args
, **_kwargs
): 
1026         val 
= apply(gridc
.wxGrid_GetRowLabelAlignment
,(self
,) + _args
, _kwargs
) 
1028     def GetColLabelAlignment(self
, *_args
, **_kwargs
): 
1029         val 
= apply(gridc
.wxGrid_GetColLabelAlignment
,(self
,) + _args
, _kwargs
) 
1031     def GetRowLabelValue(self
, *_args
, **_kwargs
): 
1032         val 
= apply(gridc
.wxGrid_GetRowLabelValue
,(self
,) + _args
, _kwargs
) 
1034     def GetColLabelValue(self
, *_args
, **_kwargs
): 
1035         val 
= apply(gridc
.wxGrid_GetColLabelValue
,(self
,) + _args
, _kwargs
) 
1037     def GetGridLineColour(self
, *_args
, **_kwargs
): 
1038         val 
= apply(gridc
.wxGrid_GetGridLineColour
,(self
,) + _args
, _kwargs
) 
1039         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1041     def GetCellHighlightColour(self
, *_args
, **_kwargs
): 
1042         val 
= apply(gridc
.wxGrid_GetCellHighlightColour
,(self
,) + _args
, _kwargs
) 
1043         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1045     def GetCellHighlightPenWidth(self
, *_args
, **_kwargs
): 
1046         val 
= apply(gridc
.wxGrid_GetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
) 
1048     def GetCellHighlightROPenWidth(self
, *_args
, **_kwargs
): 
1049         val 
= apply(gridc
.wxGrid_GetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
) 
1051     def SetRowLabelSize(self
, *_args
, **_kwargs
): 
1052         val 
= apply(gridc
.wxGrid_SetRowLabelSize
,(self
,) + _args
, _kwargs
) 
1054     def SetColLabelSize(self
, *_args
, **_kwargs
): 
1055         val 
= apply(gridc
.wxGrid_SetColLabelSize
,(self
,) + _args
, _kwargs
) 
1057     def SetLabelBackgroundColour(self
, *_args
, **_kwargs
): 
1058         val 
= apply(gridc
.wxGrid_SetLabelBackgroundColour
,(self
,) + _args
, _kwargs
) 
1060     def SetLabelTextColour(self
, *_args
, **_kwargs
): 
1061         val 
= apply(gridc
.wxGrid_SetLabelTextColour
,(self
,) + _args
, _kwargs
) 
1063     def SetLabelFont(self
, *_args
, **_kwargs
): 
1064         val 
= apply(gridc
.wxGrid_SetLabelFont
,(self
,) + _args
, _kwargs
) 
1066     def SetRowLabelAlignment(self
, *_args
, **_kwargs
): 
1067         val 
= apply(gridc
.wxGrid_SetRowLabelAlignment
,(self
,) + _args
, _kwargs
) 
1069     def SetColLabelAlignment(self
, *_args
, **_kwargs
): 
1070         val 
= apply(gridc
.wxGrid_SetColLabelAlignment
,(self
,) + _args
, _kwargs
) 
1072     def SetRowLabelValue(self
, *_args
, **_kwargs
): 
1073         val 
= apply(gridc
.wxGrid_SetRowLabelValue
,(self
,) + _args
, _kwargs
) 
1075     def SetColLabelValue(self
, *_args
, **_kwargs
): 
1076         val 
= apply(gridc
.wxGrid_SetColLabelValue
,(self
,) + _args
, _kwargs
) 
1078     def SetGridLineColour(self
, *_args
, **_kwargs
): 
1079         val 
= apply(gridc
.wxGrid_SetGridLineColour
,(self
,) + _args
, _kwargs
) 
1081     def SetCellHighlightColour(self
, *_args
, **_kwargs
): 
1082         val 
= apply(gridc
.wxGrid_SetCellHighlightColour
,(self
,) + _args
, _kwargs
) 
1084     def SetCellHighlightPenWidth(self
, *_args
, **_kwargs
): 
1085         val 
= apply(gridc
.wxGrid_SetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
) 
1087     def SetCellHighlightROPenWidth(self
, *_args
, **_kwargs
): 
1088         val 
= apply(gridc
.wxGrid_SetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
) 
1090     def EnableDragRowSize(self
, *_args
, **_kwargs
): 
1091         val 
= apply(gridc
.wxGrid_EnableDragRowSize
,(self
,) + _args
, _kwargs
) 
1093     def DisableDragRowSize(self
, *_args
, **_kwargs
): 
1094         val 
= apply(gridc
.wxGrid_DisableDragRowSize
,(self
,) + _args
, _kwargs
) 
1096     def CanDragRowSize(self
, *_args
, **_kwargs
): 
1097         val 
= apply(gridc
.wxGrid_CanDragRowSize
,(self
,) + _args
, _kwargs
) 
1099     def EnableDragColSize(self
, *_args
, **_kwargs
): 
1100         val 
= apply(gridc
.wxGrid_EnableDragColSize
,(self
,) + _args
, _kwargs
) 
1102     def DisableDragColSize(self
, *_args
, **_kwargs
): 
1103         val 
= apply(gridc
.wxGrid_DisableDragColSize
,(self
,) + _args
, _kwargs
) 
1105     def CanDragColSize(self
, *_args
, **_kwargs
): 
1106         val 
= apply(gridc
.wxGrid_CanDragColSize
,(self
,) + _args
, _kwargs
) 
1108     def EnableDragGridSize(self
, *_args
, **_kwargs
): 
1109         val 
= apply(gridc
.wxGrid_EnableDragGridSize
,(self
,) + _args
, _kwargs
) 
1111     def DisableDragGridSize(self
, *_args
, **_kwargs
): 
1112         val 
= apply(gridc
.wxGrid_DisableDragGridSize
,(self
,) + _args
, _kwargs
) 
1114     def CanDragGridSize(self
, *_args
, **_kwargs
): 
1115         val 
= apply(gridc
.wxGrid_CanDragGridSize
,(self
,) + _args
, _kwargs
) 
1117     def SetRowAttr(self
, *_args
, **_kwargs
): 
1118         val 
= apply(gridc
.wxGrid_SetRowAttr
,(self
,) + _args
, _kwargs
) 
1120     def SetColAttr(self
, *_args
, **_kwargs
): 
1121         val 
= apply(gridc
.wxGrid_SetColAttr
,(self
,) + _args
, _kwargs
) 
1123     def SetColFormatBool(self
, *_args
, **_kwargs
): 
1124         val 
= apply(gridc
.wxGrid_SetColFormatBool
,(self
,) + _args
, _kwargs
) 
1126     def SetColFormatNumber(self
, *_args
, **_kwargs
): 
1127         val 
= apply(gridc
.wxGrid_SetColFormatNumber
,(self
,) + _args
, _kwargs
) 
1129     def SetColFormatFloat(self
, *_args
, **_kwargs
): 
1130         val 
= apply(gridc
.wxGrid_SetColFormatFloat
,(self
,) + _args
, _kwargs
) 
1132     def SetColFormatCustom(self
, *_args
, **_kwargs
): 
1133         val 
= apply(gridc
.wxGrid_SetColFormatCustom
,(self
,) + _args
, _kwargs
) 
1135     def EnableGridLines(self
, *_args
, **_kwargs
): 
1136         val 
= apply(gridc
.wxGrid_EnableGridLines
,(self
,) + _args
, _kwargs
) 
1138     def GridLinesEnabled(self
, *_args
, **_kwargs
): 
1139         val 
= apply(gridc
.wxGrid_GridLinesEnabled
,(self
,) + _args
, _kwargs
) 
1141     def GetDefaultRowSize(self
, *_args
, **_kwargs
): 
1142         val 
= apply(gridc
.wxGrid_GetDefaultRowSize
,(self
,) + _args
, _kwargs
) 
1144     def GetRowSize(self
, *_args
, **_kwargs
): 
1145         val 
= apply(gridc
.wxGrid_GetRowSize
,(self
,) + _args
, _kwargs
) 
1147     def GetDefaultColSize(self
, *_args
, **_kwargs
): 
1148         val 
= apply(gridc
.wxGrid_GetDefaultColSize
,(self
,) + _args
, _kwargs
) 
1150     def GetColSize(self
, *_args
, **_kwargs
): 
1151         val 
= apply(gridc
.wxGrid_GetColSize
,(self
,) + _args
, _kwargs
) 
1153     def GetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
): 
1154         val 
= apply(gridc
.wxGrid_GetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1155         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1157     def GetCellBackgroundColour(self
, *_args
, **_kwargs
): 
1158         val 
= apply(gridc
.wxGrid_GetCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1159         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1161     def GetDefaultCellTextColour(self
, *_args
, **_kwargs
): 
1162         val 
= apply(gridc
.wxGrid_GetDefaultCellTextColour
,(self
,) + _args
, _kwargs
) 
1163         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1165     def GetCellTextColour(self
, *_args
, **_kwargs
): 
1166         val 
= apply(gridc
.wxGrid_GetCellTextColour
,(self
,) + _args
, _kwargs
) 
1167         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1169     def GetDefaultCellFont(self
, *_args
, **_kwargs
): 
1170         val 
= apply(gridc
.wxGrid_GetDefaultCellFont
,(self
,) + _args
, _kwargs
) 
1171         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
1173     def GetCellFont(self
, *_args
, **_kwargs
): 
1174         val 
= apply(gridc
.wxGrid_GetCellFont
,(self
,) + _args
, _kwargs
) 
1175         if val
: val 
= wxFontPtr(val
) ; val
.thisown 
= 1 
1177     def GetDefaultCellAlignment(self
, *_args
, **_kwargs
): 
1178         val 
= apply(gridc
.wxGrid_GetDefaultCellAlignment
,(self
,) + _args
, _kwargs
) 
1180     def GetCellAlignment(self
, *_args
, **_kwargs
): 
1181         val 
= apply(gridc
.wxGrid_GetCellAlignment
,(self
,) + _args
, _kwargs
) 
1183     def SetDefaultRowSize(self
, *_args
, **_kwargs
): 
1184         val 
= apply(gridc
.wxGrid_SetDefaultRowSize
,(self
,) + _args
, _kwargs
) 
1186     def SetRowSize(self
, *_args
, **_kwargs
): 
1187         val 
= apply(gridc
.wxGrid_SetRowSize
,(self
,) + _args
, _kwargs
) 
1189     def SetDefaultColSize(self
, *_args
, **_kwargs
): 
1190         val 
= apply(gridc
.wxGrid_SetDefaultColSize
,(self
,) + _args
, _kwargs
) 
1192     def SetColSize(self
, *_args
, **_kwargs
): 
1193         val 
= apply(gridc
.wxGrid_SetColSize
,(self
,) + _args
, _kwargs
) 
1195     def AutoSizeColumn(self
, *_args
, **_kwargs
): 
1196         val 
= apply(gridc
.wxGrid_AutoSizeColumn
,(self
,) + _args
, _kwargs
) 
1198     def AutoSizeRow(self
, *_args
, **_kwargs
): 
1199         val 
= apply(gridc
.wxGrid_AutoSizeRow
,(self
,) + _args
, _kwargs
) 
1201     def AutoSizeColumns(self
, *_args
, **_kwargs
): 
1202         val 
= apply(gridc
.wxGrid_AutoSizeColumns
,(self
,) + _args
, _kwargs
) 
1204     def AutoSizeRows(self
, *_args
, **_kwargs
): 
1205         val 
= apply(gridc
.wxGrid_AutoSizeRows
,(self
,) + _args
, _kwargs
) 
1207     def AutoSize(self
, *_args
, **_kwargs
): 
1208         val 
= apply(gridc
.wxGrid_AutoSize
,(self
,) + _args
, _kwargs
) 
1210     def SetColMinimalWidth(self
, *_args
, **_kwargs
): 
1211         val 
= apply(gridc
.wxGrid_SetColMinimalWidth
,(self
,) + _args
, _kwargs
) 
1213     def SetRowMinimalHeight(self
, *_args
, **_kwargs
): 
1214         val 
= apply(gridc
.wxGrid_SetRowMinimalHeight
,(self
,) + _args
, _kwargs
) 
1216     def SetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
): 
1217         val 
= apply(gridc
.wxGrid_SetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1219     def SetCellBackgroundColour(self
, *_args
, **_kwargs
): 
1220         val 
= apply(gridc
.wxGrid_SetCellBackgroundColour
,(self
,) + _args
, _kwargs
) 
1222     def SetDefaultCellTextColour(self
, *_args
, **_kwargs
): 
1223         val 
= apply(gridc
.wxGrid_SetDefaultCellTextColour
,(self
,) + _args
, _kwargs
) 
1225     def SetCellTextColour(self
, *_args
, **_kwargs
): 
1226         val 
= apply(gridc
.wxGrid_SetCellTextColour
,(self
,) + _args
, _kwargs
) 
1228     def SetDefaultCellFont(self
, *_args
, **_kwargs
): 
1229         val 
= apply(gridc
.wxGrid_SetDefaultCellFont
,(self
,) + _args
, _kwargs
) 
1231     def SetCellFont(self
, *_args
, **_kwargs
): 
1232         val 
= apply(gridc
.wxGrid_SetCellFont
,(self
,) + _args
, _kwargs
) 
1234     def SetDefaultCellAlignment(self
, *_args
, **_kwargs
): 
1235         val 
= apply(gridc
.wxGrid_SetDefaultCellAlignment
,(self
,) + _args
, _kwargs
) 
1237     def SetCellAlignment(self
, *_args
, **_kwargs
): 
1238         val 
= apply(gridc
.wxGrid_SetCellAlignment
,(self
,) + _args
, _kwargs
) 
1240     def SetDefaultRenderer(self
, *_args
, **_kwargs
): 
1241         val 
= apply(gridc
.wxGrid_SetDefaultRenderer
,(self
,) + _args
, _kwargs
) 
1243     def SetCellRenderer(self
, *_args
, **_kwargs
): 
1244         val 
= apply(gridc
.wxGrid_SetCellRenderer
,(self
,) + _args
, _kwargs
) 
1246     def GetDefaultRenderer(self
, *_args
, **_kwargs
): 
1247         val 
= apply(gridc
.wxGrid_GetDefaultRenderer
,(self
,) + _args
, _kwargs
) 
1248         if val
: val 
= wxGridCellRendererPtr(val
)  
1250     def GetCellRenderer(self
, *_args
, **_kwargs
): 
1251         val 
= apply(gridc
.wxGrid_GetCellRenderer
,(self
,) + _args
, _kwargs
) 
1252         if val
: val 
= wxGridCellRendererPtr(val
)  
1254     def SetDefaultEditor(self
, *_args
, **_kwargs
): 
1255         val 
= apply(gridc
.wxGrid_SetDefaultEditor
,(self
,) + _args
, _kwargs
) 
1257     def SetCellEditor(self
, *_args
, **_kwargs
): 
1258         val 
= apply(gridc
.wxGrid_SetCellEditor
,(self
,) + _args
, _kwargs
) 
1260     def GetDefaultEditor(self
, *_args
, **_kwargs
): 
1261         val 
= apply(gridc
.wxGrid_GetDefaultEditor
,(self
,) + _args
, _kwargs
) 
1262         if val
: val 
= wxGridCellEditorPtr(val
)  
1264     def GetCellEditor(self
, *_args
, **_kwargs
): 
1265         val 
= apply(gridc
.wxGrid_GetCellEditor
,(self
,) + _args
, _kwargs
) 
1266         if val
: val 
= wxGridCellEditorPtr(val
)  
1268     def GetCellValue(self
, *_args
, **_kwargs
): 
1269         val 
= apply(gridc
.wxGrid_GetCellValue
,(self
,) + _args
, _kwargs
) 
1271     def SetCellValue(self
, *_args
, **_kwargs
): 
1272         val 
= apply(gridc
.wxGrid_SetCellValue
,(self
,) + _args
, _kwargs
) 
1274     def IsReadOnly(self
, *_args
, **_kwargs
): 
1275         val 
= apply(gridc
.wxGrid_IsReadOnly
,(self
,) + _args
, _kwargs
) 
1277     def SetReadOnly(self
, *_args
, **_kwargs
): 
1278         val 
= apply(gridc
.wxGrid_SetReadOnly
,(self
,) + _args
, _kwargs
) 
1280     def SelectRow(self
, *_args
, **_kwargs
): 
1281         val 
= apply(gridc
.wxGrid_SelectRow
,(self
,) + _args
, _kwargs
) 
1283     def SelectCol(self
, *_args
, **_kwargs
): 
1284         val 
= apply(gridc
.wxGrid_SelectCol
,(self
,) + _args
, _kwargs
) 
1286     def SelectBlock(self
, *_args
, **_kwargs
): 
1287         val 
= apply(gridc
.wxGrid_SelectBlock
,(self
,) + _args
, _kwargs
) 
1289     def SelectAll(self
, *_args
, **_kwargs
): 
1290         val 
= apply(gridc
.wxGrid_SelectAll
,(self
,) + _args
, _kwargs
) 
1292     def IsSelection(self
, *_args
, **_kwargs
): 
1293         val 
= apply(gridc
.wxGrid_IsSelection
,(self
,) + _args
, _kwargs
) 
1295     def ClearSelection(self
, *_args
, **_kwargs
): 
1296         val 
= apply(gridc
.wxGrid_ClearSelection
,(self
,) + _args
, _kwargs
) 
1298     def IsInSelection(self
, *_args
, **_kwargs
): 
1299         val 
= apply(gridc
.wxGrid_IsInSelection
,(self
,) + _args
, _kwargs
) 
1301     def BlockToDeviceRect(self
, *_args
, **_kwargs
): 
1302         val 
= apply(gridc
.wxGrid_BlockToDeviceRect
,(self
,) + _args
, _kwargs
) 
1303         if val
: val 
= wxRectPtr(val
) ; val
.thisown 
= 1 
1305     def GetSelectionBackground(self
, *_args
, **_kwargs
): 
1306         val 
= apply(gridc
.wxGrid_GetSelectionBackground
,(self
,) + _args
, _kwargs
) 
1307         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1309     def GetSelectionForeground(self
, *_args
, **_kwargs
): 
1310         val 
= apply(gridc
.wxGrid_GetSelectionForeground
,(self
,) + _args
, _kwargs
) 
1311         if val
: val 
= wxColourPtr(val
) ; val
.thisown 
= 1 
1313     def SetSelectionBackground(self
, *_args
, **_kwargs
): 
1314         val 
= apply(gridc
.wxGrid_SetSelectionBackground
,(self
,) + _args
, _kwargs
) 
1316     def SetSelectionForeground(self
, *_args
, **_kwargs
): 
1317         val 
= apply(gridc
.wxGrid_SetSelectionForeground
,(self
,) + _args
, _kwargs
) 
1319     def RegisterDataType(self
, *_args
, **_kwargs
): 
1320         val 
= apply(gridc
.wxGrid_RegisterDataType
,(self
,) + _args
, _kwargs
) 
1322     def GetDefaultEditorForCell(self
, *_args
, **_kwargs
): 
1323         val 
= apply(gridc
.wxGrid_GetDefaultEditorForCell
,(self
,) + _args
, _kwargs
) 
1324         if val
: val 
= wxGridCellEditorPtr(val
)  
1326     def GetDefaultRendererForCell(self
, *_args
, **_kwargs
): 
1327         val 
= apply(gridc
.wxGrid_GetDefaultRendererForCell
,(self
,) + _args
, _kwargs
) 
1328         if val
: val 
= wxGridCellRendererPtr(val
)  
1330     def GetDefaultEditorForType(self
, *_args
, **_kwargs
): 
1331         val 
= apply(gridc
.wxGrid_GetDefaultEditorForType
,(self
,) + _args
, _kwargs
) 
1332         if val
: val 
= wxGridCellEditorPtr(val
)  
1334     def GetDefaultRendererForType(self
, *_args
, **_kwargs
): 
1335         val 
= apply(gridc
.wxGrid_GetDefaultRendererForType
,(self
,) + _args
, _kwargs
) 
1336         if val
: val 
= wxGridCellRendererPtr(val
)  
1338     def SetMargins(self
, *_args
, **_kwargs
): 
1339         val 
= apply(gridc
.wxGrid_SetMargins
,(self
,) + _args
, _kwargs
) 
1341     def GetGridWindow(self
, *_args
, **_kwargs
): 
1342         val 
= apply(gridc
.wxGrid_GetGridWindow
,(self
,) + _args
, _kwargs
) 
1344     def GetGridRowLabelWindow(self
, *_args
, **_kwargs
): 
1345         val 
= apply(gridc
.wxGrid_GetGridRowLabelWindow
,(self
,) + _args
, _kwargs
) 
1347     def GetGridColLabelWindow(self
, *_args
, **_kwargs
): 
1348         val 
= apply(gridc
.wxGrid_GetGridColLabelWindow
,(self
,) + _args
, _kwargs
) 
1350     def GetGridCornerLabelWindow(self
, *_args
, **_kwargs
): 
1351         val 
= apply(gridc
.wxGrid_GetGridCornerLabelWindow
,(self
,) + _args
, _kwargs
) 
1354         return "<C wxGrid instance at %s>" % (self
.this
,) 
1355 class wxGrid(wxGridPtr
): 
1356     def __init__(self
,*_args
,**_kwargs
): 
1357         self
.this 
= apply(gridc
.new_wxGrid
,_args
,_kwargs
) 
1363 class wxGridEventPtr(wxNotifyEventPtr
): 
1364     def __init__(self
,this
): 
1367     def GetRow(self
, *_args
, **_kwargs
): 
1368         val 
= apply(gridc
.wxGridEvent_GetRow
,(self
,) + _args
, _kwargs
) 
1370     def GetCol(self
, *_args
, **_kwargs
): 
1371         val 
= apply(gridc
.wxGridEvent_GetCol
,(self
,) + _args
, _kwargs
) 
1373     def GetPosition(self
, *_args
, **_kwargs
): 
1374         val 
= apply(gridc
.wxGridEvent_GetPosition
,(self
,) + _args
, _kwargs
) 
1375         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
1377     def Selecting(self
, *_args
, **_kwargs
): 
1378         val 
= apply(gridc
.wxGridEvent_Selecting
,(self
,) + _args
, _kwargs
) 
1380     def ControlDown(self
, *_args
, **_kwargs
): 
1381         val 
= apply(gridc
.wxGridEvent_ControlDown
,(self
,) + _args
, _kwargs
) 
1383     def MetaDown(self
, *_args
, **_kwargs
): 
1384         val 
= apply(gridc
.wxGridEvent_MetaDown
,(self
,) + _args
, _kwargs
) 
1386     def ShiftDown(self
, *_args
, **_kwargs
): 
1387         val 
= apply(gridc
.wxGridEvent_ShiftDown
,(self
,) + _args
, _kwargs
) 
1389     def AltDown(self
, *_args
, **_kwargs
): 
1390         val 
= apply(gridc
.wxGridEvent_AltDown
,(self
,) + _args
, _kwargs
) 
1393         return "<C wxGridEvent instance at %s>" % (self
.this
,) 
1394 class wxGridEvent(wxGridEventPtr
): 
1395     def __init__(self
,*_args
,**_kwargs
): 
1396         self
.this 
= apply(gridc
.new_wxGridEvent
,_args
,_kwargs
) 
1402 class wxGridSizeEventPtr(wxNotifyEventPtr
): 
1403     def __init__(self
,this
): 
1406     def GetRowOrCol(self
, *_args
, **_kwargs
): 
1407         val 
= apply(gridc
.wxGridSizeEvent_GetRowOrCol
,(self
,) + _args
, _kwargs
) 
1409     def GetPosition(self
, *_args
, **_kwargs
): 
1410         val 
= apply(gridc
.wxGridSizeEvent_GetPosition
,(self
,) + _args
, _kwargs
) 
1411         if val
: val 
= wxPointPtr(val
) ; val
.thisown 
= 1 
1413     def ControlDown(self
, *_args
, **_kwargs
): 
1414         val 
= apply(gridc
.wxGridSizeEvent_ControlDown
,(self
,) + _args
, _kwargs
) 
1416     def MetaDown(self
, *_args
, **_kwargs
): 
1417         val 
= apply(gridc
.wxGridSizeEvent_MetaDown
,(self
,) + _args
, _kwargs
) 
1419     def ShiftDown(self
, *_args
, **_kwargs
): 
1420         val 
= apply(gridc
.wxGridSizeEvent_ShiftDown
,(self
,) + _args
, _kwargs
) 
1422     def AltDown(self
, *_args
, **_kwargs
): 
1423         val 
= apply(gridc
.wxGridSizeEvent_AltDown
,(self
,) + _args
, _kwargs
) 
1426         return "<C wxGridSizeEvent instance at %s>" % (self
.this
,) 
1427 class wxGridSizeEvent(wxGridSizeEventPtr
): 
1428     def __init__(self
,*_args
,**_kwargs
): 
1429         self
.this 
= apply(gridc
.new_wxGridSizeEvent
,_args
,_kwargs
) 
1435 class wxGridRangeSelectEventPtr(wxNotifyEventPtr
): 
1436     def __init__(self
,this
): 
1439     def GetTopLeftCoords(self
, *_args
, **_kwargs
): 
1440         val 
= apply(gridc
.wxGridRangeSelectEvent_GetTopLeftCoords
,(self
,) + _args
, _kwargs
) 
1441         if val
: val 
= wxGridCellCoordsPtr(val
) ; val
.thisown 
= 1 
1443     def GetBottomRightCoords(self
, *_args
, **_kwargs
): 
1444         val 
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRightCoords
,(self
,) + _args
, _kwargs
) 
1445         if val
: val 
= wxGridCellCoordsPtr(val
) ; val
.thisown 
= 1 
1447     def GetTopRow(self
, *_args
, **_kwargs
): 
1448         val 
= apply(gridc
.wxGridRangeSelectEvent_GetTopRow
,(self
,) + _args
, _kwargs
) 
1450     def GetBottomRow(self
, *_args
, **_kwargs
): 
1451         val 
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRow
,(self
,) + _args
, _kwargs
) 
1453     def GetLeftCol(self
, *_args
, **_kwargs
): 
1454         val 
= apply(gridc
.wxGridRangeSelectEvent_GetLeftCol
,(self
,) + _args
, _kwargs
) 
1456     def GetRightCol(self
, *_args
, **_kwargs
): 
1457         val 
= apply(gridc
.wxGridRangeSelectEvent_GetRightCol
,(self
,) + _args
, _kwargs
) 
1459     def Selecting(self
, *_args
, **_kwargs
): 
1460         val 
= apply(gridc
.wxGridRangeSelectEvent_Selecting
,(self
,) + _args
, _kwargs
) 
1462     def ControlDown(self
, *_args
, **_kwargs
): 
1463         val 
= apply(gridc
.wxGridRangeSelectEvent_ControlDown
,(self
,) + _args
, _kwargs
) 
1465     def MetaDown(self
, *_args
, **_kwargs
): 
1466         val 
= apply(gridc
.wxGridRangeSelectEvent_MetaDown
,(self
,) + _args
, _kwargs
) 
1468     def ShiftDown(self
, *_args
, **_kwargs
): 
1469         val 
= apply(gridc
.wxGridRangeSelectEvent_ShiftDown
,(self
,) + _args
, _kwargs
) 
1471     def AltDown(self
, *_args
, **_kwargs
): 
1472         val 
= apply(gridc
.wxGridRangeSelectEvent_AltDown
,(self
,) + _args
, _kwargs
) 
1475         return "<C wxGridRangeSelectEvent instance at %s>" % (self
.this
,) 
1476 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr
): 
1477     def __init__(self
,*_args
,**_kwargs
): 
1478         self
.this 
= apply(gridc
.new_wxGridRangeSelectEvent
,_args
,_kwargs
) 
1486 #-------------- FUNCTION WRAPPERS ------------------ 
1490 #-------------- VARIABLE WRAPPERS ------------------ 
1492 wxGRID_VALUE_STRING 
= gridc
.wxGRID_VALUE_STRING
 
1493 wxGRID_VALUE_BOOL 
= gridc
.wxGRID_VALUE_BOOL
 
1494 wxGRID_VALUE_NUMBER 
= gridc
.wxGRID_VALUE_NUMBER
 
1495 wxGRID_VALUE_FLOAT 
= gridc
.wxGRID_VALUE_FLOAT
 
1496 wxGRID_VALUE_CHOICE 
= gridc
.wxGRID_VALUE_CHOICE
 
1497 wxGRID_VALUE_TEXT 
= gridc
.wxGRID_VALUE_TEXT
 
1498 wxGRID_VALUE_LONG 
= gridc
.wxGRID_VALUE_LONG
 
1500 wxGridNoCellCoords 
= wxGridCellCoordsPtr(gridc
.cvar
.wxGridNoCellCoords
) 
1501 wxGridNoCellRect 
= wxRectPtr(gridc
.cvar
.wxGridNoCellRect
) 
1502 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES 
= gridc
.wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
 
1503 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES 
= gridc
.wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
 
1504 wxGRIDTABLE_NOTIFY_ROWS_INSERTED 
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_INSERTED
 
1505 wxGRIDTABLE_NOTIFY_ROWS_APPENDED 
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_APPENDED
 
1506 wxGRIDTABLE_NOTIFY_ROWS_DELETED 
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_DELETED
 
1507 wxGRIDTABLE_NOTIFY_COLS_INSERTED 
= gridc
.wxGRIDTABLE_NOTIFY_COLS_INSERTED
 
1508 wxGRIDTABLE_NOTIFY_COLS_APPENDED 
= gridc
.wxGRIDTABLE_NOTIFY_COLS_APPENDED
 
1509 wxGRIDTABLE_NOTIFY_COLS_DELETED 
= gridc
.wxGRIDTABLE_NOTIFY_COLS_DELETED
 
1510 wxEVT_GRID_CELL_LEFT_CLICK 
= gridc
.wxEVT_GRID_CELL_LEFT_CLICK
 
1511 wxEVT_GRID_CELL_RIGHT_CLICK 
= gridc
.wxEVT_GRID_CELL_RIGHT_CLICK
 
1512 wxEVT_GRID_CELL_LEFT_DCLICK 
= gridc
.wxEVT_GRID_CELL_LEFT_DCLICK
 
1513 wxEVT_GRID_CELL_RIGHT_DCLICK 
= gridc
.wxEVT_GRID_CELL_RIGHT_DCLICK
 
1514 wxEVT_GRID_LABEL_LEFT_CLICK 
= gridc
.wxEVT_GRID_LABEL_LEFT_CLICK
 
1515 wxEVT_GRID_LABEL_RIGHT_CLICK 
= gridc
.wxEVT_GRID_LABEL_RIGHT_CLICK
 
1516 wxEVT_GRID_LABEL_LEFT_DCLICK 
= gridc
.wxEVT_GRID_LABEL_LEFT_DCLICK
 
1517 wxEVT_GRID_LABEL_RIGHT_DCLICK 
= gridc
.wxEVT_GRID_LABEL_RIGHT_DCLICK
 
1518 wxEVT_GRID_ROW_SIZE 
= gridc
.wxEVT_GRID_ROW_SIZE
 
1519 wxEVT_GRID_COL_SIZE 
= gridc
.wxEVT_GRID_COL_SIZE
 
1520 wxEVT_GRID_RANGE_SELECT 
= gridc
.wxEVT_GRID_RANGE_SELECT
 
1521 wxEVT_GRID_CELL_CHANGE 
= gridc
.wxEVT_GRID_CELL_CHANGE
 
1522 wxEVT_GRID_SELECT_CELL 
= gridc
.wxEVT_GRID_SELECT_CELL
 
1523 wxEVT_GRID_EDITOR_SHOWN 
= gridc
.wxEVT_GRID_EDITOR_SHOWN
 
1524 wxEVT_GRID_EDITOR_HIDDEN 
= gridc
.wxEVT_GRID_EDITOR_HIDDEN
 
1527 #-------------- USER INCLUDE ----------------------- 
1531 # Stuff these names into the wx namespace so wxPyConstructObject can find them 
1533 wx
.wxGridEventPtr                  
= wxGridEventPtr
 
1534 wx
.wxGridSizeEventPtr              
= wxGridSizeEventPtr
 
1535 wx
.wxGridRangeSelectEventPtr       
= wxGridRangeSelectEventPtr
 
1536 wx
.wxGridCellRendererPtr           
= wxGridCellRendererPtr
 
1537 wx
.wxPyGridCellRendererPtr         
= wxPyGridCellRendererPtr
 
1538 wx
.wxGridCellEditorPtr             
= wxGridCellEditorPtr
 
1539 wx
.wxPyGridCellEditorPtr           
= wxPyGridCellEditorPtr
 
1540 wx
.wxGridCellAttrPtr               
= wxGridCellAttrPtr
 
1541 wx
.wxGridCellAttrProviderPtr       
= wxGridCellAttrProviderPtr
 
1542 wx
.wxPyGridCellAttrProviderPtr     
= wxPyGridCellAttrProviderPtr
 
1543 wx
.wxGridTableBasePtr              
= wxGridTableBasePtr
 
1544 wx
.wxPyGridTableBasePtr            
= wxPyGridTableBasePtr
 
1545 wx
.wxGridTableMessagePtr           
= wxGridTableMessagePtr
 
1546 wx
.wxGridCellCoordsPtr             
= wxGridCellCoordsPtr
 
1547 wx
.wxGridPtr                       
= wxGridPtr