檢視原始碼 wxCalendarEvent (wx v2.4.3)

wxCalendarEvent 類別與 wxCalendarCtrl 一起使用。

請參閱:wxCalendarCtrl

此類別繼承自以下類別,並可使用其函數:

wxWidgets 文件:wxCalendarEvent

摘要

函數

回傳日期。

回傳使用者在 EVT\_CALENDAR\_WEEKDAY\_CLICKED 處理常式中點擊的星期幾。

類型

-type wxCalendar() ::
          #wxCalendar{type :: wxCalendarEvent:wxCalendarEventType(),
                      wday :: wx:wx_enum(),
                      date :: wx:wx_datetime()}.
-type wxCalendarEvent() :: wx:wx_object().
-type wxCalendarEventType() ::
          calendar_sel_changed | calendar_day_changed | calendar_month_changed | calendar_year_changed |
          calendar_doubleclicked | calendar_weekday_clicked.

函數

-spec getDate(This) -> wx:wx_datetime() when This :: wxCalendarEvent().

回傳日期。

-spec getWeekDay(This) -> wx:wx_enum() when This :: wxCalendarEvent().

回傳使用者在 EVT\_CALENDAR\_WEEKDAY\_CLICKED 處理常式中點擊的星期幾。

在其他處理常式中呼叫此函數沒有意義。