WXGRIDCELLCHOICEEDITOR(3erl)
wxGridCellChoiceEditor(3erl) β Erlang Module Definition π
Okay bestie, welcome to the wxGridCellChoiceEditor page. Itβs the Erlang module definition, and itβs literally all about a grid cell editor that lets the user pick from a list of strings. Iconic behavior, no cap. π
π NAME π
wxGridCellChoiceEditor β Functions for wxGridCellChoiceEditor class. Thatβs the name, and yes itβs a whole mouthful, but it ate. π
β¨ DESCRIPTION β¨
Grid cell editor for string data providing the user a choice from a list of strings. Itβs giving βdropdown energy, but make it a grid cell,β and honestly? Obsessed. π¦
See:
wxGridCellEditorwxGridCellAutoWrapStringEditor(not implemented in wx)wxGridCellBoolEditorwxGridCellEnumEditor(not implemented in wx)wxGridCellFloatEditorwxGridCellNumberEditorwxGridCellTextEditorwxGridCellDateEditor(not implemented in wx)
This class is derived (and can use functions) from: wxGridCellEditor.
wxWidgets docs: wxGridCellChoiceEditor.
π¦ DATA TYPES π¦
One data type, and itβs right here:
wxGridCellChoiceEditor() = wx:wx_object()
π EXPORTS π
Okay, the exports. These are the functions you can call, bestie β every signature and type stays exactly as it is. π
πΈ new(Choices) -> wxGridCellChoiceEditor() πΈ
Types:
Choices = [unicode:chardata()]
Takes Choices, which is a list of unicode:chardata(). Slay. β
π new(Choices, Options :: [Option]) -> wxGridCellChoiceEditor() π
Types:
Choices = [unicode:chardata()]
Option = {allowOthers, boolean()}
Choice cell renderer ctor. This one takes Choices and Options, where each option is {allowOthers, boolean()}. π«Ά
π setParameters(This, Params) -> ok π
Types:
This = wxGridCellChoiceEditor()
Params = unicode:chardata()
Parameters string format is "item1[,item2[...,itemN]]". Thatβs the format, exactly β no improvising, bestie. π
This method can be called before the editor is used for the first time, or later, in which case it replaces the previously specified strings with the new ones. So yes: later means the old strings get swapped out for the new ones. Periodt. β¨
π§ destroy(This :: wxGridCellChoiceEditor()) -> ok π§
Destroys the object. Thatβs it. Bye-bye, editor πβ¨
Cute little footer sign-off: wxWidgets team, version wx 2.2.2.1 β and thereβs no date line in this footer, bestie, just those two and a whole lot of grid-editor energy. π«Άπ
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms