logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wxCalendarEvent - Functions for wxCalendarEvent class

Data Types

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

Description

       The wxCalendarEvent class is used together with wxCalendarCtrl.

       See: wxCalendarCtrl

       This class is derived (and can use functions) from: wxDateEventwxCommandEventwxEvent

       wxWidgets docs: wxCalendarEvent

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.

       getDate(This)->wx:wx_datetime()

              Types:

                 This = wxCalendarEvent()

              Returns the date.

wxWidgets team.                                     wx 2.1.1                               wxCalendarEvent(3erl)

Name

       wxCalendarEvent - Functions for wxCalendarEvent class

See Also