wxGridCe...tRenderer(3erl)

πŸ’– wxGridCe...tRenderer(3erl) πŸ’–

okay so this page is the Erlang Module Definition for wxGridCellFloatRenderer β€” and yes, the title is literally wxGridCe...tRenderer(3erl). It's giving truncated main-character energy, but that's the header, bestie ✨

🌸 NAME 🌸

wxGridCellFloatRenderer - Functions for wxGridCellFloatRenderer class. Periodt. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

This class may be used to format floating point data in a cell. That's the whole vibe. πŸ’–

See: the renderer friend group:

  • 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

πŸŽ€ DATA TYPES πŸŽ€

wxGridCellFloatRenderer() is literally this:

wxGridCellFloatRenderer() = wx:wx_object()

No cap, that's the type. 🫢

✨ EXPORTS ✨

  • new() -> wxGridCellFloatRenderer() β€” the plain no-argument constructor. Fresh renderer, slay. πŸ’…
  • new(Options :: [Option]) -> wxGridCellFloatRenderer() β€” constructor with options. 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. Bye bestie πŸ’€πŸ‘‹

mwah πŸ’‹ this little page was brought to you by the wxWidgets team, version wx 2.2.2.1, and the footer energy of wxGridCe...tRenderer(3erl) β€” go format those floats, bestie! 🫢🌈

πŸ“¦ where this page comes from