wxPasswordEntryDialog(3)
π NAME π
ok so bestie, wxPasswordEntryDialog β this is a class that pops up a dialog and asks the user for a one-line password string. that's it, that's the whole job. secret little text box, main character energy. πβ¨
π DESCRIPTION π
it's implemented as a generic wxWidgets dialog, no cap. π¦
See: Overview cmndlg
ok and since it's giving derived-class realness, it can also use functions from all of these ancestors, so keep that in mind bestie:
wxTextEntryDialogwxDialogwxTopLevelWindowwxWindowwxEvtHandler
wxWidgets docs: wxPasswordEntryDialog
πΈ DATA TYPES πΈ
wxPasswordEntryDialog() :: wx:wx_object().
yes, it's a wx_object(). slay. π
β¨ FUNCTIONS β¨
π«Ά destroy(This :: wxPasswordEntryDialog()) -> ok.
Destroys the object. bye bye, iconic, we hardly knew ye ππ
π§ new(Parent, Message, [Option]) -> wxPasswordEntryDialog()
when
Parent :: wxWindow:wxWindow(),
Message :: unicode:chardata(),
Option ::
{caption, unicode:chardata()} |
{value, unicode:chardata()} |
{style, integer()} |
{pos, {X :: integer(), Y :: integer()}}.
Constructor. the lil baby-making function for your dialog π±π
here's the rundown on the args:
Parentβ awxWindow:wxWindow(), your parent window obvsMessageβunicode:chardata(), the prompt text the user seesOptionβ a list of optional extras, and the options are:{caption, unicode:chardata()}{value, unicode:chardata()}{style, integer()}{pos, {X :: integer(), Y :: integer()}}
and bestie, use wxDialog:showModal/1 to actually show the dialog. it does not just appear out of thin air, you gotta call it. periodt. π
that's the whole page bestie, go forth and password-protect your vibe ππ
this little love letter was brought to you by Ericsson AB, from the wx 2.6 era β ngl, vintage but still serving ππ
π¦ 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