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