DOKK / manpages / debian 12 / erlang-manpages / wxGridCellFloatRenderer.3erl.en
wxGridCellFloatRenderer(3erl) Erlang Module Definition wxGridCellFloatRenderer(3erl)

wxGridCellFloatRenderer - Functions for wxGridCellFloatRenderer class

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

wxGridCellFloatRenderer() = wx:wx_object()


new() -> wxGridCellFloatRenderer()



new(Options :: [Option]) -> wxGridCellFloatRenderer()


Types:

Option =
{width, integer()} |
{precision, integer()} |
{format, integer()}

Float cell renderer ctor.


getPrecision(This) -> integer()


Types:

This = wxGridCellFloatRenderer()

Returns the precision.


getWidth(This) -> integer()


Types:

This = wxGridCellFloatRenderer()

Returns the width.


setParameters(This, Params) -> ok


Types:

This = wxGridCellFloatRenderer()
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:

This = wxGridCellFloatRenderer()
Precision = integer()

Sets the precision.


setWidth(This, Width) -> ok


Types:

This = wxGridCellFloatRenderer()
Width = integer()

Sets the width.


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


Destroys the object.

wx 2.2.1 wxWidgets team.