wxFileDirPickerEvent(3erl)

πŸŽ€ NAME πŸŽ€

okay bestie, this is wxFileDirPickerEvent(3erl) β€” the Erlang Module Definition page for the Functions for wxFileDirPickerEvent class. πŸ’– it's giving very specific event-class energy, and we're here for it. no cap.


🌈 DESCRIPTION 🌈

this event class is used for the events generated by wxFilePickerCtrl and by wxDirPickerCtrl. that's the whole plot. ✨

See: wxFilePickerCtrl, wxDirPickerCtrl 🫢

this class is derived (and can use functions) from: wxCommandEvent wxEvent β€” ancestors said β€œwe raised her right.” πŸ‘‘

wxWidgets docs: wxFileDirPickerEvent πŸ“š

πŸ”₯ EVENTS πŸ”₯

use wxEvtHandler:connect/3 with wxFileDirPickerEventType to subscribe to events of this type. that's the subscription slay, periodt. πŸ•―οΈ

🧚 DATA TYPES 🧚

       wxFileDirPickerEvent() = wx:wx_object()

       wxFileDirPicker() =
           #wxFileDirPicker{type =
                                wxFileDirPickerEvent:wxFileDirPickerEventType(),
                            path = unicode:chardata()}

       wxFileDirPickerEventType() =
           command_filepicker_changed | command_dirpicker_changed

πŸ’œ EXPORTS πŸ’œ

  • getPath(This) -> unicode:charlist() β€” the function bestie, front and center. πŸ’…

Types:

  • This = wxFileDirPickerEvent()

retrieve the absolute path of the file/directory the user has just selected. literally the path of the thing they just picked. πŸŽ€


big kiss and a sparkle to the wxWidgets team πŸ’‹βœ¨ β€” footer tea: wx 2.2.2.1, and the page tag is wxFileDirPickerEvent(3erl). that's the source/version/manual-tag combo from the original, and no separate date was listed. that's the tea, bestie. πŸ“

πŸ“¦ where this page comes from