"""DecRef(self)"""
return _grid.GridCellWorker_DecRef(*args, **kwargs)
-GridCellWorker_swigregister = _grid.GridCellWorker_swigregister
-GridCellWorker_swigregister(GridCellWorker)
+_grid.GridCellWorker_swigregister(GridCellWorker)
cvar = _grid.cvar
GridNoCellCoords = cvar.GridNoCellCoords
GridNoCellRect = cvar.GridNoCellRect
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
-GridCellRenderer_swigregister = _grid.GridCellRenderer_swigregister
-GridCellRenderer_swigregister(GridCellRenderer)
+_grid.GridCellRenderer_swigregister(GridCellRenderer)
class PyGridCellRenderer(GridCellRenderer):
"""Proxy of C++ PyGridCellRenderer class"""
base_SetParameters = wx._deprecated(base_SetParameters,
"Please use PyGridCellRenderer.SetParameters instead.")
-PyGridCellRenderer_swigregister = _grid.PyGridCellRenderer_swigregister
-PyGridCellRenderer_swigregister(PyGridCellRenderer)
+_grid.PyGridCellRenderer_swigregister(PyGridCellRenderer)
class GridCellStringRenderer(GridCellRenderer):
"""Proxy of C++ GridCellStringRenderer class"""
_grid.GridCellStringRenderer_swiginit(self,_grid.new_GridCellStringRenderer(*args, **kwargs))
self._setOORInfo(self)
-GridCellStringRenderer_swigregister = _grid.GridCellStringRenderer_swigregister
-GridCellStringRenderer_swigregister(GridCellStringRenderer)
+_grid.GridCellStringRenderer_swigregister(GridCellStringRenderer)
class GridCellNumberRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellNumberRenderer class"""
_grid.GridCellNumberRenderer_swiginit(self,_grid.new_GridCellNumberRenderer(*args, **kwargs))
self._setOORInfo(self)
-GridCellNumberRenderer_swigregister = _grid.GridCellNumberRenderer_swigregister
-GridCellNumberRenderer_swigregister(GridCellNumberRenderer)
+_grid.GridCellNumberRenderer_swigregister(GridCellNumberRenderer)
class GridCellFloatRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellFloatRenderer class"""
"""SetPrecision(self, int precision)"""
return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs)
-GridCellFloatRenderer_swigregister = _grid.GridCellFloatRenderer_swigregister
-GridCellFloatRenderer_swigregister(GridCellFloatRenderer)
+_grid.GridCellFloatRenderer_swigregister(GridCellFloatRenderer)
class GridCellBoolRenderer(GridCellRenderer):
"""Proxy of C++ GridCellBoolRenderer class"""
_grid.GridCellBoolRenderer_swiginit(self,_grid.new_GridCellBoolRenderer(*args, **kwargs))
self._setOORInfo(self)
-GridCellBoolRenderer_swigregister = _grid.GridCellBoolRenderer_swigregister
-GridCellBoolRenderer_swigregister(GridCellBoolRenderer)
+_grid.GridCellBoolRenderer_swigregister(GridCellBoolRenderer)
class GridCellDateTimeRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellDateTimeRenderer class"""
_grid.GridCellDateTimeRenderer_swiginit(self,_grid.new_GridCellDateTimeRenderer(*args, **kwargs))
self._setOORInfo(self)
-GridCellDateTimeRenderer_swigregister = _grid.GridCellDateTimeRenderer_swigregister
-GridCellDateTimeRenderer_swigregister(GridCellDateTimeRenderer)
+_grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRenderer)
class GridCellEnumRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellEnumRenderer class"""
_grid.GridCellEnumRenderer_swiginit(self,_grid.new_GridCellEnumRenderer(*args, **kwargs))
self._setOORInfo(self)
-GridCellEnumRenderer_swigregister = _grid.GridCellEnumRenderer_swigregister
-GridCellEnumRenderer_swigregister(GridCellEnumRenderer)
+_grid.GridCellEnumRenderer_swigregister(GridCellEnumRenderer)
class GridCellAutoWrapStringRenderer(GridCellStringRenderer):
"""Proxy of C++ GridCellAutoWrapStringRenderer class"""
_grid.GridCellAutoWrapStringRenderer_swiginit(self,_grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs))
self._setOORInfo(self)
-GridCellAutoWrapStringRenderer_swigregister = _grid.GridCellAutoWrapStringRenderer_swigregister
-GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRenderer)
+_grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRenderer)
class GridCellEditor(GridCellWorker):
"""Proxy of C++ GridCellEditor class"""
args[0].thisown = 0
return val
-GridCellEditor_swigregister = _grid.GridCellEditor_swigregister
-GridCellEditor_swigregister(GridCellEditor)
+_grid.GridCellEditor_swigregister(GridCellEditor)
class PyGridCellEditor(GridCellEditor):
"""Proxy of C++ PyGridCellEditor class"""
base_SetParameters = wx._deprecated(base_SetParameters,
"Please use PyGridCellEditor.SetParameters instead.")
-PyGridCellEditor_swigregister = _grid.PyGridCellEditor_swigregister
-PyGridCellEditor_swigregister(PyGridCellEditor)
+_grid.PyGridCellEditor_swigregister(PyGridCellEditor)
class GridCellTextEditor(GridCellEditor):
"""Proxy of C++ GridCellTextEditor class"""
"""GetValue(self) -> String"""
return _grid.GridCellTextEditor_GetValue(*args, **kwargs)
-GridCellTextEditor_swigregister = _grid.GridCellTextEditor_swigregister
-GridCellTextEditor_swigregister(GridCellTextEditor)
+_grid.GridCellTextEditor_swigregister(GridCellTextEditor)
class GridCellNumberEditor(GridCellTextEditor):
"""Proxy of C++ GridCellNumberEditor class"""
_grid.GridCellNumberEditor_swiginit(self,_grid.new_GridCellNumberEditor(*args, **kwargs))
self._setOORInfo(self)
-GridCellNumberEditor_swigregister = _grid.GridCellNumberEditor_swigregister
-GridCellNumberEditor_swigregister(GridCellNumberEditor)
+_grid.GridCellNumberEditor_swigregister(GridCellNumberEditor)
class GridCellFloatEditor(GridCellTextEditor):
"""Proxy of C++ GridCellFloatEditor class"""
_grid.GridCellFloatEditor_swiginit(self,_grid.new_GridCellFloatEditor(*args, **kwargs))
self._setOORInfo(self)
-GridCellFloatEditor_swigregister = _grid.GridCellFloatEditor_swigregister
-GridCellFloatEditor_swigregister(GridCellFloatEditor)
+_grid.GridCellFloatEditor_swigregister(GridCellFloatEditor)
class GridCellBoolEditor(GridCellEditor):
"""Proxy of C++ GridCellBoolEditor class"""
"""GetValue(self) -> String"""
return _grid.GridCellBoolEditor_GetValue(*args, **kwargs)
-GridCellBoolEditor_swigregister = _grid.GridCellBoolEditor_swigregister
-GridCellBoolEditor_swigregister(GridCellBoolEditor)
+_grid.GridCellBoolEditor_swigregister(GridCellBoolEditor)
class GridCellChoiceEditor(GridCellEditor):
"""Proxy of C++ GridCellChoiceEditor class"""
"""GetValue(self) -> String"""
return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs)
-GridCellChoiceEditor_swigregister = _grid.GridCellChoiceEditor_swigregister
-GridCellChoiceEditor_swigregister(GridCellChoiceEditor)
+_grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditor)
class GridCellEnumEditor(GridCellChoiceEditor):
"""Proxy of C++ GridCellEnumEditor class"""
_grid.GridCellEnumEditor_swiginit(self,_grid.new_GridCellEnumEditor(*args, **kwargs))
self._setOORInfo(self)
-GridCellEnumEditor_swigregister = _grid.GridCellEnumEditor_swigregister
-GridCellEnumEditor_swigregister(GridCellEnumEditor)
+_grid.GridCellEnumEditor_swigregister(GridCellEnumEditor)
class GridCellAutoWrapStringEditor(GridCellTextEditor):
"""Proxy of C++ GridCellAutoWrapStringEditor class"""
_grid.GridCellAutoWrapStringEditor_swiginit(self,_grid.new_GridCellAutoWrapStringEditor(*args, **kwargs))
self._setOORInfo(self)
-GridCellAutoWrapStringEditor_swigregister = _grid.GridCellAutoWrapStringEditor_swigregister
-GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditor)
+_grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditor)
class GridCellAttr(object):
"""Proxy of C++ GridCellAttr class"""
"""SetDefAttr(self, GridCellAttr defAttr)"""
return _grid.GridCellAttr_SetDefAttr(*args, **kwargs)
-GridCellAttr_swigregister = _grid.GridCellAttr_swigregister
-GridCellAttr_swigregister(GridCellAttr)
+_grid.GridCellAttr_swigregister(GridCellAttr)
class GridCellAttrProvider(object):
"""Proxy of C++ GridCellAttrProvider class"""
"""UpdateAttrCols(self, size_t pos, int numCols)"""
return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs)
-GridCellAttrProvider_swigregister = _grid.GridCellAttrProvider_swigregister
-GridCellAttrProvider_swigregister(GridCellAttrProvider)
+_grid.GridCellAttrProvider_swigregister(GridCellAttrProvider)
class PyGridCellAttrProvider(GridCellAttrProvider):
"""Proxy of C++ PyGridCellAttrProvider class"""
base_SetColAttr = wx._deprecated(base_SetColAttr,
"Please use PyGridCellAttrProvider.SetColAttr instead.")
-PyGridCellAttrProvider_swigregister = _grid.PyGridCellAttrProvider_swigregister
-PyGridCellAttrProvider_swigregister(PyGridCellAttrProvider)
+_grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProvider)
class GridTableBase(_core.Object):
"""Proxy of C++ GridTableBase class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
+ __swig_destroy__ = _grid.delete_GridTableBase
+ __del__ = lambda self : None;
def _setOORInfo(*args, **kwargs):
"""_setOORInfo(self, PyObject _self)"""
return _grid.GridTableBase__setOORInfo(*args, **kwargs)
"""SetColAttr(self, GridCellAttr attr, int col)"""
return _grid.GridTableBase_SetColAttr(*args, **kwargs)
-GridTableBase_swigregister = _grid.GridTableBase_swigregister
-GridTableBase_swigregister(GridTableBase)
+_grid.GridTableBase_swigregister(GridTableBase)
class PyGridTableBase(GridTableBase):
"""Proxy of C++ PyGridTableBase class"""
base_SetColAttr = wx._deprecated(base_SetColAttr,
"Please use PyGridTableBase.SetColAttr instead.")
-PyGridTableBase_swigregister = _grid.PyGridTableBase_swigregister
-PyGridTableBase_swigregister(PyGridTableBase)
+_grid.PyGridTableBase_swigregister(PyGridTableBase)
class GridStringTable(GridTableBase):
"""Proxy of C++ GridStringTable class"""
_grid.GridStringTable_swiginit(self,_grid.new_GridStringTable(*args, **kwargs))
self._setOORInfo(self)
-GridStringTable_swigregister = _grid.GridStringTable_swigregister
-GridStringTable_swigregister(GridStringTable)
+_grid.GridStringTable_swigregister(GridStringTable)
GRIDTABLE_REQUEST_VIEW_GET_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
GRIDTABLE_REQUEST_VIEW_SEND_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
"""GetCommandInt2(self) -> int"""
return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs)
-GridTableMessage_swigregister = _grid.GridTableMessage_swigregister
-GridTableMessage_swigregister(GridTableMessage)
+_grid.GridTableMessage_swigregister(GridTableMessage)
class GridCellCoords(object):
"""Proxy of C++ GridCellCoords class"""
return _grid.GridCellCoords_Set(*args, **kwargs)
def __eq__(*args, **kwargs):
- """__eq__(self, GridCellCoords other) -> bool"""
+ """
+ __eq__(self, PyObject other) -> bool
+
+ Test for equality of GridCellCoords objects.
+ """
return _grid.GridCellCoords___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
- """__ne__(self, GridCellCoords other) -> bool"""
+ """
+ __ne__(self, PyObject other) -> bool
+
+ Test for inequality of GridCellCoords objects.
+ """
return _grid.GridCellCoords___ne__(*args, **kwargs)
def Get(*args, **kwargs):
elif index == 1: self.SetCol(val)
else: raise IndexError
-GridCellCoords_swigregister = _grid.GridCellCoords_swigregister
-GridCellCoords_swigregister(GridCellCoords)
+_grid.GridCellCoords_swigregister(GridCellCoords)
class Grid(_windows.ScrolledWindow):
"""Proxy of C++ Grid class"""
return _grid.Grid_YToRow(*args, **kwargs)
def XToCol(*args, **kwargs):
- """XToCol(self, int x) -> int"""
+ """XToCol(self, int x, bool clipToMinMax=False) -> int"""
return _grid.Grid_XToCol(*args, **kwargs)
def YToEdgeOfRow(*args, **kwargs):
"""GetGridLineColour(self) -> Colour"""
return _grid.Grid_GetGridLineColour(*args, **kwargs)
+ def GetDefaultGridLinePen(*args, **kwargs):
+ """GetDefaultGridLinePen(self) -> wxPen"""
+ return _grid.Grid_GetDefaultGridLinePen(*args, **kwargs)
+
+ def GetRowGridLinePen(*args, **kwargs):
+ """GetRowGridLinePen(self, int row) -> wxPen"""
+ return _grid.Grid_GetRowGridLinePen(*args, **kwargs)
+
+ def GetColGridLinePen(*args, **kwargs):
+ """GetColGridLinePen(self, int col) -> wxPen"""
+ return _grid.Grid_GetColGridLinePen(*args, **kwargs)
+
def GetCellHighlightColour(*args, **kwargs):
"""GetCellHighlightColour(self) -> Colour"""
return _grid.Grid_GetCellHighlightColour(*args, **kwargs)
"""CanDragColSize(self) -> bool"""
return _grid.Grid_CanDragColSize(*args, **kwargs)
+ def EnableDragColMove(*args, **kwargs):
+ """EnableDragColMove(self, bool enable=True)"""
+ return _grid.Grid_EnableDragColMove(*args, **kwargs)
+
+ def DisableDragColMove(*args, **kwargs):
+ """DisableDragColMove(self)"""
+ return _grid.Grid_DisableDragColMove(*args, **kwargs)
+
+ def CanDragColMove(*args, **kwargs):
+ """CanDragColMove(self) -> bool"""
+ return _grid.Grid_CanDragColMove(*args, **kwargs)
+
def EnableDragGridSize(*args, **kwargs):
"""EnableDragGridSize(self, bool enable=True)"""
return _grid.Grid_EnableDragGridSize(*args, **kwargs)
"""SetColSize(self, int col, int width)"""
return _grid.Grid_SetColSize(*args, **kwargs)
+ def GetColAt(*args, **kwargs):
+ """GetColAt(self, int colPos) -> int"""
+ return _grid.Grid_GetColAt(*args, **kwargs)
+
+ def SetColPos(*args, **kwargs):
+ """SetColPos(self, int colID, int newPos)"""
+ return _grid.Grid_SetColPos(*args, **kwargs)
+
+ def GetColPos(*args, **kwargs):
+ """GetColPos(self, int colID) -> int"""
+ return _grid.Grid_GetColPos(*args, **kwargs)
+
def AutoSizeColumn(*args, **kwargs):
"""AutoSizeColumn(self, int col, bool setAsMin=True)"""
return _grid.Grid_AutoSizeColumn(*args, **kwargs)
return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
-Grid_swigregister = _grid.Grid_swigregister
-Grid_swigregister(Grid)
+_grid.Grid_swigregister(Grid)
def PreGrid(*args, **kwargs):
"""PreGrid() -> Grid"""
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1,
+ __init__(self, int id, EventType type, Grid obj, int row=-1, int col=-1,
int x=-1, int y=-1, bool sel=True, bool control=False,
bool shift=False, bool alt=False,
bool meta=False) -> GridEvent
"""AltDown(self) -> bool"""
return _grid.GridEvent_AltDown(*args, **kwargs)
-GridEvent_swigregister = _grid.GridEvent_swigregister
-GridEvent_swigregister(GridEvent)
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _grid.GridEvent_CmdDown(*args, **kwargs)
+
+_grid.GridEvent_swigregister(GridEvent)
class GridSizeEvent(_core.NotifyEvent):
"""Proxy of C++ GridSizeEvent class"""
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1,
+ __init__(self, int id, EventType type, Grid obj, int rowOrCol=-1,
int x=-1, int y=-1, bool control=False, bool shift=False,
bool alt=False, bool meta=False) -> GridSizeEvent
"""
"""AltDown(self) -> bool"""
return _grid.GridSizeEvent_AltDown(*args, **kwargs)
-GridSizeEvent_swigregister = _grid.GridSizeEvent_swigregister
-GridSizeEvent_swigregister(GridSizeEvent)
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _grid.GridSizeEvent_CmdDown(*args, **kwargs)
+
+_grid.GridSizeEvent_swigregister(GridSizeEvent)
class GridRangeSelectEvent(_core.NotifyEvent):
"""Proxy of C++ GridRangeSelectEvent class"""
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft,
+ __init__(self, int id, EventType type, Grid obj, GridCellCoords topLeft,
GridCellCoords bottomRight, bool sel=True,
- bool control=False, bool shift=False,
- bool alt=False, bool meta=False) -> GridRangeSelectEvent
+ bool control=False, bool shift=False, bool alt=False,
+ bool meta=False) -> GridRangeSelectEvent
"""
_grid.GridRangeSelectEvent_swiginit(self,_grid.new_GridRangeSelectEvent(*args, **kwargs))
def GetTopLeftCoords(*args, **kwargs):
"""AltDown(self) -> bool"""
return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs)
-GridRangeSelectEvent_swigregister = _grid.GridRangeSelectEvent_swigregister
-GridRangeSelectEvent_swigregister(GridRangeSelectEvent)
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _grid.GridRangeSelectEvent_CmdDown(*args, **kwargs)
+
+_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEvent)
class GridEditorCreatedEvent(_core.CommandEvent):
"""Proxy of C++ GridEditorCreatedEvent class"""
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, int id, wxEventType type, Object obj, int row, int col,
+ __init__(self, int id, EventType type, Object obj, int row, int col,
Control ctrl) -> GridEditorCreatedEvent
"""
_grid.GridEditorCreatedEvent_swiginit(self,_grid.new_GridEditorCreatedEvent(*args, **kwargs))
"""SetControl(self, Control ctrl)"""
return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs)
-GridEditorCreatedEvent_swigregister = _grid.GridEditorCreatedEvent_swigregister
-GridEditorCreatedEvent_swigregister(GridEditorCreatedEvent)
+_grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEvent)
wxEVT_GRID_CELL_LEFT_CLICK = _grid.wxEVT_GRID_CELL_LEFT_CLICK
wxEVT_GRID_CELL_RIGHT_CLICK = _grid.wxEVT_GRID_CELL_RIGHT_CLICK