wxGridCellTextEditor(3erl)

πŸŽ€ NAME πŸŽ€

okay so this is wxGridCellTextEditor β€” Functions for wxGridCellTextEditor class. And yes bestie, the page itself is wxGridCellTextEditor(3erl), aka the Erlang Module Definition. We're in Erlang/wxWidgets land and the vibes are immaculate. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

It's literally the grid cell editor for string/text data. That's the whole main-character job. ✨

See:

  • wxGridCellEditor
  • wxGridCellAutoWrapStringEditor (not implemented in wx)
  • wxGridCellBoolEditor
  • wxGridCellChoiceEditor
  • wxGridCellEnumEditor (not implemented in wx)
  • wxGridCellFloatEditor
  • wxGridCellNumberEditor
  • wxGridCellDateEditor (not implemented in wx)

This class is derived (and can use functions) from: wxGridCellEditor.

wxWidgets docs: wxGridCellTextEditor.

✨ DATA TYPES ✨

wxGridCellTextEditor() = wx:wx_object()

πŸ’… EXPORTS πŸ’…

🌸 new() 🌸

new() -> wxGridCellTextEditor()

πŸŽ€ new(Options :: [Option]) πŸŽ€

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

Types:

Option = {maxChars, integer()}

Text cell editor constructor. That's it, that's the constructor. 🫢

πŸ¦‹ setParameters(This, Params) πŸ¦‹

setParameters(This, Params) -> ok

Types:

This = wxGridCellTextEditor()
Params = unicode:chardata()

The parameters string format is "n", where n is a number representing the maximum width. So it's giving very specific string energy, but make it numeric. 😭

πŸ‘‘ destroy(This :: wxGridCellTextEditor()) πŸ‘‘

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

Destroys the object. Cleanup queen behavior, no notes. πŸ’€


πŸ’– that's the whole page, bestie. signed off by the wxWidgets team β€” wx 2.2.2.1 β€” wxGridCellTextEditor(3erl) 🫢
πŸ“¦ where this page comes from