wxGridCellBoolEditor(3erl)

πŸ’– wxGridCellBoolEditor πŸ’–

okay so bestie, welcome to the wxGridCellBoolEditor(3erl) page β€” it's an Erlang Module Definition, and no cap it's giving cute little wxWidgets boolean-editor energy. ✨


🌸 NAME 🌸

wxGridCellBoolEditor β€” Functions for wxGridCellBoolEditor class. periodt. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Grid cell editor for boolean data. literally true/false business, but make it a grid cell. πŸ’–

See: the whole editor friend group:

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

This class is derived (and can use functions) from: wxGridCellEditor β€” nepo baby of the editor family, iykyk. 🫢

wxWidgets docs: wxGridCellBoolEditor β€” that's the docs reference, keep it cute and exact. ✨

πŸŽ€ DATA TYPES πŸŽ€

wxGridCellBoolEditor() = wx:wx_object()

πŸ‘‘ EXPORTS πŸ‘‘

new() -> wxGridCellBoolEditor()

Default constructor. the classic entrance, no notes. πŸ’…

isTrueValue(Value) -> boolean()

Types:

  • Value = unicode:chardata()

Returns true if the given value is equal to the string representation of the truth value we currently use (see useStringValues/1). it's giving truth-value vibe check, bestie. πŸ”₯

useStringValues() -> ok

useStringValues(Options :: [Option]) -> ok

Types:

Option =
    {valueTrue, unicode:chardata()} |
    {valueFalse, unicode:chardata()}

This method allows you to customize the values returned by wxGridCellNumberEditor:getValue/1 for the cell using this editor. yes, it really says wxGridCellNumberEditor:getValue/1 β€” we are not fixing the original, bestie. πŸ™ˆ

By default, the default values of the arguments are used, i.e. "1" is returned if the cell is checked and an empty string otherwise. so checked = "1", unchecked = "", slay. ✨

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

Destroys the object. bye bestie πŸ’€πŸ«Ά


mwah πŸ’‹ okay that's the whole page. Big shoutout to the wxWidgets team. β€” this footer is carrying wx 2.2.2.1 and the page name wxGridCellBoolEditor(3erl). No date is listed in that footer, so we're not inventing one, bestie. 🫢✨

πŸ“¦ where this page comes from