wxGridCellFloatRenderer (wx v2.5.4)

Copy Markdown View Source

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

See:

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

wxWidgets docs: wxGridCellFloatRenderer

Summary

Functions

Destroys the object

Returns the precision.

Returns the width.

Float cell renderer ctor.

The parameters string format is "width[,precision[,format]]" where format should be chosen between f|e|g|E|G (f is used by default)

Sets the precision.

Sets the width.

Types

wxGridCellFloatRenderer()

-type wxGridCellFloatRenderer() :: wx:wx_object().

Functions

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

Destroys the object

getPrecision(This :: wxGridCellFloatRenderer()) -> integer()

Returns the precision.

getWidth(This :: wxGridCellFloatRenderer()) -> integer()

Returns the width.

new() ≡ new([])

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

Types

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

Float cell renderer ctor.

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 :: wxGridCellFloatRenderer(), Precision :: integer()) -> ok

Sets the precision.

setWidth(This :: wxGridCellFloatRenderer(), Width :: integer()) -> ok

Sets the width.