wx.grid.Grid
Proxy of C++ Grid class

AppendCols(args, kwargs)
AppendCols(self, int numCols=1, bool updateLabels=True) -> bool

AppendRows(args, kwargs)
AppendRows(self, int numRows=1, bool updateLabels=True) -> bool

AutoSize(args, kwargs)
AutoSize(self)

AutoSizeColLabelSize(args, kwargs)
AutoSizeColLabelSize(self, int col)

AutoSizeColumn(args, kwargs)
AutoSizeColumn(self, int col, bool setAsMin=True)

AutoSizeColumns(args, kwargs)
AutoSizeColumns(self, bool setAsMin=True)

AutoSizeRow(args, kwargs)
AutoSizeRow(self, int row, bool setAsMin=True)

AutoSizeRowLabelSize(args, kwargs)
AutoSizeRowLabelSize(self, int row)

AutoSizeRows(args, kwargs)
AutoSizeRows(self, bool setAsMin=True)

BeginBatch(args, kwargs)
BeginBatch(self)

BlockToDeviceRect(args, kwargs)
BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect

CanDragCell(args, kwargs)
CanDragCell(self) -> bool

CanDragColSize(args, kwargs)
CanDragColSize(self) -> bool

CanDragGridSize(args, kwargs)
CanDragGridSize(self) -> bool

CanDragRowSize(args, kwargs)
CanDragRowSize(self) -> bool

CanEnableCellControl(args, kwargs)
CanEnableCellControl(self) -> bool

CellToRect(args, kwargs)
CellToRect(self, int row, int col) -> Rect

ClearGrid(args, kwargs)
ClearGrid(self)

ClearSelection(args, kwargs)
ClearSelection(self)

Create(args, kwargs)
Create(self, Window parent, int id=-1, Point pos=DefaultPosition, Size size=DefaultSize, long style=WANTS_CHARS, String name=PanelNameStr) -> bool

CreateGrid(args, kwargs)
CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool

DeleteCols(args, kwargs)
DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool

DeleteRows(args, kwargs)
DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool

DeselectCell(args, kwargs)
DeselectCell(self, int row, int col)

DeselectCol(args, kwargs)
DeselectCol(self, int col)

DeselectRow(args, kwargs)
DeselectRow(self, int row)

DisableCellEditControl(args, kwargs)
DisableCellEditControl(self)

DisableDragCell(args, kwargs)
DisableDragCell(self)

DisableDragColSize(args, kwargs)
DisableDragColSize(self)

DisableDragGridSize(args, kwargs)
DisableDragGridSize(self)

DisableDragRowSize(args, kwargs)
DisableDragRowSize(self)

DrawCellHighlight(args, kwargs)
DrawCellHighlight(self, DC dc, GridCellAttr attr)

DrawTextRectangle(args, kwargs)
DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, int verticalAlignment=TOP, int textOrientation=HORIZONTAL)

EnableCellEditControl(args, kwargs)
EnableCellEditControl(self, bool enable=True)

EnableDragCell(args, kwargs)
EnableDragCell(self, bool enable=True)

EnableDragColSize(args, kwargs)
EnableDragColSize(self, bool enable=True)

EnableDragGridSize(args, kwargs)
EnableDragGridSize(self, bool enable=True)

EnableDragRowSize(args, kwargs)
EnableDragRowSize(self, bool enable=True)

EnableEditing(args, kwargs)
EnableEditing(self, bool edit)

EnableGridLines(args, kwargs)
EnableGridLines(self, bool enable=True)

EndBatch(args, kwargs)
EndBatch(self)

ForceRefresh(args, kwargs)
ForceRefresh(self)

GetBatchCount(args, kwargs)
GetBatchCount(self) -> int

GetCellAlignment(args, kwargs)
GetCellAlignment() -> (horiz, vert)

GetCellBackgroundColour(args, kwargs)
GetCellBackgroundColour(self, int row, int col) -> Colour

GetCellEditor(args, kwargs)
GetCellEditor(self, int row, int col) -> GridCellEditor

GetCellFont(args, kwargs)
GetCellFont(self, int row, int col) -> Font

GetCellHighlightColour(args, kwargs)
GetCellHighlightColour(self) -> Colour

GetCellHighlightPenWidth(args, kwargs)
GetCellHighlightPenWidth(self) -> int

GetCellHighlightROPenWidth(args, kwargs)
GetCellHighlightROPenWidth(self) -> int

GetCellOverflow(args, kwargs)
GetCellOverflow(self, int row, int col) -> bool

GetCellRenderer(args, kwargs)
GetCellRenderer(self, int row, int col) -> GridCellRenderer

GetCellSize(args, kwargs)
GetCellSize(int row, int col) -> (num_rows, num_cols)

GetCellTextColour(args, kwargs)
GetCellTextColour(self, int row, int col) -> Colour

GetCellValue(args, kwargs)
GetCellValue(self, int row, int col) -> String

GetClassDefaultAttributes
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.

GetColLabelAlignment(args, kwargs)
GetColLabelAlignment() -> (horiz, vert)

GetColLabelSize(args, kwargs)
GetColLabelSize(self) -> int

GetColLabelTextOrientation(args, kwargs)
GetColLabelTextOrientation(self) -> int

GetColLabelValue(args, kwargs)
GetColLabelValue(self, int col) -> String

GetColMinimalAcceptableWidth(args, kwargs)
GetColMinimalAcceptableWidth(self) -> int

GetColSize(args, kwargs)
GetColSize(self, int col) -> int

GetDefaultCellAlignment(args, kwargs)
GetDefaultCellAlignment() -> (horiz, vert)

GetDefaultCellBackgroundColour(args, kwargs)
GetDefaultCellBackgroundColour(self) -> Colour

GetDefaultCellFont(args, kwargs)
GetDefaultCellFont(self) -> Font

GetDefaultCellOverflow(args, kwargs)
GetDefaultCellOverflow(self) -> bool

GetDefaultCellTextColour(args, kwargs)
GetDefaultCellTextColour(self) -> Colour

GetDefaultColLabelSize(args, kwargs)
GetDefaultColLabelSize(self) -> int

GetDefaultColSize(args, kwargs)
GetDefaultColSize(self) -> int

GetDefaultEditor(args, kwargs)
GetDefaultEditor(self) -> GridCellEditor

GetDefaultEditorForCell(args, kwargs)
GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor

GetDefaultEditorForType(args, kwargs)
GetDefaultEditorForType(self, String typeName) -> GridCellEditor

GetDefaultRenderer(args, kwargs)
GetDefaultRenderer(self) -> GridCellRenderer

GetDefaultRendererForCell(args, kwargs)
GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer

GetDefaultRendererForType(args, kwargs)
GetDefaultRendererForType(self, String typeName) -> GridCellRenderer

GetDefaultRowLabelSize(args, kwargs)
GetDefaultRowLabelSize(self) -> int

GetDefaultRowSize(args, kwargs)
GetDefaultRowSize(self) -> int

GetGridColLabelWindow(args, kwargs)
GetGridColLabelWindow(self) -> Window

GetGridCornerLabelWindow(args, kwargs)
GetGridCornerLabelWindow(self) -> Window

GetGridCursorCol(args, kwargs)
GetGridCursorCol(self) -> int

GetGridCursorRow(args, kwargs)
GetGridCursorRow(self) -> int

GetGridLineColour(args, kwargs)
GetGridLineColour(self) -> Colour

GetGridRowLabelWindow(args, kwargs)
GetGridRowLabelWindow(self) -> Window

GetGridWindow(args, kwargs)
GetGridWindow(self) -> Window

GetLabelBackgroundColour(args, kwargs)
GetLabelBackgroundColour(self) -> Colour

GetLabelFont(args, kwargs)
GetLabelFont(self) -> Font

GetLabelTextColour(args, kwargs)
GetLabelTextColour(self) -> Colour

GetNumberCols(args, kwargs)
GetNumberCols(self) -> int

GetNumberRows(args, kwargs)
GetNumberRows(self) -> int

GetOrCreateCellAttr(args, kwargs)
GetOrCreateCellAttr(self, int row, int col) -> GridCellAttr

GetRowLabelAlignment(args, kwargs)
GetRowLabelAlignment() -> (horiz, vert)

GetRowLabelSize(args, kwargs)
GetRowLabelSize(self) -> int

GetRowLabelValue(args, kwargs)
GetRowLabelValue(self, int row) -> String

GetRowMinimalAcceptableHeight(args, kwargs)
GetRowMinimalAcceptableHeight(self) -> int

GetRowSize(args, kwargs)
GetRowSize(self, int row) -> int

GetScrollLineX(args, kwargs)
GetScrollLineX(self) -> int

GetScrollLineY(args, kwargs)
GetScrollLineY(self) -> int

GetScrollX(args, kwargs)
GetScrollX(self, int x) -> int

GetScrollY(args, kwargs)
GetScrollY(self, int y) -> int

GetSelectedCells(args, kwargs)
GetSelectedCells(self) -> wxGridCellCoordsArray

GetSelectedCols(args, kwargs)
GetSelectedCols(self) -> wxArrayInt

GetSelectedRows(args, kwargs)
GetSelectedRows(self) -> wxArrayInt

GetSelectionBackground(args, kwargs)
GetSelectionBackground(self) -> Colour

GetSelectionBlockBottomRight(args, kwargs)
GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray

GetSelectionBlockTopLeft(args, kwargs)
GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray

GetSelectionForeground(args, kwargs)
GetSelectionForeground(self) -> Colour

GetSelectionMode(args, kwargs)
GetSelectionMode(self) -> WXGRIDSELECTIONMODES

GetTable(args, kwargs)
GetTable(self) -> GridTableBase

GetTextBoxSize(args, kwargs)
GetTextBoxSize(DC dc, list lines) -> (width, height)

GridLinesEnabled(args, kwargs)
GridLinesEnabled(self) -> bool

HideCellEditControl(args, kwargs)
HideCellEditControl(self)

InsertCols(args, kwargs)
InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool

InsertRows(args, kwargs)
InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool

IsCellEditControlEnabled(args, kwargs)
IsCellEditControlEnabled(self) -> bool

IsCellEditControlShown(args, kwargs)
IsCellEditControlShown(self) -> bool

IsCurrentCellReadOnly(args, kwargs)
IsCurrentCellReadOnly(self) -> bool

IsEditable(args, kwargs)
IsEditable(self) -> bool

IsInSelection(args, kwargs)
IsInSelection(self, int row, int col) -> bool

IsReadOnly(args, kwargs)
IsReadOnly(self, int row, int col) -> bool

IsSelection(args, kwargs)
IsSelection(self) -> bool

IsVisible(args, kwargs)
IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool

MakeCellVisible(args, kwargs)
MakeCellVisible(self, int row, int col)

MoveCursorDown(args, kwargs)
MoveCursorDown(self, bool expandSelection) -> bool

MoveCursorDownBlock(args, kwargs)
MoveCursorDownBlock(self, bool expandSelection) -> bool

MoveCursorLeft(args, kwargs)
MoveCursorLeft(self, bool expandSelection) -> bool

MoveCursorLeftBlock(args, kwargs)
MoveCursorLeftBlock(self, bool expandSelection) -> bool

MoveCursorRight(args, kwargs)
MoveCursorRight(self, bool expandSelection) -> bool

MoveCursorRightBlock(args, kwargs)
MoveCursorRightBlock(self, bool expandSelection) -> bool

MoveCursorUp(args, kwargs)
MoveCursorUp(self, bool expandSelection) -> bool

MoveCursorUpBlock(args, kwargs)
MoveCursorUpBlock(self, bool expandSelection) -> bool

MovePageDown(args, kwargs)
MovePageDown(self) -> bool

MovePageUp(args, kwargs)
MovePageUp(self) -> bool

ProcessTableMessage(args, kwargs)
ProcessTableMessage(self, GridTableMessage ??) -> bool

RegisterDataType(args, kwargs)
RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)

SaveEditControlValue(args, kwargs)
SaveEditControlValue(self)

SelectAll(args, kwargs)
SelectAll(self)

SelectBlock(args, kwargs)
SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol, bool addToSelected=False)

SelectCells
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If the argument is outside the integer range a long object will be returned instead.

SelectCol(args, kwargs)
SelectCol(self, int col, bool addToSelected=False)

SelectColumns
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If the argument is outside the integer range a long object will be returned instead.

SelectRow(args, kwargs)
SelectRow(self, int row, bool addToSelected=False)

SelectRows
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If the argument is outside the integer range a long object will be returned instead.

SetAttr(args, kwargs)
SetAttr(self, int row, int col, GridCellAttr attr)

SetCellAlignment(args, kwargs)
SetCellAlignment(self, int row, int col, int horiz, int vert)

SetCellBackgroundColour(args, kwargs)
SetCellBackgroundColour(self, int row, int col, Colour ??)

SetCellEditor(args, kwargs)
SetCellEditor(self, int row, int col, GridCellEditor editor)

SetCellFont(args, kwargs)
SetCellFont(self, int row, int col, Font ??)

SetCellHighlightColour(args, kwargs)
SetCellHighlightColour(self, Colour ??)

SetCellHighlightPenWidth(args, kwargs)
SetCellHighlightPenWidth(self, int width)

SetCellHighlightROPenWidth(args, kwargs)
SetCellHighlightROPenWidth(self, int width)

SetCellOverflow(args, kwargs)
SetCellOverflow(self, int row, int col, bool allow)

SetCellRenderer(args, kwargs)
SetCellRenderer(self, int row, int col, GridCellRenderer renderer)

SetCellSize(args, kwargs)
SetCellSize(self, int row, int col, int num_rows, int num_cols)

SetCellTextColour(args, kwargs)
SetCellTextColour(self, int row, int col, Colour ??)

SetCellValue(args, kwargs)
SetCellValue(self, int row, int col, String s)

SetColAttr(args, kwargs)
SetColAttr(self, int col, GridCellAttr attr)

SetColFormatBool(args, kwargs)
SetColFormatBool(self, int col)

SetColFormatCustom(args, kwargs)
SetColFormatCustom(self, int col, String typeName)

SetColFormatFloat(args, kwargs)
SetColFormatFloat(self, int col, int width=-1, int precision=-1)

SetColFormatNumber(args, kwargs)
SetColFormatNumber(self, int col)

SetColLabelAlignment(args, kwargs)
SetColLabelAlignment(self, int horiz, int vert)

SetColLabelSize(args, kwargs)
SetColLabelSize(self, int height)

SetColLabelTextOrientation(args, kwargs)
SetColLabelTextOrientation(self, int textOrientation)

SetColLabelValue(args, kwargs)
SetColLabelValue(self, int col, String ??)

SetColMinimalAcceptableWidth(args, kwargs)
SetColMinimalAcceptableWidth(self, int width)

SetColMinimalWidth(args, kwargs)
SetColMinimalWidth(self, int col, int width)

SetColSize(args, kwargs)
SetColSize(self, int col, int width)

SetDefaultCellAlignment(args, kwargs)
SetDefaultCellAlignment(self, int horiz, int vert)

SetDefaultCellBackgroundColour(args, kwargs)
SetDefaultCellBackgroundColour(self, Colour ??)

SetDefaultCellFont(args, kwargs)
SetDefaultCellFont(self, Font ??)

SetDefaultCellOverflow(args, kwargs)
SetDefaultCellOverflow(self, bool allow)

SetDefaultCellTextColour(args, kwargs)
SetDefaultCellTextColour(self, Colour ??)

SetDefaultColSize(args, kwargs)
SetDefaultColSize(self, int width, bool resizeExistingCols=False)

SetDefaultEditor(args, kwargs)
SetDefaultEditor(self, GridCellEditor editor)

SetDefaultRenderer(args, kwargs)
SetDefaultRenderer(self, GridCellRenderer renderer)

SetDefaultRowSize(args, kwargs)
SetDefaultRowSize(self, int height, bool resizeExistingRows=False)

SetGridCursor(args, kwargs)
SetGridCursor(self, int row, int col)

SetGridLineColour(args, kwargs)
SetGridLineColour(self, Colour ??)

SetLabelBackgroundColour(args, kwargs)
SetLabelBackgroundColour(self, Colour ??)

SetLabelFont(args, kwargs)
SetLabelFont(self, Font ??)

SetLabelTextColour(args, kwargs)
SetLabelTextColour(self, Colour ??)

SetMargins(args, kwargs)
SetMargins(self, int extraWidth, int extraHeight)

SetReadOnly(args, kwargs)
SetReadOnly(self, int row, int col, bool isReadOnly=True)

SetRowAttr(args, kwargs)
SetRowAttr(self, int row, GridCellAttr attr)

SetRowLabelAlignment(args, kwargs)
SetRowLabelAlignment(self, int horiz, int vert)

SetRowLabelSize(args, kwargs)
SetRowLabelSize(self, int width)

SetRowLabelValue(args, kwargs)
SetRowLabelValue(self, int row, String ??)

SetRowMinimalAcceptableHeight(args, kwargs)
SetRowMinimalAcceptableHeight(self, int width)

SetRowMinimalHeight(args, kwargs)
SetRowMinimalHeight(self, int row, int width)

SetRowSize(args, kwargs)
SetRowSize(self, int row, int height)

SetScrollLineX(args, kwargs)
SetScrollLineX(self, int x)

SetScrollLineY(args, kwargs)
SetScrollLineY(self, int y)

SetSelectionBackground(args, kwargs)
SetSelectionBackground(self, Colour c)

SetSelectionForeground(args, kwargs)
SetSelectionForeground(self, Colour c)

SetSelectionMode(args, kwargs)
SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)

SetTable(args, kwargs)
SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool

ShowCellEditControl(args, kwargs)
ShowCellEditControl(self)

XToCol(args, kwargs)
XToCol(self, int x) -> int

XToEdgeOfCol(args, kwargs)
XToEdgeOfCol(self, int x) -> int

XYToCell(args, kwargs)
XYToCell(self, int x, int y) -> GridCellCoords

YToEdgeOfRow(args, kwargs)
YToEdgeOfRow(self, int y) -> int

YToRow(args, kwargs)
YToRow(self, int y) -> int

[constructor]
Usage: classname(arguments)

[member '__doc__']
Documentation for this class

[member '__module__']
The module that this class belongs to

[operator 'repr']
Usage: repr(a)

wxGridSelectCells
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If the argument is outside the integer range a long object will be returned instead.

wxGridSelectColumns
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If the argument is outside the integer range a long object will be returned instead.

wxGridSelectRows
int(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If the argument is outside the integer range a long object will be returned instead.