wxDateEvent(3)

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

πŸ’– 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:

  • wxCommandEvent
  • wxEvent

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's date_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: This has to be a wxDateEvent() β€” 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