***************************** wx.grid.GridCellFloatRenderer ***************************** Inheritance diagram for `wx.grid.GridCellFloatRenderer`: | .. inheritance-diagram:: wx.grid.GridCellFloatRenderer | Description =========== This class may be used to format floating point data in a cell. .. seealso:: `wx.grid.GridCellRenderer `_, `wx.grid.GridCellNumberRenderer `_, `wx.grid.GridCellStringRenderer `_, `wx.grid.GridCellBoolRenderer `_ Derived From ^^^^^^^^^^^^^ * `wx.grid.GridCellStringRenderer `_ * `wx.grid.GridCellRenderer `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `GetPrecision <#GetPrecision>`_ * `GetWidth <#GetWidth>`_ * `SetPrecision <#SetPrecision>`_ * `SetWidth <#SetWidth>`_ Properties Summary ^^^^^^^^^^^^^^^^^^ * `Precision <#Precision>`_ * `Width <#Width>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(width=-1, precision=-1) Constructor. **Parameters:** * `width` (int): Minimum number of characters to be shown. * `precision` (int): Number of digits after the decimal dot. | **Returns:** `wx.grid.GridCellFloatRenderer `_ -------- .. method:: GetPrecision() Returns the precision. | **Returns:** `int` -------- .. method:: GetWidth() Returns the width. | **Returns:** `int` -------- .. method:: SetPrecision(precision) Sets the precision. **Parameters:** * `precision` (int) -------- .. method:: SetWidth(width) Sets the width. **Parameters:** * `width` (int) -------- Properties ^^^^^^^^^^ .. attribute:: Precision See `GetPrecision <#GetPrecision>`_ and `SetPrecision <#SetPrecision>`_ .. attribute:: Width See `GetWidth <#GetWidth>`_ and `SetWidth <#SetWidth>`_