See external documentation: wxCalendarCtrl.
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
new(Parent::wxWindow() (see module wxWindow), Id::integer()) -> wxCalendarCtrl()
Equivalent to new(Parent, Id, []).
new(Parent::wxWindow() (see module wxWindow), Id::integer(), Options::[Option]) -> wxCalendarCtrl()
Types:
Option = {date, datetime() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
create(This::wxCalendarCtrl(), Parent::wxWindow() (see module wxWindow), Id::integer()) -> bool()
Equivalent to create(This, Parent, Id, []).
Types:
Option = {date, datetime() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
setDate(This::wxCalendarCtrl(), Date::datetime() (see module wx)) -> bool()
getDate(This::wxCalendarCtrl()) -> datetime() (see module wx)
enableYearChange(This::wxCalendarCtrl()) -> ok
Equivalent to enableYearChange(This, []).
enableYearChange(This::wxCalendarCtrl(), Options::[Option]) -> ok
Types:
Option = {enable, bool()}
enableMonthChange(This::wxCalendarCtrl()) -> ok
Equivalent to enableMonthChange(This, []).
enableMonthChange(This::wxCalendarCtrl(), Options::[Option]) -> ok
Types:
Option = {enable, bool()}
enableHolidayDisplay(This::wxCalendarCtrl()) -> ok
Equivalent to enableHolidayDisplay(This, []).
enableHolidayDisplay(This::wxCalendarCtrl(), Options::[Option]) -> ok
Types:
Option = {display, bool()}
getHeaderColourFg(This::wxCalendarCtrl()) -> colour() (see module wx)
getHeaderColourBg(This::wxCalendarCtrl()) -> colour() (see module wx)
getHighlightColourFg(This::wxCalendarCtrl()) -> colour() (see module wx)
getHighlightColourBg(This::wxCalendarCtrl()) -> colour() (see module wx)
getHolidayColourFg(This::wxCalendarCtrl()) -> colour() (see module wx)
getHolidayColourBg(This::wxCalendarCtrl()) -> colour() (see module wx)
setHoliday(This::wxCalendarCtrl(), Day::integer()) -> ok
resetAttr(This::wxCalendarCtrl(), Day::integer()) -> ok
Types:
WxCalendarHitTestResult = integer()
WeekDay = integer()
See external documentation.
WxCalendarHitTestResult is one of ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK
WeekDay is one of ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay
destroy(This::wxCalendarCtrl()) -> ok