- 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,)
-
-class GridPtr(Grid):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = Grid
-_grid.Grid_swigregister(GridPtr)
-
-class GridEvent(core.NotifyEvent):
- def __init__(self, *args, **kwargs):
- 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,)
-
-class GridEventPtr(GridEvent):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = GridEvent
-_grid.GridEvent_swigregister(GridEventPtr)
-
-class GridSizeEvent(core.NotifyEvent):
- def __init__(self, *args, **kwargs):
- 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,)
-
-class GridSizeEventPtr(GridSizeEvent):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = GridSizeEvent
-_grid.GridSizeEvent_swigregister(GridSizeEventPtr)
-
-class GridRangeSelectEvent(core.NotifyEvent):
- def __init__(self, *args, **kwargs):
- 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,)
-
-class GridRangeSelectEventPtr(GridRangeSelectEvent):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = GridRangeSelectEvent
-_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr)
-
-class GridEditorCreatedEvent(core.CommandEvent):
- def __init__(self, *args, **kwargs):
- 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,)
-
-class GridEditorCreatedEventPtr(GridEditorCreatedEvent):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = GridEditorCreatedEvent
-_grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr)
+ SelectCells = wxGridSelectCells
+ SelectRows = wxGridSelectRows
+ SelectColumns = wxGridSelectColumns
+
+ def CreateGrid(*args, **kwargs):
+ """CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
+ return _grid.Grid_CreateGrid(*args, **kwargs)
+
+ def SetSelectionMode(*args, **kwargs):
+ """SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)"""
+ return _grid.Grid_SetSelectionMode(*args, **kwargs)
+
+ def GetSelectionMode(*args, **kwargs):
+ """GetSelectionMode(self) -> WXGRIDSELECTIONMODES"""
+ return _grid.Grid_GetSelectionMode(*args, **kwargs)
+
+ def GetNumberRows(*args, **kwargs):
+ """GetNumberRows(self) -> int"""
+ return _grid.Grid_GetNumberRows(*args, **kwargs)
+
+ def GetNumberCols(*args, **kwargs):
+ """GetNumberCols(self) -> int"""
+ return _grid.Grid_GetNumberCols(*args, **kwargs)
+
+ def ProcessTableMessage(*args, **kwargs):
+ """ProcessTableMessage(self, GridTableMessage ?) -> bool"""
+ return _grid.Grid_ProcessTableMessage(*args, **kwargs)
+
+ def GetTable(*args, **kwargs):
+ """GetTable(self) -> GridTableBase"""
+ return _grid.Grid_GetTable(*args, **kwargs)
+
+ def SetTable(*args, **kwargs):
+ """SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool"""
+ return _grid.Grid_SetTable(*args, **kwargs)
+
+ def ClearGrid(*args, **kwargs):
+ """ClearGrid(self)"""
+ return _grid.Grid_ClearGrid(*args, **kwargs)
+
+ def InsertRows(*args, **kwargs):
+ """InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool"""
+ return _grid.Grid_InsertRows(*args, **kwargs)
+
+ def AppendRows(*args, **kwargs):
+ """AppendRows(self, int numRows=1, bool updateLabels=True) -> bool"""
+ return _grid.Grid_AppendRows(*args, **kwargs)
+
+ def DeleteRows(*args, **kwargs):
+ """DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool"""
+ return _grid.Grid_DeleteRows(*args, **kwargs)
+
+ def InsertCols(*args, **kwargs):
+ """InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool"""
+ return _grid.Grid_InsertCols(*args, **kwargs)
+
+ def AppendCols(*args, **kwargs):
+ """AppendCols(self, int numCols=1, bool updateLabels=True) -> bool"""
+ return _grid.Grid_AppendCols(*args, **kwargs)
+
+ def DeleteCols(*args, **kwargs):
+ """DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool"""
+ return _grid.Grid_DeleteCols(*args, **kwargs)
+
+ def DrawCellHighlight(*args, **kwargs):
+ """DrawCellHighlight(self, DC dc, GridCellAttr attr)"""
+ return _grid.Grid_DrawCellHighlight(*args, **kwargs)
+
+ def DrawTextRectangle(*args, **kwargs):
+ """
+ DrawTextRectangle(self, 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(self)"""
+ return _grid.Grid_BeginBatch(*args, **kwargs)
+
+ def EndBatch(*args, **kwargs):
+ """EndBatch(self)"""
+ return _grid.Grid_EndBatch(*args, **kwargs)
+
+ def GetBatchCount(*args, **kwargs):
+ """GetBatchCount(self) -> int"""
+ return _grid.Grid_GetBatchCount(*args, **kwargs)
+
+ def ForceRefresh(*args, **kwargs):
+ """ForceRefresh(self)"""
+ return _grid.Grid_ForceRefresh(*args, **kwargs)
+
+ def IsEditable(*args, **kwargs):
+ """IsEditable(self) -> bool"""
+ return _grid.Grid_IsEditable(*args, **kwargs)
+
+ def EnableEditing(*args, **kwargs):
+ """EnableEditing(self, bool edit)"""
+ return _grid.Grid_EnableEditing(*args, **kwargs)
+
+ def EnableCellEditControl(*args, **kwargs):
+ """EnableCellEditControl(self, bool enable=True)"""
+ return _grid.Grid_EnableCellEditControl(*args, **kwargs)
+
+ def DisableCellEditControl(*args, **kwargs):
+ """DisableCellEditControl(self)"""
+ return _grid.Grid_DisableCellEditControl(*args, **kwargs)
+
+ def CanEnableCellControl(*args, **kwargs):
+ """CanEnableCellControl(self) -> bool"""
+ return _grid.Grid_CanEnableCellControl(*args, **kwargs)
+
+ def IsCellEditControlEnabled(*args, **kwargs):
+ """IsCellEditControlEnabled(self) -> bool"""
+ return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs)
+
+ def IsCellEditControlShown(*args, **kwargs):
+ """IsCellEditControlShown(self) -> bool"""
+ return _grid.Grid_IsCellEditControlShown(*args, **kwargs)
+
+ def IsCurrentCellReadOnly(*args, **kwargs):
+ """IsCurrentCellReadOnly(self) -> bool"""
+ return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs)
+
+ def ShowCellEditControl(*args, **kwargs):
+ """ShowCellEditControl(self)"""
+ return _grid.Grid_ShowCellEditControl(*args, **kwargs)
+
+ def HideCellEditControl(*args, **kwargs):
+ """HideCellEditControl(self)"""
+ return _grid.Grid_HideCellEditControl(*args, **kwargs)
+
+ def SaveEditControlValue(*args, **kwargs):
+ """SaveEditControlValue(self)"""
+ return _grid.Grid_SaveEditControlValue(*args, **kwargs)
+
+ def XYToCell(*args, **kwargs):
+ """XYToCell(self, int x, int y) -> GridCellCoords"""
+ return _grid.Grid_XYToCell(*args, **kwargs)
+
+ def YToRow(*args, **kwargs):
+ """YToRow(self, int y) -> int"""
+ return _grid.Grid_YToRow(*args, **kwargs)
+
+ def XToCol(*args, **kwargs):
+ """XToCol(self, int x, bool clipToMinMax=False) -> int"""
+ return _grid.Grid_XToCol(*args, **kwargs)
+
+ def YToEdgeOfRow(*args, **kwargs):
+ """YToEdgeOfRow(self, int y) -> int"""
+ return _grid.Grid_YToEdgeOfRow(*args, **kwargs)
+
+ def XToEdgeOfCol(*args, **kwargs):
+ """XToEdgeOfCol(self, int x) -> int"""
+ return _grid.Grid_XToEdgeOfCol(*args, **kwargs)
+
+ def CellToRect(*args, **kwargs):
+ """CellToRect(self, int row, int col) -> Rect"""
+ return _grid.Grid_CellToRect(*args, **kwargs)
+
+ def GetGridCursorRow(*args, **kwargs):
+ """GetGridCursorRow(self) -> int"""
+ return _grid.Grid_GetGridCursorRow(*args, **kwargs)
+
+ def GetGridCursorCol(*args, **kwargs):
+ """GetGridCursorCol(self) -> int"""
+ return _grid.Grid_GetGridCursorCol(*args, **kwargs)
+
+ def IsVisible(*args, **kwargs):
+ """IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool"""
+ return _grid.Grid_IsVisible(*args, **kwargs)
+
+ def MakeCellVisible(*args, **kwargs):
+ """MakeCellVisible(self, int row, int col)"""
+ return _grid.Grid_MakeCellVisible(*args, **kwargs)
+
+ def SetGridCursor(*args, **kwargs):
+ """SetGridCursor(self, int row, int col)"""
+ return _grid.Grid_SetGridCursor(*args, **kwargs)
+
+ def MoveCursorUp(*args, **kwargs):
+ """MoveCursorUp(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorUp(*args, **kwargs)
+
+ def MoveCursorDown(*args, **kwargs):
+ """MoveCursorDown(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorDown(*args, **kwargs)
+
+ def MoveCursorLeft(*args, **kwargs):
+ """MoveCursorLeft(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorLeft(*args, **kwargs)
+
+ def MoveCursorRight(*args, **kwargs):
+ """MoveCursorRight(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorRight(*args, **kwargs)
+
+ def MovePageDown(*args, **kwargs):
+ """MovePageDown(self) -> bool"""
+ return _grid.Grid_MovePageDown(*args, **kwargs)
+
+ def MovePageUp(*args, **kwargs):
+ """MovePageUp(self) -> bool"""
+ return _grid.Grid_MovePageUp(*args, **kwargs)
+
+ def MoveCursorUpBlock(*args, **kwargs):
+ """MoveCursorUpBlock(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorUpBlock(*args, **kwargs)
+
+ def MoveCursorDownBlock(*args, **kwargs):
+ """MoveCursorDownBlock(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorDownBlock(*args, **kwargs)
+
+ def MoveCursorLeftBlock(*args, **kwargs):
+ """MoveCursorLeftBlock(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs)
+
+ def MoveCursorRightBlock(*args, **kwargs):
+ """MoveCursorRightBlock(self, bool expandSelection) -> bool"""
+ return _grid.Grid_MoveCursorRightBlock(*args, **kwargs)
+
+ def GetDefaultRowLabelSize(*args, **kwargs):
+ """GetDefaultRowLabelSize(self) -> int"""
+ return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs)
+
+ def GetRowLabelSize(*args, **kwargs):
+ """GetRowLabelSize(self) -> int"""
+ return _grid.Grid_GetRowLabelSize(*args, **kwargs)
+
+ def GetDefaultColLabelSize(*args, **kwargs):
+ """GetDefaultColLabelSize(self) -> int"""
+ return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs)
+
+ def GetColLabelSize(*args, **kwargs):
+ """GetColLabelSize(self) -> int"""
+ return _grid.Grid_GetColLabelSize(*args, **kwargs)
+
+ def GetLabelBackgroundColour(*args, **kwargs):
+ """GetLabelBackgroundColour(self) -> Colour"""
+ return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs)
+
+ def GetLabelTextColour(*args, **kwargs):
+ """GetLabelTextColour(self) -> Colour"""
+ return _grid.Grid_GetLabelTextColour(*args, **kwargs)
+
+ def GetLabelFont(*args, **kwargs):
+ """GetLabelFont(self) -> 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(self) -> int"""
+ return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs)
+
+ def GetRowLabelValue(*args, **kwargs):
+ """GetRowLabelValue(self, int row) -> String"""
+ return _grid.Grid_GetRowLabelValue(*args, **kwargs)
+
+ def GetColLabelValue(*args, **kwargs):
+ """GetColLabelValue(self, int col) -> String"""
+ return _grid.Grid_GetColLabelValue(*args, **kwargs)
+
+ def GetGridLineColour(*args, **kwargs):
+ """GetGridLineColour(self) -> Colour"""
+ return _grid.Grid_GetGridLineColour(*args, **kwargs)
+
+ def GetDefaultGridLinePen(*args, **kwargs):
+ """GetDefaultGridLinePen(self) -> wxPen"""
+ return _grid.Grid_GetDefaultGridLinePen(*args, **kwargs)
+
+ def GetRowGridLinePen(*args, **kwargs):
+ """GetRowGridLinePen(self, int row) -> wxPen"""
+ return _grid.Grid_GetRowGridLinePen(*args, **kwargs)
+
+ def GetColGridLinePen(*args, **kwargs):
+ """GetColGridLinePen(self, int col) -> wxPen"""
+ return _grid.Grid_GetColGridLinePen(*args, **kwargs)
+
+ def GetCellHighlightColour(*args, **kwargs):
+ """GetCellHighlightColour(self) -> Colour"""
+ return _grid.Grid_GetCellHighlightColour(*args, **kwargs)
+
+ def GetCellHighlightPenWidth(*args, **kwargs):
+ """GetCellHighlightPenWidth(self) -> int"""
+ return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs)
+
+ def GetCellHighlightROPenWidth(*args, **kwargs):
+ """GetCellHighlightROPenWidth(self) -> int"""
+ return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs)
+
+ def SetRowLabelSize(*args, **kwargs):
+ """SetRowLabelSize(self, int width)"""
+ return _grid.Grid_SetRowLabelSize(*args, **kwargs)
+
+ def SetColLabelSize(*args, **kwargs):
+ """SetColLabelSize(self, int height)"""
+ return _grid.Grid_SetColLabelSize(*args, **kwargs)
+
+ def SetLabelBackgroundColour(*args, **kwargs):
+ """SetLabelBackgroundColour(self, Colour ?)"""
+ return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs)
+
+ def SetLabelTextColour(*args, **kwargs):
+ """SetLabelTextColour(self, Colour ?)"""
+ return _grid.Grid_SetLabelTextColour(*args, **kwargs)
+
+ def SetLabelFont(*args, **kwargs):
+ """SetLabelFont(self, Font ?)"""
+ return _grid.Grid_SetLabelFont(*args, **kwargs)
+
+ def SetRowLabelAlignment(*args, **kwargs):
+ """SetRowLabelAlignment(self, int horiz, int vert)"""
+ return _grid.Grid_SetRowLabelAlignment(*args, **kwargs)
+
+ def SetColLabelAlignment(*args, **kwargs):
+ """SetColLabelAlignment(self, int horiz, int vert)"""
+ return _grid.Grid_SetColLabelAlignment(*args, **kwargs)
+
+ def SetColLabelTextOrientation(*args, **kwargs):
+ """SetColLabelTextOrientation(self, int textOrientation)"""
+ return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs)
+
+ def SetRowLabelValue(*args, **kwargs):
+ """SetRowLabelValue(self, int row, String ?)"""
+ return _grid.Grid_SetRowLabelValue(*args, **kwargs)
+
+ def SetColLabelValue(*args, **kwargs):
+ """SetColLabelValue(self, int col, String ?)"""
+ return _grid.Grid_SetColLabelValue(*args, **kwargs)
+
+ def SetGridLineColour(*args, **kwargs):
+ """SetGridLineColour(self, Colour ?)"""
+ return _grid.Grid_SetGridLineColour(*args, **kwargs)
+
+ def SetCellHighlightColour(*args, **kwargs):
+ """SetCellHighlightColour(self, Colour ?)"""
+ return _grid.Grid_SetCellHighlightColour(*args, **kwargs)
+
+ def SetCellHighlightPenWidth(*args, **kwargs):
+ """SetCellHighlightPenWidth(self, int width)"""
+ return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs)
+
+ def SetCellHighlightROPenWidth(*args, **kwargs):
+ """SetCellHighlightROPenWidth(self, int width)"""
+ return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs)
+
+ def EnableDragRowSize(*args, **kwargs):
+ """EnableDragRowSize(self, bool enable=True)"""
+ return _grid.Grid_EnableDragRowSize(*args, **kwargs)
+
+ def DisableDragRowSize(*args, **kwargs):
+ """DisableDragRowSize(self)"""
+ return _grid.Grid_DisableDragRowSize(*args, **kwargs)
+
+ def CanDragRowSize(*args, **kwargs):
+ """CanDragRowSize(self) -> bool"""
+ return _grid.Grid_CanDragRowSize(*args, **kwargs)
+
+ def EnableDragColSize(*args, **kwargs):
+ """EnableDragColSize(self, bool enable=True)"""
+ return _grid.Grid_EnableDragColSize(*args, **kwargs)
+
+ def DisableDragColSize(*args, **kwargs):
+ """DisableDragColSize(self)"""
+ return _grid.Grid_DisableDragColSize(*args, **kwargs)
+
+ def CanDragColSize(*args, **kwargs):
+ """CanDragColSize(self) -> bool"""
+ return _grid.Grid_CanDragColSize(*args, **kwargs)
+
+ def EnableDragColMove(*args, **kwargs):
+ """EnableDragColMove(self, bool enable=True)"""
+ return _grid.Grid_EnableDragColMove(*args, **kwargs)
+
+ def DisableDragColMove(*args, **kwargs):
+ """DisableDragColMove(self)"""
+ return _grid.Grid_DisableDragColMove(*args, **kwargs)
+
+ def CanDragColMove(*args, **kwargs):
+ """CanDragColMove(self) -> bool"""
+ return _grid.Grid_CanDragColMove(*args, **kwargs)
+
+ def EnableDragGridSize(*args, **kwargs):
+ """EnableDragGridSize(self, bool enable=True)"""
+ return _grid.Grid_EnableDragGridSize(*args, **kwargs)
+
+ def DisableDragGridSize(*args, **kwargs):
+ """DisableDragGridSize(self)"""
+ return _grid.Grid_DisableDragGridSize(*args, **kwargs)
+
+ def CanDragGridSize(*args, **kwargs):
+ """CanDragGridSize(self) -> bool"""
+ return _grid.Grid_CanDragGridSize(*args, **kwargs)
+
+ def EnableDragCell(*args, **kwargs):
+ """EnableDragCell(self, bool enable=True)"""
+ return _grid.Grid_EnableDragCell(*args, **kwargs)
+
+ def DisableDragCell(*args, **kwargs):
+ """DisableDragCell(self)"""
+ return _grid.Grid_DisableDragCell(*args, **kwargs)
+
+ def CanDragCell(*args, **kwargs):
+ """CanDragCell(self) -> bool"""
+ return _grid.Grid_CanDragCell(*args, **kwargs)
+
+ def SetAttr(*args, **kwargs):
+ """SetAttr(self, int row, int col, GridCellAttr attr)"""
+ return _grid.Grid_SetAttr(*args, **kwargs)
+
+ def SetRowAttr(*args, **kwargs):
+ """SetRowAttr(self, int row, GridCellAttr attr)"""
+ return _grid.Grid_SetRowAttr(*args, **kwargs)
+
+ def SetColAttr(*args, **kwargs):
+ """SetColAttr(self, int col, GridCellAttr attr)"""
+ return _grid.Grid_SetColAttr(*args, **kwargs)
+
+ def GetOrCreateCellAttr(*args, **kwargs):
+ """GetOrCreateCellAttr(self, int row, int col) -> GridCellAttr"""
+ return _grid.Grid_GetOrCreateCellAttr(*args, **kwargs)
+
+ def SetColFormatBool(*args, **kwargs):
+ """SetColFormatBool(self, int col)"""
+ return _grid.Grid_SetColFormatBool(*args, **kwargs)
+
+ def SetColFormatNumber(*args, **kwargs):
+ """SetColFormatNumber(self, int col)"""
+ return _grid.Grid_SetColFormatNumber(*args, **kwargs)
+
+ def SetColFormatFloat(*args, **kwargs):
+ """SetColFormatFloat(self, int col, int width=-1, int precision=-1)"""
+ return _grid.Grid_SetColFormatFloat(*args, **kwargs)
+
+ def SetColFormatCustom(*args, **kwargs):
+ """SetColFormatCustom(self, int col, String typeName)"""
+ return _grid.Grid_SetColFormatCustom(*args, **kwargs)
+
+ def EnableGridLines(*args, **kwargs):
+ """EnableGridLines(self, bool enable=True)"""
+ return _grid.Grid_EnableGridLines(*args, **kwargs)
+
+ def GridLinesEnabled(*args, **kwargs):
+ """GridLinesEnabled(self) -> bool"""
+ return _grid.Grid_GridLinesEnabled(*args, **kwargs)
+
+ def GetDefaultRowSize(*args, **kwargs):
+ """GetDefaultRowSize(self) -> int"""
+ return _grid.Grid_GetDefaultRowSize(*args, **kwargs)
+
+ def GetRowSize(*args, **kwargs):
+ """GetRowSize(self, int row) -> int"""
+ return _grid.Grid_GetRowSize(*args, **kwargs)
+
+ def GetDefaultColSize(*args, **kwargs):
+ """GetDefaultColSize(self) -> int"""
+ return _grid.Grid_GetDefaultColSize(*args, **kwargs)
+
+ def GetColSize(*args, **kwargs):
+ """GetColSize(self, int col) -> int"""
+ return _grid.Grid_GetColSize(*args, **kwargs)
+
+ def GetDefaultCellBackgroundColour(*args, **kwargs):
+ """GetDefaultCellBackgroundColour(self) -> Colour"""
+ return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs)
+
+ def GetCellBackgroundColour(*args, **kwargs):
+ """GetCellBackgroundColour(self, int row, int col) -> Colour"""
+ return _grid.Grid_GetCellBackgroundColour(*args, **kwargs)
+
+ def GetDefaultCellTextColour(*args, **kwargs):
+ """GetDefaultCellTextColour(self) -> Colour"""
+ return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs)
+
+ def GetCellTextColour(*args, **kwargs):
+ """GetCellTextColour(self, int row, int col) -> Colour"""
+ return _grid.Grid_GetCellTextColour(*args, **kwargs)
+
+ def GetDefaultCellFont(*args, **kwargs):
+ """GetDefaultCellFont(self) -> Font"""
+ return _grid.Grid_GetDefaultCellFont(*args, **kwargs)
+
+ def GetCellFont(*args, **kwargs):
+ """GetCellFont(self, 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(int row, int col) -> (horiz, vert)"""
+ return _grid.Grid_GetCellAlignment(*args, **kwargs)
+
+ def GetDefaultCellOverflow(*args, **kwargs):
+ """GetDefaultCellOverflow(self) -> bool"""
+ return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs)
+
+ def GetCellOverflow(*args, **kwargs):
+ """GetCellOverflow(self, 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(self, int height, bool resizeExistingRows=False)"""
+ return _grid.Grid_SetDefaultRowSize(*args, **kwargs)
+
+ def SetRowSize(*args, **kwargs):
+ """SetRowSize(self, int row, int height)"""
+ return _grid.Grid_SetRowSize(*args, **kwargs)
+
+ def SetDefaultColSize(*args, **kwargs):
+ """SetDefaultColSize(self, int width, bool resizeExistingCols=False)"""
+ return _grid.Grid_SetDefaultColSize(*args, **kwargs)
+
+ def SetColSize(*args, **kwargs):
+ """SetColSize(self, int col, int width)"""
+ return _grid.Grid_SetColSize(*args, **kwargs)
+
+ def GetColAt(*args, **kwargs):
+ """GetColAt(self, int colPos) -> int"""
+ return _grid.Grid_GetColAt(*args, **kwargs)
+
+ def SetColPos(*args, **kwargs):
+ """SetColPos(self, int colID, int newPos)"""
+ return _grid.Grid_SetColPos(*args, **kwargs)
+
+ def GetColPos(*args, **kwargs):
+ """GetColPos(self, int colID) -> int"""
+ return _grid.Grid_GetColPos(*args, **kwargs)
+
+ def AutoSizeColumn(*args, **kwargs):
+ """AutoSizeColumn(self, int col, bool setAsMin=True)"""
+ return _grid.Grid_AutoSizeColumn(*args, **kwargs)
+
+ def AutoSizeRow(*args, **kwargs):
+ """AutoSizeRow(self, int row, bool setAsMin=True)"""
+ return _grid.Grid_AutoSizeRow(*args, **kwargs)
+
+ def AutoSizeColumns(*args, **kwargs):
+ """AutoSizeColumns(self, bool setAsMin=True)"""
+ return _grid.Grid_AutoSizeColumns(*args, **kwargs)
+
+ def AutoSizeRows(*args, **kwargs):
+ """AutoSizeRows(self, bool setAsMin=True)"""
+ return _grid.Grid_AutoSizeRows(*args, **kwargs)
+
+ def AutoSize(*args, **kwargs):
+ """AutoSize(self)"""
+ return _grid.Grid_AutoSize(*args, **kwargs)
+
+ def AutoSizeRowLabelSize(*args, **kwargs):
+ """AutoSizeRowLabelSize(self, int row)"""
+ return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs)
+
+ def AutoSizeColLabelSize(*args, **kwargs):
+ """AutoSizeColLabelSize(self, int col)"""
+ return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs)
+
+ def SetColMinimalWidth(*args, **kwargs):
+ """SetColMinimalWidth(self, int col, int width)"""
+ return _grid.Grid_SetColMinimalWidth(*args, **kwargs)
+
+ def SetRowMinimalHeight(*args, **kwargs):
+ """SetRowMinimalHeight(self, int row, int width)"""
+ return _grid.Grid_SetRowMinimalHeight(*args, **kwargs)
+
+ def SetColMinimalAcceptableWidth(*args, **kwargs):
+ """SetColMinimalAcceptableWidth(self, int width)"""
+ return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs)
+
+ def SetRowMinimalAcceptableHeight(*args, **kwargs):
+ """SetRowMinimalAcceptableHeight(self, int width)"""
+ return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs)
+
+ def GetColMinimalAcceptableWidth(*args, **kwargs):
+ """GetColMinimalAcceptableWidth(self) -> int"""
+ return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs)
+
+ def GetRowMinimalAcceptableHeight(*args, **kwargs):
+ """GetRowMinimalAcceptableHeight(self) -> int"""
+ return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs)
+
+ def SetDefaultCellBackgroundColour(*args, **kwargs):
+ """SetDefaultCellBackgroundColour(self, Colour ?)"""
+ return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs)
+
+ def SetCellBackgroundColour(*args, **kwargs):
+ """SetCellBackgroundColour(self, int row, int col, Colour ?)"""
+ return _grid.Grid_SetCellBackgroundColour(*args, **kwargs)
+
+ def SetDefaultCellTextColour(*args, **kwargs):
+ """SetDefaultCellTextColour(self, Colour ?)"""
+ return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs)
+
+ def SetCellTextColour(*args, **kwargs):
+ """SetCellTextColour(self, int row, int col, Colour ?)"""
+ return _grid.Grid_SetCellTextColour(*args, **kwargs)
+
+ def SetDefaultCellFont(*args, **kwargs):
+ """SetDefaultCellFont(self, Font ?)"""
+ return _grid.Grid_SetDefaultCellFont(*args, **kwargs)
+
+ def SetCellFont(*args, **kwargs):
+ """SetCellFont(self, int row, int col, Font ?)"""
+ return _grid.Grid_SetCellFont(*args, **kwargs)
+
+ def SetDefaultCellAlignment(*args, **kwargs):
+ """SetDefaultCellAlignment(self, int horiz, int vert)"""
+ return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs)
+
+ def SetCellAlignment(*args, **kwargs):
+ """SetCellAlignment(self, int row, int col, int horiz, int vert)"""
+ return _grid.Grid_SetCellAlignment(*args, **kwargs)
+
+ def SetDefaultCellOverflow(*args, **kwargs):
+ """SetDefaultCellOverflow(self, bool allow)"""
+ return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs)
+
+ def SetCellOverflow(*args, **kwargs):
+ """SetCellOverflow(self, int row, int col, bool allow)"""
+ return _grid.Grid_SetCellOverflow(*args, **kwargs)
+
+ def SetCellSize(*args, **kwargs):
+ """SetCellSize(self, int row, int col, int num_rows, int num_cols)"""
+ return _grid.Grid_SetCellSize(*args, **kwargs)
+
+ def SetDefaultRenderer(*args, **kwargs):
+ """SetDefaultRenderer(self, GridCellRenderer renderer)"""
+ return _grid.Grid_SetDefaultRenderer(*args, **kwargs)
+
+ def SetCellRenderer(*args, **kwargs):
+ """SetCellRenderer(self, int row, int col, GridCellRenderer renderer)"""
+ return _grid.Grid_SetCellRenderer(*args, **kwargs)
+
+ def GetDefaultRenderer(*args, **kwargs):
+ """GetDefaultRenderer(self) -> GridCellRenderer"""
+ return _grid.Grid_GetDefaultRenderer(*args, **kwargs)
+
+ def GetCellRenderer(*args, **kwargs):
+ """GetCellRenderer(self, int row, int col) -> GridCellRenderer"""
+ return _grid.Grid_GetCellRenderer(*args, **kwargs)
+
+ def SetDefaultEditor(*args, **kwargs):
+ """SetDefaultEditor(self, GridCellEditor editor)"""
+ return _grid.Grid_SetDefaultEditor(*args, **kwargs)
+
+ def SetCellEditor(*args, **kwargs):
+ """SetCellEditor(self, int row, int col, GridCellEditor editor)"""
+ return _grid.Grid_SetCellEditor(*args, **kwargs)
+
+ def GetDefaultEditor(*args, **kwargs):
+ """GetDefaultEditor(self) -> GridCellEditor"""
+ return _grid.Grid_GetDefaultEditor(*args, **kwargs)
+
+ def GetCellEditor(*args, **kwargs):
+ """GetCellEditor(self, int row, int col) -> GridCellEditor"""
+ return _grid.Grid_GetCellEditor(*args, **kwargs)
+
+ def GetCellValue(*args, **kwargs):
+ """GetCellValue(self, int row, int col) -> String"""
+ return _grid.Grid_GetCellValue(*args, **kwargs)
+
+ def SetCellValue(*args, **kwargs):
+ """SetCellValue(self, int row, int col, String s)"""
+ return _grid.Grid_SetCellValue(*args, **kwargs)
+
+ def IsReadOnly(*args, **kwargs):
+ """IsReadOnly(self, int row, int col) -> bool"""
+ return _grid.Grid_IsReadOnly(*args, **kwargs)
+
+ def SetReadOnly(*args, **kwargs):
+ """SetReadOnly(self, int row, int col, bool isReadOnly=True)"""
+ return _grid.Grid_SetReadOnly(*args, **kwargs)
+
+ def SelectRow(*args, **kwargs):
+ """SelectRow(self, int row, bool addToSelected=False)"""
+ return _grid.Grid_SelectRow(*args, **kwargs)
+
+ def SelectCol(*args, **kwargs):
+ """SelectCol(self, int col, bool addToSelected=False)"""
+ return _grid.Grid_SelectCol(*args, **kwargs)
+
+ def SelectBlock(*args, **kwargs):
+ """
+ SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol,
+ bool addToSelected=False)
+ """
+ return _grid.Grid_SelectBlock(*args, **kwargs)
+
+ def SelectAll(*args, **kwargs):
+ """SelectAll(self)"""
+ return _grid.Grid_SelectAll(*args, **kwargs)
+
+ def IsSelection(*args, **kwargs):
+ """IsSelection(self) -> bool"""
+ return _grid.Grid_IsSelection(*args, **kwargs)
+
+ def ClearSelection(*args, **kwargs):
+ """ClearSelection(self)"""
+ return _grid.Grid_ClearSelection(*args, **kwargs)
+
+ def IsInSelection(*args, **kwargs):
+ """IsInSelection(self, int row, int col) -> bool"""
+ return _grid.Grid_IsInSelection(*args, **kwargs)
+
+ def GetSelectedCells(*args, **kwargs):
+ """GetSelectedCells(self) -> wxGridCellCoordsArray"""
+ return _grid.Grid_GetSelectedCells(*args, **kwargs)
+
+ def GetSelectionBlockTopLeft(*args, **kwargs):
+ """GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray"""
+ return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs)
+
+ def GetSelectionBlockBottomRight(*args, **kwargs):
+ """GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray"""
+ return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs)
+
+ def GetSelectedRows(*args, **kwargs):
+ """GetSelectedRows(self) -> wxArrayInt"""
+ return _grid.Grid_GetSelectedRows(*args, **kwargs)
+
+ def GetSelectedCols(*args, **kwargs):
+ """GetSelectedCols(self) -> wxArrayInt"""
+ return _grid.Grid_GetSelectedCols(*args, **kwargs)
+
+ def DeselectRow(*args, **kwargs):
+ """DeselectRow(self, int row)"""
+ return _grid.Grid_DeselectRow(*args, **kwargs)
+
+ def DeselectCol(*args, **kwargs):
+ """DeselectCol(self, int col)"""
+ return _grid.Grid_DeselectCol(*args, **kwargs)
+
+ def DeselectCell(*args, **kwargs):
+ """DeselectCell(self, int row, int col)"""
+ return _grid.Grid_DeselectCell(*args, **kwargs)
+
+ def BlockToDeviceRect(*args, **kwargs):
+ """BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect"""
+ return _grid.Grid_BlockToDeviceRect(*args, **kwargs)
+
+ def GetSelectionBackground(*args, **kwargs):
+ """GetSelectionBackground(self) -> Colour"""
+ return _grid.Grid_GetSelectionBackground(*args, **kwargs)
+
+ def GetSelectionForeground(*args, **kwargs):
+ """GetSelectionForeground(self) -> Colour"""
+ return _grid.Grid_GetSelectionForeground(*args, **kwargs)
+
+ def SetSelectionBackground(*args, **kwargs):
+ """SetSelectionBackground(self, Colour c)"""
+ return _grid.Grid_SetSelectionBackground(*args, **kwargs)
+
+ def SetSelectionForeground(*args, **kwargs):
+ """SetSelectionForeground(self, Colour c)"""
+ return _grid.Grid_SetSelectionForeground(*args, **kwargs)
+
+ def RegisterDataType(*args, **kwargs):
+ """RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)"""
+ return _grid.Grid_RegisterDataType(*args, **kwargs)
+
+ def GetDefaultEditorForCell(*args, **kwargs):
+ """GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor"""
+ return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs)
+
+ def GetDefaultRendererForCell(*args, **kwargs):
+ """GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer"""
+ return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs)
+
+ def GetDefaultEditorForType(*args, **kwargs):
+ """GetDefaultEditorForType(self, String typeName) -> GridCellEditor"""
+ return _grid.Grid_GetDefaultEditorForType(*args, **kwargs)
+
+ def GetDefaultRendererForType(*args, **kwargs):
+ """GetDefaultRendererForType(self, String typeName) -> GridCellRenderer"""
+ return _grid.Grid_GetDefaultRendererForType(*args, **kwargs)
+
+ def SetMargins(*args, **kwargs):
+ """SetMargins(self, int extraWidth, int extraHeight)"""
+ return _grid.Grid_SetMargins(*args, **kwargs)
+
+ def GetGridWindow(*args, **kwargs):
+ """GetGridWindow(self) -> Window"""
+ return _grid.Grid_GetGridWindow(*args, **kwargs)
+
+ def GetGridRowLabelWindow(*args, **kwargs):
+ """GetGridRowLabelWindow(self) -> Window"""
+ return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs)
+
+ def GetGridColLabelWindow(*args, **kwargs):
+ """GetGridColLabelWindow(self) -> Window"""
+ return _grid.Grid_GetGridColLabelWindow(*args, **kwargs)
+
+ def GetGridCornerLabelWindow(*args, **kwargs):
+ """GetGridCornerLabelWindow(self) -> Window"""
+ return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs)
+
+ def SetScrollLineX(*args, **kwargs):
+ """SetScrollLineX(self, int x)"""
+ return _grid.Grid_SetScrollLineX(*args, **kwargs)
+
+ def SetScrollLineY(*args, **kwargs):
+ """SetScrollLineY(self, int y)"""
+ return _grid.Grid_SetScrollLineY(*args, **kwargs)
+
+ def GetScrollLineX(*args, **kwargs):
+ """GetScrollLineX(self) -> int"""
+ return _grid.Grid_GetScrollLineX(*args, **kwargs)
+
+ def GetScrollLineY(*args, **kwargs):
+ """GetScrollLineY(self) -> int"""
+ return _grid.Grid_GetScrollLineY(*args, **kwargs)
+
+ def GetScrollX(*args, **kwargs):
+ """GetScrollX(self, int x) -> int"""
+ return _grid.Grid_GetScrollX(*args, **kwargs)
+
+ def GetScrollY(*args, **kwargs):
+ """GetScrollY(self, int y) -> int"""
+ return _grid.Grid_GetScrollY(*args, **kwargs)
+
+ def GetClassDefaultAttributes(*args, **kwargs):
+ """
+ GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if you want
+ to use the same font or colour in your own control as in a standard
+ control -- which is a much better idea than hard coding specific
+ colours or fonts which might look completely out of place on the
+ user's system, especially if it uses themes.
+
+ The variant parameter is only relevant under Mac currently and is
+ ignore under other platforms. Under Mac, it will change the size of
+ the returned font. See `wx.Window.SetWindowVariant` for more about
+ this.
+ """
+ return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
+
+ GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
+ BatchCount = property(GetBatchCount,doc="See `GetBatchCount`")
+ CellHighlightColour = property(GetCellHighlightColour,SetCellHighlightColour,doc="See `GetCellHighlightColour` and `SetCellHighlightColour`")
+ CellHighlightPenWidth = property(GetCellHighlightPenWidth,SetCellHighlightPenWidth,doc="See `GetCellHighlightPenWidth` and `SetCellHighlightPenWidth`")
+ CellHighlightROPenWidth = property(GetCellHighlightROPenWidth,SetCellHighlightROPenWidth,doc="See `GetCellHighlightROPenWidth` and `SetCellHighlightROPenWidth`")
+ CellSize = property(GetCellSize,SetCellSize,doc="See `GetCellSize` and `SetCellSize`")
+ ColLabelAlignment = property(GetColLabelAlignment,SetColLabelAlignment,doc="See `GetColLabelAlignment` and `SetColLabelAlignment`")
+ ColLabelSize = property(GetColLabelSize,SetColLabelSize,doc="See `GetColLabelSize` and `SetColLabelSize`")
+ ColLabelTextOrientation = property(GetColLabelTextOrientation,SetColLabelTextOrientation,doc="See `GetColLabelTextOrientation` and `SetColLabelTextOrientation`")
+ ColMinimalAcceptableWidth = property(GetColMinimalAcceptableWidth,SetColMinimalAcceptableWidth,doc="See `GetColMinimalAcceptableWidth` and `SetColMinimalAcceptableWidth`")
+ DefaultCellAlignment = property(GetDefaultCellAlignment,SetDefaultCellAlignment,doc="See `GetDefaultCellAlignment` and `SetDefaultCellAlignment`")
+ DefaultCellBackgroundColour = property(GetDefaultCellBackgroundColour,SetDefaultCellBackgroundColour,doc="See `GetDefaultCellBackgroundColour` and `SetDefaultCellBackgroundColour`")
+ DefaultCellFont = property(GetDefaultCellFont,SetDefaultCellFont,doc="See `GetDefaultCellFont` and `SetDefaultCellFont`")
+ DefaultCellOverflow = property(GetDefaultCellOverflow,SetDefaultCellOverflow,doc="See `GetDefaultCellOverflow` and `SetDefaultCellOverflow`")
+ DefaultCellTextColour = property(GetDefaultCellTextColour,SetDefaultCellTextColour,doc="See `GetDefaultCellTextColour` and `SetDefaultCellTextColour`")
+ DefaultColLabelSize = property(GetDefaultColLabelSize,doc="See `GetDefaultColLabelSize`")
+ DefaultColSize = property(GetDefaultColSize,SetDefaultColSize,doc="See `GetDefaultColSize` and `SetDefaultColSize`")
+ DefaultEditor = property(GetDefaultEditor,SetDefaultEditor,doc="See `GetDefaultEditor` and `SetDefaultEditor`")
+ DefaultGridLinePen = property(GetDefaultGridLinePen,doc="See `GetDefaultGridLinePen`")
+ DefaultRenderer = property(GetDefaultRenderer,SetDefaultRenderer,doc="See `GetDefaultRenderer` and `SetDefaultRenderer`")
+ DefaultRowLabelSize = property(GetDefaultRowLabelSize,doc="See `GetDefaultRowLabelSize`")
+ DefaultRowSize = property(GetDefaultRowSize,SetDefaultRowSize,doc="See `GetDefaultRowSize` and `SetDefaultRowSize`")
+ GridColLabelWindow = property(GetGridColLabelWindow,doc="See `GetGridColLabelWindow`")
+ GridCornerLabelWindow = property(GetGridCornerLabelWindow,doc="See `GetGridCornerLabelWindow`")
+ GridCursorCol = property(GetGridCursorCol,doc="See `GetGridCursorCol`")
+ GridCursorRow = property(GetGridCursorRow,doc="See `GetGridCursorRow`")
+ GridLineColour = property(GetGridLineColour,SetGridLineColour,doc="See `GetGridLineColour` and `SetGridLineColour`")
+ GridRowLabelWindow = property(GetGridRowLabelWindow,doc="See `GetGridRowLabelWindow`")
+ GridWindow = property(GetGridWindow,doc="See `GetGridWindow`")
+ LabelBackgroundColour = property(GetLabelBackgroundColour,SetLabelBackgroundColour,doc="See `GetLabelBackgroundColour` and `SetLabelBackgroundColour`")
+ LabelFont = property(GetLabelFont,SetLabelFont,doc="See `GetLabelFont` and `SetLabelFont`")
+ LabelTextColour = property(GetLabelTextColour,SetLabelTextColour,doc="See `GetLabelTextColour` and `SetLabelTextColour`")
+ NumberCols = property(GetNumberCols,doc="See `GetNumberCols`")
+ NumberRows = property(GetNumberRows,doc="See `GetNumberRows`")
+ RowLabelAlignment = property(GetRowLabelAlignment,SetRowLabelAlignment,doc="See `GetRowLabelAlignment` and `SetRowLabelAlignment`")
+ RowLabelSize = property(GetRowLabelSize,SetRowLabelSize,doc="See `GetRowLabelSize` and `SetRowLabelSize`")
+ RowMinimalAcceptableHeight = property(GetRowMinimalAcceptableHeight,SetRowMinimalAcceptableHeight,doc="See `GetRowMinimalAcceptableHeight` and `SetRowMinimalAcceptableHeight`")
+ ScrollLineX = property(GetScrollLineX,SetScrollLineX,doc="See `GetScrollLineX` and `SetScrollLineX`")
+ ScrollLineY = property(GetScrollLineY,SetScrollLineY,doc="See `GetScrollLineY` and `SetScrollLineY`")
+ SelectedCells = property(GetSelectedCells,doc="See `GetSelectedCells`")
+ SelectedCols = property(GetSelectedCols,doc="See `GetSelectedCols`")
+ SelectedRows = property(GetSelectedRows,doc="See `GetSelectedRows`")
+ SelectionBackground = property(GetSelectionBackground,SetSelectionBackground,doc="See `GetSelectionBackground` and `SetSelectionBackground`")
+ SelectionBlockBottomRight = property(GetSelectionBlockBottomRight,doc="See `GetSelectionBlockBottomRight`")
+ SelectionBlockTopLeft = property(GetSelectionBlockTopLeft,doc="See `GetSelectionBlockTopLeft`")
+ SelectionForeground = property(GetSelectionForeground,SetSelectionForeground,doc="See `GetSelectionForeground` and `SetSelectionForeground`")
+ SelectionMode = property(GetSelectionMode,SetSelectionMode,doc="See `GetSelectionMode` and `SetSelectionMode`")
+ Table = property(GetTable,SetTable,doc="See `GetTable` and `SetTable`")
+_grid.Grid_swigregister(Grid)
+
+def PreGrid(*args, **kwargs):
+ """PreGrid() -> Grid"""
+ val = _grid.new_PreGrid(*args, **kwargs)
+ return val
+
+def Grid_GetClassDefaultAttributes(*args, **kwargs):
+ """
+ Grid_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes
+
+ Get the default attributes for this class. This is useful if you want
+ to use the same font or colour in your own control as in a standard
+ control -- which is a much better idea than hard coding specific
+ colours or fonts which might look completely out of place on the
+ user's system, especially if it uses themes.
+
+ The variant parameter is only relevant under Mac currently and is
+ ignore under other platforms. Under Mac, it will change the size of
+ the returned font. See `wx.Window.SetWindowVariant` for more about
+ this.
+ """
+ return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs)
+
+class GridEvent(_core.NotifyEvent):
+ """Proxy of C++ GridEvent class"""
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, int id, EventType type, Grid obj, int row=-1, int col=-1,
+ int x=-1, int y=-1, bool sel=True, bool control=False,
+ bool shift=False, bool alt=False,
+ bool meta=False) -> GridEvent
+ """
+ _grid.GridEvent_swiginit(self,_grid.new_GridEvent(*args, **kwargs))
+ def GetRow(*args, **kwargs):
+ """GetRow(self) -> int"""
+ return _grid.GridEvent_GetRow(*args, **kwargs)
+
+ def GetCol(*args, **kwargs):
+ """GetCol(self) -> int"""
+ return _grid.GridEvent_GetCol(*args, **kwargs)
+
+ def GetPosition(*args, **kwargs):
+ """GetPosition(self) -> Point"""
+ return _grid.GridEvent_GetPosition(*args, **kwargs)
+
+ def Selecting(*args, **kwargs):
+ """Selecting(self) -> bool"""
+ return _grid.GridEvent_Selecting(*args, **kwargs)
+
+ def ControlDown(*args, **kwargs):
+ """ControlDown(self) -> bool"""
+ return _grid.GridEvent_ControlDown(*args, **kwargs)
+
+ def MetaDown(*args, **kwargs):
+ """MetaDown(self) -> bool"""
+ return _grid.GridEvent_MetaDown(*args, **kwargs)
+
+ def ShiftDown(*args, **kwargs):
+ """ShiftDown(self) -> bool"""
+ return _grid.GridEvent_ShiftDown(*args, **kwargs)
+
+ def AltDown(*args, **kwargs):
+ """AltDown(self) -> bool"""
+ return _grid.GridEvent_AltDown(*args, **kwargs)
+
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _grid.GridEvent_CmdDown(*args, **kwargs)
+
+ Col = property(GetCol,doc="See `GetCol`")
+ Position = property(GetPosition,doc="See `GetPosition`")
+ Row = property(GetRow,doc="See `GetRow`")
+_grid.GridEvent_swigregister(GridEvent)
+
+class GridSizeEvent(_core.NotifyEvent):
+ """Proxy of C++ GridSizeEvent class"""
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, int id, EventType type, Grid obj, int rowOrCol=-1,
+ int x=-1, int y=-1, bool control=False, bool shift=False,
+ bool alt=False, bool meta=False) -> GridSizeEvent
+ """
+ _grid.GridSizeEvent_swiginit(self,_grid.new_GridSizeEvent(*args, **kwargs))
+ def GetRowOrCol(*args, **kwargs):
+ """GetRowOrCol(self) -> int"""
+ return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs)
+
+ def GetPosition(*args, **kwargs):
+ """GetPosition(self) -> Point"""
+ return _grid.GridSizeEvent_GetPosition(*args, **kwargs)
+
+ def ControlDown(*args, **kwargs):
+ """ControlDown(self) -> bool"""
+ return _grid.GridSizeEvent_ControlDown(*args, **kwargs)
+
+ def MetaDown(*args, **kwargs):
+ """MetaDown(self) -> bool"""
+ return _grid.GridSizeEvent_MetaDown(*args, **kwargs)
+
+ def ShiftDown(*args, **kwargs):
+ """ShiftDown(self) -> bool"""
+ return _grid.GridSizeEvent_ShiftDown(*args, **kwargs)
+
+ def AltDown(*args, **kwargs):
+ """AltDown(self) -> bool"""
+ return _grid.GridSizeEvent_AltDown(*args, **kwargs)
+
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _grid.GridSizeEvent_CmdDown(*args, **kwargs)
+
+ Position = property(GetPosition,doc="See `GetPosition`")
+ RowOrCol = property(GetRowOrCol,doc="See `GetRowOrCol`")
+_grid.GridSizeEvent_swigregister(GridSizeEvent)
+
+class GridRangeSelectEvent(_core.NotifyEvent):
+ """Proxy of C++ GridRangeSelectEvent class"""
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, int id, EventType type, Grid obj, GridCellCoords topLeft,
+ GridCellCoords bottomRight, bool sel=True,
+ bool control=False, bool shift=False, bool alt=False,
+ bool meta=False) -> GridRangeSelectEvent
+ """
+ _grid.GridRangeSelectEvent_swiginit(self,_grid.new_GridRangeSelectEvent(*args, **kwargs))
+ def GetTopLeftCoords(*args, **kwargs):
+ """GetTopLeftCoords(self) -> GridCellCoords"""
+ return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs)
+
+ def GetBottomRightCoords(*args, **kwargs):
+ """GetBottomRightCoords(self) -> GridCellCoords"""
+ return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs)
+
+ def GetTopRow(*args, **kwargs):
+ """GetTopRow(self) -> int"""
+ return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs)
+
+ def GetBottomRow(*args, **kwargs):
+ """GetBottomRow(self) -> int"""
+ return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs)
+
+ def GetLeftCol(*args, **kwargs):
+ """GetLeftCol(self) -> int"""
+ return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs)
+
+ def GetRightCol(*args, **kwargs):
+ """GetRightCol(self) -> int"""
+ return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs)
+
+ def Selecting(*args, **kwargs):
+ """Selecting(self) -> bool"""
+ return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs)
+
+ def ControlDown(*args, **kwargs):
+ """ControlDown(self) -> bool"""
+ return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs)
+
+ def MetaDown(*args, **kwargs):
+ """MetaDown(self) -> bool"""
+ return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs)
+
+ def ShiftDown(*args, **kwargs):
+ """ShiftDown(self) -> bool"""
+ return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs)
+
+ def AltDown(*args, **kwargs):
+ """AltDown(self) -> bool"""
+ return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs)
+
+ def CmdDown(*args, **kwargs):
+ """CmdDown(self) -> bool"""
+ return _grid.GridRangeSelectEvent_CmdDown(*args, **kwargs)
+
+ BottomRightCoords = property(GetBottomRightCoords,doc="See `GetBottomRightCoords`")
+ BottomRow = property(GetBottomRow,doc="See `GetBottomRow`")
+ LeftCol = property(GetLeftCol,doc="See `GetLeftCol`")
+ RightCol = property(GetRightCol,doc="See `GetRightCol`")
+ TopLeftCoords = property(GetTopLeftCoords,doc="See `GetTopLeftCoords`")
+ TopRow = property(GetTopRow,doc="See `GetTopRow`")
+_grid.GridRangeSelectEvent_swigregister(GridRangeSelectEvent)
+
+class GridEditorCreatedEvent(_core.CommandEvent):
+ """Proxy of C++ GridEditorCreatedEvent class"""
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, int id, EventType type, Object obj, int row, int col,
+ Control ctrl) -> GridEditorCreatedEvent
+ """
+ _grid.GridEditorCreatedEvent_swiginit(self,_grid.new_GridEditorCreatedEvent(*args, **kwargs))
+ def GetRow(*args, **kwargs):
+ """GetRow(self) -> int"""
+ return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs)
+
+ def GetCol(*args, **kwargs):
+ """GetCol(self) -> int"""
+ return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs)
+
+ def GetControl(*args, **kwargs):
+ """GetControl(self) -> Control"""
+ return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs)
+
+ def SetRow(*args, **kwargs):
+ """SetRow(self, int row)"""
+ return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs)
+
+ def SetCol(*args, **kwargs):
+ """SetCol(self, int col)"""
+ return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs)
+
+ def SetControl(*args, **kwargs):
+ """SetControl(self, Control ctrl)"""
+ return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs)
+
+ Col = property(GetCol,SetCol,doc="See `GetCol` and `SetCol`")
+ Control = property(GetControl,SetControl,doc="See `GetControl` and `SetControl`")
+ Row = property(GetRow,SetRow,doc="See `GetRow` and `SetRow`")
+_grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEvent)