wxGridCellFloatEditor(3)

πŸ“¦
version 29.0.6 Β· 3 versions
, in ubuntu stonking

✨ wxGridCellFloatEditor ✨

okay so this is the Erlang module definition for wxGridCellFloatEditor, and it's literally the editor for floating point numbers data. it's giving "glow up your grids" energy πŸ’–


🌸 NAME 🌸

wxGridCellFloatEditor β€” the editor for floating point numbers data πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

bestie, first things first, go peek at the whole editorial cinematic universe:

  • wxGridCellEditor
  • wxGridCellBoolEditor
  • wxGridCellChoiceEditor
  • wxGridCellNumberEditor
  • wxGridCellTextEditor

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

  • wxGridCellEditor

wxWidgets docs: wxGridCellFloatEditor iykyk ✨


πŸ“¦ DATA TYPES πŸ“¦

wxGridCellFloatEditor() :: wx:wx_object().

that's the whole type, no cap 🫢


πŸ”₯ FUNCTIONS πŸ”₯

  • destroy(This :: wxGridCellFloatEditor()) -> ok. β€” destroys the object πŸ’€ bye bestie, we hardly knew ye. That's it, that's the whole job.
  • new([Option]) -> wxGridCellFloatEditor() β€” the float cell editor ctor, aka where the main character energy starts πŸ‘‘. The options it takes are:
when
    Option ::
        {width, integer()} |
        {precision, integer()} |
        {format, integer()}.
  • setParameters(This, Params) -> ok β€” sets the parameters, and ngl the string format is kinda specific πŸŽ€:
when
    This :: wxGridCellFloatEditor(),
    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) πŸ“

so like, yes, those are the Only five format letters that are valid, don't go inventing new ones, periodt.


ok warning bestie, the params string is strict: "width[,precision[,format]]" with format from f|e|g|E|G, and f is the default if you don't say anything. no improvisation πŸ’…

🌸 that's the whole page, ty for coming to my ted talk. this was Ericsson AB's wx 2.6 drop, and the page is wxGridCellFloatEditor(3) β€” stay slaying in your grids, mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from