wxGridCellTextEditor(3)
wxGridCellTextEditor π
okay bestie, welcome to the Erlang Module Definition for wxGridCellTextEditor β yes we're in the Erlang docs, not the C++ ones, iykyk β¨
πΈ NAME πΈ
wxGridCellTextEditor β it's the grid cell editor for string/text data. that's it, that's the job, and it does it gorgeously π
β¨ DESCRIPTION β¨
okay so this one is a whole little fam, and you're gonna wanna meet everybody. see:
wxGridCellEditorwxGridCellBoolEditorwxGridCellChoiceEditorwxGridCellFloatEditorwxGridCellNumberEditor
and like, the nepo baby situation: this class is derived, and can use functions, from:
wxGridCellEditor
also the wxWidgets docs live over at wxWidgets docs: wxWidgets docs: wxGridCellTextEditor β go peek if you want the C++ flavor π¦
π DATA TYPES π
wxGridCellTextEditor()::wx:wx_object().
that's the type, and honestly? iconic. a whole object. periodt. π
π FUNCTIONS π
destroy(This :: wxGridCellTextEditor()) -> ok.
Destroys the object π yes babe, it's a destroyer, it does exactly what it says on the tin. no notes.
new([Option]) -> wxGridCellTextEditor()
when Option :: {maxChars, integer()}.
Text cell editor constructor. aka the glow-up moment where your text editor is born π«Ά and you can hand it {maxChars, integer()} if you wanna cap the vibes.
setParameters(This, Params) -> ok
when
This :: wxGridCellTextEditor(),
Params :: unicode:chardata().
okay so the parameters string format is "n" where n is a number representing the maximum width. so you literally just pass in a number, as chardata, and it becomes the max width. that's the whole format. just "n". don't overthink it bestie β¨
heads up babe, keep yourParamsasunicode:chardata()β it's a string with a number in it, not an integer. the way that detail matters π
and that's the whole page!! you ate this, fr fr π
written with love, shipped by Ericsson AB, and this whole vibe check is running on wx 2.6, dated wxGridCellTextEditor(3) β catch you in the next page, mwah ππ§ββοΈ
π¦ where this page comes from
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms