wxCalendarEvent(3erl)
π NAME π
okay so this is wxCalendarEvent(3erl) β the Erlang module definition page for wxCalendarEvent: functions for the wxCalendarEvent class. that's the whole name, bestie, and it ate. periodt. π
β¨ DESCRIPTION β¨
The wxCalendarEvent class is used together with wxCalendarCtrl β they're giving main character + trusted sidekick energy. ποΈπ
See: wxCalendarCtrl
This class is derived (and can use functions) from: wxDateEvent wxCommandEvent wxEvent. so yes, it's got the whole inheritance chain situation going on, and it can use their functions too. iykyk.
wxWidgets docs: wxCalendarEvent πβ¨
π§ DATA TYPES π§
these are the literal type definitions, no cap, copied exactly:
wxCalendarEvent() = wx:wx_object()
wxCalendar() =
#wxCalendar{type = wxCalendarEvent:wxCalendarEventType(),
wday = wx:wx_enum(),
date = wx:wx_datetime()}
wxCalendarEventType() =
calendar_sel_changed | calendar_day_changed |
calendar_month_changed | calendar_year_changed |
calendar_doubleclicked | calendar_weekday_clicked
π EXPORTS π
π getWeekDay(This) -> wx:wx_enum() π
Types:
This = wxCalendarEvent()
Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler. ποΈβ¨
It doesn't make sense to call this function in other handlers. fr fr, don't do it, bestie β that's the actual warning vibe. π«
πΈ getDate(This) -> wx:wx_datetime() πΈ
Types:
This = wxCalendarEvent()
Returns the date. that's it, that's the tea. π΅π
big kiss from the wxWidgets team, version wx 2.2.2.1, on the wxCalendarEvent(3erl) page π«Άβ¨
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms