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,)
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):
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):
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):
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)
_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):
_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):
_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):
_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):
_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
_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
_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):
_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,)
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):
_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):
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)
_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):
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellTextEditor_GetValue(*args, **kwargs)
_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):
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellNumberEditor_GetValue(*args, **kwargs)
_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):
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellFloatEditor_GetValue(*args, **kwargs)
_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):
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellBoolEditor_GetValue(*args, **kwargs)
_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
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs)
_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
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellEnumEditor_GetValue(*args, **kwargs)
_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):
self._setOORInfo(self)
def GetValue(*args, **kwargs):
- """GetValue() -> wxString"""
+ """GetValue() -> String"""
return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs)
_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
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):
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):
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):
_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):
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):
_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):
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):
_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,)
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):
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):
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):
_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):
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):
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):
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):
_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):
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):
_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):
_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
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)
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):
"""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)
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
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):
_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
_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
_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
_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