wxDateEvent(3)
π wxDateEvent β the Erlang manual page, bestie edition π
okay so you're reading the wxDateEvent page from the Erlang docs (that's the page name right there in the header, she's a section 3 girlie) and honestly? she's a little gem. let's get into it π¦
β¨ NAME β¨
wxDateEvent β this event class holds information about a date change, and it's used together with wxDatePickerCtrl. that's the whole job. she shows up when your date changes. iconic behaviour, no notes π
πΈ DESCRIPTION πΈ
she's not just a standalone queen β she also serves as a base class for wxCalendarEvent. so the calendar stuff inherits her whole vibe. passing the torch, fr fr π«Ά
This class is derived, and can use functions, from:
wxCommandEventwxEvent
so like, everything those two can do, she can do too. the family tree is giving main character energy π
wxWidgets docs: wxDateEvent β that's where the C++ side of the family lives, iykyk.
π DATA TYPES π
wxDate()::#wxDate{}.β a date record, that's it, that's the girl πΈwxDateEvent()::wx:wx_object().β the event object itself β¨wxDateEventType()::date_changed.β literally one single value, and it'sdate_changed. a minimalist. we love her for it π§
π₯ FUNCTIONS π₯
getDate(This) -> wx:wx_datetime() when This :: wxDateEvent().
Returns the date. π that's the whole thing β you hand her the event, she hands you back the date. short, sweet, slay.
getDate(This) -> wx:wx_datetime() when This :: wxDateEvent().
β quick vibe check:Thishas to be awxDateEvent()β don't be out here passing her random stuff, she's specific about her type, periodt.
and that's the page!! hope this made sense, bestie π go forth and date-change with confidence π
β a cute little sign-off from the team:Ericsson AB, who brought you this page as part of wx 2.6.** that's the source, the version, and the date stamp all wrapped up in a bow π byeee π¦
π¦ 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