wxDirDialog(3erl)
π wxDirDialog π
okay so welcome to the wxDirDialog(3erl) page β Erlang Module Definition β and it's literally the manual for the directory chooser dialog. the way that this is main character energy for a dialog class? iconic, no cap. vibe check: passed. π
πΈ NAME πΈ
wxDirDialog β Functions for wxDirDialog class. periodt. π
β¨ DESCRIPTION β¨
This class? It represents the directory chooser dialog. obsessed.
π Styles π
This class supports the following styles:
β οΈ Note: this flag cannot be used with the wxDD_MULTIPLE style.
π Remark: MacOS 10.11+ does not display a title bar on the dialog. UsesetMessage/2to change the string displayed to the user at the top of the dialog after creation. ThewxTopLevelWindow:setTitle/2method is provided for compatibility with pre-10.11 MacOS versions that do still support displaying the title bar.
π See: Overview cmndlg, wxFileDialog.
Highkey, this class is derived (and can use functions) from: wxDialog wxTopLevelWindow wxWindow wxEvtHandler.
π wxWidgets docs: wxDirDialog.
π¦ DATA TYPES π¦
wxDirDialog() = wx:wx_object()
π EXPORTS π
π
new(Parent) -> wxDirDialog()
Types:
Parent = wxWindow:wxWindow()
π
new(Parent, Options :: [Option]) -> wxDirDialog()
Types:
Parent = wxWindow:wxWindow()
Option =
{title, unicode:chardata()} |
{defaultPath, unicode:chardata()} |
{style, integer()} |
{pos, {X :: integer(), Y :: integer()}} |
{sz, {W :: integer(), H :: integer()}}
Constructor. Use wxDialog:showModal/1 to show the dialog. slay.
π
destroy(This :: wxDirDialog()) -> ok
Destructor.
π
getPath(This) -> unicode:charlist()
Types:
This = wxDirDialog()
Returns the default or user-selected path.
β οΈ Note: This function can't be used with dialogs which have thewxDD_MULTIPLEstyle, useGetPaths()(not implemented in wx) instead.
π
getMessage(This) -> unicode:charlist()
Types:
This = wxDirDialog()
Returns the message that will be displayed on the dialog.
π
setMessage(This, Message) -> ok
Types:
This = wxDirDialog()
Message = unicode:chardata()
Sets the message that will be displayed on the dialog.
π
setPath(This, Path) -> ok
Types:
This = wxDirDialog()
Path = unicode:chardata()
Sets the default path.
okay that's the whole glow-up. Signed off by the wxWidgets team, version wx 2.2.2.1, page wxDirDialog(3erl) β that's the footer, bestie, and there's no extra date hiding in it. π
π¦ 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