wxFileDirPickerEvent(3)
π wxFileDirPickerEvent
okay bestie, so this is the Erlang module definition for wxFileDirPickerEvent β it lives in the wx app (we're on wx 2.6 era, vintage but iconic π
).
β¨ NAME β¨
wxFileDirPickerEvent β this event class is what you get when wxFilePickerCtrl and wxDirPickerCtrl are like "hey, something happened" and they need to tell somebody. Basically it's the little messenger π¦ for the events those two controls generate.
πΈ DESCRIPTION πΈ
See also, bestie (go read these, iykyk):
wxFilePickerCtrlwxDirPickerCtrl
This class is derived from these, and it can use their functions too, so you get all their inherited rizz for free:
wxCommandEventwxEvent
Also pssst β wxWidgets docs: wxFileDirPickerEvent π
π Events
Use wxEvtHandler:connect/3 with wxFileDirPickerEventType to subscribe to events of this type. That's the whole vibe check β you connect, you listen, you get events. periodt.
π DATA TYPES π
wxFileDirPicker()β literally defined as#wxFileDirPicker{}.wxFileDirPickerEvent()β defined aswx:wx_object().wxFileDirPickerEventType()β defined as eithercommand_filepicker_changedorcommand_dirpicker_changed. choose your fighter β
π FUNCTIONS π
π getPath(This) -> unicode:charlist()
getPath(This) -> unicode:charlist()
when This :: wxFileDirPickerEvent().
Retrieve the absolute path of the file or directory the user has just selected. yes bestie, the whole path, not just a vibe β the actual absolute one. π«Ά
π reminder: the return type isunicode:charlist()and the argument isThis :: wxFileDirPickerEvent(), so don't come at it with anything else, bestie, she's specific.
that's the whole page, no cap β every option, every type, every function right where it belongs. π
and that's a wrap on the wxFileDirPickerEvent(3) page from the Erlang Module Definition set, brought to you by Ericsson AB for wx 2.6. slay, go connect some events πβ¨
π¦ 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