wxErlang

Reference Manual

Version 2.0

Table of Contents

wxCalendarEvent

Module

wxCalendarEvent

Module Summary

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 wxCommandEvent wxEvent

wxWidgets docs: wxCalendarEvent

Data Types

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

getWeekDay(This) -> wx:wx_enum()

Types

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

Returns the date.