table of contents
wxGridCellFloatRenderer(3erl) | Erlang Module Definition | wxGridCellFloatRenderer(3erl) |
NAME¶
wxGridCellFloatRenderer - Functions for wxGridCellFloatRenderer class
DESCRIPTION¶
This class may be used to format floating point data in a cell.
See: wxGridCellRenderer, wxGridCellAutoWrapStringRenderer (not implemented in wx), wxGridCellBoolRenderer, wxGridCellDateTimeRenderer (not implemented in wx), wxGridCellEnumRenderer (not implemented in wx), wxGridCellNumberRenderer, wxGridCellStringRenderer
This class is derived (and can use functions) from: wxGridCellStringRenderer wxGridCellRenderer
wxWidgets docs: wxGridCellFloatRenderer
DATA TYPES¶
wxGridCellFloatRenderer() = wx:wx_object()
EXPORTS¶
new() -> wxGridCellFloatRenderer()
new(Options :: [Option]) -> wxGridCellFloatRenderer()
Types:
{width, integer()} |
{precision, integer()} |
{format, integer()}
Float cell renderer ctor.
getPrecision(This) -> integer()
Types:
Returns the precision.
getWidth(This) -> integer()
Types:
Returns the width.
setParameters(This, Params) -> ok
Types:
Params = unicode:chardata()
The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)
setPrecision(This, Precision) -> ok
Types:
Precision = integer()
Sets the precision.
setWidth(This, Width) -> ok
Types:
Width = integer()
Sets the width.
destroy(This :: wxGridCellFloatRenderer()) -> ok
Destroys the object.
wx 2.2.2.1 | wxWidgets team. |