wxDateEvent(3erl)

🌸 NAME 🌸

Okay bestie, this is wxDateEvent(3erl) from the Erlang Module Definition manual, and the name-card moment is:

  • wxDateEvent β€” Functions for wxDateEvent class ✨

πŸ’– DESCRIPTION πŸ’–

So this event class is literally the info-holder for a date change, and it’s used together with wxDatePickerCtrl. It also serves as a base class for wxCalendarEvent β€” main character behavior, honestly πŸ‘‘.

Derived-class tea β˜•: this class is derived (and can use functions) from: wxCommandEvent wxEvent. So yeah, it gets those class functions in its bag, no cap.

Docs pointer vibe: wxWidgets docs: wxDateEvent 🫢

πŸ¦‹ DATA TYPES πŸ¦‹

  • wxDateEvent() = wx:wx_object() β€” yep, it’s a wx object, periodt πŸ’…
  • wxDate() = this exact record situation:
       wxDate() =
           #wxDate{type = wxDateEvent:wxDateEventType(),
                   date = wx:wx_datetime()}
  • wxDateEventType() = date_changed β€” that’s the one event type listed here, and she ate 🌈

πŸŽ€ EXPORTS πŸŽ€

getDate(This) -> wx:wx_datetime()

Types:

  • This = wxDateEvent()

Returns the date. That’s the whole job β€” you hand over This, it hands back the date, iconic behavior only πŸ’–


Okay that’s the whole page, bestie 🫢 β€” cute footer sign-off: source/version is wxWidgets team, wx 2.2.2.1, and the page tag is wxDateEvent(3erl). The footer doesn’t show a separate date line, so I’m not inventing one 😌. Slay and bye! πŸ’–βœ¨

πŸ“¦ where this page comes from