-
-
-
-class wxGridCellStringRendererPtr(wxGridCellRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellStringRenderer instance at %s>" % (self.this,)
-class wxGridCellStringRenderer(wxGridCellStringRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellStringRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellNumberRenderer instance at %s>" % (self.this,)
-class wxGridCellNumberRenderer(wxGridCellNumberRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellNumberRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def GetWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellFloatRenderer_GetWidth,(self,) + _args, _kwargs)
- return val
- def SetWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellFloatRenderer_SetWidth,(self,) + _args, _kwargs)
- return val
- def GetPrecision(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellFloatRenderer_GetPrecision,(self,) + _args, _kwargs)
- return val
- def SetPrecision(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellFloatRenderer_SetPrecision,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridCellFloatRenderer instance at %s>" % (self.this,)
-class wxGridCellFloatRenderer(wxGridCellFloatRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellFloatRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellBoolRendererPtr(wxGridCellRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellBoolRenderer instance at %s>" % (self.this,)
-class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellBoolRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellDateTimeRendererPtr(wxGridCellStringRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellDateTimeRenderer instance at %s>" % (self.this,)
-class wxGridCellDateTimeRenderer(wxGridCellDateTimeRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellDateTimeRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellEnumRendererPtr(wxGridCellStringRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellEnumRenderer instance at %s>" % (self.this,)
-class wxGridCellEnumRenderer(wxGridCellEnumRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellEnumRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellAutoWrapStringRendererPtr(wxGridCellStringRendererPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellAutoWrapStringRenderer instance at %s>" % (self.this,)
-class wxGridCellAutoWrapStringRenderer(wxGridCellAutoWrapStringRendererPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellAutoWrapStringRenderer,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellEditorPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def IsCreated(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_IsCreated,(self,) + _args, _kwargs)
- return val
- def GetControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_GetControl,(self,) + _args, _kwargs)
- return val
- def SetControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_SetControl,(self,) + _args, _kwargs)
- return val
- def SetParameters(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_SetParameters,(self,) + _args, _kwargs)
- return val
- def IncRef(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_IncRef,(self,) + _args, _kwargs)
- return val
- def DecRef(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_DecRef,(self,) + _args, _kwargs)
- return val
- def Create(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_Create,(self,) + _args, _kwargs)
- return val
- def BeginEdit(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_BeginEdit,(self,) + _args, _kwargs)
- return val
- def EndEdit(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_EndEdit,(self,) + _args, _kwargs)
- return val
- def Reset(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_Reset,(self,) + _args, _kwargs)
- return val
- def Clone(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_Clone,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def SetSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_SetSize,(self,) + _args, _kwargs)
- return val
- def Show(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_Show,(self,) + _args, _kwargs)
- return val
- def PaintBackground(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_PaintBackground,(self,) + _args, _kwargs)
- return val
- def IsAcceptedKey(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_IsAcceptedKey,(self,) + _args, _kwargs)
- return val
- def StartingKey(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_StartingKey,(self,) + _args, _kwargs)
- return val
- def StartingClick(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_StartingClick,(self,) + _args, _kwargs)
- return val
- def HandleReturn(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_HandleReturn,(self,) + _args, _kwargs)
- return val
- def Destroy(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellEditor_Destroy,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridCellEditor instance at %s>" % (self.this,)
-class wxGridCellEditor(wxGridCellEditorPtr):
- def __init__(self,this):
- self.this = this
-
-
-
-
-class wxPyGridCellEditorPtr(wxGridCellEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor__setCallbackInfo,(self,) + _args, _kwargs)
- return val
- def base_SetSize(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_SetSize,(self,) + _args, _kwargs)
- return val
- def base_Show(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_Show,(self,) + _args, _kwargs)
- return val
- def base_PaintBackground(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_PaintBackground,(self,) + _args, _kwargs)
- return val
- def base_IsAcceptedKey(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_IsAcceptedKey,(self,) + _args, _kwargs)
- return val
- def base_StartingKey(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_StartingKey,(self,) + _args, _kwargs)
- return val
- def base_StartingClick(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_StartingClick,(self,) + _args, _kwargs)
- return val
- def base_HandleReturn(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_HandleReturn,(self,) + _args, _kwargs)
- return val
- def base_Destroy(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_Destroy,(self,) + _args, _kwargs)
- return val
- def base_SetParameters(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellEditor_base_SetParameters,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxPyGridCellEditor instance at %s>" % (self.this,)
-class wxPyGridCellEditor(wxPyGridCellEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxPyGridCellEditor,_args,_kwargs)
- self.thisown = 1
- self._setCallbackInfo(self, wxPyGridCellEditor)
-
-
-
-
-class wxGridCellTextEditorPtr(wxGridCellEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellTextEditor instance at %s>" % (self.this,)
-class wxGridCellTextEditor(wxGridCellTextEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellTextEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellNumberEditor instance at %s>" % (self.this,)
-class wxGridCellNumberEditor(wxGridCellNumberEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellNumberEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellFloatEditor instance at %s>" % (self.this,)
-class wxGridCellFloatEditor(wxGridCellFloatEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellFloatEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellBoolEditorPtr(wxGridCellEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellBoolEditor instance at %s>" % (self.this,)
-class wxGridCellBoolEditor(wxGridCellBoolEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellBoolEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellChoiceEditor instance at %s>" % (self.this,)
-class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellChoiceEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellEnumEditorPtr(wxGridCellChoiceEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellEnumEditor instance at %s>" % (self.this,)
-class wxGridCellEnumEditor(wxGridCellEnumEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellEnumEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellAutoWrapStringEditorPtr(wxGridCellTextEditorPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridCellAutoWrapStringEditor instance at %s>" % (self.this,)
-class wxGridCellAutoWrapStringEditor(wxGridCellAutoWrapStringEditorPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellAutoWrapStringEditor,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellAttrPtr :
- Any = gridc.wxGridCellAttr_Any
- Default = gridc.wxGridCellAttr_Default
- Cell = gridc.wxGridCellAttr_Cell
- Row = gridc.wxGridCellAttr_Row
- Col = gridc.wxGridCellAttr_Col
- Merged = gridc.wxGridCellAttr_Merged
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def Clone(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_Clone,(self,) + _args, _kwargs)
- if val: val = wxGridCellAttrPtr(val)
- return val
- def MergeWith(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_MergeWith,(self,) + _args, _kwargs)
- return val
- def IncRef(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_IncRef,(self,) + _args, _kwargs)
- return val
- def DecRef(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_DecRef,(self,) + _args, _kwargs)
- return val
- def SetTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetTextColour,(self,) + _args, _kwargs)
- return val
- def SetBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetFont,(self,) + _args, _kwargs)
- return val
- def SetAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetAlignment,(self,) + _args, _kwargs)
- return val
- def SetReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetReadOnly,(self,) + _args, _kwargs)
- return val
- def SetRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetRenderer,(self,) + _args, _kwargs)
- return val
- def SetEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetEditor,(self,) + _args, _kwargs)
- return val
- def SetKind(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetKind,(self,) + _args, _kwargs)
- return val
- def HasTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasTextColour,(self,) + _args, _kwargs)
- return val
- def HasBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasBackgroundColour,(self,) + _args, _kwargs)
- return val
- def HasFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasFont,(self,) + _args, _kwargs)
- return val
- def HasAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasAlignment,(self,) + _args, _kwargs)
- return val
- def HasRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasRenderer,(self,) + _args, _kwargs)
- return val
- def HasEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasEditor,(self,) + _args, _kwargs)
- return val
- def HasReadWriteMode(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_HasReadWriteMode,(self,) + _args, _kwargs)
- return val
- def GetTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_GetTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_GetBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_GetFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_GetAlignment,(self,) + _args, _kwargs)
- return val
- def GetRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_GetRenderer,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def GetEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_GetEditor,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def IsReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_IsReadOnly,(self,) + _args, _kwargs)
- return val
- def SetDefAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttr_SetDefAttr,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridCellAttr instance at %s>" % (self.this,)
-class wxGridCellAttr(wxGridCellAttrPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellAttr,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellAttrProviderPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def GetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttrProvider_GetAttr,(self,) + _args, _kwargs)
- if val: val = wxGridCellAttrPtr(val)
- return val
- def SetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttrProvider_SetAttr,(self,) + _args, _kwargs)
- return val
- def SetRowAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttrProvider_SetRowAttr,(self,) + _args, _kwargs)
- return val
- def SetColAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttrProvider_SetColAttr,(self,) + _args, _kwargs)
- return val
- def UpdateAttrRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttrProvider_UpdateAttrRows,(self,) + _args, _kwargs)
- return val
- def UpdateAttrCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellAttrProvider_UpdateAttrCols,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridCellAttrProvider instance at %s>" % (self.this,)
-class wxGridCellAttrProvider(wxGridCellAttrProviderPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellAttrProvider,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellAttrProvider__setCallbackInfo,(self,) + _args, _kwargs)
- return val
- def base_GetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellAttrProvider_base_GetAttr,(self,) + _args, _kwargs)
- if val: val = wxGridCellAttrPtr(val)
- return val
- def base_SetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellAttrProvider_base_SetAttr,(self,) + _args, _kwargs)
- return val
- def base_SetRowAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellAttrProvider_base_SetRowAttr,(self,) + _args, _kwargs)
- return val
- def base_SetColAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridCellAttrProvider_base_SetColAttr,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxPyGridCellAttrProvider instance at %s>" % (self.this,)
-class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxPyGridCellAttrProvider,_args,_kwargs)
- self.thisown = 1
- self._setCallbackInfo(self, wxPyGridCellAttrProvider)
-
-
-
-
-class wxGridTableBasePtr(wxObjectPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def SetAttrProvider(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetAttrProvider,(self,) + _args, _kwargs)
- return val
- def GetAttrProvider(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetAttrProvider,(self,) + _args, _kwargs)
- if val: val = wxGridCellAttrProviderPtr(val)
- return val
- def SetView(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetView,(self,) + _args, _kwargs)
- return val
- def GetView(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetView,(self,) + _args, _kwargs)
- return val
- def GetNumberRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetNumberRows,(self,) + _args, _kwargs)
- return val
- def GetNumberCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetNumberCols,(self,) + _args, _kwargs)
- return val
- def IsEmptyCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_IsEmptyCell,(self,) + _args, _kwargs)
- return val
- def GetValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetValue,(self,) + _args, _kwargs)
- return val
- def SetValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetValue,(self,) + _args, _kwargs)
- return val
- def GetTypeName(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetTypeName,(self,) + _args, _kwargs)
- return val
- def CanGetValueAs(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_CanGetValueAs,(self,) + _args, _kwargs)
- return val
- def CanSetValueAs(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_CanSetValueAs,(self,) + _args, _kwargs)
- return val
- def GetValueAsLong(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetValueAsLong,(self,) + _args, _kwargs)
- return val
- def GetValueAsDouble(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetValueAsDouble,(self,) + _args, _kwargs)
- return val
- def GetValueAsBool(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetValueAsBool,(self,) + _args, _kwargs)
- return val
- def SetValueAsLong(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetValueAsLong,(self,) + _args, _kwargs)
- return val
- def SetValueAsDouble(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetValueAsDouble,(self,) + _args, _kwargs)
- return val
- def SetValueAsBool(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetValueAsBool,(self,) + _args, _kwargs)
- return val
- def Clear(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_Clear,(self,) + _args, _kwargs)
- return val
- def InsertRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_InsertRows,(self,) + _args, _kwargs)
- return val
- def AppendRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_AppendRows,(self,) + _args, _kwargs)
- return val
- def DeleteRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_DeleteRows,(self,) + _args, _kwargs)
- return val
- def InsertCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_InsertCols,(self,) + _args, _kwargs)
- return val
- def AppendCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_AppendCols,(self,) + _args, _kwargs)
- return val
- def DeleteCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_DeleteCols,(self,) + _args, _kwargs)
- return val
- def GetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def GetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetColLabelValue,(self,) + _args, _kwargs)
- return val
- def SetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def SetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetColLabelValue,(self,) + _args, _kwargs)
- return val
- def CanHaveAttributes(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_CanHaveAttributes,(self,) + _args, _kwargs)
- return val
- def GetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_GetAttr,(self,) + _args, _kwargs)
- if val: val = wxGridCellAttrPtr(val)
- return val
- def SetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetAttr,(self,) + _args, _kwargs)
- return val
- def SetRowAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetRowAttr,(self,) + _args, _kwargs)
- return val
- def SetColAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableBase_SetColAttr,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridTableBase instance at %s>" % (self.this,)
-class wxGridTableBase(wxGridTableBasePtr):
- def __init__(self,this):
- self.this = this
-
-
-
-
-class wxPyGridTableBasePtr(wxGridTableBasePtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def _setCallbackInfo(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase__setCallbackInfo,(self,) + _args, _kwargs)
- return val
- def Destroy(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_Destroy,(self,) + _args, _kwargs)
- return val
- def base_GetTypeName(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_GetTypeName,(self,) + _args, _kwargs)
- return val
- def base_CanGetValueAs(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_CanGetValueAs,(self,) + _args, _kwargs)
- return val
- def base_CanSetValueAs(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_CanSetValueAs,(self,) + _args, _kwargs)
- return val
- def base_Clear(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_Clear,(self,) + _args, _kwargs)
- return val
- def base_InsertRows(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_InsertRows,(self,) + _args, _kwargs)
- return val
- def base_AppendRows(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_AppendRows,(self,) + _args, _kwargs)
- return val
- def base_DeleteRows(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_DeleteRows,(self,) + _args, _kwargs)
- return val
- def base_InsertCols(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_InsertCols,(self,) + _args, _kwargs)
- return val
- def base_AppendCols(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_AppendCols,(self,) + _args, _kwargs)
- return val
- def base_DeleteCols(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_DeleteCols,(self,) + _args, _kwargs)
- return val
- def base_GetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_GetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def base_GetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_GetColLabelValue,(self,) + _args, _kwargs)
- return val
- def base_SetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_SetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def base_SetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_SetColLabelValue,(self,) + _args, _kwargs)
- return val
- def base_CanHaveAttributes(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_CanHaveAttributes,(self,) + _args, _kwargs)
- return val
- def base_GetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_GetAttr,(self,) + _args, _kwargs)
- if val: val = wxGridCellAttrPtr(val)
- return val
- def base_SetAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_SetAttr,(self,) + _args, _kwargs)
- return val
- def base_SetRowAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_SetRowAttr,(self,) + _args, _kwargs)
- return val
- def base_SetColAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxPyGridTableBase_base_SetColAttr,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxPyGridTableBase instance at %s>" % (self.this,)
-class wxPyGridTableBase(wxPyGridTableBasePtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxPyGridTableBase,_args,_kwargs)
- self.thisown = 1
- self._setCallbackInfo(self, wxPyGridTableBase)
-
-
-
-
-class wxGridStringTablePtr(wxGridTableBasePtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __repr__(self):
- return "<C wxGridStringTable instance at %s>" % (self.this,)
-class wxGridStringTable(wxGridStringTablePtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridStringTable,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridTableMessagePtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,gridc=gridc):
- if self.thisown == 1 :
- gridc.delete_wxGridTableMessage(self)
- def SetTableObject(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_SetTableObject,(self,) + _args, _kwargs)
- return val
- def GetTableObject(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_GetTableObject,(self,) + _args, _kwargs)
- return val
- def SetId(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_SetId,(self,) + _args, _kwargs)
- return val
- def GetId(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_GetId,(self,) + _args, _kwargs)
- return val
- def SetCommandInt(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_SetCommandInt,(self,) + _args, _kwargs)
- return val
- def GetCommandInt(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_GetCommandInt,(self,) + _args, _kwargs)
- return val
- def SetCommandInt2(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_SetCommandInt2,(self,) + _args, _kwargs)
- return val
- def GetCommandInt2(self, *_args, **_kwargs):
- val = apply(gridc.wxGridTableMessage_GetCommandInt2,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridTableMessage instance at %s>" % (self.this,)
-class wxGridTableMessage(wxGridTableMessagePtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridTableMessage,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridCellCoordsPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,gridc=gridc):
- if self.thisown == 1 :
- gridc.delete_wxGridCellCoords(self)
- def GetRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_GetRow,(self,) + _args, _kwargs)
- return val
- def SetRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_SetRow,(self,) + _args, _kwargs)
- return val
- def GetCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_GetCol,(self,) + _args, _kwargs)
- return val
- def SetCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_SetCol,(self,) + _args, _kwargs)
- return val
- def Set(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_Set,(self,) + _args, _kwargs)
- return val
- def asTuple(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_asTuple,(self,) + _args, _kwargs)
- return val
- def __cmp__(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords___cmp__,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridCellCoords instance at %s>" % (self.this,)
- def __str__(self): return str(self.asTuple())
- def __repr__(self): return str(self.asTuple())
-class wxGridCellCoords(wxGridCellCoordsPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellCoords,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridPtr(wxScrolledWindowPtr):
- wxGridSelectCells = gridc.wxGrid_wxGridSelectCells
- wxGridSelectRows = gridc.wxGrid_wxGridSelectRows
- wxGridSelectColumns = gridc.wxGrid_wxGridSelectColumns
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def CreateGrid(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CreateGrid,(self,) + _args, _kwargs)
- return val
- def SetSelectionMode(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetSelectionMode,(self,) + _args, _kwargs)
- return val
- def GetNumberRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetNumberRows,(self,) + _args, _kwargs)
- return val
- def GetNumberCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetNumberCols,(self,) + _args, _kwargs)
- return val
- def ProcessTableMessage(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ProcessTableMessage,(self,) + _args, _kwargs)
- return val
- def GetTable(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetTable,(self,) + _args, _kwargs)
- return val
- def SetTable(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetTable,(self,) + _args, _kwargs)
- return val
- def ClearGrid(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ClearGrid,(self,) + _args, _kwargs)
- return val
- def InsertRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_InsertRows,(self,) + _args, _kwargs)
- return val
- def AppendRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AppendRows,(self,) + _args, _kwargs)
- return val
- def DeleteRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DeleteRows,(self,) + _args, _kwargs)
- return val
- def InsertCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_InsertCols,(self,) + _args, _kwargs)
- return val
- def AppendCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AppendCols,(self,) + _args, _kwargs)
- return val
- def DeleteCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DeleteCols,(self,) + _args, _kwargs)
- return val
- def DrawCellHighlight(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DrawCellHighlight,(self,) + _args, _kwargs)
- return val
- def DrawTextRectangle(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DrawTextRectangle,(self,) + _args, _kwargs)
- return val
- def GetTextBoxSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetTextBoxSize,(self,) + _args, _kwargs)
- return val
- def BeginBatch(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_BeginBatch,(self,) + _args, _kwargs)
- return val
- def EndBatch(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EndBatch,(self,) + _args, _kwargs)
- return val
- def GetBatchCount(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetBatchCount,(self,) + _args, _kwargs)
- return val
- def ForceRefresh(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ForceRefresh,(self,) + _args, _kwargs)
- return val
- def IsEditable(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsEditable,(self,) + _args, _kwargs)
- return val
- def EnableEditing(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableEditing,(self,) + _args, _kwargs)
- return val
- def EnableCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableCellEditControl,(self,) + _args, _kwargs)
- return val
- def DisableCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableCellEditControl,(self,) + _args, _kwargs)
- return val
- def CanEnableCellControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanEnableCellControl,(self,) + _args, _kwargs)
- return val
- def IsCellEditControlEnabled(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsCellEditControlEnabled,(self,) + _args, _kwargs)
- return val
- def IsCellEditControlShown(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsCellEditControlShown,(self,) + _args, _kwargs)
- return val
- def IsCurrentCellReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsCurrentCellReadOnly,(self,) + _args, _kwargs)
- return val
- def ShowCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ShowCellEditControl,(self,) + _args, _kwargs)
- return val
- def HideCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_HideCellEditControl,(self,) + _args, _kwargs)
- return val
- def SaveEditControlValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SaveEditControlValue,(self,) + _args, _kwargs)
- return val
- def XYToCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_XYToCell,(self,) + _args, _kwargs)
- if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
- return val
- def YToRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_YToRow,(self,) + _args, _kwargs)
- return val
- def XToCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_XToCol,(self,) + _args, _kwargs)
- return val
- def YToEdgeOfRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_YToEdgeOfRow,(self,) + _args, _kwargs)
- return val
- def XToEdgeOfCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_XToEdgeOfCol,(self,) + _args, _kwargs)
- return val
- def CellToRect(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CellToRect,(self,) + _args, _kwargs)
- if val: val = wxRectPtr(val) ; val.thisown = 1
- return val
- def GetGridCursorRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridCursorRow,(self,) + _args, _kwargs)
- return val
- def GetGridCursorCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridCursorCol,(self,) + _args, _kwargs)
- return val
- def IsVisible(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsVisible,(self,) + _args, _kwargs)
- return val
- def MakeCellVisible(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MakeCellVisible,(self,) + _args, _kwargs)
- return val
- def SetGridCursor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetGridCursor,(self,) + _args, _kwargs)
- return val
- def MoveCursorUp(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorUp,(self,) + _args, _kwargs)
- return val
- def MoveCursorDown(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorDown,(self,) + _args, _kwargs)
- return val
- def MoveCursorLeft(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorLeft,(self,) + _args, _kwargs)
- return val
- def MoveCursorRight(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorRight,(self,) + _args, _kwargs)
- return val
- def MovePageDown(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MovePageDown,(self,) + _args, _kwargs)
- return val
- def MovePageUp(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MovePageUp,(self,) + _args, _kwargs)
- return val
- def MoveCursorUpBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorUpBlock,(self,) + _args, _kwargs)
- return val
- def MoveCursorDownBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorDownBlock,(self,) + _args, _kwargs)
- return val
- def MoveCursorLeftBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorLeftBlock,(self,) + _args, _kwargs)
- return val
- def MoveCursorRightBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorRightBlock,(self,) + _args, _kwargs)
- return val
- def GetDefaultRowLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRowLabelSize,(self,) + _args, _kwargs)
- return val
- def GetRowLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowLabelSize,(self,) + _args, _kwargs)
- return val
- def GetDefaultColLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultColLabelSize,(self,) + _args, _kwargs)
- return val
- def GetColLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColLabelSize,(self,) + _args, _kwargs)
- return val
- def GetLabelBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetLabelBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetLabelTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetLabelTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetLabelFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetLabelFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetRowLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowLabelAlignment,(self,) + _args, _kwargs)
- return val
- def GetColLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColLabelAlignment,(self,) + _args, _kwargs)
- return val
- def GetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def GetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColLabelValue,(self,) + _args, _kwargs)
- return val
- def GetGridLineColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridLineColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellHighlightColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellHighlightColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellHighlightPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellHighlightPenWidth,(self,) + _args, _kwargs)
- return val
- def GetCellHighlightROPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellHighlightROPenWidth,(self,) + _args, _kwargs)
- return val
- def SetRowLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowLabelSize,(self,) + _args, _kwargs)
- return val
- def SetColLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColLabelSize,(self,) + _args, _kwargs)
- return val
- def SetLabelBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetLabelBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetLabelTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetLabelTextColour,(self,) + _args, _kwargs)
- return val
- def SetLabelFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetLabelFont,(self,) + _args, _kwargs)
- return val
- def SetRowLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowLabelAlignment,(self,) + _args, _kwargs)
- return val
- def SetColLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColLabelAlignment,(self,) + _args, _kwargs)
- return val
- def SetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def SetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColLabelValue,(self,) + _args, _kwargs)
- return val
- def SetGridLineColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetGridLineColour,(self,) + _args, _kwargs)
- return val
- def SetCellHighlightColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellHighlightColour,(self,) + _args, _kwargs)
- return val
- def SetCellHighlightPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellHighlightPenWidth,(self,) + _args, _kwargs)
- return val
- def SetCellHighlightROPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellHighlightROPenWidth,(self,) + _args, _kwargs)
- return val
- def EnableDragRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableDragRowSize,(self,) + _args, _kwargs)
- return val
- def DisableDragRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableDragRowSize,(self,) + _args, _kwargs)
- return val
- def CanDragRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanDragRowSize,(self,) + _args, _kwargs)
- return val
- def EnableDragColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableDragColSize,(self,) + _args, _kwargs)
- return val
- def DisableDragColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableDragColSize,(self,) + _args, _kwargs)
- return val
- def CanDragColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanDragColSize,(self,) + _args, _kwargs)
- return val
- def EnableDragGridSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableDragGridSize,(self,) + _args, _kwargs)
- return val
- def DisableDragGridSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableDragGridSize,(self,) + _args, _kwargs)
- return val
- def CanDragGridSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanDragGridSize,(self,) + _args, _kwargs)
- return val
- def SetRowAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowAttr,(self,) + _args, _kwargs)
- return val
- def SetColAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColAttr,(self,) + _args, _kwargs)
- return val
- def SetColFormatBool(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatBool,(self,) + _args, _kwargs)
- return val
- def SetColFormatNumber(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatNumber,(self,) + _args, _kwargs)
- return val
- def SetColFormatFloat(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatFloat,(self,) + _args, _kwargs)
- return val
- def SetColFormatCustom(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatCustom,(self,) + _args, _kwargs)
- return val
- def EnableGridLines(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableGridLines,(self,) + _args, _kwargs)
- return val
- def GridLinesEnabled(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GridLinesEnabled,(self,) + _args, _kwargs)
- return val
- def GetDefaultRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRowSize,(self,) + _args, _kwargs)
- return val
- def GetRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowSize,(self,) + _args, _kwargs)
- return val
- def GetDefaultColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultColSize,(self,) + _args, _kwargs)
- return val
- def GetColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColSize,(self,) + _args, _kwargs)
- return val
- def GetDefaultCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetDefaultCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetDefaultCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetDefaultCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellAlignment,(self,) + _args, _kwargs)
- return val
- def GetCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellAlignment,(self,) + _args, _kwargs)
- return val
- def SetDefaultRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultRowSize,(self,) + _args, _kwargs)
- return val
- def SetRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowSize,(self,) + _args, _kwargs)
- return val
- def SetDefaultColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultColSize,(self,) + _args, _kwargs)
- return val
- def SetColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColSize,(self,) + _args, _kwargs)
- return val
- def AutoSizeColumn(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeColumn,(self,) + _args, _kwargs)
- return val
- def AutoSizeRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeRow,(self,) + _args, _kwargs)
- return val
- def AutoSizeColumns(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeColumns,(self,) + _args, _kwargs)
- return val
- def AutoSizeRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeRows,(self,) + _args, _kwargs)
- return val
- def AutoSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSize,(self,) + _args, _kwargs)
- return val
- def SetColMinimalWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColMinimalWidth,(self,) + _args, _kwargs)
- return val
- def SetRowMinimalHeight(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowMinimalHeight,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellTextColour,(self,) + _args, _kwargs)
- return val
- def SetCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellTextColour,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellFont,(self,) + _args, _kwargs)
- return val
- def SetCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellFont,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellAlignment,(self,) + _args, _kwargs)
- return val
- def SetCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellAlignment,(self,) + _args, _kwargs)
- return val
- def SetDefaultRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultRenderer,(self,) + _args, _kwargs)
- return val
- def SetCellRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellRenderer,(self,) + _args, _kwargs)
- return val
- def GetDefaultRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRenderer,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def GetCellRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellRenderer,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def SetDefaultEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultEditor,(self,) + _args, _kwargs)
- return val
- def SetCellEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellEditor,(self,) + _args, _kwargs)
- return val
- def GetDefaultEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultEditor,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetCellEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellEditor,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetCellValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellValue,(self,) + _args, _kwargs)
- return val
- def SetCellValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellValue,(self,) + _args, _kwargs)
- return val
- def IsReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsReadOnly,(self,) + _args, _kwargs)
- return val
- def SetReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetReadOnly,(self,) + _args, _kwargs)
- return val
- def SelectRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectRow,(self,) + _args, _kwargs)
- return val
- def SelectCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectCol,(self,) + _args, _kwargs)
- return val
- def SelectBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectBlock,(self,) + _args, _kwargs)
- return val
- def SelectAll(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectAll,(self,) + _args, _kwargs)
- return val
- def IsSelection(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsSelection,(self,) + _args, _kwargs)
- return val
- def ClearSelection(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ClearSelection,(self,) + _args, _kwargs)
- return val
- def IsInSelection(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsInSelection,(self,) + _args, _kwargs)
- return val
- def BlockToDeviceRect(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_BlockToDeviceRect,(self,) + _args, _kwargs)
- if val: val = wxRectPtr(val) ; val.thisown = 1
- return val
- def GetSelectionBackground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetSelectionBackground,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetSelectionForeground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetSelectionForeground,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def SetSelectionBackground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetSelectionBackground,(self,) + _args, _kwargs)
- return val
- def SetSelectionForeground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetSelectionForeground,(self,) + _args, _kwargs)
- return val
- def RegisterDataType(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_RegisterDataType,(self,) + _args, _kwargs)
- return val
- def GetDefaultEditorForCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultEditorForCell,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetDefaultRendererForCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRendererForCell,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def GetDefaultEditorForType(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultEditorForType,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetDefaultRendererForType(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRendererForType,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def SetMargins(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetMargins,(self,) + _args, _kwargs)
- return val
- def GetGridWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridWindow,(self,) + _args, _kwargs)
- return val
- def GetGridRowLabelWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridRowLabelWindow,(self,) + _args, _kwargs)
- return val
- def GetGridColLabelWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridColLabelWindow,(self,) + _args, _kwargs)
- return val
- def GetGridCornerLabelWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridCornerLabelWindow,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGrid instance at %s>" % (self.this,)
-class wxGrid(wxGridPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGrid,_args,_kwargs)
- self.thisown = 1