wxGrid
See external documentation: wxGrid.
See external documentation:
This class is derived (and can use functions) from:
wxScrolledWindow
wxPanel
wxWindow
wxEvtHandler
Functions
new() -> wxGrid()
See
new(Parent, Id) -> wxGrid()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to new(Parent, Id, []).
new(Parent, X, Y) -> wxGrid()
Parent = wxWindow() (see module wxWindow)
X = integer()
Y = integer()
See
Also:
new(Parent, Id, [Option]) -> wxGrid() when
Parent::wxWindow:wxWindow(), Id::integer(),
Option :: {'pos', {X::integer(), Y::integer()}}
| {'size', {W::integer(), H::integer()}}
| {'style', integer()}.
new(Parent, X, Y, Options::[Option]) -> wxGrid()
Parent = wxWindow() (see module wxWindow)
X = integer()
Y = integer()
Option = {w, integer()} | {h, integer()} | {style, integer()}
See
appendCols(This, Options::[Option]) -> boolean()
This = wxGrid()
Option = {numCols, integer()} | {updateLabels, boolean()}
See
appendRows(This, Options::[Option]) -> boolean()
This = wxGrid()
Option = {numRows, integer()} | {updateLabels, boolean()}
See
autoSize(This) -> ok
This = wxGrid()
See
autoSizeColumn(This, Col) -> ok
This = wxGrid()
Col = integer()
Equivalent to autoSizeColumn(This, Col, []).
autoSizeColumn(This, Col, Options::[Option]) -> ok
This = wxGrid()
Col = integer()
Option = {setAsMin, boolean()}
See
autoSizeColumns(This, Options::[Option]) -> ok
This = wxGrid()
Option = {setAsMin, boolean()}
See
autoSizeRow(This, Row) -> ok
This = wxGrid()
Row = integer()
Equivalent to autoSizeRow(This, Row, []).
autoSizeRow(This, Row, Options::[Option]) -> ok
This = wxGrid()
Row = integer()
Option = {setAsMin, boolean()}
See
autoSizeRows(This, Options::[Option]) -> ok
This = wxGrid()
Option = {setAsMin, boolean()}
See
beginBatch(This) -> ok
This = wxGrid()
See
blockToDeviceRect(This, TopLeft, BottomRight) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxGrid()
TopLeft = {R::integer(), C::integer()}
BottomRight = {R::integer(), C::integer()}
See
canDragColSize(This) -> boolean()
This = wxGrid()
See
canDragRowSize(This) -> boolean()
This = wxGrid()
See
canDragGridSize(This) -> boolean()
This = wxGrid()
See
canEnableCellControl(This) -> boolean()
This = wxGrid()
See
cellToRect(This, Coords) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxGrid()
Coords = {R::integer(), C::integer()}
See
cellToRect(This, Row, Col) -> {X::integer(), Y::integer(), W::integer(), H::integer()}
This = wxGrid()
Row = integer()
Col = integer()
See
clearGrid(This) -> ok
This = wxGrid()
See
clearSelection(This) -> ok
This = wxGrid()
See
createGrid(This, NumRows, NumCols) -> boolean()
This = wxGrid()
NumRows = integer()
NumCols = integer()
Equivalent to createGrid(This, NumRows, NumCols, []).
createGrid(This, NumRows, NumCols, Options::[Option]) -> boolean()
This = wxGrid()
NumRows = integer()
NumCols = integer()
Option = {selmode, wx_enum() (see module wx)}
See
Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns
deleteCols(This, Options::[Option]) -> boolean()
This = wxGrid()
Option = {pos, integer()} | {numCols, integer()} | {updateLabels, boolean()}
See
deleteRows(This, Options::[Option]) -> boolean()
This = wxGrid()
Option = {pos, integer()} | {numRows, integer()} | {updateLabels, boolean()}
See
disableCellEditControl(This) -> ok
This = wxGrid()
See
disableDragColSize(This) -> ok
This = wxGrid()
See
disableDragGridSize(This) -> ok
This = wxGrid()
See
disableDragRowSize(This) -> ok
This = wxGrid()
See
enableCellEditControl(This, Options::[Option]) -> ok
This = wxGrid()
Option = {enable, boolean()}
See
enableDragColSize(This, Options::[Option]) -> ok
This = wxGrid()
Option = {enable, boolean()}
See
enableDragGridSize(This, Options::[Option]) -> ok
This = wxGrid()
Option = {enable, boolean()}
See
enableDragRowSize(This, Options::[Option]) -> ok
This = wxGrid()
Option = {enable, boolean()}
See
enableEditing(This, Edit) -> ok
This = wxGrid()
Edit = boolean()
See
enableGridLines(This, Options::[Option]) -> ok
This = wxGrid()
Option = {enable, boolean()}
See
endBatch(This) -> ok
This = wxGrid()
See
fit(This) -> ok
This = wxGrid()
See
forceRefresh(This) -> ok
This = wxGrid()
See
getBatchCount(This) -> integer()
This = wxGrid()
See
getCellAlignment(This, Row, Col) -> {Horiz::integer(), Vert::integer()}
This = wxGrid()
Row = integer()
Col = integer()
See
getCellBackgroundColour(This, Row, Col) -> wx_colour4() (see module wx)
This = wxGrid()
Row = integer()
Col = integer()
See
getCellEditor(This, Row, Col) -> wxGridCellEditor() (see module wxGridCellEditor)
This = wxGrid()
Row = integer()
Col = integer()
See
getCellFont(This, Row, Col) -> wxFont() (see module wxFont)
This = wxGrid()
Row = integer()
Col = integer()
See
getCellRenderer(This, Row, Col) -> wxGridCellRenderer() (see module wxGridCellRenderer)
This = wxGrid()
Row = integer()
Col = integer()
See
getCellTextColour(This, Row, Col) -> wx_colour4() (see module wx)
This = wxGrid()
Row = integer()
Col = integer()
See
getCellValue(This, Coords) -> charlist() (see module unicode)
This = wxGrid()
Coords = {R::integer(), C::integer()}
See
getCellValue(This, Row, Col) -> charlist() (see module unicode)
This = wxGrid()
Row = integer()
Col = integer()
See
getColLabelAlignment(This) -> {Horiz::integer(), Vert::integer()}
This = wxGrid()
See
getColLabelSize(This) -> integer()
This = wxGrid()
See
getColLabelValue(This, Col) -> charlist() (see module unicode)
This = wxGrid()
Col = integer()
See
getColMinimalAcceptableWidth(This) -> integer()
This = wxGrid()
See
getDefaultCellAlignment(This) -> {Horiz::integer(), Vert::integer()}
This = wxGrid()
See
getDefaultCellBackgroundColour(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
getDefaultCellFont(This) -> wxFont() (see module wxFont)
This = wxGrid()
See
getDefaultCellTextColour(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
getDefaultColLabelSize(This) -> integer()
This = wxGrid()
See
getDefaultColSize(This) -> integer()
This = wxGrid()
See
getDefaultEditor(This) -> wxGridCellEditor() (see module wxGridCellEditor)
This = wxGrid()
See
getDefaultEditorForCell(This, C) -> wxGridCellEditor() (see module wxGridCellEditor)
This = wxGrid()
C = {R::integer(), C::integer()}
See
getDefaultEditorForCell(This, Row, Col) -> wxGridCellEditor() (see module wxGridCellEditor)
This = wxGrid()
Row = integer()
Col = integer()
See
getDefaultEditorForType(This, TypeName) -> wxGridCellEditor() (see module wxGridCellEditor)
This = wxGrid()
TypeName = chardata() (see module unicode)
See
getDefaultRenderer(This) -> wxGridCellRenderer() (see module wxGridCellRenderer)
This = wxGrid()
See
getDefaultRendererForCell(This, Row, Col) -> wxGridCellRenderer() (see module wxGridCellRenderer)
This = wxGrid()
Row = integer()
Col = integer()
See
getDefaultRendererForType(This, TypeName) -> wxGridCellRenderer() (see module wxGridCellRenderer)
This = wxGrid()
TypeName = chardata() (see module unicode)
See
getDefaultRowLabelSize(This) -> integer()
This = wxGrid()
See
getDefaultRowSize(This) -> integer()
This = wxGrid()
See
getGridCursorCol(This) -> integer()
This = wxGrid()
See
getGridCursorRow(This) -> integer()
This = wxGrid()
See
getGridLineColour(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
gridLinesEnabled(This) -> boolean()
This = wxGrid()
See
getLabelBackgroundColour(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
getLabelFont(This) -> wxFont() (see module wxFont)
This = wxGrid()
See
getLabelTextColour(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
getNumberCols(This) -> integer()
This = wxGrid()
See
getNumberRows(This) -> integer()
This = wxGrid()
See
getOrCreateCellAttr(This, Row, Col) -> wxGridCellAttr() (see module wxGridCellAttr)
This = wxGrid()
Row = integer()
Col = integer()
See
getRowMinimalAcceptableHeight(This) -> integer()
This = wxGrid()
See
getRowLabelAlignment(This) -> {Horiz::integer(), Vert::integer()}
This = wxGrid()
See
getRowLabelSize(This) -> integer()
This = wxGrid()
See
getRowLabelValue(This, Row) -> charlist() (see module unicode)
This = wxGrid()
Row = integer()
See
getRowSize(This, Row) -> integer()
This = wxGrid()
Row = integer()
See
getScrollLineX(This) -> integer()
This = wxGrid()
See
getScrollLineY(This) -> integer()
This = wxGrid()
See
getSelectedCells(This) -> [{R::integer(), C::integer()}]
This = wxGrid()
See
getSelectedCols(This) -> [integer()]
This = wxGrid()
See
getSelectedRows(This) -> [integer()]
This = wxGrid()
See
getSelectionBackground(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
getSelectionBlockTopLeft(This) -> [{R::integer(), C::integer()}]
This = wxGrid()
See
getSelectionBlockBottomRight(This) -> [{R::integer(), C::integer()}]
This = wxGrid()
See
getSelectionForeground(This) -> wx_colour4() (see module wx)
This = wxGrid()
See
getViewWidth(This) -> integer()
This = wxGrid()
See
getGridWindow(This) -> wxWindow() (see module wxWindow)
This = wxGrid()
See
getGridRowLabelWindow(This) -> wxWindow() (see module wxWindow)
This = wxGrid()
See
getGridColLabelWindow(This) -> wxWindow() (see module wxWindow)
This = wxGrid()
See
getGridCornerLabelWindow(This) -> wxWindow() (see module wxWindow)
This = wxGrid()
See
hideCellEditControl(This) -> ok
This = wxGrid()
See
insertCols(This, Options::[Option]) -> boolean()
This = wxGrid()
Option = {pos, integer()} | {numCols, integer()} | {updateLabels, boolean()}
See
insertRows(This, Options::[Option]) -> boolean()
This = wxGrid()
Option = {pos, integer()} | {numRows, integer()} | {updateLabels, boolean()}
See
isCellEditControlEnabled(This) -> boolean()
This = wxGrid()
See
isCurrentCellReadOnly(This) -> boolean()
This = wxGrid()
See
isEditable(This) -> boolean()
This = wxGrid()
See
isInSelection(This, Coords) -> boolean()
This = wxGrid()
Coords = {R::integer(), C::integer()}
See
isInSelection(This, Row, Col) -> boolean()
This = wxGrid()
Row = integer()
Col = integer()
See
isReadOnly(This, Row, Col) -> boolean()
This = wxGrid()
Row = integer()
Col = integer()
See
isSelection(This) -> boolean()
This = wxGrid()
See
isVisible(This, Coords) -> boolean()
This = wxGrid()
Coords = {R::integer(), C::integer()}
Equivalent to isVisible(This, Coords, []).
isVisible(This, Row, Col) -> boolean()
This = wxGrid()
Row = integer()
Col = integer()
See
Also:
isVisible(This, Coords, [Option]) -> boolean() when
This::wxGrid(), Coords::{R::integer(), C::integer()},
Option :: {'wholeCellVisible', boolean()}.
isVisible(This, Row, Col, Options::[Option]) -> boolean()
This = wxGrid()
Row = integer()
Col = integer()
Option = {wholeCellVisible, boolean()}
See
makeCellVisible(This, Coords) -> ok
This = wxGrid()
Coords = {R::integer(), C::integer()}
See
makeCellVisible(This, Row, Col) -> ok
This = wxGrid()
Row = integer()
Col = integer()
See
moveCursorDown(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorLeft(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorRight(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorUp(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorDownBlock(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorLeftBlock(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorRightBlock(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
moveCursorUpBlock(This, ExpandSelection) -> boolean()
This = wxGrid()
ExpandSelection = boolean()
See
movePageDown(This) -> boolean()
This = wxGrid()
See
movePageUp(This) -> boolean()
This = wxGrid()
See
registerDataType(This, TypeName, Renderer, Editor) -> ok
This = wxGrid()
TypeName = chardata() (see module unicode)
Renderer = wxGridCellRenderer() (see module wxGridCellRenderer)
Editor = wxGridCellEditor() (see module wxGridCellEditor)
See
saveEditControlValue(This) -> ok
This = wxGrid()
See
selectAll(This) -> ok
This = wxGrid()
See
selectBlock(This, TopLeft, BottomRight) -> ok
This = wxGrid()
TopLeft = {R::integer(), C::integer()}
BottomRight = {R::integer(), C::integer()}
Equivalent to selectBlock(This, TopLeft, BottomRight, []).
selectBlock(This, TopLeft, BottomRight, Options::[Option]) -> ok
This = wxGrid()
TopLeft = {R::integer(), C::integer()}
BottomRight = {R::integer(), C::integer()}
Option = {addToSelected, boolean()}
See
selectBlock(This, TopRow, LeftCol, BottomRow, RightCol) -> ok
This = wxGrid()
TopRow = integer()
LeftCol = integer()
BottomRow = integer()
RightCol = integer()
Equivalent to selectBlock(This, TopRow, LeftCol, BottomRow, RightCol, []).
selectBlock(This, TopRow, LeftCol, BottomRow, RightCol, Options::[Option]) -> ok
This = wxGrid()
TopRow = integer()
LeftCol = integer()
BottomRow = integer()
RightCol = integer()
Option = {addToSelected, boolean()}
See
selectCol(This, Col, Options::[Option]) -> ok
This = wxGrid()
Col = integer()
Option = {addToSelected, boolean()}
See
selectRow(This, Row, Options::[Option]) -> ok
This = wxGrid()
Row = integer()
Option = {addToSelected, boolean()}
See
setCellAlignment(This, Align) -> ok
This = wxGrid()
Align = integer()
See
setCellAlignment(This, Align, Row, Col) -> ok
This = wxGrid()
Align = integer()
Row = integer()
Col = integer()
See
setCellAlignment(This, Row, Col, Horiz, Vert) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Horiz = integer()
Vert = integer()
See
setCellBackgroundColour(This, Col) -> ok
This = wxGrid()
Col = wx_colour() (see module wx)
See
setCellBackgroundColour(This, Row, Col, Val) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Val = wx_colour() (see module wx)
See
Also:
setCellBackgroundColour(This, Colour, Row, Col) -> 'ok' when
This::wxGrid(), Colour::wx:wx_colour(), Row::integer(), Col::integer().
setCellEditor(This, Row, Col, Editor) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Editor = wxGridCellEditor() (see module wxGridCellEditor)
See
setCellFont(This, Row, Col, Val) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Val = wxFont() (see module wxFont)
See
setCellRenderer(This, Row, Col, Renderer) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Renderer = wxGridCellRenderer() (see module wxGridCellRenderer)
See
setCellTextColour(This, Col) -> ok
This = wxGrid()
Col = wx_colour() (see module wx)
See
setCellTextColour(This, Row, Col, Val) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Val = wx_colour() (see module wx)
See
Also:
setCellTextColour(This, Val, Row, Col) -> 'ok' when
This::wxGrid(), Val::wx:wx_colour(), Row::integer(), Col::integer().
setCellValue(This, Coords, S) -> ok
This = wxGrid()
Coords = {R::integer(), C::integer()}
S = chardata() (see module unicode)
See
setCellValue(This, Row, Col, S) -> ok
This = wxGrid()
Row = integer()
Col = integer()
S = chardata() (see module unicode)
See
Also:
setCellValue(This, Val, Row, Col) -> 'ok' when
This::wxGrid(), Val::unicode:chardata(), Row::integer(), Col::integer().
setColAttr(This, Col, Attr) -> ok
This = wxGrid()
Col = integer()
Attr = wxGridCellAttr() (see module wxGridCellAttr)
See
setColFormatBool(This, Col) -> ok
This = wxGrid()
Col = integer()
See
setColFormatNumber(This, Col) -> ok
This = wxGrid()
Col = integer()
See
setColFormatFloat(This, Col) -> ok
This = wxGrid()
Col = integer()
Equivalent to setColFormatFloat(This, Col, []).
setColFormatFloat(This, Col, Options::[Option]) -> ok
This = wxGrid()
Col = integer()
Option = {width, integer()} | {precision, integer()}
See
setColFormatCustom(This, Col, TypeName) -> ok
This = wxGrid()
Col = integer()
TypeName = chardata() (see module unicode)
See
setColLabelAlignment(This, Horiz, Vert) -> ok
This = wxGrid()
Horiz = integer()
Vert = integer()
See
setColLabelSize(This, Height) -> ok
This = wxGrid()
Height = integer()
See
setColLabelValue(This, Col, Val) -> ok
This = wxGrid()
Col = integer()
Val = chardata() (see module unicode)
See
setColMinimalWidth(This, Col, Width) -> ok
This = wxGrid()
Col = integer()
Width = integer()
See
setColMinimalAcceptableWidth(This, Width) -> ok
This = wxGrid()
Width = integer()
See
setColSize(This, Col, Width) -> ok
This = wxGrid()
Col = integer()
Width = integer()
See
setDefaultCellAlignment(This, Horiz, Vert) -> ok
This = wxGrid()
Horiz = integer()
Vert = integer()
See
setDefaultCellBackgroundColour(This, Val) -> ok
This = wxGrid()
Val = wx_colour() (see module wx)
See
setDefaultCellFont(This, Val) -> ok
This = wxGrid()
Val = wxFont() (see module wxFont)
See
setDefaultCellTextColour(This, Val) -> ok
This = wxGrid()
Val = wx_colour() (see module wx)
See
setDefaultEditor(This, Editor) -> ok
This = wxGrid()
Editor = wxGridCellEditor() (see module wxGridCellEditor)
See
setDefaultRenderer(This, Renderer) -> ok
This = wxGrid()
Renderer = wxGridCellRenderer() (see module wxGridCellRenderer)
See
setDefaultColSize(This, Width) -> ok
This = wxGrid()
Width = integer()
Equivalent to setDefaultColSize(This, Width, []).
setDefaultColSize(This, Width, Options::[Option]) -> ok
This = wxGrid()
Width = integer()
Option = {resizeExistingCols, boolean()}
See
setDefaultRowSize(This, Height) -> ok
This = wxGrid()
Height = integer()
Equivalent to setDefaultRowSize(This, Height, []).
setDefaultRowSize(This, Height, Options::[Option]) -> ok
This = wxGrid()
Height = integer()
Option = {resizeExistingRows, boolean()}
See
setGridCursor(This, Row, Col) -> ok
This = wxGrid()
Row = integer()
Col = integer()
See
setGridLineColour(This, Val) -> ok
This = wxGrid()
Val = wx_colour() (see module wx)
See
setLabelBackgroundColour(This, Val) -> ok
This = wxGrid()
Val = wx_colour() (see module wx)
See
setLabelFont(This, Val) -> ok
This = wxGrid()
Val = wxFont() (see module wxFont)
See
setLabelTextColour(This, Val) -> ok
This = wxGrid()
Val = wx_colour() (see module wx)
See
setMargins(This, ExtraWidth, ExtraHeight) -> ok
This = wxGrid()
ExtraWidth = integer()
ExtraHeight = integer()
See
setReadOnly(This, Row, Col) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Equivalent to setReadOnly(This, Row, Col, []).
setReadOnly(This, Row, Col, Options::[Option]) -> ok
This = wxGrid()
Row = integer()
Col = integer()
Option = {isReadOnly, boolean()}
See
setRowAttr(This, Row, Attr) -> ok
This = wxGrid()
Row = integer()
Attr = wxGridCellAttr() (see module wxGridCellAttr)
See
setRowLabelAlignment(This, Horiz, Vert) -> ok
This = wxGrid()
Horiz = integer()
Vert = integer()
See
setRowLabelSize(This, Width) -> ok
This = wxGrid()
Width = integer()
See
setRowLabelValue(This, Row, Val) -> ok
This = wxGrid()
Row = integer()
Val = chardata() (see module unicode)
See
setRowMinimalHeight(This, Row, Width) -> ok
This = wxGrid()
Row = integer()
Width = integer()
See
setRowMinimalAcceptableHeight(This, Width) -> ok
This = wxGrid()
Width = integer()
See
setRowSize(This, Row, Height) -> ok
This = wxGrid()
Row = integer()
Height = integer()
See
setScrollLineX(This, X) -> ok
This = wxGrid()
X = integer()
See
setScrollLineY(This, Y) -> ok
This = wxGrid()
Y = integer()
See
setSelectionBackground(This, C) -> ok
This = wxGrid()
C = wx_colour() (see module wx)
See
setSelectionForeground(This, C) -> ok
This = wxGrid()
C = wx_colour() (see module wx)
See
setSelectionMode(This, Selmode) -> ok
This = wxGrid()
Selmode = wx_enum() (see module wx)
See
Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns
showCellEditControl(This) -> ok
This = wxGrid()
See
xToCol(This, X, Options::[Option]) -> integer()
This = wxGrid()
X = integer()
Option = {clipToMinMax, boolean()}
See
xToEdgeOfCol(This, X) -> integer()
This = wxGrid()
X = integer()
See
yToEdgeOfRow(This, Y) -> integer()
This = wxGrid()
Y = integer()
See
yToRow(This, Y) -> integer()
This = wxGrid()
Y = integer()
See
destroy(This::wxGrid()) -> ok
Destroys this object, do not use object again