wxGridCellFloatRenderer(3)

NAME
wxGridCellFloatRenderer - This class may be used to format floating point data in a cell.

DESCRIPTION

See:

    • wxGridCellRenderer

    • wxGridCellBoolRenderer

    • wxGridCellNumberRenderer

    • wxGridCellStringRenderer

This class is derived, and can use functions, from:

    • wxGridCellStringRenderer

    • wxGridCellRenderer

wxWidgets docs: wxGridCellFloatRenderer

DATA TYPES

wxGridCellFloatRenderer() :: wx:wx_object().

FUNCTIONS

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

    Destroys the object
getPrecision(This) -> integer() when This :: wxGridCellFloatRenderer().

    Returns the precision.
getWidth(This) -> integer() when This :: wxGridCellFloatRenderer().

    Returns the width.
new([Option]) -> wxGridCellFloatRenderer() when Option :: {width, integer()} | {precision, integer()} | {format, integer()}.

    Float cell renderer ctor.
setParameters(This, Params) -> ok when 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 when This :: wxGridCellFloatRenderer(), Precision :: integer().

    Sets the precision.
setWidth(This, Width) -> ok when This :: wxGridCellFloatRenderer(), Width :: integer().

    Sets the width.