X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..ce7284bd976f469991149a4ff0cd52294b9b61ad:/wxPython/src/mac/grid.py diff --git a/wxPython/src/mac/grid.py b/wxPython/src/mac/grid.py index c7ac998626..259d15e93c 100644 --- a/wxPython/src/mac/grid.py +++ b/wxPython/src/mac/grid.py @@ -16,16 +16,40 @@ GRID_VALUE_LONG = _grid.GRID_VALUE_LONG GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME class GridCellRenderer(object): - def _setOORInfo(*args, **kwargs): return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) - def SetParameters(*args, **kwargs): return _grid.GridCellRenderer_SetParameters(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellRenderer_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellRenderer_DecRef(*args, **kwargs) - def Draw(*args, **kwargs): return _grid.GridCellRenderer_Draw(*args, **kwargs) - def GetBestSize(*args, **kwargs): return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) - def Clone(*args, **kwargs): return _grid.GridCellRenderer_Clone(*args, **kwargs) def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) + + def SetParameters(*args, **kwargs): + """SetParameters(String params)""" + return _grid.GridCellRenderer_SetParameters(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellRenderer_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellRenderer_DecRef(*args, **kwargs) + + def Draw(*args, **kwargs): + """ + Draw(Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, + int col, bool isSelected) + """ + return _grid.GridCellRenderer_Draw(*args, **kwargs) + + def GetBestSize(*args, **kwargs): + """GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size""" + return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> GridCellRenderer""" + return _grid.GridCellRenderer_Clone(*args, **kwargs) + class GridCellRendererPtr(GridCellRenderer): def __init__(self, this): @@ -34,20 +58,29 @@ class GridCellRendererPtr(GridCellRenderer): self.__class__ = GridCellRenderer _grid.GridCellRenderer_swigregister(GridCellRendererPtr) cvar = _grid.cvar +DateTimeFormatStr = cvar.DateTimeFormatStr GridNoCellCoords = cvar.GridNoCellCoords GridNoCellRect = cvar.GridNoCellRect class PyGridCellRenderer(GridCellRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellRenderer""" newobj = _grid.new_PyGridCellRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellRenderer);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) - def base_SetParameters(*args, **kwargs): return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) + + def base_SetParameters(*args, **kwargs): + """base_SetParameters(String params)""" + return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) + class PyGridCellRendererPtr(PyGridCellRenderer): def __init__(self, this): @@ -57,14 +90,16 @@ class PyGridCellRendererPtr(PyGridCellRenderer): _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) class GridCellStringRenderer(GridCellRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellStringRenderer""" newobj = _grid.new_GridCellStringRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellStringRendererPtr(GridCellStringRenderer): def __init__(self, this): @@ -74,14 +109,16 @@ class GridCellStringRendererPtr(GridCellStringRenderer): _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) class GridCellNumberRenderer(GridCellStringRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellNumberRenderer""" newobj = _grid.new_GridCellNumberRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellNumberRendererPtr(GridCellNumberRenderer): def __init__(self, this): @@ -91,18 +128,32 @@ class GridCellNumberRendererPtr(GridCellNumberRenderer): _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) class GridCellFloatRenderer(GridCellStringRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int width=-1, int precision=-1) -> GridCellFloatRenderer""" newobj = _grid.new_GridCellFloatRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) - def SetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) - def GetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) - def SetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetWidth(*args, **kwargs): + """GetWidth() -> int""" + return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) + + def SetWidth(*args, **kwargs): + """SetWidth(int width)""" + return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) + + def GetPrecision(*args, **kwargs): + """GetPrecision() -> int""" + return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) + + def SetPrecision(*args, **kwargs): + """SetPrecision(int precision)""" + return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) + class GridCellFloatRendererPtr(GridCellFloatRenderer): def __init__(self, this): @@ -112,14 +163,16 @@ class GridCellFloatRendererPtr(GridCellFloatRenderer): _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) class GridCellBoolRenderer(GridCellRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellBoolRenderer""" newobj = _grid.new_GridCellBoolRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellBoolRendererPtr(GridCellBoolRenderer): def __init__(self, this): @@ -129,14 +182,16 @@ class GridCellBoolRendererPtr(GridCellBoolRenderer): _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) class GridCellDateTimeRenderer(GridCellStringRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer""" newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): def __init__(self, this): @@ -146,14 +201,16 @@ class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) class GridCellEnumRenderer(GridCellStringRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(String choices=EmptyString) -> GridCellEnumRenderer""" newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellEnumRendererPtr(GridCellEnumRenderer): def __init__(self, this): @@ -163,14 +220,16 @@ class GridCellEnumRendererPtr(GridCellEnumRenderer): _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) class GridCellAutoWrapStringRenderer(GridCellStringRenderer): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAutoWrapStringRenderer""" newobj = _grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): def __init__(self, this): @@ -180,31 +239,97 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - def _setOORInfo(*args, **kwargs): return _grid.GridCellEditor__setOORInfo(*args, **kwargs) - def IsCreated(*args, **kwargs): return _grid.GridCellEditor_IsCreated(*args, **kwargs) - def GetControl(*args, **kwargs): return _grid.GridCellEditor_GetControl(*args, **kwargs) - def SetControl(*args, **kwargs): return _grid.GridCellEditor_SetControl(*args, **kwargs) - def GetCellAttr(*args, **kwargs): return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) - def SetCellAttr(*args, **kwargs): return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) - def SetParameters(*args, **kwargs): return _grid.GridCellEditor_SetParameters(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellEditor_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellEditor_DecRef(*args, **kwargs) - def Create(*args, **kwargs): return _grid.GridCellEditor_Create(*args, **kwargs) - def BeginEdit(*args, **kwargs): return _grid.GridCellEditor_BeginEdit(*args, **kwargs) - def EndEdit(*args, **kwargs): return _grid.GridCellEditor_EndEdit(*args, **kwargs) - def Reset(*args, **kwargs): return _grid.GridCellEditor_Reset(*args, **kwargs) - def Clone(*args, **kwargs): return _grid.GridCellEditor_Clone(*args, **kwargs) - def SetSize(*args, **kwargs): return _grid.GridCellEditor_SetSize(*args, **kwargs) - def Show(*args, **kwargs): return _grid.GridCellEditor_Show(*args, **kwargs) - def PaintBackground(*args, **kwargs): return _grid.GridCellEditor_PaintBackground(*args, **kwargs) - def IsAcceptedKey(*args, **kwargs): return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) - def StartingKey(*args, **kwargs): return _grid.GridCellEditor_StartingKey(*args, **kwargs) - def StartingClick(*args, **kwargs): return _grid.GridCellEditor_StartingClick(*args, **kwargs) - def HandleReturn(*args, **kwargs): return _grid.GridCellEditor_HandleReturn(*args, **kwargs) - def Destroy(*args, **kwargs): return _grid.GridCellEditor_Destroy(*args, **kwargs) def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellEditor__setOORInfo(*args, **kwargs) + + def IsCreated(*args, **kwargs): + """IsCreated() -> bool""" + return _grid.GridCellEditor_IsCreated(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _grid.GridCellEditor_GetControl(*args, **kwargs) + + def SetControl(*args, **kwargs): + """SetControl(Control control)""" + return _grid.GridCellEditor_SetControl(*args, **kwargs) + + def GetCellAttr(*args, **kwargs): + """GetCellAttr() -> GridCellAttr""" + return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) + + def SetCellAttr(*args, **kwargs): + """SetCellAttr(GridCellAttr attr)""" + return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) + + def SetParameters(*args, **kwargs): + """SetParameters(String params)""" + return _grid.GridCellEditor_SetParameters(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellEditor_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellEditor_DecRef(*args, **kwargs) + + def Create(*args, **kwargs): + """Create(Window parent, int id, EvtHandler evtHandler)""" + return _grid.GridCellEditor_Create(*args, **kwargs) + + def BeginEdit(*args, **kwargs): + """BeginEdit(int row, int col, Grid grid)""" + return _grid.GridCellEditor_BeginEdit(*args, **kwargs) + + def EndEdit(*args, **kwargs): + """EndEdit(int row, int col, Grid grid) -> bool""" + return _grid.GridCellEditor_EndEdit(*args, **kwargs) + + def Reset(*args, **kwargs): + """Reset()""" + return _grid.GridCellEditor_Reset(*args, **kwargs) + + def Clone(*args, **kwargs): + """Clone() -> GridCellEditor""" + return _grid.GridCellEditor_Clone(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(Rect rect)""" + return _grid.GridCellEditor_SetSize(*args, **kwargs) + + def Show(*args, **kwargs): + """Show(bool show, GridCellAttr attr=None)""" + return _grid.GridCellEditor_Show(*args, **kwargs) + + def PaintBackground(*args, **kwargs): + """PaintBackground(Rect rectCell, GridCellAttr attr)""" + return _grid.GridCellEditor_PaintBackground(*args, **kwargs) + + def IsAcceptedKey(*args, **kwargs): + """IsAcceptedKey(KeyEvent event) -> bool""" + return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) + + def StartingKey(*args, **kwargs): + """StartingKey(KeyEvent event)""" + return _grid.GridCellEditor_StartingKey(*args, **kwargs) + + def StartingClick(*args, **kwargs): + """StartingClick()""" + return _grid.GridCellEditor_StartingClick(*args, **kwargs) + + def HandleReturn(*args, **kwargs): + """HandleReturn(KeyEvent event)""" + return _grid.GridCellEditor_HandleReturn(*args, **kwargs) + + def Destroy(*args, **kwargs): + """Destroy()""" + return _grid.GridCellEditor_Destroy(*args, **kwargs) + class GridCellEditorPtr(GridCellEditor): def __init__(self, this): @@ -214,24 +339,56 @@ class GridCellEditorPtr(GridCellEditor): _grid.GridCellEditor_swigregister(GridCellEditorPtr) class PyGridCellEditor(GridCellEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellEditor""" newobj = _grid.new_PyGridCellEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) - def base_SetSize(*args, **kwargs): return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) - def base_Show(*args, **kwargs): return _grid.PyGridCellEditor_base_Show(*args, **kwargs) - def base_PaintBackground(*args, **kwargs): return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) - def base_IsAcceptedKey(*args, **kwargs): return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) - def base_StartingKey(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) - def base_StartingClick(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) - def base_HandleReturn(*args, **kwargs): return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) - def base_Destroy(*args, **kwargs): return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) - def base_SetParameters(*args, **kwargs): return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) + + def base_SetSize(*args, **kwargs): + """base_SetSize(Rect rect)""" + return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs) + + def base_Show(*args, **kwargs): + """base_Show(bool show, GridCellAttr attr=None)""" + return _grid.PyGridCellEditor_base_Show(*args, **kwargs) + + def base_PaintBackground(*args, **kwargs): + """base_PaintBackground(Rect rectCell, GridCellAttr attr)""" + return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs) + + def base_IsAcceptedKey(*args, **kwargs): + """base_IsAcceptedKey(KeyEvent event) -> bool""" + return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs) + + def base_StartingKey(*args, **kwargs): + """base_StartingKey(KeyEvent event)""" + return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs) + + def base_StartingClick(*args, **kwargs): + """base_StartingClick()""" + return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs) + + def base_HandleReturn(*args, **kwargs): + """base_HandleReturn(KeyEvent event)""" + return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs) + + def base_Destroy(*args, **kwargs): + """base_Destroy()""" + return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) + + def base_SetParameters(*args, **kwargs): + """base_SetParameters(String params)""" + return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) + class PyGridCellEditorPtr(PyGridCellEditor): def __init__(self, this): @@ -241,15 +398,20 @@ class PyGridCellEditorPtr(PyGridCellEditor): _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) class GridCellTextEditor(GridCellEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellTextEditor""" newobj = _grid.new_GridCellTextEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellTextEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellTextEditor_GetValue(*args, **kwargs) + class GridCellTextEditorPtr(GridCellTextEditor): def __init__(self, this): @@ -259,15 +421,20 @@ class GridCellTextEditorPtr(GridCellTextEditor): _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) class GridCellNumberEditor(GridCellTextEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int min=-1, int max=-1) -> GridCellNumberEditor""" newobj = _grid.new_GridCellNumberEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) + class GridCellNumberEditorPtr(GridCellNumberEditor): def __init__(self, this): @@ -277,15 +444,20 @@ class GridCellNumberEditorPtr(GridCellNumberEditor): _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) class GridCellFloatEditor(GridCellTextEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellFloatEditor""" newobj = _grid.new_GridCellFloatEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) + class GridCellFloatEditorPtr(GridCellFloatEditor): def __init__(self, this): @@ -295,15 +467,20 @@ class GridCellFloatEditorPtr(GridCellFloatEditor): _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) class GridCellBoolEditor(GridCellEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellBoolEditor""" newobj = _grid.new_GridCellBoolEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) + class GridCellBoolEditorPtr(GridCellBoolEditor): def __init__(self, this): @@ -313,15 +490,20 @@ class GridCellBoolEditorPtr(GridCellBoolEditor): _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) class GridCellChoiceEditor(GridCellEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int choices=0, String choices_array=None, bool allowOthers=False) -> GridCellChoiceEditor""" newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) + class GridCellChoiceEditorPtr(GridCellChoiceEditor): def __init__(self, this): @@ -331,15 +513,20 @@ class GridCellChoiceEditorPtr(GridCellChoiceEditor): _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) class GridCellEnumEditor(GridCellChoiceEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(String choices=EmptyString) -> GridCellEnumEditor""" newobj = _grid.new_GridCellEnumEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) + class GridCellEnumEditorPtr(GridCellEnumEditor): def __init__(self, this): @@ -349,15 +536,20 @@ class GridCellEnumEditorPtr(GridCellEnumEditor): _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) class GridCellAutoWrapStringEditor(GridCellTextEditor): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAutoWrapStringEditor""" newobj = _grid.new_GridCellAutoWrapStringEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def GetValue(*args, **kwargs): return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def GetValue(*args, **kwargs): + """GetValue() -> String""" + return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) + class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): def __init__(self, this): @@ -367,53 +559,154 @@ class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) class GridCellAttr(object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) Any = _grid.GridCellAttr_Any Default = _grid.GridCellAttr_Default Cell = _grid.GridCellAttr_Cell Row = _grid.GridCellAttr_Row Col = _grid.GridCellAttr_Col Merged = _grid.GridCellAttr_Merged - def _setOORInfo(*args, **kwargs): return _grid.GridCellAttr__setOORInfo(*args, **kwargs) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellAttr__setOORInfo(*args, **kwargs) + def __init__(self, *args, **kwargs): + """__init__(GridCellAttr attrDefault=None) -> GridCellAttr""" newobj = _grid.new_GridCellAttr(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def Clone(*args, **kwargs): return _grid.GridCellAttr_Clone(*args, **kwargs) - def MergeWith(*args, **kwargs): return _grid.GridCellAttr_MergeWith(*args, **kwargs) - def IncRef(*args, **kwargs): return _grid.GridCellAttr_IncRef(*args, **kwargs) - def DecRef(*args, **kwargs): return _grid.GridCellAttr_DecRef(*args, **kwargs) - def SetTextColour(*args, **kwargs): return _grid.GridCellAttr_SetTextColour(*args, **kwargs) - def SetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) - def SetFont(*args, **kwargs): return _grid.GridCellAttr_SetFont(*args, **kwargs) - def SetAlignment(*args, **kwargs): return _grid.GridCellAttr_SetAlignment(*args, **kwargs) - def SetSize(*args, **kwargs): return _grid.GridCellAttr_SetSize(*args, **kwargs) - def SetOverflow(*args, **kwargs): return _grid.GridCellAttr_SetOverflow(*args, **kwargs) - def SetReadOnly(*args, **kwargs): return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) - def SetRenderer(*args, **kwargs): return _grid.GridCellAttr_SetRenderer(*args, **kwargs) - def SetEditor(*args, **kwargs): return _grid.GridCellAttr_SetEditor(*args, **kwargs) - def SetKind(*args, **kwargs): return _grid.GridCellAttr_SetKind(*args, **kwargs) - def HasTextColour(*args, **kwargs): return _grid.GridCellAttr_HasTextColour(*args, **kwargs) - def HasBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) - def HasFont(*args, **kwargs): return _grid.GridCellAttr_HasFont(*args, **kwargs) - def HasAlignment(*args, **kwargs): return _grid.GridCellAttr_HasAlignment(*args, **kwargs) - def HasRenderer(*args, **kwargs): return _grid.GridCellAttr_HasRenderer(*args, **kwargs) - def HasEditor(*args, **kwargs): return _grid.GridCellAttr_HasEditor(*args, **kwargs) - def HasReadWriteMode(*args, **kwargs): return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) - def HasOverflowMode(*args, **kwargs): return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) - def GetTextColour(*args, **kwargs): return _grid.GridCellAttr_GetTextColour(*args, **kwargs) - def GetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) - def GetFont(*args, **kwargs): return _grid.GridCellAttr_GetFont(*args, **kwargs) - def GetAlignment(*args, **kwargs): return _grid.GridCellAttr_GetAlignment(*args, **kwargs) - def GetSize(*args, **kwargs): return _grid.GridCellAttr_GetSize(*args, **kwargs) - def GetOverflow(*args, **kwargs): return _grid.GridCellAttr_GetOverflow(*args, **kwargs) - def GetRenderer(*args, **kwargs): return _grid.GridCellAttr_GetRenderer(*args, **kwargs) - def GetEditor(*args, **kwargs): return _grid.GridCellAttr_GetEditor(*args, **kwargs) - def IsReadOnly(*args, **kwargs): return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) - def SetDefAttr(*args, **kwargs): return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def Clone(*args, **kwargs): + """Clone() -> GridCellAttr""" + return _grid.GridCellAttr_Clone(*args, **kwargs) + + def MergeWith(*args, **kwargs): + """MergeWith(GridCellAttr mergefrom)""" + return _grid.GridCellAttr_MergeWith(*args, **kwargs) + + def IncRef(*args, **kwargs): + """IncRef()""" + return _grid.GridCellAttr_IncRef(*args, **kwargs) + + def DecRef(*args, **kwargs): + """DecRef()""" + return _grid.GridCellAttr_DecRef(*args, **kwargs) + + def SetTextColour(*args, **kwargs): + """SetTextColour(Colour colText)""" + return _grid.GridCellAttr_SetTextColour(*args, **kwargs) + + def SetBackgroundColour(*args, **kwargs): + """SetBackgroundColour(Colour colBack)""" + return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) + + def SetFont(*args, **kwargs): + """SetFont(Font font)""" + return _grid.GridCellAttr_SetFont(*args, **kwargs) + + def SetAlignment(*args, **kwargs): + """SetAlignment(int hAlign, int vAlign)""" + return _grid.GridCellAttr_SetAlignment(*args, **kwargs) + + def SetSize(*args, **kwargs): + """SetSize(int num_rows, int num_cols)""" + return _grid.GridCellAttr_SetSize(*args, **kwargs) + + def SetOverflow(*args, **kwargs): + """SetOverflow(bool allow=True)""" + return _grid.GridCellAttr_SetOverflow(*args, **kwargs) + + def SetReadOnly(*args, **kwargs): + """SetReadOnly(bool isReadOnly=True)""" + return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) + + def SetRenderer(*args, **kwargs): + """SetRenderer(GridCellRenderer renderer)""" + return _grid.GridCellAttr_SetRenderer(*args, **kwargs) + + def SetEditor(*args, **kwargs): + """SetEditor(GridCellEditor editor)""" + return _grid.GridCellAttr_SetEditor(*args, **kwargs) + + def SetKind(*args, **kwargs): + """SetKind(int kind)""" + return _grid.GridCellAttr_SetKind(*args, **kwargs) + + def HasTextColour(*args, **kwargs): + """HasTextColour() -> bool""" + return _grid.GridCellAttr_HasTextColour(*args, **kwargs) + + def HasBackgroundColour(*args, **kwargs): + """HasBackgroundColour() -> bool""" + return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) + + def HasFont(*args, **kwargs): + """HasFont() -> bool""" + return _grid.GridCellAttr_HasFont(*args, **kwargs) + + def HasAlignment(*args, **kwargs): + """HasAlignment() -> bool""" + return _grid.GridCellAttr_HasAlignment(*args, **kwargs) + + def HasRenderer(*args, **kwargs): + """HasRenderer() -> bool""" + return _grid.GridCellAttr_HasRenderer(*args, **kwargs) + + def HasEditor(*args, **kwargs): + """HasEditor() -> bool""" + return _grid.GridCellAttr_HasEditor(*args, **kwargs) + + def HasReadWriteMode(*args, **kwargs): + """HasReadWriteMode() -> bool""" + return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) + + def HasOverflowMode(*args, **kwargs): + """HasOverflowMode() -> bool""" + return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) + + def GetTextColour(*args, **kwargs): + """GetTextColour() -> Colour""" + return _grid.GridCellAttr_GetTextColour(*args, **kwargs) + + def GetBackgroundColour(*args, **kwargs): + """GetBackgroundColour() -> Colour""" + return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) + + def GetFont(*args, **kwargs): + """GetFont() -> Font""" + return _grid.GridCellAttr_GetFont(*args, **kwargs) + + def GetAlignment(*args, **kwargs): + """GetAlignment() -> (hAlign, vAlign)""" + return _grid.GridCellAttr_GetAlignment(*args, **kwargs) + + def GetSize(*args, **kwargs): + """GetSize() -> (num_rows, num_cols)""" + return _grid.GridCellAttr_GetSize(*args, **kwargs) + + def GetOverflow(*args, **kwargs): + """GetOverflow() -> bool""" + return _grid.GridCellAttr_GetOverflow(*args, **kwargs) + + def GetRenderer(*args, **kwargs): + """GetRenderer(Grid grid, int row, int col) -> GridCellRenderer""" + return _grid.GridCellAttr_GetRenderer(*args, **kwargs) + + def GetEditor(*args, **kwargs): + """GetEditor(Grid grid, int row, int col) -> GridCellEditor""" + return _grid.GridCellAttr_GetEditor(*args, **kwargs) + + def IsReadOnly(*args, **kwargs): + """IsReadOnly() -> bool""" + return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) + + def SetDefAttr(*args, **kwargs): + """SetDefAttr(GridCellAttr defAttr)""" + return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) + class GridCellAttrPtr(GridCellAttr): def __init__(self, this): @@ -423,21 +716,44 @@ class GridCellAttrPtr(GridCellAttr): _grid.GridCellAttr_swigregister(GridCellAttrPtr) class GridCellAttrProvider(object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> GridCellAttrProvider""" newobj = _grid.new_GridCellAttrProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def _setOORInfo(*args, **kwargs): return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) - def GetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) - def UpdateAttrRows(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) - def UpdateAttrCols(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(int row, int col, int kind) -> GridCellAttr""" + return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(GridCellAttr attr, int row)""" + return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(GridCellAttr attr, int col)""" + return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) + + def UpdateAttrRows(*args, **kwargs): + """UpdateAttrRows(size_t pos, int numRows)""" + return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) + + def UpdateAttrCols(*args, **kwargs): + """UpdateAttrCols(size_t pos, int numCols)""" + return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) + class GridCellAttrProviderPtr(GridCellAttrProvider): def __init__(self, this): @@ -447,19 +763,36 @@ class GridCellAttrProviderPtr(GridCellAttrProvider): _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) class PyGridCellAttrProvider(GridCellAttrProvider): + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridCellAttrProvider""" newobj = _grid.new_PyGridCellAttrProvider(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridCellAttrProvider) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) - def base_GetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) - def base_SetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) - def base_SetRowAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) - def base_SetColAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) + + def base_GetAttr(*args, **kwargs): + """base_GetAttr(int row, int col, int kind) -> GridCellAttr""" + return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) + + def base_SetAttr(*args, **kwargs): + """base_SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs) + + def base_SetRowAttr(*args, **kwargs): + """base_SetRowAttr(GridCellAttr attr, int row)""" + return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs) + + def base_SetColAttr(*args, **kwargs): + """base_SetColAttr(GridCellAttr attr, int col)""" + return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs) + class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): def __init__(self, this): @@ -469,44 +802,149 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - def _setOORInfo(*args, **kwargs): return _grid.GridTableBase__setOORInfo(*args, **kwargs) - def SetAttrProvider(*args, **kwargs): return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) - def GetAttrProvider(*args, **kwargs): return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) - def SetView(*args, **kwargs): return _grid.GridTableBase_SetView(*args, **kwargs) - def GetView(*args, **kwargs): return _grid.GridTableBase_GetView(*args, **kwargs) - def GetNumberRows(*args, **kwargs): return _grid.GridTableBase_GetNumberRows(*args, **kwargs) - def GetNumberCols(*args, **kwargs): return _grid.GridTableBase_GetNumberCols(*args, **kwargs) - def IsEmptyCell(*args, **kwargs): return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) - def GetValue(*args, **kwargs): return _grid.GridTableBase_GetValue(*args, **kwargs) - def SetValue(*args, **kwargs): return _grid.GridTableBase_SetValue(*args, **kwargs) - def GetTypeName(*args, **kwargs): return _grid.GridTableBase_GetTypeName(*args, **kwargs) - def CanGetValueAs(*args, **kwargs): return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) - def CanSetValueAs(*args, **kwargs): return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) - def GetValueAsLong(*args, **kwargs): return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) - def GetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) - def GetValueAsBool(*args, **kwargs): return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) - def SetValueAsLong(*args, **kwargs): return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) - def SetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) - def SetValueAsBool(*args, **kwargs): return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) - def Clear(*args, **kwargs): return _grid.GridTableBase_Clear(*args, **kwargs) - def InsertRows(*args, **kwargs): return _grid.GridTableBase_InsertRows(*args, **kwargs) - def AppendRows(*args, **kwargs): return _grid.GridTableBase_AppendRows(*args, **kwargs) - def DeleteRows(*args, **kwargs): return _grid.GridTableBase_DeleteRows(*args, **kwargs) - def InsertCols(*args, **kwargs): return _grid.GridTableBase_InsertCols(*args, **kwargs) - def AppendCols(*args, **kwargs): return _grid.GridTableBase_AppendCols(*args, **kwargs) - def DeleteCols(*args, **kwargs): return _grid.GridTableBase_DeleteCols(*args, **kwargs) - def GetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) - def GetColLabelValue(*args, **kwargs): return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) - def SetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) - def SetColLabelValue(*args, **kwargs): return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) - def CanHaveAttributes(*args, **kwargs): return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) - def GetAttr(*args, **kwargs): return _grid.GridTableBase_GetAttr(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.GridTableBase_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.GridTableBase_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.GridTableBase_SetColAttr(*args, **kwargs) def __init__(self): raise RuntimeError, "No constructor defined" def __repr__(self): return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def _setOORInfo(*args, **kwargs): + """_setOORInfo(PyObject _self)""" + return _grid.GridTableBase__setOORInfo(*args, **kwargs) + + def SetAttrProvider(*args, **kwargs): + """SetAttrProvider(GridCellAttrProvider attrProvider)""" + return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) + + def GetAttrProvider(*args, **kwargs): + """GetAttrProvider() -> GridCellAttrProvider""" + return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) + + def SetView(*args, **kwargs): + """SetView(Grid grid)""" + return _grid.GridTableBase_SetView(*args, **kwargs) + + def GetView(*args, **kwargs): + """GetView() -> Grid""" + return _grid.GridTableBase_GetView(*args, **kwargs) + + def GetNumberRows(*args, **kwargs): + """GetNumberRows() -> int""" + return _grid.GridTableBase_GetNumberRows(*args, **kwargs) + + def GetNumberCols(*args, **kwargs): + """GetNumberCols() -> int""" + return _grid.GridTableBase_GetNumberCols(*args, **kwargs) + + def IsEmptyCell(*args, **kwargs): + """IsEmptyCell(int row, int col) -> bool""" + return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) + + def GetValue(*args, **kwargs): + """GetValue(int row, int col) -> String""" + return _grid.GridTableBase_GetValue(*args, **kwargs) + + def SetValue(*args, **kwargs): + """SetValue(int row, int col, String value)""" + return _grid.GridTableBase_SetValue(*args, **kwargs) + + def GetTypeName(*args, **kwargs): + """GetTypeName(int row, int col) -> String""" + return _grid.GridTableBase_GetTypeName(*args, **kwargs) + + def CanGetValueAs(*args, **kwargs): + """CanGetValueAs(int row, int col, String typeName) -> bool""" + return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) + + def CanSetValueAs(*args, **kwargs): + """CanSetValueAs(int row, int col, String typeName) -> bool""" + return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) + + def GetValueAsLong(*args, **kwargs): + """GetValueAsLong(int row, int col) -> long""" + return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) + + def GetValueAsDouble(*args, **kwargs): + """GetValueAsDouble(int row, int col) -> double""" + return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) + + def GetValueAsBool(*args, **kwargs): + """GetValueAsBool(int row, int col) -> bool""" + return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) + + def SetValueAsLong(*args, **kwargs): + """SetValueAsLong(int row, int col, long value)""" + return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) + + def SetValueAsDouble(*args, **kwargs): + """SetValueAsDouble(int row, int col, double value)""" + return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) + + def SetValueAsBool(*args, **kwargs): + """SetValueAsBool(int row, int col, bool value)""" + return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) + + def Clear(*args, **kwargs): + """Clear()""" + return _grid.GridTableBase_Clear(*args, **kwargs) + + def InsertRows(*args, **kwargs): + """InsertRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.GridTableBase_InsertRows(*args, **kwargs) + + def AppendRows(*args, **kwargs): + """AppendRows(size_t numRows=1) -> bool""" + return _grid.GridTableBase_AppendRows(*args, **kwargs) + + def DeleteRows(*args, **kwargs): + """DeleteRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.GridTableBase_DeleteRows(*args, **kwargs) + + def InsertCols(*args, **kwargs): + """InsertCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.GridTableBase_InsertCols(*args, **kwargs) + + def AppendCols(*args, **kwargs): + """AppendCols(size_t numCols=1) -> bool""" + return _grid.GridTableBase_AppendCols(*args, **kwargs) + + def DeleteCols(*args, **kwargs): + """DeleteCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.GridTableBase_DeleteCols(*args, **kwargs) + + def GetRowLabelValue(*args, **kwargs): + """GetRowLabelValue(int row) -> String""" + return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) + + def GetColLabelValue(*args, **kwargs): + """GetColLabelValue(int col) -> String""" + return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) + + def SetRowLabelValue(*args, **kwargs): + """SetRowLabelValue(int row, String value)""" + return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) + + def SetColLabelValue(*args, **kwargs): + """SetColLabelValue(int col, String value)""" + return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) + + def CanHaveAttributes(*args, **kwargs): + """CanHaveAttributes() -> bool""" + return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) + + def GetAttr(*args, **kwargs): + """GetAttr(int row, int col, int kind) -> GridCellAttr""" + return _grid.GridTableBase_GetAttr(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.GridTableBase_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(GridCellAttr attr, int row)""" + return _grid.GridTableBase_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(GridCellAttr attr, int col)""" + return _grid.GridTableBase_SetColAttr(*args, **kwargs) + class GridTableBasePtr(GridTableBase): def __init__(self, this): @@ -516,35 +954,104 @@ class GridTableBasePtr(GridTableBase): _grid.GridTableBase_swigregister(GridTableBasePtr) class PyGridTableBase(GridTableBase): + def __repr__(self): + return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__() -> PyGridTableBase""" newobj = _grid.new_PyGridTableBase(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setCallbackInfo(self, PyGridTableBase);self._setOORInfo(self) - def _setCallbackInfo(*args, **kwargs): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) - def Destroy(*args, **kwargs): return _grid.PyGridTableBase_Destroy(*args, **kwargs) - def base_GetTypeName(*args, **kwargs): return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) - def base_CanGetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) - def base_CanSetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) - def base_Clear(*args, **kwargs): return _grid.PyGridTableBase_base_Clear(*args, **kwargs) - def base_InsertRows(*args, **kwargs): return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) - def base_AppendRows(*args, **kwargs): return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) - def base_DeleteRows(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) - def base_InsertCols(*args, **kwargs): return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) - def base_AppendCols(*args, **kwargs): return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) - def base_DeleteCols(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) - def base_GetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) - def base_GetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) - def base_SetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) - def base_SetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) - def base_CanHaveAttributes(*args, **kwargs): return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) - def base_GetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) - def base_SetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) - def base_SetRowAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) - def base_SetColAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def _setCallbackInfo(*args, **kwargs): + """_setCallbackInfo(PyObject self, PyObject _class)""" + return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) + + def Destroy(*args, **kwargs): + """ + Destroy() + + Deletes the C++ object this Python object is a proxy for. + """ + return _grid.PyGridTableBase_Destroy(*args, **kwargs) + + def base_GetTypeName(*args, **kwargs): + """base_GetTypeName(int row, int col) -> String""" + return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs) + + def base_CanGetValueAs(*args, **kwargs): + """base_CanGetValueAs(int row, int col, String typeName) -> bool""" + return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs) + + def base_CanSetValueAs(*args, **kwargs): + """base_CanSetValueAs(int row, int col, String typeName) -> bool""" + return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) + + def base_Clear(*args, **kwargs): + """base_Clear()""" + return _grid.PyGridTableBase_base_Clear(*args, **kwargs) + + def base_InsertRows(*args, **kwargs): + """base_InsertRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs) + + def base_AppendRows(*args, **kwargs): + """base_AppendRows(size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs) + + def base_DeleteRows(*args, **kwargs): + """base_DeleteRows(size_t pos=0, size_t numRows=1) -> bool""" + return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs) + + def base_InsertCols(*args, **kwargs): + """base_InsertCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs) + + def base_AppendCols(*args, **kwargs): + """base_AppendCols(size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs) + + def base_DeleteCols(*args, **kwargs): + """base_DeleteCols(size_t pos=0, size_t numCols=1) -> bool""" + return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) + + def base_GetRowLabelValue(*args, **kwargs): + """base_GetRowLabelValue(int row) -> String""" + return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) + + def base_GetColLabelValue(*args, **kwargs): + """base_GetColLabelValue(int col) -> String""" + return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) + + def base_SetRowLabelValue(*args, **kwargs): + """base_SetRowLabelValue(int row, String value)""" + return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) + + def base_SetColLabelValue(*args, **kwargs): + """base_SetColLabelValue(int col, String value)""" + return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) + + def base_CanHaveAttributes(*args, **kwargs): + """base_CanHaveAttributes() -> bool""" + return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) + + def base_GetAttr(*args, **kwargs): + """base_GetAttr(int row, int col, int kind) -> GridCellAttr""" + return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) + + def base_SetAttr(*args, **kwargs): + """base_SetAttr(GridCellAttr attr, int row, int col)""" + return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs) + + def base_SetRowAttr(*args, **kwargs): + """base_SetRowAttr(GridCellAttr attr, int row)""" + return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs) + + def base_SetColAttr(*args, **kwargs): + """base_SetColAttr(GridCellAttr attr, int col)""" + return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs) + class PyGridTableBasePtr(PyGridTableBase): def __init__(self, this): @@ -554,14 +1061,16 @@ class PyGridTableBasePtr(PyGridTableBase): _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) class GridStringTable(GridTableBase): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int numRows=0, int numCols=0) -> GridStringTable""" newobj = _grid.new_GridStringTable(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + class GridStringTablePtr(GridStringTable): def __init__(self, this): @@ -579,25 +1088,52 @@ GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED class GridTableMessage(object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage""" newobj = _grid.new_GridTableMessage(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_grid.delete_GridTableMessage): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def SetTableObject(*args, **kwargs): return _grid.GridTableMessage_SetTableObject(*args, **kwargs) - def GetTableObject(*args, **kwargs): return _grid.GridTableMessage_GetTableObject(*args, **kwargs) - def SetId(*args, **kwargs): return _grid.GridTableMessage_SetId(*args, **kwargs) - def GetId(*args, **kwargs): return _grid.GridTableMessage_GetId(*args, **kwargs) - def SetCommandInt(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) - def GetCommandInt(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) - def SetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) - def GetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + + def SetTableObject(*args, **kwargs): + """SetTableObject(GridTableBase table)""" + return _grid.GridTableMessage_SetTableObject(*args, **kwargs) + + def GetTableObject(*args, **kwargs): + """GetTableObject() -> GridTableBase""" + return _grid.GridTableMessage_GetTableObject(*args, **kwargs) + + def SetId(*args, **kwargs): + """SetId(int id)""" + return _grid.GridTableMessage_SetId(*args, **kwargs) + + def GetId(*args, **kwargs): + """GetId() -> int""" + return _grid.GridTableMessage_GetId(*args, **kwargs) + + def SetCommandInt(*args, **kwargs): + """SetCommandInt(int comInt1)""" + return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) + + def GetCommandInt(*args, **kwargs): + """GetCommandInt() -> int""" + return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) + + def SetCommandInt2(*args, **kwargs): + """SetCommandInt2(int comInt2)""" + return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) + + def GetCommandInt2(*args, **kwargs): + """GetCommandInt2() -> int""" + return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) + class GridTableMessagePtr(GridTableMessage): def __init__(self, this): @@ -607,23 +1143,52 @@ class GridTableMessagePtr(GridTableMessage): _grid.GridTableMessage_swigregister(GridTableMessagePtr) class GridCellCoords(object): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """__init__(int r=-1, int c=-1) -> GridCellCoords""" newobj = _grid.new_GridCellCoords(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown def __del__(self, destroy=_grid.delete_GridCellCoords): + """__del__()""" try: if self.thisown: destroy(self) except: pass - def GetRow(*args, **kwargs): return _grid.GridCellCoords_GetRow(*args, **kwargs) - def SetRow(*args, **kwargs): return _grid.GridCellCoords_SetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridCellCoords_GetCol(*args, **kwargs) - def SetCol(*args, **kwargs): return _grid.GridCellCoords_SetCol(*args, **kwargs) - def Set(*args, **kwargs): return _grid.GridCellCoords_Set(*args, **kwargs) - def __eq__(*args, **kwargs): return _grid.GridCellCoords___eq__(*args, **kwargs) - def __ne__(*args, **kwargs): return _grid.GridCellCoords___ne__(*args, **kwargs) - def asTuple(*args, **kwargs): return _grid.GridCellCoords_asTuple(*args, **kwargs) + + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridCellCoords_GetRow(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int n)""" + return _grid.GridCellCoords_SetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridCellCoords_GetCol(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int n)""" + return _grid.GridCellCoords_SetCol(*args, **kwargs) + + def Set(*args, **kwargs): + """Set(int row, int col)""" + return _grid.GridCellCoords_Set(*args, **kwargs) + + def __eq__(*args, **kwargs): + """__eq__(GridCellCoords other) -> bool""" + return _grid.GridCellCoords___eq__(*args, **kwargs) + + def __ne__(*args, **kwargs): + """__ne__(GridCellCoords other) -> bool""" + return _grid.GridCellCoords___ne__(*args, **kwargs) + + def asTuple(*args, **kwargs): + """asTuple() -> PyObject""" + return _grid.GridCellCoords_asTuple(*args, **kwargs) + def __str__(self): return str(self.asTuple()) def __repr__(self): return 'wxGridCellCoords'+str(self.asTuple()) def __len__(self): return len(self.asTuple()) @@ -642,205 +1207,781 @@ class GridCellCoordsPtr(GridCellCoords): _grid.GridCellCoords_swigregister(GridCellCoordsPtr) class Grid(windows.ScrolledWindow): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """ + __init__(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize, + long style=WANTS_CHARS, + String name=PanelNameStr) -> Grid + """ newobj = _grid.new_Grid(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown self._setOORInfo(self) + wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns - def CreateGrid(*args, **kwargs): return _grid.Grid_CreateGrid(*args, **kwargs) - def SetSelectionMode(*args, **kwargs): return _grid.Grid_SetSelectionMode(*args, **kwargs) - def GetSelectionMode(*args, **kwargs): return _grid.Grid_GetSelectionMode(*args, **kwargs) - def GetNumberRows(*args, **kwargs): return _grid.Grid_GetNumberRows(*args, **kwargs) - def GetNumberCols(*args, **kwargs): return _grid.Grid_GetNumberCols(*args, **kwargs) - def ProcessTableMessage(*args, **kwargs): return _grid.Grid_ProcessTableMessage(*args, **kwargs) - def GetTable(*args, **kwargs): return _grid.Grid_GetTable(*args, **kwargs) - def SetTable(*args, **kwargs): return _grid.Grid_SetTable(*args, **kwargs) - def ClearGrid(*args, **kwargs): return _grid.Grid_ClearGrid(*args, **kwargs) - def InsertRows(*args, **kwargs): return _grid.Grid_InsertRows(*args, **kwargs) - def AppendRows(*args, **kwargs): return _grid.Grid_AppendRows(*args, **kwargs) - def DeleteRows(*args, **kwargs): return _grid.Grid_DeleteRows(*args, **kwargs) - def InsertCols(*args, **kwargs): return _grid.Grid_InsertCols(*args, **kwargs) - def AppendCols(*args, **kwargs): return _grid.Grid_AppendCols(*args, **kwargs) - def DeleteCols(*args, **kwargs): return _grid.Grid_DeleteCols(*args, **kwargs) - def DrawCellHighlight(*args, **kwargs): return _grid.Grid_DrawCellHighlight(*args, **kwargs) - def DrawTextRectangle(*args, **kwargs): return _grid.Grid_DrawTextRectangle(*args, **kwargs) - def GetTextBoxSize(*args, **kwargs): return _grid.Grid_GetTextBoxSize(*args, **kwargs) - def BeginBatch(*args, **kwargs): return _grid.Grid_BeginBatch(*args, **kwargs) - def EndBatch(*args, **kwargs): return _grid.Grid_EndBatch(*args, **kwargs) - def GetBatchCount(*args, **kwargs): return _grid.Grid_GetBatchCount(*args, **kwargs) - def ForceRefresh(*args, **kwargs): return _grid.Grid_ForceRefresh(*args, **kwargs) - def Refresh(*args, **kwargs): return _grid.Grid_Refresh(*args, **kwargs) - def IsEditable(*args, **kwargs): return _grid.Grid_IsEditable(*args, **kwargs) - def EnableEditing(*args, **kwargs): return _grid.Grid_EnableEditing(*args, **kwargs) - def EnableCellEditControl(*args, **kwargs): return _grid.Grid_EnableCellEditControl(*args, **kwargs) - def DisableCellEditControl(*args, **kwargs): return _grid.Grid_DisableCellEditControl(*args, **kwargs) - def CanEnableCellControl(*args, **kwargs): return _grid.Grid_CanEnableCellControl(*args, **kwargs) - def IsCellEditControlEnabled(*args, **kwargs): return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) - def IsCellEditControlShown(*args, **kwargs): return _grid.Grid_IsCellEditControlShown(*args, **kwargs) - def IsCurrentCellReadOnly(*args, **kwargs): return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) - def ShowCellEditControl(*args, **kwargs): return _grid.Grid_ShowCellEditControl(*args, **kwargs) - def HideCellEditControl(*args, **kwargs): return _grid.Grid_HideCellEditControl(*args, **kwargs) - def SaveEditControlValue(*args, **kwargs): return _grid.Grid_SaveEditControlValue(*args, **kwargs) - def XYToCell(*args, **kwargs): return _grid.Grid_XYToCell(*args, **kwargs) - def YToRow(*args, **kwargs): return _grid.Grid_YToRow(*args, **kwargs) - def XToCol(*args, **kwargs): return _grid.Grid_XToCol(*args, **kwargs) - def YToEdgeOfRow(*args, **kwargs): return _grid.Grid_YToEdgeOfRow(*args, **kwargs) - def XToEdgeOfCol(*args, **kwargs): return _grid.Grid_XToEdgeOfCol(*args, **kwargs) - def CellToRect(*args, **kwargs): return _grid.Grid_CellToRect(*args, **kwargs) - def GetGridCursorRow(*args, **kwargs): return _grid.Grid_GetGridCursorRow(*args, **kwargs) - def GetGridCursorCol(*args, **kwargs): return _grid.Grid_GetGridCursorCol(*args, **kwargs) - def IsVisible(*args, **kwargs): return _grid.Grid_IsVisible(*args, **kwargs) - def MakeCellVisible(*args, **kwargs): return _grid.Grid_MakeCellVisible(*args, **kwargs) - def SetGridCursor(*args, **kwargs): return _grid.Grid_SetGridCursor(*args, **kwargs) - def MoveCursorUp(*args, **kwargs): return _grid.Grid_MoveCursorUp(*args, **kwargs) - def MoveCursorDown(*args, **kwargs): return _grid.Grid_MoveCursorDown(*args, **kwargs) - def MoveCursorLeft(*args, **kwargs): return _grid.Grid_MoveCursorLeft(*args, **kwargs) - def MoveCursorRight(*args, **kwargs): return _grid.Grid_MoveCursorRight(*args, **kwargs) - def MovePageDown(*args, **kwargs): return _grid.Grid_MovePageDown(*args, **kwargs) - def MovePageUp(*args, **kwargs): return _grid.Grid_MovePageUp(*args, **kwargs) - def MoveCursorUpBlock(*args, **kwargs): return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) - def MoveCursorDownBlock(*args, **kwargs): return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) - def MoveCursorLeftBlock(*args, **kwargs): return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) - def MoveCursorRightBlock(*args, **kwargs): return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) - def GetDefaultRowLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) - def GetRowLabelSize(*args, **kwargs): return _grid.Grid_GetRowLabelSize(*args, **kwargs) - def GetDefaultColLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) - def GetColLabelSize(*args, **kwargs): return _grid.Grid_GetColLabelSize(*args, **kwargs) - def GetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) - def GetLabelTextColour(*args, **kwargs): return _grid.Grid_GetLabelTextColour(*args, **kwargs) - def GetLabelFont(*args, **kwargs): return _grid.Grid_GetLabelFont(*args, **kwargs) - def GetRowLabelAlignment(*args, **kwargs): return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) - def GetColLabelAlignment(*args, **kwargs): return _grid.Grid_GetColLabelAlignment(*args, **kwargs) - def GetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) - def GetRowLabelValue(*args, **kwargs): return _grid.Grid_GetRowLabelValue(*args, **kwargs) - def GetColLabelValue(*args, **kwargs): return _grid.Grid_GetColLabelValue(*args, **kwargs) - def GetGridLineColour(*args, **kwargs): return _grid.Grid_GetGridLineColour(*args, **kwargs) - def GetCellHighlightColour(*args, **kwargs): return _grid.Grid_GetCellHighlightColour(*args, **kwargs) - def GetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) - def GetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) - def SetRowLabelSize(*args, **kwargs): return _grid.Grid_SetRowLabelSize(*args, **kwargs) - def SetColLabelSize(*args, **kwargs): return _grid.Grid_SetColLabelSize(*args, **kwargs) - def SetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) - def SetLabelTextColour(*args, **kwargs): return _grid.Grid_SetLabelTextColour(*args, **kwargs) - def SetLabelFont(*args, **kwargs): return _grid.Grid_SetLabelFont(*args, **kwargs) - def SetRowLabelAlignment(*args, **kwargs): return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) - def SetColLabelAlignment(*args, **kwargs): return _grid.Grid_SetColLabelAlignment(*args, **kwargs) - def SetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) - def SetRowLabelValue(*args, **kwargs): return _grid.Grid_SetRowLabelValue(*args, **kwargs) - def SetColLabelValue(*args, **kwargs): return _grid.Grid_SetColLabelValue(*args, **kwargs) - def SetGridLineColour(*args, **kwargs): return _grid.Grid_SetGridLineColour(*args, **kwargs) - def SetCellHighlightColour(*args, **kwargs): return _grid.Grid_SetCellHighlightColour(*args, **kwargs) - def SetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) - def SetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) - def EnableDragRowSize(*args, **kwargs): return _grid.Grid_EnableDragRowSize(*args, **kwargs) - def DisableDragRowSize(*args, **kwargs): return _grid.Grid_DisableDragRowSize(*args, **kwargs) - def CanDragRowSize(*args, **kwargs): return _grid.Grid_CanDragRowSize(*args, **kwargs) - def EnableDragColSize(*args, **kwargs): return _grid.Grid_EnableDragColSize(*args, **kwargs) - def DisableDragColSize(*args, **kwargs): return _grid.Grid_DisableDragColSize(*args, **kwargs) - def CanDragColSize(*args, **kwargs): return _grid.Grid_CanDragColSize(*args, **kwargs) - def EnableDragGridSize(*args, **kwargs): return _grid.Grid_EnableDragGridSize(*args, **kwargs) - def DisableDragGridSize(*args, **kwargs): return _grid.Grid_DisableDragGridSize(*args, **kwargs) - def CanDragGridSize(*args, **kwargs): return _grid.Grid_CanDragGridSize(*args, **kwargs) - def SetAttr(*args, **kwargs): return _grid.Grid_SetAttr(*args, **kwargs) - def SetRowAttr(*args, **kwargs): return _grid.Grid_SetRowAttr(*args, **kwargs) - def SetColAttr(*args, **kwargs): return _grid.Grid_SetColAttr(*args, **kwargs) - def SetColFormatBool(*args, **kwargs): return _grid.Grid_SetColFormatBool(*args, **kwargs) - def SetColFormatNumber(*args, **kwargs): return _grid.Grid_SetColFormatNumber(*args, **kwargs) - def SetColFormatFloat(*args, **kwargs): return _grid.Grid_SetColFormatFloat(*args, **kwargs) - def SetColFormatCustom(*args, **kwargs): return _grid.Grid_SetColFormatCustom(*args, **kwargs) - def EnableGridLines(*args, **kwargs): return _grid.Grid_EnableGridLines(*args, **kwargs) - def GridLinesEnabled(*args, **kwargs): return _grid.Grid_GridLinesEnabled(*args, **kwargs) - def GetDefaultRowSize(*args, **kwargs): return _grid.Grid_GetDefaultRowSize(*args, **kwargs) - def GetRowSize(*args, **kwargs): return _grid.Grid_GetRowSize(*args, **kwargs) - def GetDefaultColSize(*args, **kwargs): return _grid.Grid_GetDefaultColSize(*args, **kwargs) - def GetColSize(*args, **kwargs): return _grid.Grid_GetColSize(*args, **kwargs) - def GetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) - def GetCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) - def GetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) - def GetCellTextColour(*args, **kwargs): return _grid.Grid_GetCellTextColour(*args, **kwargs) - def GetDefaultCellFont(*args, **kwargs): return _grid.Grid_GetDefaultCellFont(*args, **kwargs) - def GetCellFont(*args, **kwargs): return _grid.Grid_GetCellFont(*args, **kwargs) - def GetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) - def GetCellAlignment(*args, **kwargs): return _grid.Grid_GetCellAlignment(*args, **kwargs) - def GetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) - def GetCellOverflow(*args, **kwargs): return _grid.Grid_GetCellOverflow(*args, **kwargs) - def GetCellSize(*args, **kwargs): return _grid.Grid_GetCellSize(*args, **kwargs) - def SetDefaultRowSize(*args, **kwargs): return _grid.Grid_SetDefaultRowSize(*args, **kwargs) - def SetRowSize(*args, **kwargs): return _grid.Grid_SetRowSize(*args, **kwargs) - def SetDefaultColSize(*args, **kwargs): return _grid.Grid_SetDefaultColSize(*args, **kwargs) - def SetColSize(*args, **kwargs): return _grid.Grid_SetColSize(*args, **kwargs) - def AutoSizeColumn(*args, **kwargs): return _grid.Grid_AutoSizeColumn(*args, **kwargs) - def AutoSizeRow(*args, **kwargs): return _grid.Grid_AutoSizeRow(*args, **kwargs) - def AutoSizeColumns(*args, **kwargs): return _grid.Grid_AutoSizeColumns(*args, **kwargs) - def AutoSizeRows(*args, **kwargs): return _grid.Grid_AutoSizeRows(*args, **kwargs) - def AutoSize(*args, **kwargs): return _grid.Grid_AutoSize(*args, **kwargs) - def AutoSizeRowLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) - def AutoSizeColLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) - def SetColMinimalWidth(*args, **kwargs): return _grid.Grid_SetColMinimalWidth(*args, **kwargs) - def SetRowMinimalHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) - def SetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) - def SetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) - def GetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) - def GetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) - def SetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) - def SetCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) - def SetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) - def SetCellTextColour(*args, **kwargs): return _grid.Grid_SetCellTextColour(*args, **kwargs) - def SetDefaultCellFont(*args, **kwargs): return _grid.Grid_SetDefaultCellFont(*args, **kwargs) - def SetCellFont(*args, **kwargs): return _grid.Grid_SetCellFont(*args, **kwargs) - def SetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) - def SetCellAlignment(*args, **kwargs): return _grid.Grid_SetCellAlignment(*args, **kwargs) - def SetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) - def SetCellOverflow(*args, **kwargs): return _grid.Grid_SetCellOverflow(*args, **kwargs) - def SetCellSize(*args, **kwargs): return _grid.Grid_SetCellSize(*args, **kwargs) - def SetDefaultRenderer(*args, **kwargs): return _grid.Grid_SetDefaultRenderer(*args, **kwargs) - def SetCellRenderer(*args, **kwargs): return _grid.Grid_SetCellRenderer(*args, **kwargs) - def GetDefaultRenderer(*args, **kwargs): return _grid.Grid_GetDefaultRenderer(*args, **kwargs) - def GetCellRenderer(*args, **kwargs): return _grid.Grid_GetCellRenderer(*args, **kwargs) - def SetDefaultEditor(*args, **kwargs): return _grid.Grid_SetDefaultEditor(*args, **kwargs) - def SetCellEditor(*args, **kwargs): return _grid.Grid_SetCellEditor(*args, **kwargs) - def GetDefaultEditor(*args, **kwargs): return _grid.Grid_GetDefaultEditor(*args, **kwargs) - def GetCellEditor(*args, **kwargs): return _grid.Grid_GetCellEditor(*args, **kwargs) - def GetCellValue(*args, **kwargs): return _grid.Grid_GetCellValue(*args, **kwargs) - def SetCellValue(*args, **kwargs): return _grid.Grid_SetCellValue(*args, **kwargs) - def IsReadOnly(*args, **kwargs): return _grid.Grid_IsReadOnly(*args, **kwargs) - def SetReadOnly(*args, **kwargs): return _grid.Grid_SetReadOnly(*args, **kwargs) - def SelectRow(*args, **kwargs): return _grid.Grid_SelectRow(*args, **kwargs) - def SelectCol(*args, **kwargs): return _grid.Grid_SelectCol(*args, **kwargs) - def SelectBlock(*args, **kwargs): return _grid.Grid_SelectBlock(*args, **kwargs) - def SelectAll(*args, **kwargs): return _grid.Grid_SelectAll(*args, **kwargs) - def IsSelection(*args, **kwargs): return _grid.Grid_IsSelection(*args, **kwargs) - def ClearSelection(*args, **kwargs): return _grid.Grid_ClearSelection(*args, **kwargs) - def IsInSelection(*args, **kwargs): return _grid.Grid_IsInSelection(*args, **kwargs) - def GetSelectedCells(*args, **kwargs): return _grid.Grid_GetSelectedCells(*args, **kwargs) - def GetSelectionBlockTopLeft(*args, **kwargs): return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) - def GetSelectionBlockBottomRight(*args, **kwargs): return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) - def GetSelectedRows(*args, **kwargs): return _grid.Grid_GetSelectedRows(*args, **kwargs) - def GetSelectedCols(*args, **kwargs): return _grid.Grid_GetSelectedCols(*args, **kwargs) - def DeselectRow(*args, **kwargs): return _grid.Grid_DeselectRow(*args, **kwargs) - def DeselectCol(*args, **kwargs): return _grid.Grid_DeselectCol(*args, **kwargs) - def DeselectCell(*args, **kwargs): return _grid.Grid_DeselectCell(*args, **kwargs) - def BlockToDeviceRect(*args, **kwargs): return _grid.Grid_BlockToDeviceRect(*args, **kwargs) - def GetSelectionBackground(*args, **kwargs): return _grid.Grid_GetSelectionBackground(*args, **kwargs) - def GetSelectionForeground(*args, **kwargs): return _grid.Grid_GetSelectionForeground(*args, **kwargs) - def SetSelectionBackground(*args, **kwargs): return _grid.Grid_SetSelectionBackground(*args, **kwargs) - def SetSelectionForeground(*args, **kwargs): return _grid.Grid_SetSelectionForeground(*args, **kwargs) - def RegisterDataType(*args, **kwargs): return _grid.Grid_RegisterDataType(*args, **kwargs) - def GetDefaultEditorForCell(*args, **kwargs): return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) - def GetDefaultRendererForCell(*args, **kwargs): return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) - def GetDefaultEditorForType(*args, **kwargs): return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) - def GetDefaultRendererForType(*args, **kwargs): return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) - def SetMargins(*args, **kwargs): return _grid.Grid_SetMargins(*args, **kwargs) - def GetGridWindow(*args, **kwargs): return _grid.Grid_GetGridWindow(*args, **kwargs) - def GetGridRowLabelWindow(*args, **kwargs): return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) - def GetGridColLabelWindow(*args, **kwargs): return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) - def GetGridCornerLabelWindow(*args, **kwargs): return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + SelectCells = wxGridSelectCells + SelectRows = wxGridSelectRows + SelectColumns = wxGridSelectColumns + + def CreateGrid(*args, **kwargs): + """CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" + return _grid.Grid_CreateGrid(*args, **kwargs) + + def SetSelectionMode(*args, **kwargs): + """SetSelectionMode(WXGRIDSELECTIONMODES selmode)""" + return _grid.Grid_SetSelectionMode(*args, **kwargs) + + def GetSelectionMode(*args, **kwargs): + """GetSelectionMode() -> WXGRIDSELECTIONMODES""" + return _grid.Grid_GetSelectionMode(*args, **kwargs) + + def GetNumberRows(*args, **kwargs): + """GetNumberRows() -> int""" + return _grid.Grid_GetNumberRows(*args, **kwargs) + + def GetNumberCols(*args, **kwargs): + """GetNumberCols() -> int""" + return _grid.Grid_GetNumberCols(*args, **kwargs) + + def ProcessTableMessage(*args, **kwargs): + """ProcessTableMessage(GridTableMessage ??) -> bool""" + return _grid.Grid_ProcessTableMessage(*args, **kwargs) + + def GetTable(*args, **kwargs): + """GetTable() -> GridTableBase""" + return _grid.Grid_GetTable(*args, **kwargs) + + def SetTable(*args, **kwargs): + """SetTable(GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" + return _grid.Grid_SetTable(*args, **kwargs) + + def ClearGrid(*args, **kwargs): + """ClearGrid()""" + return _grid.Grid_ClearGrid(*args, **kwargs) + + def InsertRows(*args, **kwargs): + """InsertRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_InsertRows(*args, **kwargs) + + def AppendRows(*args, **kwargs): + """AppendRows(int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_AppendRows(*args, **kwargs) + + def DeleteRows(*args, **kwargs): + """DeleteRows(int pos=0, int numRows=1, bool updateLabels=True) -> bool""" + return _grid.Grid_DeleteRows(*args, **kwargs) + + def InsertCols(*args, **kwargs): + """InsertCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_InsertCols(*args, **kwargs) + + def AppendCols(*args, **kwargs): + """AppendCols(int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_AppendCols(*args, **kwargs) + + def DeleteCols(*args, **kwargs): + """DeleteCols(int pos=0, int numCols=1, bool updateLabels=True) -> bool""" + return _grid.Grid_DeleteCols(*args, **kwargs) + + def DrawCellHighlight(*args, **kwargs): + """DrawCellHighlight(DC dc, GridCellAttr attr)""" + return _grid.Grid_DrawCellHighlight(*args, **kwargs) + + def DrawTextRectangle(*args, **kwargs): + """ + DrawTextRectangle(DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, + int verticalAlignment=TOP, int textOrientation=HORIZONTAL) + """ + return _grid.Grid_DrawTextRectangle(*args, **kwargs) + + def GetTextBoxSize(*args, **kwargs): + """GetTextBoxSize(DC dc, list lines) -> (width, height)""" + return _grid.Grid_GetTextBoxSize(*args, **kwargs) + + def BeginBatch(*args, **kwargs): + """BeginBatch()""" + return _grid.Grid_BeginBatch(*args, **kwargs) + + def EndBatch(*args, **kwargs): + """EndBatch()""" + return _grid.Grid_EndBatch(*args, **kwargs) + + def GetBatchCount(*args, **kwargs): + """GetBatchCount() -> int""" + return _grid.Grid_GetBatchCount(*args, **kwargs) + + def ForceRefresh(*args, **kwargs): + """ForceRefresh()""" + return _grid.Grid_ForceRefresh(*args, **kwargs) + + def IsEditable(*args, **kwargs): + """IsEditable() -> bool""" + return _grid.Grid_IsEditable(*args, **kwargs) + + def EnableEditing(*args, **kwargs): + """EnableEditing(bool edit)""" + return _grid.Grid_EnableEditing(*args, **kwargs) + + def EnableCellEditControl(*args, **kwargs): + """EnableCellEditControl(bool enable=True)""" + return _grid.Grid_EnableCellEditControl(*args, **kwargs) + + def DisableCellEditControl(*args, **kwargs): + """DisableCellEditControl()""" + return _grid.Grid_DisableCellEditControl(*args, **kwargs) + + def CanEnableCellControl(*args, **kwargs): + """CanEnableCellControl() -> bool""" + return _grid.Grid_CanEnableCellControl(*args, **kwargs) + + def IsCellEditControlEnabled(*args, **kwargs): + """IsCellEditControlEnabled() -> bool""" + return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) + + def IsCellEditControlShown(*args, **kwargs): + """IsCellEditControlShown() -> bool""" + return _grid.Grid_IsCellEditControlShown(*args, **kwargs) + + def IsCurrentCellReadOnly(*args, **kwargs): + """IsCurrentCellReadOnly() -> bool""" + return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) + + def ShowCellEditControl(*args, **kwargs): + """ShowCellEditControl()""" + return _grid.Grid_ShowCellEditControl(*args, **kwargs) + + def HideCellEditControl(*args, **kwargs): + """HideCellEditControl()""" + return _grid.Grid_HideCellEditControl(*args, **kwargs) + + def SaveEditControlValue(*args, **kwargs): + """SaveEditControlValue()""" + return _grid.Grid_SaveEditControlValue(*args, **kwargs) + + def XYToCell(*args, **kwargs): + """XYToCell(int x, int y) -> GridCellCoords""" + return _grid.Grid_XYToCell(*args, **kwargs) + + def YToRow(*args, **kwargs): + """YToRow(int y) -> int""" + return _grid.Grid_YToRow(*args, **kwargs) + + def XToCol(*args, **kwargs): + """XToCol(int x) -> int""" + return _grid.Grid_XToCol(*args, **kwargs) + + def YToEdgeOfRow(*args, **kwargs): + """YToEdgeOfRow(int y) -> int""" + return _grid.Grid_YToEdgeOfRow(*args, **kwargs) + + def XToEdgeOfCol(*args, **kwargs): + """XToEdgeOfCol(int x) -> int""" + return _grid.Grid_XToEdgeOfCol(*args, **kwargs) + + def CellToRect(*args, **kwargs): + """CellToRect(int row, int col) -> Rect""" + return _grid.Grid_CellToRect(*args, **kwargs) + + def GetGridCursorRow(*args, **kwargs): + """GetGridCursorRow() -> int""" + return _grid.Grid_GetGridCursorRow(*args, **kwargs) + + def GetGridCursorCol(*args, **kwargs): + """GetGridCursorCol() -> int""" + return _grid.Grid_GetGridCursorCol(*args, **kwargs) + + def IsVisible(*args, **kwargs): + """IsVisible(int row, int col, bool wholeCellVisible=True) -> bool""" + return _grid.Grid_IsVisible(*args, **kwargs) + + def MakeCellVisible(*args, **kwargs): + """MakeCellVisible(int row, int col)""" + return _grid.Grid_MakeCellVisible(*args, **kwargs) + + def SetGridCursor(*args, **kwargs): + """SetGridCursor(int row, int col)""" + return _grid.Grid_SetGridCursor(*args, **kwargs) + + def MoveCursorUp(*args, **kwargs): + """MoveCursorUp(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorUp(*args, **kwargs) + + def MoveCursorDown(*args, **kwargs): + """MoveCursorDown(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorDown(*args, **kwargs) + + def MoveCursorLeft(*args, **kwargs): + """MoveCursorLeft(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorLeft(*args, **kwargs) + + def MoveCursorRight(*args, **kwargs): + """MoveCursorRight(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorRight(*args, **kwargs) + + def MovePageDown(*args, **kwargs): + """MovePageDown() -> bool""" + return _grid.Grid_MovePageDown(*args, **kwargs) + + def MovePageUp(*args, **kwargs): + """MovePageUp() -> bool""" + return _grid.Grid_MovePageUp(*args, **kwargs) + + def MoveCursorUpBlock(*args, **kwargs): + """MoveCursorUpBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) + + def MoveCursorDownBlock(*args, **kwargs): + """MoveCursorDownBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) + + def MoveCursorLeftBlock(*args, **kwargs): + """MoveCursorLeftBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) + + def MoveCursorRightBlock(*args, **kwargs): + """MoveCursorRightBlock(bool expandSelection) -> bool""" + return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) + + def GetDefaultRowLabelSize(*args, **kwargs): + """GetDefaultRowLabelSize() -> int""" + return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) + + def GetRowLabelSize(*args, **kwargs): + """GetRowLabelSize() -> int""" + return _grid.Grid_GetRowLabelSize(*args, **kwargs) + + def GetDefaultColLabelSize(*args, **kwargs): + """GetDefaultColLabelSize() -> int""" + return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) + + def GetColLabelSize(*args, **kwargs): + """GetColLabelSize() -> int""" + return _grid.Grid_GetColLabelSize(*args, **kwargs) + + def GetLabelBackgroundColour(*args, **kwargs): + """GetLabelBackgroundColour() -> Colour""" + return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) + + def GetLabelTextColour(*args, **kwargs): + """GetLabelTextColour() -> Colour""" + return _grid.Grid_GetLabelTextColour(*args, **kwargs) + + def GetLabelFont(*args, **kwargs): + """GetLabelFont() -> Font""" + return _grid.Grid_GetLabelFont(*args, **kwargs) + + def GetRowLabelAlignment(*args, **kwargs): + """GetRowLabelAlignment() -> (horiz, vert)""" + return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) + + def GetColLabelAlignment(*args, **kwargs): + """GetColLabelAlignment() -> (horiz, vert)""" + return _grid.Grid_GetColLabelAlignment(*args, **kwargs) + + def GetColLabelTextOrientation(*args, **kwargs): + """GetColLabelTextOrientation() -> int""" + return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) + + def GetRowLabelValue(*args, **kwargs): + """GetRowLabelValue(int row) -> String""" + return _grid.Grid_GetRowLabelValue(*args, **kwargs) + + def GetColLabelValue(*args, **kwargs): + """GetColLabelValue(int col) -> String""" + return _grid.Grid_GetColLabelValue(*args, **kwargs) + + def GetGridLineColour(*args, **kwargs): + """GetGridLineColour() -> Colour""" + return _grid.Grid_GetGridLineColour(*args, **kwargs) + + def GetCellHighlightColour(*args, **kwargs): + """GetCellHighlightColour() -> Colour""" + return _grid.Grid_GetCellHighlightColour(*args, **kwargs) + + def GetCellHighlightPenWidth(*args, **kwargs): + """GetCellHighlightPenWidth() -> int""" + return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) + + def GetCellHighlightROPenWidth(*args, **kwargs): + """GetCellHighlightROPenWidth() -> int""" + return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) + + def SetRowLabelSize(*args, **kwargs): + """SetRowLabelSize(int width)""" + return _grid.Grid_SetRowLabelSize(*args, **kwargs) + + def SetColLabelSize(*args, **kwargs): + """SetColLabelSize(int height)""" + return _grid.Grid_SetColLabelSize(*args, **kwargs) + + def SetLabelBackgroundColour(*args, **kwargs): + """SetLabelBackgroundColour(Colour ??)""" + return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) + + def SetLabelTextColour(*args, **kwargs): + """SetLabelTextColour(Colour ??)""" + return _grid.Grid_SetLabelTextColour(*args, **kwargs) + + def SetLabelFont(*args, **kwargs): + """SetLabelFont(Font ??)""" + return _grid.Grid_SetLabelFont(*args, **kwargs) + + def SetRowLabelAlignment(*args, **kwargs): + """SetRowLabelAlignment(int horiz, int vert)""" + return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) + + def SetColLabelAlignment(*args, **kwargs): + """SetColLabelAlignment(int horiz, int vert)""" + return _grid.Grid_SetColLabelAlignment(*args, **kwargs) + + def SetColLabelTextOrientation(*args, **kwargs): + """SetColLabelTextOrientation(int textOrientation)""" + return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) + + def SetRowLabelValue(*args, **kwargs): + """SetRowLabelValue(int row, String ??)""" + return _grid.Grid_SetRowLabelValue(*args, **kwargs) + + def SetColLabelValue(*args, **kwargs): + """SetColLabelValue(int col, String ??)""" + return _grid.Grid_SetColLabelValue(*args, **kwargs) + + def SetGridLineColour(*args, **kwargs): + """SetGridLineColour(Colour ??)""" + return _grid.Grid_SetGridLineColour(*args, **kwargs) + + def SetCellHighlightColour(*args, **kwargs): + """SetCellHighlightColour(Colour ??)""" + return _grid.Grid_SetCellHighlightColour(*args, **kwargs) + + def SetCellHighlightPenWidth(*args, **kwargs): + """SetCellHighlightPenWidth(int width)""" + return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) + + def SetCellHighlightROPenWidth(*args, **kwargs): + """SetCellHighlightROPenWidth(int width)""" + return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) + + def EnableDragRowSize(*args, **kwargs): + """EnableDragRowSize(bool enable=True)""" + return _grid.Grid_EnableDragRowSize(*args, **kwargs) + + def DisableDragRowSize(*args, **kwargs): + """DisableDragRowSize()""" + return _grid.Grid_DisableDragRowSize(*args, **kwargs) + + def CanDragRowSize(*args, **kwargs): + """CanDragRowSize() -> bool""" + return _grid.Grid_CanDragRowSize(*args, **kwargs) + + def EnableDragColSize(*args, **kwargs): + """EnableDragColSize(bool enable=True)""" + return _grid.Grid_EnableDragColSize(*args, **kwargs) + + def DisableDragColSize(*args, **kwargs): + """DisableDragColSize()""" + return _grid.Grid_DisableDragColSize(*args, **kwargs) + + def CanDragColSize(*args, **kwargs): + """CanDragColSize() -> bool""" + return _grid.Grid_CanDragColSize(*args, **kwargs) + + def EnableDragGridSize(*args, **kwargs): + """EnableDragGridSize(bool enable=True)""" + return _grid.Grid_EnableDragGridSize(*args, **kwargs) + + def DisableDragGridSize(*args, **kwargs): + """DisableDragGridSize()""" + return _grid.Grid_DisableDragGridSize(*args, **kwargs) + + def CanDragGridSize(*args, **kwargs): + """CanDragGridSize() -> bool""" + return _grid.Grid_CanDragGridSize(*args, **kwargs) + + def SetAttr(*args, **kwargs): + """SetAttr(int row, int col, GridCellAttr attr)""" + return _grid.Grid_SetAttr(*args, **kwargs) + + def SetRowAttr(*args, **kwargs): + """SetRowAttr(int row, GridCellAttr attr)""" + return _grid.Grid_SetRowAttr(*args, **kwargs) + + def SetColAttr(*args, **kwargs): + """SetColAttr(int col, GridCellAttr attr)""" + return _grid.Grid_SetColAttr(*args, **kwargs) + + def SetColFormatBool(*args, **kwargs): + """SetColFormatBool(int col)""" + return _grid.Grid_SetColFormatBool(*args, **kwargs) + + def SetColFormatNumber(*args, **kwargs): + """SetColFormatNumber(int col)""" + return _grid.Grid_SetColFormatNumber(*args, **kwargs) + + def SetColFormatFloat(*args, **kwargs): + """SetColFormatFloat(int col, int width=-1, int precision=-1)""" + return _grid.Grid_SetColFormatFloat(*args, **kwargs) + + def SetColFormatCustom(*args, **kwargs): + """SetColFormatCustom(int col, String typeName)""" + return _grid.Grid_SetColFormatCustom(*args, **kwargs) + + def EnableGridLines(*args, **kwargs): + """EnableGridLines(bool enable=True)""" + return _grid.Grid_EnableGridLines(*args, **kwargs) + + def GridLinesEnabled(*args, **kwargs): + """GridLinesEnabled() -> bool""" + return _grid.Grid_GridLinesEnabled(*args, **kwargs) + + def GetDefaultRowSize(*args, **kwargs): + """GetDefaultRowSize() -> int""" + return _grid.Grid_GetDefaultRowSize(*args, **kwargs) + + def GetRowSize(*args, **kwargs): + """GetRowSize(int row) -> int""" + return _grid.Grid_GetRowSize(*args, **kwargs) + + def GetDefaultColSize(*args, **kwargs): + """GetDefaultColSize() -> int""" + return _grid.Grid_GetDefaultColSize(*args, **kwargs) + + def GetColSize(*args, **kwargs): + """GetColSize(int col) -> int""" + return _grid.Grid_GetColSize(*args, **kwargs) + + def GetDefaultCellBackgroundColour(*args, **kwargs): + """GetDefaultCellBackgroundColour() -> Colour""" + return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) + + def GetCellBackgroundColour(*args, **kwargs): + """GetCellBackgroundColour(int row, int col) -> Colour""" + return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) + + def GetDefaultCellTextColour(*args, **kwargs): + """GetDefaultCellTextColour() -> Colour""" + return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) + + def GetCellTextColour(*args, **kwargs): + """GetCellTextColour(int row, int col) -> Colour""" + return _grid.Grid_GetCellTextColour(*args, **kwargs) + + def GetDefaultCellFont(*args, **kwargs): + """GetDefaultCellFont() -> Font""" + return _grid.Grid_GetDefaultCellFont(*args, **kwargs) + + def GetCellFont(*args, **kwargs): + """GetCellFont(int row, int col) -> Font""" + return _grid.Grid_GetCellFont(*args, **kwargs) + + def GetDefaultCellAlignment(*args, **kwargs): + """GetDefaultCellAlignment() -> (horiz, vert)""" + return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) + + def GetCellAlignment(*args, **kwargs): + """GetCellAlignment() -> (horiz, vert)""" + return _grid.Grid_GetCellAlignment(*args, **kwargs) + + def GetDefaultCellOverflow(*args, **kwargs): + """GetDefaultCellOverflow() -> bool""" + return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) + + def GetCellOverflow(*args, **kwargs): + """GetCellOverflow(int row, int col) -> bool""" + return _grid.Grid_GetCellOverflow(*args, **kwargs) + + def GetCellSize(*args, **kwargs): + """GetCellSize(int row, int col) -> (num_rows, num_cols)""" + return _grid.Grid_GetCellSize(*args, **kwargs) + + def SetDefaultRowSize(*args, **kwargs): + """SetDefaultRowSize(int height, bool resizeExistingRows=False)""" + return _grid.Grid_SetDefaultRowSize(*args, **kwargs) + + def SetRowSize(*args, **kwargs): + """SetRowSize(int row, int height)""" + return _grid.Grid_SetRowSize(*args, **kwargs) + + def SetDefaultColSize(*args, **kwargs): + """SetDefaultColSize(int width, bool resizeExistingCols=False)""" + return _grid.Grid_SetDefaultColSize(*args, **kwargs) + + def SetColSize(*args, **kwargs): + """SetColSize(int col, int width)""" + return _grid.Grid_SetColSize(*args, **kwargs) + + def AutoSizeColumn(*args, **kwargs): + """AutoSizeColumn(int col, bool setAsMin=True)""" + return _grid.Grid_AutoSizeColumn(*args, **kwargs) + + def AutoSizeRow(*args, **kwargs): + """AutoSizeRow(int row, bool setAsMin=True)""" + return _grid.Grid_AutoSizeRow(*args, **kwargs) + + def AutoSizeColumns(*args, **kwargs): + """AutoSizeColumns(bool setAsMin=True)""" + return _grid.Grid_AutoSizeColumns(*args, **kwargs) + + def AutoSizeRows(*args, **kwargs): + """AutoSizeRows(bool setAsMin=True)""" + return _grid.Grid_AutoSizeRows(*args, **kwargs) + + def AutoSize(*args, **kwargs): + """AutoSize()""" + return _grid.Grid_AutoSize(*args, **kwargs) + + def AutoSizeRowLabelSize(*args, **kwargs): + """AutoSizeRowLabelSize(int row)""" + return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) + + def AutoSizeColLabelSize(*args, **kwargs): + """AutoSizeColLabelSize(int col)""" + return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) + + def SetColMinimalWidth(*args, **kwargs): + """SetColMinimalWidth(int col, int width)""" + return _grid.Grid_SetColMinimalWidth(*args, **kwargs) + + def SetRowMinimalHeight(*args, **kwargs): + """SetRowMinimalHeight(int row, int width)""" + return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) + + def SetColMinimalAcceptableWidth(*args, **kwargs): + """SetColMinimalAcceptableWidth(int width)""" + return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) + + def SetRowMinimalAcceptableHeight(*args, **kwargs): + """SetRowMinimalAcceptableHeight(int width)""" + return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) + + def GetColMinimalAcceptableWidth(*args, **kwargs): + """GetColMinimalAcceptableWidth() -> int""" + return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) + + def GetRowMinimalAcceptableHeight(*args, **kwargs): + """GetRowMinimalAcceptableHeight() -> int""" + return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) + + def SetDefaultCellBackgroundColour(*args, **kwargs): + """SetDefaultCellBackgroundColour(Colour ??)""" + return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) + + def SetCellBackgroundColour(*args, **kwargs): + """SetCellBackgroundColour(int row, int col, Colour ??)""" + return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) + + def SetDefaultCellTextColour(*args, **kwargs): + """SetDefaultCellTextColour(Colour ??)""" + return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) + + def SetCellTextColour(*args, **kwargs): + """SetCellTextColour(int row, int col, Colour ??)""" + return _grid.Grid_SetCellTextColour(*args, **kwargs) + + def SetDefaultCellFont(*args, **kwargs): + """SetDefaultCellFont(Font ??)""" + return _grid.Grid_SetDefaultCellFont(*args, **kwargs) + + def SetCellFont(*args, **kwargs): + """SetCellFont(int row, int col, Font ??)""" + return _grid.Grid_SetCellFont(*args, **kwargs) + + def SetDefaultCellAlignment(*args, **kwargs): + """SetDefaultCellAlignment(int horiz, int vert)""" + return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) + + def SetCellAlignment(*args, **kwargs): + """SetCellAlignment(int row, int col, int horiz, int vert)""" + return _grid.Grid_SetCellAlignment(*args, **kwargs) + + def SetDefaultCellOverflow(*args, **kwargs): + """SetDefaultCellOverflow(bool allow)""" + return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) + + def SetCellOverflow(*args, **kwargs): + """SetCellOverflow(int row, int col, bool allow)""" + return _grid.Grid_SetCellOverflow(*args, **kwargs) + + def SetCellSize(*args, **kwargs): + """SetCellSize(int row, int col, int num_rows, int num_cols)""" + return _grid.Grid_SetCellSize(*args, **kwargs) + + def SetDefaultRenderer(*args, **kwargs): + """SetDefaultRenderer(GridCellRenderer renderer)""" + return _grid.Grid_SetDefaultRenderer(*args, **kwargs) + + def SetCellRenderer(*args, **kwargs): + """SetCellRenderer(int row, int col, GridCellRenderer renderer)""" + return _grid.Grid_SetCellRenderer(*args, **kwargs) + + def GetDefaultRenderer(*args, **kwargs): + """GetDefaultRenderer() -> GridCellRenderer""" + return _grid.Grid_GetDefaultRenderer(*args, **kwargs) + + def GetCellRenderer(*args, **kwargs): + """GetCellRenderer(int row, int col) -> GridCellRenderer""" + return _grid.Grid_GetCellRenderer(*args, **kwargs) + + def SetDefaultEditor(*args, **kwargs): + """SetDefaultEditor(GridCellEditor editor)""" + return _grid.Grid_SetDefaultEditor(*args, **kwargs) + + def SetCellEditor(*args, **kwargs): + """SetCellEditor(int row, int col, GridCellEditor editor)""" + return _grid.Grid_SetCellEditor(*args, **kwargs) + + def GetDefaultEditor(*args, **kwargs): + """GetDefaultEditor() -> GridCellEditor""" + return _grid.Grid_GetDefaultEditor(*args, **kwargs) + + def GetCellEditor(*args, **kwargs): + """GetCellEditor(int row, int col) -> GridCellEditor""" + return _grid.Grid_GetCellEditor(*args, **kwargs) + + def GetCellValue(*args, **kwargs): + """GetCellValue(int row, int col) -> String""" + return _grid.Grid_GetCellValue(*args, **kwargs) + + def SetCellValue(*args, **kwargs): + """SetCellValue(int row, int col, String s)""" + return _grid.Grid_SetCellValue(*args, **kwargs) + + def IsReadOnly(*args, **kwargs): + """IsReadOnly(int row, int col) -> bool""" + return _grid.Grid_IsReadOnly(*args, **kwargs) + + def SetReadOnly(*args, **kwargs): + """SetReadOnly(int row, int col, bool isReadOnly=True)""" + return _grid.Grid_SetReadOnly(*args, **kwargs) + + def SelectRow(*args, **kwargs): + """SelectRow(int row, bool addToSelected=False)""" + return _grid.Grid_SelectRow(*args, **kwargs) + + def SelectCol(*args, **kwargs): + """SelectCol(int col, bool addToSelected=False)""" + return _grid.Grid_SelectCol(*args, **kwargs) + + def SelectBlock(*args, **kwargs): + """ + SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False) + """ + return _grid.Grid_SelectBlock(*args, **kwargs) + + def SelectAll(*args, **kwargs): + """SelectAll()""" + return _grid.Grid_SelectAll(*args, **kwargs) + + def IsSelection(*args, **kwargs): + """IsSelection() -> bool""" + return _grid.Grid_IsSelection(*args, **kwargs) + + def ClearSelection(*args, **kwargs): + """ClearSelection()""" + return _grid.Grid_ClearSelection(*args, **kwargs) + + def IsInSelection(*args, **kwargs): + """IsInSelection(int row, int col) -> bool""" + return _grid.Grid_IsInSelection(*args, **kwargs) + + def GetSelectedCells(*args, **kwargs): + """GetSelectedCells() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectedCells(*args, **kwargs) + + def GetSelectionBlockTopLeft(*args, **kwargs): + """GetSelectionBlockTopLeft() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) + + def GetSelectionBlockBottomRight(*args, **kwargs): + """GetSelectionBlockBottomRight() -> wxGridCellCoordsArray""" + return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) + + def GetSelectedRows(*args, **kwargs): + """GetSelectedRows() -> wxArrayInt""" + return _grid.Grid_GetSelectedRows(*args, **kwargs) + + def GetSelectedCols(*args, **kwargs): + """GetSelectedCols() -> wxArrayInt""" + return _grid.Grid_GetSelectedCols(*args, **kwargs) + + def DeselectRow(*args, **kwargs): + """DeselectRow(int row)""" + return _grid.Grid_DeselectRow(*args, **kwargs) + + def DeselectCol(*args, **kwargs): + """DeselectCol(int col)""" + return _grid.Grid_DeselectCol(*args, **kwargs) + + def DeselectCell(*args, **kwargs): + """DeselectCell(int row, int col)""" + return _grid.Grid_DeselectCell(*args, **kwargs) + + def BlockToDeviceRect(*args, **kwargs): + """BlockToDeviceRect(GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect""" + return _grid.Grid_BlockToDeviceRect(*args, **kwargs) + + def GetSelectionBackground(*args, **kwargs): + """GetSelectionBackground() -> Colour""" + return _grid.Grid_GetSelectionBackground(*args, **kwargs) + + def GetSelectionForeground(*args, **kwargs): + """GetSelectionForeground() -> Colour""" + return _grid.Grid_GetSelectionForeground(*args, **kwargs) + + def SetSelectionBackground(*args, **kwargs): + """SetSelectionBackground(Colour c)""" + return _grid.Grid_SetSelectionBackground(*args, **kwargs) + + def SetSelectionForeground(*args, **kwargs): + """SetSelectionForeground(Colour c)""" + return _grid.Grid_SetSelectionForeground(*args, **kwargs) + + def RegisterDataType(*args, **kwargs): + """RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor)""" + return _grid.Grid_RegisterDataType(*args, **kwargs) + + def GetDefaultEditorForCell(*args, **kwargs): + """GetDefaultEditorForCell(int row, int col) -> GridCellEditor""" + return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) + + def GetDefaultRendererForCell(*args, **kwargs): + """GetDefaultRendererForCell(int row, int col) -> GridCellRenderer""" + return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) + + def GetDefaultEditorForType(*args, **kwargs): + """GetDefaultEditorForType(String typeName) -> GridCellEditor""" + return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) + + def GetDefaultRendererForType(*args, **kwargs): + """GetDefaultRendererForType(String typeName) -> GridCellRenderer""" + return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) + + def SetMargins(*args, **kwargs): + """SetMargins(int extraWidth, int extraHeight)""" + return _grid.Grid_SetMargins(*args, **kwargs) + + def GetGridWindow(*args, **kwargs): + """GetGridWindow() -> Window""" + return _grid.Grid_GetGridWindow(*args, **kwargs) + + def GetGridRowLabelWindow(*args, **kwargs): + """GetGridRowLabelWindow() -> Window""" + return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) + + def GetGridColLabelWindow(*args, **kwargs): + """GetGridColLabelWindow() -> Window""" + return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) + + def GetGridCornerLabelWindow(*args, **kwargs): + """GetGridCornerLabelWindow() -> Window""" + return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) + class GridPtr(Grid): def __init__(self, this): @@ -850,21 +1991,51 @@ class GridPtr(Grid): _grid.Grid_swigregister(GridPtr) class GridEvent(core.NotifyEvent): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """ + __init__(int id, wxEventType 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 + """ newobj = _grid.new_GridEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _grid.GridEvent_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridEvent_GetCol(*args, **kwargs) - def GetPosition(*args, **kwargs): return _grid.GridEvent_GetPosition(*args, **kwargs) - def Selecting(*args, **kwargs): return _grid.GridEvent_Selecting(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridEvent_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridEvent_GetCol(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _grid.GridEvent_GetPosition(*args, **kwargs) + + def Selecting(*args, **kwargs): + """Selecting() -> bool""" + return _grid.GridEvent_Selecting(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridEvent_AltDown(*args, **kwargs) + class GridEventPtr(GridEvent): def __init__(self, this): @@ -874,19 +2045,42 @@ class GridEventPtr(GridEvent): _grid.GridEvent_swigregister(GridEventPtr) class GridSizeEvent(core.NotifyEvent): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """ + __init__(int id, wxEventType 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 + """ newobj = _grid.new_GridSizeEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRowOrCol(*args, **kwargs): return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) - def GetPosition(*args, **kwargs): return _grid.GridSizeEvent_GetPosition(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridSizeEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridSizeEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridSizeEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRowOrCol(*args, **kwargs): + """GetRowOrCol() -> int""" + return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) + + def GetPosition(*args, **kwargs): + """GetPosition() -> Point""" + return _grid.GridSizeEvent_GetPosition(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridSizeEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridSizeEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridSizeEvent_AltDown(*args, **kwargs) + class GridSizeEventPtr(GridSizeEvent): def __init__(self, this): @@ -896,24 +2090,63 @@ class GridSizeEventPtr(GridSizeEvent): _grid.GridSizeEvent_swigregister(GridSizeEventPtr) class GridRangeSelectEvent(core.NotifyEvent): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """ + __init__(int id, wxEventType type, Grid obj, GridCellCoords topLeft, + GridCellCoords bottomRight, bool sel=True, + bool control=False, bool shift=False, + bool alt=False, bool meta=False) -> GridRangeSelectEvent + """ newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetTopLeftCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) - def GetBottomRightCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) - def GetTopRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) - def GetBottomRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) - def GetLeftCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) - def GetRightCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) - def Selecting(*args, **kwargs): return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) - def ControlDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) - def MetaDown(*args, **kwargs): return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) - def ShiftDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) - def AltDown(*args, **kwargs): return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetTopLeftCoords(*args, **kwargs): + """GetTopLeftCoords() -> GridCellCoords""" + return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) + + def GetBottomRightCoords(*args, **kwargs): + """GetBottomRightCoords() -> GridCellCoords""" + return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) + + def GetTopRow(*args, **kwargs): + """GetTopRow() -> int""" + return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) + + def GetBottomRow(*args, **kwargs): + """GetBottomRow() -> int""" + return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) + + def GetLeftCol(*args, **kwargs): + """GetLeftCol() -> int""" + return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) + + def GetRightCol(*args, **kwargs): + """GetRightCol() -> int""" + return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) + + def Selecting(*args, **kwargs): + """Selecting() -> bool""" + return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) + + def ControlDown(*args, **kwargs): + """ControlDown() -> bool""" + return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) + + def MetaDown(*args, **kwargs): + """MetaDown() -> bool""" + return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) + + def ShiftDown(*args, **kwargs): + """ShiftDown() -> bool""" + return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) + + def AltDown(*args, **kwargs): + """AltDown() -> bool""" + return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) + class GridRangeSelectEventPtr(GridRangeSelectEvent): def __init__(self, this): @@ -923,19 +2156,41 @@ class GridRangeSelectEventPtr(GridRangeSelectEvent): _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) class GridEditorCreatedEvent(core.CommandEvent): + def __repr__(self): + return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): + """ + __init__(int id, wxEventType type, Object obj, int row, int col, + Control ctrl) -> GridEditorCreatedEvent + """ newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) self.this = newobj.this self.thisown = 1 del newobj.thisown - def GetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) - def GetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) - def GetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) - def SetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) - def SetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) - def SetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) - def __repr__(self): - return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) + def GetRow(*args, **kwargs): + """GetRow() -> int""" + return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) + + def GetCol(*args, **kwargs): + """GetCol() -> int""" + return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) + + def GetControl(*args, **kwargs): + """GetControl() -> Control""" + return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) + + def SetRow(*args, **kwargs): + """SetRow(int row)""" + return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) + + def SetCol(*args, **kwargs): + """SetCol(int col)""" + return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) + + def SetControl(*args, **kwargs): + """SetControl(Control ctrl)""" + return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) + class GridEditorCreatedEventPtr(GridEditorCreatedEvent): def __init__(self, this):