Go to main content

man pages section 3: Extended Library Functions, Volume 1

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

wxCalendarEvent (3erl)

Name

wxCalendarEvent - Functions for wxCalendarEvent class

Synopsis

Please see following description for synopsis

Description

wxCalendarEvent(3)         Erlang Module Definition         wxCalendarEvent(3)



NAME
       wxCalendarEvent - Functions for wxCalendarEvent class

DESCRIPTION
       The wxCalendarEvent class is used together with wxCalendarCtrl.

       See: wxCalendarCtrl

       This  class is derived (and can use functions) from: wxDateEvent wxCom-
       mandEvent wxEvent

       wxWidgets docs: wxCalendarEvent

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

EXPORTS
       getWeekDay(This) -> wx:wx_enum()

              Types:

                 This = wxCalendarEvent()

              Returns the week day on which the  user  clicked  in  EVT_CALEN-
              DAR_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(3)