wxFileDirPickerEvent(3)

πŸ“¦
version 29.0.6 Β· 3 versions
, in ubuntu stonking

πŸ‘‘ 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):

  • wxFilePickerCtrl
  • wxDirPickerCtrl

This class is derived from these, and it can use their functions too, so you get all their inherited rizz for free:

  • wxCommandEvent
  • wxEvent

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 as wx:wx_object().
  • wxFileDirPickerEventType() β€” defined as either command_filepicker_changed or command_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 is unicode:charlist() and the argument is This :: 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