wxErlang

Reference Manual

Version 2.1

Table of Contents

wxGridCellFloatRenderer

Module

wxGridCellFloatRenderer

Module Summary

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

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

Types

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

Float cell renderer ctor.

getPrecision(This) -> integer()

Returns the precision.

getWidth(This) -> integer()

Returns the width.

setParameters(This, Params) -> ok

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.