wxTextEntryDialog(3erl)
π¬ wxTextEntryDialog(3erl)
okay so bestie, welcome to the wxTextEntryDialog page from the Erlang Module Definition manual β¨ β yes this is the module doc for the wxTextEntryDialog class, and yes it's about to be your new fave little popup. π
πΈ NAME πΈ
wxTextEntryDialog β Functions for wxTextEntryDialog class π
β¨ DESCRIPTION β¨
This class represents a dialog that requests a one-line text string from the user. That's it, that's the whole vibe β one line, no paragraphs, no essay, just give me a string bestie. π«Ά
It is implemented as a generic wxWidgets dialog.
See: Overview cmndlg
This class is derived (and can use functions) from:
wxDialogwxTopLevelWindowwxWindowwxEvtHandler
wxWidgets docs: wxTextEntryDialog
π¦ DATA TYPES π¦
wxTextEntryDialog() = wx:wx_object()
literally just the object type, nothing wild π§
π EXPORTS π
new() -> wxTextEntryDialog()β Default constructor π
Call Create() (not implemented in wx) to really create the dialog later. So like, this one is the "I'll build it in a sec" version, no cap.
Since: 2.9.5 β
new(Parent, Message) -> wxTextEntryDialog()β constructor that takes the parent window and the message π
Types:
Parent = wxWindow:wxWindow()
Message = unicode:chardata()
new(Parent, Message, Options :: [Option]) -> wxTextEntryDialog()β the full-glam constructor, now with options π₯
Types:
Parent = wxWindow:wxWindow()
Message = unicode:chardata()
Option =
{caption, unicode:chardata()} |
{value, unicode:chardata()} |
{style, integer()} |
{pos, {X :: integer(), Y :: integer()}}
Constructor.
Use wxDialog:showModal/1 to show the dialog β that's how you actually make it appear, bestie π
See Create() (not implemented in wx) method for parameter description. (iykyk, the docs live over there π«‘)
destroy(This :: wxTextEntryDialog()) -> okβ Destructor π§Ή bye babesgetValue(This) -> unicode:charlist()β the reader π
Types:
This = wxTextEntryDialog()
Returns the text that the user has entered if the user has pressed OK, or the original value if the user has pressed Cancel. so basically Cancel = "we're keeping the old one, no thoughts" π
setValue(This, Value) -> okβ the writer βοΈ
Types:
This = wxTextEntryDialog()
Value = unicode:chardata()
Sets the default text value. pre-fill it, manifest it, slay πΈ
ok that's the whole page, every single option and type is here, you're so welcome π
mwah, tysm for reading bestie π«Ά this page was brought to you by the wxWidgets team, version wx 2.2.2.1, and wxTextEntryDialog(3erl) β periodt. π
β¨π
π¦ 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