wxFontPickerEvent(3erl)

πŸ’– NAME πŸ’–

wxFontPickerEvent - Functions for wxFontPickerEvent class

Okay bestie, this page lives in the Erlang Module Definition manual, and it's all about the wxFontPickerEvent class. We love a niche little event icon ✨


🌸 DESCRIPTION 🌸

This event class is used for the events generated by wxFontPickerCtrl. It's giving "font picker event main character energy," fr fr πŸ’…

  • See: wxFontPickerCtrl
  • This class is derived (and can use functions) from: wxCommandEvent wxEvent
  • wxWidgets docs: wxFontPickerEvent

🌈 EVENTS 🌈

Use wxEvtHandler:connect/3 with wxFontPickerEventType to subscribe to events of this type. That's the whole vibe check πŸ¦‹


πŸ¦‹ DATA TYPES πŸ¦‹

Here's the type lineup, no cap:

wxFontPickerEvent() = wx:wx_object()

wxFontPicker() =
    #wxFontPicker{type =
                      wxFontPickerEvent:wxFontPickerEventType(),
                  font = wxFont:wxFont()}

wxFontPickerEventType() = command_fontpicker_changed

πŸ‘‘ EXPORTS πŸ‘‘

πŸ’… getFont(This) -> wxFont:wxFont()

Types:

  • This = wxFontPickerEvent()

Retrieve the font the user has just selected. Obsessed with a direct little getter tbh πŸŽ€


Big hugs from the wxWidgets team β€” this is version wx 2.2.2.1, page wxFontPickerEvent(3erl) (the original footer didn't print a date, so no fake date from me πŸ™ˆπŸ’–). That's a wrap, bestie 🫢✨

πŸ“¦ where this page comes from