X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/423f194a1411e8aac372de29ef4a7ab5f90acb04..ce7284bd976f469991149a4ff0cd52294b9b61ad:/wxPython/src/mac/grid.py?ds=sidebyside diff --git a/wxPython/src/mac/grid.py b/wxPython/src/mac/grid.py index 87fe1a39d6..259d15e93c 100644 --- a/wxPython/src/mac/grid.py +++ b/wxPython/src/mac/grid.py @@ -16,7 +16,6 @@ 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 __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,) @@ -25,7 +24,7 @@ class GridCellRenderer(object): return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) def SetParameters(*args, **kwargs): - """SetParameters(wxString params)""" + """SetParameters(String params)""" return _grid.GridCellRenderer_SetParameters(*args, **kwargs) def IncRef(*args, **kwargs): @@ -37,12 +36,14 @@ class GridCellRenderer(object): return _grid.GridCellRenderer_DecRef(*args, **kwargs) def Draw(*args, **kwargs): - """Draw(Grid grid, GridCellAttr attr, wxDC dc, Rect rect, int row, - int col, bool isSelected)""" + """ + 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, wxDC dc, int row, int col) -> Size""" + """GetBestSize(Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size""" return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) def Clone(*args, **kwargs): @@ -57,11 +58,11 @@ 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): @@ -77,7 +78,7 @@ class PyGridCellRenderer(GridCellRenderer): return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) def base_SetParameters(*args, **kwargs): - """base_SetParameters(wxString params)""" + """base_SetParameters(String params)""" return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs) @@ -89,7 +90,6 @@ 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): @@ -109,7 +109,6 @@ 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): @@ -129,7 +128,6 @@ 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): @@ -165,7 +163,6 @@ 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): @@ -185,11 +182,10 @@ 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__(wxString outformat=wxPyDateTimeFormatStr, wxString informat=wxPyDateTimeFormatStr) -> GridCellDateTimeRenderer""" + """__init__(String outformat=DateTimeFormatStr, String informat=DateTimeFormatStr) -> GridCellDateTimeRenderer""" newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -205,11 +201,10 @@ 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__(wxString choices=wxPyEmptyString) -> GridCellEnumRenderer""" + """__init__(String choices=EmptyString) -> GridCellEnumRenderer""" newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -225,7 +220,6 @@ 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): @@ -245,7 +239,6 @@ class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) class GridCellEditor(object): - """""" 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,) @@ -274,7 +267,7 @@ class GridCellEditor(object): return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) def SetParameters(*args, **kwargs): - """SetParameters(wxString params)""" + """SetParameters(String params)""" return _grid.GridCellEditor_SetParameters(*args, **kwargs) def IncRef(*args, **kwargs): @@ -346,7 +339,6 @@ 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): @@ -394,7 +386,7 @@ class PyGridCellEditor(GridCellEditor): return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs) def base_SetParameters(*args, **kwargs): - """base_SetParameters(wxString params)""" + """base_SetParameters(String params)""" return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs) @@ -406,7 +398,6 @@ 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): @@ -418,7 +409,7 @@ class GridCellTextEditor(GridCellEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellTextEditor_GetValue(*args, **kwargs) @@ -430,7 +421,6 @@ 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): @@ -442,7 +432,7 @@ class GridCellNumberEditor(GridCellTextEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) @@ -454,7 +444,6 @@ 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): @@ -466,7 +455,7 @@ class GridCellFloatEditor(GridCellTextEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) @@ -478,7 +467,6 @@ 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): @@ -490,7 +478,7 @@ class GridCellBoolEditor(GridCellEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) @@ -502,11 +490,10 @@ 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 LCOUNT=0, wxString choices=None, bool allowOthers=False) -> GridCellChoiceEditor""" + """__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 @@ -514,7 +501,7 @@ class GridCellChoiceEditor(GridCellEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) @@ -526,11 +513,10 @@ 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__(wxString choices=wxPyEmptyString) -> GridCellEnumEditor""" + """__init__(String choices=EmptyString) -> GridCellEnumEditor""" newobj = _grid.new_GridCellEnumEditor(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -538,7 +524,7 @@ class GridCellEnumEditor(GridCellChoiceEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) @@ -550,7 +536,6 @@ 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): @@ -562,7 +547,7 @@ class GridCellAutoWrapStringEditor(GridCellTextEditor): self._setOORInfo(self) def GetValue(*args, **kwargs): - """GetValue() -> wxString""" + """GetValue() -> String""" return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) @@ -574,7 +559,6 @@ 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 @@ -612,15 +596,15 @@ class GridCellAttr(object): return _grid.GridCellAttr_DecRef(*args, **kwargs) def SetTextColour(*args, **kwargs): - """SetTextColour(wxColour colText)""" + """SetTextColour(Colour colText)""" return _grid.GridCellAttr_SetTextColour(*args, **kwargs) def SetBackgroundColour(*args, **kwargs): - """SetBackgroundColour(wxColour colBack)""" + """SetBackgroundColour(Colour colBack)""" return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) def SetFont(*args, **kwargs): - """SetFont(wxFont font)""" + """SetFont(Font font)""" return _grid.GridCellAttr_SetFont(*args, **kwargs) def SetAlignment(*args, **kwargs): @@ -648,7 +632,7 @@ class GridCellAttr(object): return _grid.GridCellAttr_SetEditor(*args, **kwargs) def SetKind(*args, **kwargs): - """SetKind(wxGridCellAttr::wxAttrKind kind)""" + """SetKind(int kind)""" return _grid.GridCellAttr_SetKind(*args, **kwargs) def HasTextColour(*args, **kwargs): @@ -684,23 +668,23 @@ class GridCellAttr(object): return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) def GetTextColour(*args, **kwargs): - """GetTextColour() -> wxColour""" + """GetTextColour() -> Colour""" return _grid.GridCellAttr_GetTextColour(*args, **kwargs) def GetBackgroundColour(*args, **kwargs): - """GetBackgroundColour() -> wxColour""" + """GetBackgroundColour() -> Colour""" return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) def GetFont(*args, **kwargs): - """GetFont() -> wxFont""" + """GetFont() -> Font""" return _grid.GridCellAttr_GetFont(*args, **kwargs) def GetAlignment(*args, **kwargs): - """GetAlignment(int OUTPUT, int OUTPUT)""" + """GetAlignment() -> (hAlign, vAlign)""" return _grid.GridCellAttr_GetAlignment(*args, **kwargs) def GetSize(*args, **kwargs): - """GetSize(int OUTPUT, int OUTPUT)""" + """GetSize() -> (num_rows, num_cols)""" return _grid.GridCellAttr_GetSize(*args, **kwargs) def GetOverflow(*args, **kwargs): @@ -732,7 +716,6 @@ 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): @@ -748,7 +731,7 @@ class GridCellAttrProvider(object): return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) def GetAttr(*args, **kwargs): - """GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + """GetAttr(int row, int col, int kind) -> GridCellAttr""" return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) def SetAttr(*args, **kwargs): @@ -780,7 +763,6 @@ 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): @@ -796,7 +778,7 @@ class PyGridCellAttrProvider(GridCellAttrProvider): return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) def base_GetAttr(*args, **kwargs): - """base_GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + """base_GetAttr(int row, int col, int kind) -> GridCellAttr""" return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs) def base_SetAttr(*args, **kwargs): @@ -820,7 +802,6 @@ class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) class GridTableBase(core.Object): - """""" 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,) @@ -857,23 +838,23 @@ class GridTableBase(core.Object): return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) def GetValue(*args, **kwargs): - """GetValue(int row, int col) -> wxString""" + """GetValue(int row, int col) -> String""" return _grid.GridTableBase_GetValue(*args, **kwargs) def SetValue(*args, **kwargs): - """SetValue(int row, int col, wxString value)""" + """SetValue(int row, int col, String value)""" return _grid.GridTableBase_SetValue(*args, **kwargs) def GetTypeName(*args, **kwargs): - """GetTypeName(int row, int col) -> wxString""" + """GetTypeName(int row, int col) -> String""" return _grid.GridTableBase_GetTypeName(*args, **kwargs) def CanGetValueAs(*args, **kwargs): - """CanGetValueAs(int row, int col, wxString typeName) -> bool""" + """CanGetValueAs(int row, int col, String typeName) -> bool""" return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) def CanSetValueAs(*args, **kwargs): - """CanSetValueAs(int row, int col, wxString typeName) -> bool""" + """CanSetValueAs(int row, int col, String typeName) -> bool""" return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) def GetValueAsLong(*args, **kwargs): @@ -929,19 +910,19 @@ class GridTableBase(core.Object): return _grid.GridTableBase_DeleteCols(*args, **kwargs) def GetRowLabelValue(*args, **kwargs): - """GetRowLabelValue(int row) -> wxString""" + """GetRowLabelValue(int row) -> String""" return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) def GetColLabelValue(*args, **kwargs): - """GetColLabelValue(int col) -> wxString""" + """GetColLabelValue(int col) -> String""" return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) def SetRowLabelValue(*args, **kwargs): - """SetRowLabelValue(int row, wxString value)""" + """SetRowLabelValue(int row, String value)""" return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) def SetColLabelValue(*args, **kwargs): - """SetColLabelValue(int col, wxString value)""" + """SetColLabelValue(int col, String value)""" return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) def CanHaveAttributes(*args, **kwargs): @@ -949,7 +930,7 @@ class GridTableBase(core.Object): return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) def GetAttr(*args, **kwargs): - """GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + """GetAttr(int row, int col, int kind) -> GridCellAttr""" return _grid.GridTableBase_GetAttr(*args, **kwargs) def SetAttr(*args, **kwargs): @@ -973,7 +954,6 @@ 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): @@ -989,21 +969,23 @@ class PyGridTableBase(GridTableBase): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) def Destroy(*args, **kwargs): - """Destroy() + """ + Destroy() -Deletes the C++ object this Python object is a proxy for.""" + 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) -> wxString""" + """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, wxString typeName) -> bool""" + """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, wxString typeName) -> bool""" + """base_CanSetValueAs(int row, int col, String typeName) -> bool""" return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs) def base_Clear(*args, **kwargs): @@ -1035,19 +1017,19 @@ Deletes the C++ object this Python object is a proxy for.""" return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs) def base_GetRowLabelValue(*args, **kwargs): - """base_GetRowLabelValue(int row) -> wxString""" + """base_GetRowLabelValue(int row) -> String""" return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs) def base_GetColLabelValue(*args, **kwargs): - """base_GetColLabelValue(int col) -> wxString""" + """base_GetColLabelValue(int col) -> String""" return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs) def base_SetRowLabelValue(*args, **kwargs): - """base_SetRowLabelValue(int row, wxString value)""" + """base_SetRowLabelValue(int row, String value)""" return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs) def base_SetColLabelValue(*args, **kwargs): - """base_SetColLabelValue(int col, wxString value)""" + """base_SetColLabelValue(int col, String value)""" return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs) def base_CanHaveAttributes(*args, **kwargs): @@ -1055,7 +1037,7 @@ Deletes the C++ object this Python object is a proxy for.""" return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs) def base_GetAttr(*args, **kwargs): - """base_GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) -> GridCellAttr""" + """base_GetAttr(int row, int col, int kind) -> GridCellAttr""" return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs) def base_SetAttr(*args, **kwargs): @@ -1079,7 +1061,6 @@ 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): @@ -1107,7 +1088,6 @@ 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): @@ -1163,7 +1143,6 @@ 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): @@ -1228,13 +1207,14 @@ 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, - wxString name=PanelNameStr) -> Grid""" + """ + __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 @@ -1244,6 +1224,10 @@ class Grid(windows.ScrolledWindow): wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns + 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) @@ -1305,16 +1289,18 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_DeleteCols(*args, **kwargs) def DrawCellHighlight(*args, **kwargs): - """DrawCellHighlight(wxDC dc, GridCellAttr attr)""" + """DrawCellHighlight(DC dc, GridCellAttr attr)""" return _grid.Grid_DrawCellHighlight(*args, **kwargs) def DrawTextRectangle(*args, **kwargs): - """DrawTextRectangle(wxDC dc, wxString ??, Rect ??, int horizontalAlignment=LEFT, - int verticalAlignment=TOP, int textOrientation=HORIZONTAL)""" + """ + 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(wxDC dc, wxArrayString lines, long OUTPUT, long OUTPUT)""" + """GetTextBoxSize(DC dc, list lines) -> (width, height)""" return _grid.Grid_GetTextBoxSize(*args, **kwargs) def BeginBatch(*args, **kwargs): @@ -1333,10 +1319,6 @@ class Grid(windows.ScrolledWindow): """ForceRefresh()""" return _grid.Grid_ForceRefresh(*args, **kwargs) - def Refresh(*args, **kwargs): - """Refresh(bool eraseb=True, Rect rect=None)""" - return _grid.Grid_Refresh(*args, **kwargs) - def IsEditable(*args, **kwargs): """IsEditable() -> bool""" return _grid.Grid_IsEditable(*args, **kwargs) @@ -1482,23 +1464,23 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetColLabelSize(*args, **kwargs) def GetLabelBackgroundColour(*args, **kwargs): - """GetLabelBackgroundColour() -> wxColour""" + """GetLabelBackgroundColour() -> Colour""" return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) def GetLabelTextColour(*args, **kwargs): - """GetLabelTextColour() -> wxColour""" + """GetLabelTextColour() -> Colour""" return _grid.Grid_GetLabelTextColour(*args, **kwargs) def GetLabelFont(*args, **kwargs): - """GetLabelFont() -> wxFont""" + """GetLabelFont() -> Font""" return _grid.Grid_GetLabelFont(*args, **kwargs) def GetRowLabelAlignment(*args, **kwargs): - """GetRowLabelAlignment(int OUTPUT, int OUTPUT)""" + """GetRowLabelAlignment() -> (horiz, vert)""" return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) def GetColLabelAlignment(*args, **kwargs): - """GetColLabelAlignment(int OUTPUT, int OUTPUT)""" + """GetColLabelAlignment() -> (horiz, vert)""" return _grid.Grid_GetColLabelAlignment(*args, **kwargs) def GetColLabelTextOrientation(*args, **kwargs): @@ -1506,19 +1488,19 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) def GetRowLabelValue(*args, **kwargs): - """GetRowLabelValue(int row) -> wxString""" + """GetRowLabelValue(int row) -> String""" return _grid.Grid_GetRowLabelValue(*args, **kwargs) def GetColLabelValue(*args, **kwargs): - """GetColLabelValue(int col) -> wxString""" + """GetColLabelValue(int col) -> String""" return _grid.Grid_GetColLabelValue(*args, **kwargs) def GetGridLineColour(*args, **kwargs): - """GetGridLineColour() -> wxColour""" + """GetGridLineColour() -> Colour""" return _grid.Grid_GetGridLineColour(*args, **kwargs) def GetCellHighlightColour(*args, **kwargs): - """GetCellHighlightColour() -> wxColour""" + """GetCellHighlightColour() -> Colour""" return _grid.Grid_GetCellHighlightColour(*args, **kwargs) def GetCellHighlightPenWidth(*args, **kwargs): @@ -1538,15 +1520,15 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SetColLabelSize(*args, **kwargs) def SetLabelBackgroundColour(*args, **kwargs): - """SetLabelBackgroundColour(wxColour ??)""" + """SetLabelBackgroundColour(Colour ??)""" return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) def SetLabelTextColour(*args, **kwargs): - """SetLabelTextColour(wxColour ??)""" + """SetLabelTextColour(Colour ??)""" return _grid.Grid_SetLabelTextColour(*args, **kwargs) def SetLabelFont(*args, **kwargs): - """SetLabelFont(wxFont ??)""" + """SetLabelFont(Font ??)""" return _grid.Grid_SetLabelFont(*args, **kwargs) def SetRowLabelAlignment(*args, **kwargs): @@ -1562,19 +1544,19 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) def SetRowLabelValue(*args, **kwargs): - """SetRowLabelValue(int row, wxString ??)""" + """SetRowLabelValue(int row, String ??)""" return _grid.Grid_SetRowLabelValue(*args, **kwargs) def SetColLabelValue(*args, **kwargs): - """SetColLabelValue(int col, wxString ??)""" + """SetColLabelValue(int col, String ??)""" return _grid.Grid_SetColLabelValue(*args, **kwargs) def SetGridLineColour(*args, **kwargs): - """SetGridLineColour(wxColour ??)""" + """SetGridLineColour(Colour ??)""" return _grid.Grid_SetGridLineColour(*args, **kwargs) def SetCellHighlightColour(*args, **kwargs): - """SetCellHighlightColour(wxColour ??)""" + """SetCellHighlightColour(Colour ??)""" return _grid.Grid_SetCellHighlightColour(*args, **kwargs) def SetCellHighlightPenWidth(*args, **kwargs): @@ -1646,7 +1628,7 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SetColFormatFloat(*args, **kwargs) def SetColFormatCustom(*args, **kwargs): - """SetColFormatCustom(int col, wxString typeName)""" + """SetColFormatCustom(int col, String typeName)""" return _grid.Grid_SetColFormatCustom(*args, **kwargs) def EnableGridLines(*args, **kwargs): @@ -1674,35 +1656,35 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetColSize(*args, **kwargs) def GetDefaultCellBackgroundColour(*args, **kwargs): - """GetDefaultCellBackgroundColour() -> wxColour""" + """GetDefaultCellBackgroundColour() -> Colour""" return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) def GetCellBackgroundColour(*args, **kwargs): - """GetCellBackgroundColour(int row, int col) -> wxColour""" + """GetCellBackgroundColour(int row, int col) -> Colour""" return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) def GetDefaultCellTextColour(*args, **kwargs): - """GetDefaultCellTextColour() -> wxColour""" + """GetDefaultCellTextColour() -> Colour""" return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) def GetCellTextColour(*args, **kwargs): - """GetCellTextColour(int row, int col) -> wxColour""" + """GetCellTextColour(int row, int col) -> Colour""" return _grid.Grid_GetCellTextColour(*args, **kwargs) def GetDefaultCellFont(*args, **kwargs): - """GetDefaultCellFont() -> wxFont""" + """GetDefaultCellFont() -> Font""" return _grid.Grid_GetDefaultCellFont(*args, **kwargs) def GetCellFont(*args, **kwargs): - """GetCellFont(int row, int col) -> wxFont""" + """GetCellFont(int row, int col) -> Font""" return _grid.Grid_GetCellFont(*args, **kwargs) def GetDefaultCellAlignment(*args, **kwargs): - """GetDefaultCellAlignment(int OUTPUT, int OUTPUT)""" + """GetDefaultCellAlignment() -> (horiz, vert)""" return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) def GetCellAlignment(*args, **kwargs): - """GetCellAlignment(int row, int col, int OUTPUT, int OUTPUT)""" + """GetCellAlignment() -> (horiz, vert)""" return _grid.Grid_GetCellAlignment(*args, **kwargs) def GetDefaultCellOverflow(*args, **kwargs): @@ -1714,7 +1696,7 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetCellOverflow(*args, **kwargs) def GetCellSize(*args, **kwargs): - """GetCellSize(int row, int col, int OUTPUT, int OUTPUT)""" + """GetCellSize(int row, int col) -> (num_rows, num_cols)""" return _grid.Grid_GetCellSize(*args, **kwargs) def SetDefaultRowSize(*args, **kwargs): @@ -1786,27 +1768,27 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) def SetDefaultCellBackgroundColour(*args, **kwargs): - """SetDefaultCellBackgroundColour(wxColour ??)""" + """SetDefaultCellBackgroundColour(Colour ??)""" return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) def SetCellBackgroundColour(*args, **kwargs): - """SetCellBackgroundColour(int row, int col, wxColour ??)""" + """SetCellBackgroundColour(int row, int col, Colour ??)""" return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) def SetDefaultCellTextColour(*args, **kwargs): - """SetDefaultCellTextColour(wxColour ??)""" + """SetDefaultCellTextColour(Colour ??)""" return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) def SetCellTextColour(*args, **kwargs): - """SetCellTextColour(int row, int col, wxColour ??)""" + """SetCellTextColour(int row, int col, Colour ??)""" return _grid.Grid_SetCellTextColour(*args, **kwargs) def SetDefaultCellFont(*args, **kwargs): - """SetDefaultCellFont(wxFont ??)""" + """SetDefaultCellFont(Font ??)""" return _grid.Grid_SetDefaultCellFont(*args, **kwargs) def SetCellFont(*args, **kwargs): - """SetCellFont(int row, int col, wxFont ??)""" + """SetCellFont(int row, int col, Font ??)""" return _grid.Grid_SetCellFont(*args, **kwargs) def SetDefaultCellAlignment(*args, **kwargs): @@ -1862,11 +1844,11 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetCellEditor(*args, **kwargs) def GetCellValue(*args, **kwargs): - """GetCellValue(int row, int col) -> wxString""" + """GetCellValue(int row, int col) -> String""" return _grid.Grid_GetCellValue(*args, **kwargs) def SetCellValue(*args, **kwargs): - """SetCellValue(int row, int col, wxString s)""" + """SetCellValue(int row, int col, String s)""" return _grid.Grid_SetCellValue(*args, **kwargs) def IsReadOnly(*args, **kwargs): @@ -1886,8 +1868,10 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_SelectCol(*args, **kwargs) def SelectBlock(*args, **kwargs): - """SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, - bool addToSelected=False)""" + """ + SelectBlock(int topRow, int leftCol, int bottomRow, int rightCol, + bool addToSelected=False) + """ return _grid.Grid_SelectBlock(*args, **kwargs) def SelectAll(*args, **kwargs): @@ -1943,23 +1927,23 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_BlockToDeviceRect(*args, **kwargs) def GetSelectionBackground(*args, **kwargs): - """GetSelectionBackground() -> wxColour""" + """GetSelectionBackground() -> Colour""" return _grid.Grid_GetSelectionBackground(*args, **kwargs) def GetSelectionForeground(*args, **kwargs): - """GetSelectionForeground() -> wxColour""" + """GetSelectionForeground() -> Colour""" return _grid.Grid_GetSelectionForeground(*args, **kwargs) def SetSelectionBackground(*args, **kwargs): - """SetSelectionBackground(wxColour c)""" + """SetSelectionBackground(Colour c)""" return _grid.Grid_SetSelectionBackground(*args, **kwargs) def SetSelectionForeground(*args, **kwargs): - """SetSelectionForeground(wxColour c)""" + """SetSelectionForeground(Colour c)""" return _grid.Grid_SetSelectionForeground(*args, **kwargs) def RegisterDataType(*args, **kwargs): - """RegisterDataType(wxString typeName, GridCellRenderer renderer, GridCellEditor editor)""" + """RegisterDataType(String typeName, GridCellRenderer renderer, GridCellEditor editor)""" return _grid.Grid_RegisterDataType(*args, **kwargs) def GetDefaultEditorForCell(*args, **kwargs): @@ -1971,11 +1955,11 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) def GetDefaultEditorForType(*args, **kwargs): - """GetDefaultEditorForType(wxString typeName) -> GridCellEditor""" + """GetDefaultEditorForType(String typeName) -> GridCellEditor""" return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) def GetDefaultRendererForType(*args, **kwargs): - """GetDefaultRendererForType(wxString typeName) -> GridCellRenderer""" + """GetDefaultRendererForType(String typeName) -> GridCellRenderer""" return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) def SetMargins(*args, **kwargs): @@ -2007,14 +1991,15 @@ 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""" + """ + __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 @@ -2060,13 +2045,14 @@ 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""" + """ + __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 @@ -2104,14 +2090,15 @@ 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""" + """ + __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 @@ -2169,12 +2156,13 @@ 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""" + """ + __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