wxGrid

See external documentation: wxGrid.

See external documentation: wxGrid.

This class is derived (and can use functions) from:
wxScrolledWindow
wxPanel
wxWindow
wxEvtHandler

Functions


new() -> wxGrid()

See external documentation.

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 external documentation.
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, Option::[Option]) -> wxGrid()

  • Parent = wxWindow() (see module wxWindow)
  • X = integer()
  • Y = integer()
  • Option = {w, integer()} | {h, integer()} | {style, integer()}

See external documentation.

appendCols(This) -> boolean()

  • This = wxGrid()

Equivalent to appendCols(This, []).

appendCols(This, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Option = {numCols, integer()} | {updateLabels, boolean()}

See external documentation.

appendRows(This) -> boolean()

  • This = wxGrid()

Equivalent to appendRows(This, []).

appendRows(This, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Option = {numRows, integer()} | {updateLabels, boolean()}

See external documentation.

autoSize(This) -> ok

  • This = wxGrid()

See external documentation.

autoSizeColumn(This, Col) -> ok

  • This = wxGrid()
  • Col = integer()

autoSizeColumn(This, Col, Option::[Option]) -> ok

  • This = wxGrid()
  • Col = integer()
  • Option = {setAsMin, boolean()}

See external documentation.

autoSizeColumns(This) -> ok

  • This = wxGrid()

Equivalent to autoSizeColumns(This, []).

autoSizeColumns(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {setAsMin, boolean()}

See external documentation.

autoSizeRow(This, Row) -> ok

  • This = wxGrid()
  • Row = integer()

autoSizeRow(This, Row, Option::[Option]) -> ok

  • This = wxGrid()
  • Row = integer()
  • Option = {setAsMin, boolean()}

See external documentation.

autoSizeRows(This) -> ok

  • This = wxGrid()

Equivalent to autoSizeRows(This, []).

autoSizeRows(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {setAsMin, boolean()}

See external documentation.

beginBatch(This) -> ok

  • This = wxGrid()

See external documentation.

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 external documentation.

canDragColSize(This) -> boolean()

  • This = wxGrid()

See external documentation.

canDragRowSize(This) -> boolean()

  • This = wxGrid()

See external documentation.

canDragGridSize(This) -> boolean()

  • This = wxGrid()

See external documentation.

canEnableCellControl(This) -> boolean()

  • This = wxGrid()

See external documentation.

cellToRect(This, Coords) -> {X::integer(), Y::integer(), W::integer(), H::integer()}

  • This = wxGrid()
  • Coords = {R::integer(), C::integer()}

See external documentation.

cellToRect(This, Row, Col) -> {X::integer(), Y::integer(), W::integer(), H::integer()}

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

clearGrid(This) -> ok

  • This = wxGrid()

See external documentation.

clearSelection(This) -> ok

  • This = wxGrid()

See external documentation.

createGrid(This, NumRows, NumCols) -> boolean()

  • This = wxGrid()
  • NumRows = integer()
  • NumCols = integer()

createGrid(This, NumRows, NumCols, Option::[Option]) -> boolean()

  • This = wxGrid()
  • NumRows = integer()
  • NumCols = integer()
  • Option = {selmode, wx_enum() (see module wx)}

See external documentation.
Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns

deleteCols(This) -> boolean()

  • This = wxGrid()

Equivalent to deleteCols(This, []).

deleteCols(This, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Option = {pos, integer()} | {numCols, integer()} | {updateLabels, boolean()}

See external documentation.

deleteRows(This) -> boolean()

  • This = wxGrid()

Equivalent to deleteRows(This, []).

deleteRows(This, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Option = {pos, integer()} | {numRows, integer()} | {updateLabels, boolean()}

See external documentation.

disableCellEditControl(This) -> ok

  • This = wxGrid()

See external documentation.

disableDragColSize(This) -> ok

  • This = wxGrid()

See external documentation.

disableDragGridSize(This) -> ok

  • This = wxGrid()

See external documentation.

disableDragRowSize(This) -> ok

  • This = wxGrid()

See external documentation.

enableCellEditControl(This) -> ok

  • This = wxGrid()

enableCellEditControl(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {enable, boolean()}

See external documentation.

enableDragColSize(This) -> ok

  • This = wxGrid()

enableDragColSize(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {enable, boolean()}

See external documentation.

enableDragGridSize(This) -> ok

  • This = wxGrid()

enableDragGridSize(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {enable, boolean()}

See external documentation.

enableDragRowSize(This) -> ok

  • This = wxGrid()

enableDragRowSize(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {enable, boolean()}

See external documentation.

enableEditing(This, Edit) -> ok

  • This = wxGrid()
  • Edit = boolean()

See external documentation.

enableGridLines(This) -> ok

  • This = wxGrid()

Equivalent to enableGridLines(This, []).

enableGridLines(This, Option::[Option]) -> ok

  • This = wxGrid()
  • Option = {enable, boolean()}

See external documentation.

endBatch(This) -> ok

  • This = wxGrid()

See external documentation.

fit(This) -> ok

  • This = wxGrid()

See external documentation.

forceRefresh(This) -> ok

  • This = wxGrid()

See external documentation.

getBatchCount(This) -> integer()

  • This = wxGrid()

See external documentation.

getCellAlignment(This, Row, Col) -> {Horiz::integer(), Vert::integer()}

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getCellBackgroundColour(This, Row, Col) -> wx_colour4() (see module wx)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getCellEditor(This, Row, Col) -> wxGridCellEditor() (see module wxGridCellEditor)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getCellFont(This, Row, Col) -> wxFont() (see module wxFont)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getCellRenderer(This, Row, Col) -> wxGridCellRenderer() (see module wxGridCellRenderer)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getCellTextColour(This, Row, Col) -> wx_colour4() (see module wx)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getCellValue(This, Coords) -> charlist() (see module unicode)

  • This = wxGrid()
  • Coords = {R::integer(), C::integer()}

See external documentation.

getCellValue(This, Row, Col) -> charlist() (see module unicode)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getColLabelAlignment(This) -> {Horiz::integer(), Vert::integer()}

  • This = wxGrid()

See external documentation.

getColLabelSize(This) -> integer()

  • This = wxGrid()

See external documentation.

getColLabelValue(This, Col) -> charlist() (see module unicode)

  • This = wxGrid()
  • Col = integer()

See external documentation.

getColMinimalAcceptableWidth(This) -> integer()

  • This = wxGrid()

See external documentation.

getDefaultCellAlignment(This) -> {Horiz::integer(), Vert::integer()}

  • This = wxGrid()

See external documentation.

getDefaultCellBackgroundColour(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

getDefaultCellFont(This) -> wxFont() (see module wxFont)

  • This = wxGrid()

See external documentation.

getDefaultCellTextColour(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

getDefaultColLabelSize(This) -> integer()

  • This = wxGrid()

See external documentation.

getDefaultColSize(This) -> integer()

  • This = wxGrid()

See external documentation.

getDefaultEditor(This) -> wxGridCellEditor() (see module wxGridCellEditor)

  • This = wxGrid()

See external documentation.

getDefaultEditorForCell(This, C) -> wxGridCellEditor() (see module wxGridCellEditor)

  • This = wxGrid()
  • C = {R::integer(), C::integer()}

See external documentation.

getDefaultEditorForCell(This, Row, Col) -> wxGridCellEditor() (see module wxGridCellEditor)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getDefaultEditorForType(This, TypeName) -> wxGridCellEditor() (see module wxGridCellEditor)

  • This = wxGrid()
  • TypeName = chardata() (see module unicode)

See external documentation.

getDefaultRenderer(This) -> wxGridCellRenderer() (see module wxGridCellRenderer)

  • This = wxGrid()

See external documentation.

getDefaultRendererForCell(This, Row, Col) -> wxGridCellRenderer() (see module wxGridCellRenderer)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getDefaultRendererForType(This, TypeName) -> wxGridCellRenderer() (see module wxGridCellRenderer)

  • This = wxGrid()
  • TypeName = chardata() (see module unicode)

See external documentation.

getDefaultRowLabelSize(This) -> integer()

  • This = wxGrid()

See external documentation.

getDefaultRowSize(This) -> integer()

  • This = wxGrid()

See external documentation.

getGridCursorCol(This) -> integer()

  • This = wxGrid()

See external documentation.

getGridCursorRow(This) -> integer()

  • This = wxGrid()

See external documentation.

getGridLineColour(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

gridLinesEnabled(This) -> boolean()

  • This = wxGrid()

See external documentation.

getLabelBackgroundColour(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

getLabelFont(This) -> wxFont() (see module wxFont)

  • This = wxGrid()

See external documentation.

getLabelTextColour(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

getNumberCols(This) -> integer()

  • This = wxGrid()

See external documentation.

getNumberRows(This) -> integer()

  • This = wxGrid()

See external documentation.

getOrCreateCellAttr(This, Row, Col) -> wxGridCellAttr() (see module wxGridCellAttr)

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

getRowMinimalAcceptableHeight(This) -> integer()

  • This = wxGrid()

See external documentation.

getRowLabelAlignment(This) -> {Horiz::integer(), Vert::integer()}

  • This = wxGrid()

See external documentation.

getRowLabelSize(This) -> integer()

  • This = wxGrid()

See external documentation.

getRowLabelValue(This, Row) -> charlist() (see module unicode)

  • This = wxGrid()
  • Row = integer()

See external documentation.

getRowSize(This, Row) -> integer()

  • This = wxGrid()
  • Row = integer()

See external documentation.

getScrollLineX(This) -> integer()

  • This = wxGrid()

See external documentation.

getScrollLineY(This) -> integer()

  • This = wxGrid()

See external documentation.

getSelectedCells(This) -> [{R::integer(), C::integer()}]

  • This = wxGrid()

See external documentation.

getSelectedCols(This) -> [integer()]

  • This = wxGrid()

See external documentation.

getSelectedRows(This) -> [integer()]

  • This = wxGrid()

See external documentation.

getSelectionBackground(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

getSelectionBlockTopLeft(This) -> [{R::integer(), C::integer()}]

  • This = wxGrid()

See external documentation.

getSelectionBlockBottomRight(This) -> [{R::integer(), C::integer()}]

  • This = wxGrid()

See external documentation.

getSelectionForeground(This) -> wx_colour4() (see module wx)

  • This = wxGrid()

See external documentation.

getViewWidth(This) -> integer()

  • This = wxGrid()

See external documentation.

getGridWindow(This) -> wxWindow() (see module wxWindow)

  • This = wxGrid()

See external documentation.

getGridRowLabelWindow(This) -> wxWindow() (see module wxWindow)

  • This = wxGrid()

See external documentation.

getGridColLabelWindow(This) -> wxWindow() (see module wxWindow)

  • This = wxGrid()

See external documentation.

getGridCornerLabelWindow(This) -> wxWindow() (see module wxWindow)

  • This = wxGrid()

See external documentation.

hideCellEditControl(This) -> ok

  • This = wxGrid()

See external documentation.

insertCols(This) -> boolean()

  • This = wxGrid()

Equivalent to insertCols(This, []).

insertCols(This, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Option = {pos, integer()} | {numCols, integer()} | {updateLabels, boolean()}

See external documentation.

insertRows(This) -> boolean()

  • This = wxGrid()

Equivalent to insertRows(This, []).

insertRows(This, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Option = {pos, integer()} | {numRows, integer()} | {updateLabels, boolean()}

See external documentation.

isCellEditControlEnabled(This) -> boolean()

  • This = wxGrid()

See external documentation.

isCurrentCellReadOnly(This) -> boolean()

  • This = wxGrid()

See external documentation.

isEditable(This) -> boolean()

  • This = wxGrid()

See external documentation.

isInSelection(This, Coords) -> boolean()

  • This = wxGrid()
  • Coords = {R::integer(), C::integer()}

See external documentation.

isInSelection(This, Row, Col) -> boolean()

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

isReadOnly(This, Row, Col) -> boolean()

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

isSelection(This) -> boolean()

  • This = wxGrid()

See external documentation.

isVisible(This, Coords) -> boolean()

  • This = wxGrid()
  • Coords = {R::integer(), C::integer()}

isVisible(This, Row, Col) -> boolean()

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.
Also:
isVisible(This, Coords, [Option]) -> boolean() when
This::wxGrid(), Coords::{R::integer(), C::integer()},
Option :: {wholeCellVisible, boolean()}.

isVisible(This, Row, Col, Option::[Option]) -> boolean()

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Option = {wholeCellVisible, boolean()}

See external documentation.

makeCellVisible(This, Coords) -> ok

  • This = wxGrid()
  • Coords = {R::integer(), C::integer()}

See external documentation.

makeCellVisible(This, Row, Col) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

moveCursorDown(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorLeft(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorRight(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorUp(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorDownBlock(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorLeftBlock(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorRightBlock(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

moveCursorUpBlock(This, ExpandSelection) -> boolean()

  • This = wxGrid()
  • ExpandSelection = boolean()

See external documentation.

movePageDown(This) -> boolean()

  • This = wxGrid()

See external documentation.

movePageUp(This) -> boolean()

  • This = wxGrid()

See external documentation.

registerDataType(This, TypeName, Renderer, Editor) -> ok

  • This = wxGrid()
  • TypeName = chardata() (see module unicode)
  • Renderer = wxGridCellRenderer() (see module wxGridCellRenderer)
  • Editor = wxGridCellEditor() (see module wxGridCellEditor)

See external documentation.

saveEditControlValue(This) -> ok

  • This = wxGrid()

See external documentation.

selectAll(This) -> ok

  • This = wxGrid()

See external documentation.

selectBlock(This, TopLeft, BottomRight) -> ok

  • This = wxGrid()
  • TopLeft = {R::integer(), C::integer()}
  • BottomRight = {R::integer(), C::integer()}

selectBlock(This, TopLeft, BottomRight, Option::[Option]) -> ok

  • This = wxGrid()
  • TopLeft = {R::integer(), C::integer()}
  • BottomRight = {R::integer(), C::integer()}
  • Option = {addToSelected, boolean()}

See external documentation.

selectBlock(This, TopRow, LeftCol, BottomRow, RightCol) -> ok

  • This = wxGrid()
  • TopRow = integer()
  • LeftCol = integer()
  • BottomRow = integer()
  • RightCol = integer()

selectBlock(This, TopRow, LeftCol, BottomRow, RightCol, Option::[Option]) -> ok

  • This = wxGrid()
  • TopRow = integer()
  • LeftCol = integer()
  • BottomRow = integer()
  • RightCol = integer()
  • Option = {addToSelected, boolean()}

See external documentation.

selectCol(This, Col) -> ok

  • This = wxGrid()
  • Col = integer()

Equivalent to selectCol(This, Col, []).

selectCol(This, Col, Option::[Option]) -> ok

  • This = wxGrid()
  • Col = integer()
  • Option = {addToSelected, boolean()}

See external documentation.

selectRow(This, Row) -> ok

  • This = wxGrid()
  • Row = integer()

Equivalent to selectRow(This, Row, []).

selectRow(This, Row, Option::[Option]) -> ok

  • This = wxGrid()
  • Row = integer()
  • Option = {addToSelected, boolean()}

See external documentation.

setCellAlignment(This, Align) -> ok

  • This = wxGrid()
  • Align = integer()

See external documentation.

setCellAlignment(This, Align, Row, Col) -> ok

  • This = wxGrid()
  • Align = integer()
  • Row = integer()
  • Col = integer()

See external documentation.

setCellAlignment(This, Row, Col, Horiz, Vert) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Horiz = integer()
  • Vert = integer()

See external documentation.

setCellBackgroundColour(This, Col) -> ok

  • This = wxGrid()
  • Col = wx_colour() (see module wx)

See external documentation.

setCellBackgroundColour(This, Row, Col, Val) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Val = wx_colour() (see module wx)

See external documentation.
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 external documentation.

setCellFont(This, Row, Col, Val) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Val = wxFont() (see module wxFont)

See external documentation.

setCellRenderer(This, Row, Col, Renderer) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Renderer = wxGridCellRenderer() (see module wxGridCellRenderer)

See external documentation.

setCellTextColour(This, Col) -> ok

  • This = wxGrid()
  • Col = wx_colour() (see module wx)

See external documentation.

setCellTextColour(This, Row, Col, Val) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Val = wx_colour() (see module wx)

See external documentation.
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 external documentation.

setCellValue(This, Row, Col, S) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • S = chardata() (see module unicode)

See external documentation.
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 external documentation.

setColFormatBool(This, Col) -> ok

  • This = wxGrid()
  • Col = integer()

See external documentation.

setColFormatNumber(This, Col) -> ok

  • This = wxGrid()
  • Col = integer()

See external documentation.

setColFormatFloat(This, Col) -> ok

  • This = wxGrid()
  • Col = integer()

setColFormatFloat(This, Col, Option::[Option]) -> ok

  • This = wxGrid()
  • Col = integer()
  • Option = {width, integer()} | {precision, integer()}

See external documentation.

setColFormatCustom(This, Col, TypeName) -> ok

  • This = wxGrid()
  • Col = integer()
  • TypeName = chardata() (see module unicode)

See external documentation.

setColLabelAlignment(This, Horiz, Vert) -> ok

  • This = wxGrid()
  • Horiz = integer()
  • Vert = integer()

See external documentation.

setColLabelSize(This, Height) -> ok

  • This = wxGrid()
  • Height = integer()

See external documentation.

setColLabelValue(This, Col, Val) -> ok

  • This = wxGrid()
  • Col = integer()
  • Val = chardata() (see module unicode)

See external documentation.

setColMinimalWidth(This, Col, Width) -> ok

  • This = wxGrid()
  • Col = integer()
  • Width = integer()

See external documentation.

setColMinimalAcceptableWidth(This, Width) -> ok

  • This = wxGrid()
  • Width = integer()

See external documentation.

setColSize(This, Col, Width) -> ok

  • This = wxGrid()
  • Col = integer()
  • Width = integer()

See external documentation.

setDefaultCellAlignment(This, Horiz, Vert) -> ok

  • This = wxGrid()
  • Horiz = integer()
  • Vert = integer()

See external documentation.

setDefaultCellBackgroundColour(This, Val) -> ok

  • This = wxGrid()
  • Val = wx_colour() (see module wx)

See external documentation.

setDefaultCellFont(This, Val) -> ok

  • This = wxGrid()
  • Val = wxFont() (see module wxFont)

See external documentation.

setDefaultCellTextColour(This, Val) -> ok

  • This = wxGrid()
  • Val = wx_colour() (see module wx)

See external documentation.

setDefaultEditor(This, Editor) -> ok

  • This = wxGrid()
  • Editor = wxGridCellEditor() (see module wxGridCellEditor)

See external documentation.

setDefaultRenderer(This, Renderer) -> ok

  • This = wxGrid()
  • Renderer = wxGridCellRenderer() (see module wxGridCellRenderer)

See external documentation.

setDefaultColSize(This, Width) -> ok

  • This = wxGrid()
  • Width = integer()

setDefaultColSize(This, Width, Option::[Option]) -> ok

  • This = wxGrid()
  • Width = integer()
  • Option = {resizeExistingCols, boolean()}

See external documentation.

setDefaultRowSize(This, Height) -> ok

  • This = wxGrid()
  • Height = integer()

setDefaultRowSize(This, Height, Option::[Option]) -> ok

  • This = wxGrid()
  • Height = integer()
  • Option = {resizeExistingRows, boolean()}

See external documentation.

setGridCursor(This, Row, Col) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

See external documentation.

setGridLineColour(This, Val) -> ok

  • This = wxGrid()
  • Val = wx_colour() (see module wx)

See external documentation.

setLabelBackgroundColour(This, Val) -> ok

  • This = wxGrid()
  • Val = wx_colour() (see module wx)

See external documentation.

setLabelFont(This, Val) -> ok

  • This = wxGrid()
  • Val = wxFont() (see module wxFont)

See external documentation.

setLabelTextColour(This, Val) -> ok

  • This = wxGrid()
  • Val = wx_colour() (see module wx)

See external documentation.

setMargins(This, ExtraWidth, ExtraHeight) -> ok

  • This = wxGrid()
  • ExtraWidth = integer()
  • ExtraHeight = integer()

See external documentation.

setReadOnly(This, Row, Col) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()

setReadOnly(This, Row, Col, Option::[Option]) -> ok

  • This = wxGrid()
  • Row = integer()
  • Col = integer()
  • Option = {isReadOnly, boolean()}

See external documentation.

setRowAttr(This, Row, Attr) -> ok

  • This = wxGrid()
  • Row = integer()
  • Attr = wxGridCellAttr() (see module wxGridCellAttr)

See external documentation.

setRowLabelAlignment(This, Horiz, Vert) -> ok

  • This = wxGrid()
  • Horiz = integer()
  • Vert = integer()

See external documentation.

setRowLabelSize(This, Width) -> ok

  • This = wxGrid()
  • Width = integer()

See external documentation.

setRowLabelValue(This, Row, Val) -> ok

  • This = wxGrid()
  • Row = integer()
  • Val = chardata() (see module unicode)

See external documentation.

setRowMinimalHeight(This, Row, Width) -> ok

  • This = wxGrid()
  • Row = integer()
  • Width = integer()

See external documentation.

setRowMinimalAcceptableHeight(This, Width) -> ok

  • This = wxGrid()
  • Width = integer()

See external documentation.

setRowSize(This, Row, Height) -> ok

  • This = wxGrid()
  • Row = integer()
  • Height = integer()

See external documentation.

setScrollLineX(This, X) -> ok

  • This = wxGrid()
  • X = integer()

See external documentation.

setScrollLineY(This, Y) -> ok

  • This = wxGrid()
  • Y = integer()

See external documentation.

setSelectionBackground(This, C) -> ok

  • This = wxGrid()
  • C = wx_colour() (see module wx)

See external documentation.

setSelectionForeground(This, C) -> ok

  • This = wxGrid()
  • C = wx_colour() (see module wx)

See external documentation.

setSelectionMode(This, Selmode) -> ok

  • This = wxGrid()
  • Selmode = wx_enum() (see module wx)

See external documentation.
Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows | ?wxGrid_wxGridSelectColumns

showCellEditControl(This) -> ok

  • This = wxGrid()

See external documentation.

xToCol(This, X) -> integer()

  • This = wxGrid()
  • X = integer()

Equivalent to xToCol(This, X, []).

xToCol(This, X, Option::[Option]) -> integer()

  • This = wxGrid()
  • X = integer()
  • Option = {clipToMinMax, boolean()}

See external documentation.

xToEdgeOfCol(This, X) -> integer()

  • This = wxGrid()
  • X = integer()

See external documentation.

yToEdgeOfRow(This, Y) -> integer()

  • This = wxGrid()
  • Y = integer()

See external documentation.

yToRow(This, Y) -> integer()

  • This = wxGrid()
  • Y = integer()

See external documentation.

destroy(This::wxGrid()) -> ok

Destroys this object, do not use object again