def __init__(self,this):
self.this = this
self.thisown = 0
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxGridCellRenderer__setOORInfo,(self,) + _args, _kwargs)
+ return val
def SetParameters(self, *_args, **_kwargs):
val = apply(gridc.wxGridCellRenderer_SetParameters,(self,) + _args, _kwargs)
return val
return val
def Clone(self, *_args, **_kwargs):
val = apply(gridc.wxGridCellRenderer_Clone,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
return val
def __repr__(self):
return "<C wxGridCellRenderer instance at %s>" % (self.this,)
self.this = apply(gridc.new_wxPyGridCellRenderer,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyGridCellRenderer)
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellStringRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellNumberRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellFloatRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellBoolRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellDateTimeRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellEnumRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellAutoWrapStringRenderer,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,this):
self.this = this
self.thisown = 0
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxGridCellEditor__setOORInfo,(self,) + _args, _kwargs)
+ return val
def IsCreated(self, *_args, **_kwargs):
val = apply(gridc.wxGridCellEditor_IsCreated,(self,) + _args, _kwargs)
return val
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)
self.this = apply(gridc.new_wxPyGridCellEditor,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyGridCellEditor)
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellTextEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellNumberEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellFloatEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellBoolEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellChoiceEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellEnumEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellAutoWrapStringEditor,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,this):
self.this = this
self.thisown = 0
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxGridCellAttr__setOORInfo,(self,) + _args, _kwargs)
+ return val
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 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)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellAttr,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
def __init__(self,this):
self.this = this
self.thisown = 0
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxGridCellAttrProvider__setOORInfo,(self,) + _args, _kwargs)
+ return val
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)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridCellAttrProvider,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
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)
def __init__(self,this):
self.this = this
self.thisown = 0
+ def _setOORInfo(self, *_args, **_kwargs):
+ val = apply(gridc.wxGridTableBase__setOORInfo,(self,) + _args, _kwargs)
+ return val
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 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 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)
self.this = apply(gridc.new_wxPyGridTableBase,_args,_kwargs)
self.thisown = 1
self._setCallbackInfo(self, wxPyGridTableBase)
+ self._setOORInfo(self)
def __init__(self,*_args,**_kwargs):
self.this = apply(gridc.new_wxGridStringTable,_args,_kwargs)
self.thisown = 1
+ self._setOORInfo(self)
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 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 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)
wxGRID_VALUE_CHOICE = gridc.wxGRID_VALUE_CHOICE
wxGRID_VALUE_TEXT = gridc.wxGRID_VALUE_TEXT
wxGRID_VALUE_LONG = gridc.wxGRID_VALUE_LONG
+wxGRID_VALUE_CHOICEINT = gridc.wxGRID_VALUE_CHOICEINT
+wxGRID_VALUE_DATETIME = gridc.wxGRID_VALUE_DATETIME
cvar = gridc.cvar
wxGridNoCellCoords = wxGridCellCoordsPtr(gridc.cvar.wxGridNoCellCoords)
wxGridNoCellRect = wxRectPtr(gridc.cvar.wxGridNoCellRect)