wxCalendarCtrl
See external documentation: wxCalendarCtrl.
See external documentation:
This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler
Functions
new() -> wxCalendarCtrl()
See
new(Parent, Id) -> wxCalendarCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to new(Parent, Id, []).
new(Parent, Id, Option::[Option]) -> wxCalendarCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {date, wx_datetime() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See
create(This, Parent, Id) -> boolean()
This = wxCalendarCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Equivalent to create(This, Parent, Id, []).
create(This, Parent, Id, Option::[Option]) -> boolean()
This = wxCalendarCtrl()
Parent = wxWindow() (see module wxWindow)
Id = integer()
Option = {date, wx_datetime() (see module wx)} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}
See
setDate(This, Date) -> boolean()
This = wxCalendarCtrl()
Date = wx_datetime() (see module wx)
See
getDate(This) -> wx_datetime() (see module wx)
This = wxCalendarCtrl()
See
enableYearChange(This, Option::[Option]) -> ok
This = wxCalendarCtrl()
Option = {enable, boolean()}
See
enableMonthChange(This, Option::[Option]) -> ok
This = wxCalendarCtrl()
Option = {enable, boolean()}
See
enableHolidayDisplay(This) -> ok
This = wxCalendarCtrl()
Equivalent to enableHolidayDisplay(This, []).
enableHolidayDisplay(This, Option::[Option]) -> ok
This = wxCalendarCtrl()
Option = {display, boolean()}
See
setHeaderColours(This, ColFg, ColBg) -> ok
This = wxCalendarCtrl()
ColFg = wx_colour() (see module wx)
ColBg = wx_colour() (see module wx)
See
getHeaderColourFg(This) -> wx_colour4() (see module wx)
This = wxCalendarCtrl()
See
getHeaderColourBg(This) -> wx_colour4() (see module wx)
This = wxCalendarCtrl()
See
setHighlightColours(This, ColFg, ColBg) -> ok
This = wxCalendarCtrl()
ColFg = wx_colour() (see module wx)
ColBg = wx_colour() (see module wx)
See
getHighlightColourFg(This) -> wx_colour4() (see module wx)
This = wxCalendarCtrl()
See
getHighlightColourBg(This) -> wx_colour4() (see module wx)
This = wxCalendarCtrl()
See
setHolidayColours(This, ColFg, ColBg) -> ok
This = wxCalendarCtrl()
ColFg = wx_colour() (see module wx)
ColBg = wx_colour() (see module wx)
See
getHolidayColourFg(This) -> wx_colour4() (see module wx)
This = wxCalendarCtrl()
See
getHolidayColourBg(This) -> wx_colour4() (see module wx)
This = wxCalendarCtrl()
See
getAttr(This, Day) -> wxCalendarDateAttr() (see module wxCalendarDateAttr)
This = wxCalendarCtrl()
Day = integer()
See
setAttr(This, Day, Attr) -> ok
This = wxCalendarCtrl()
Day = integer()
Attr = wxCalendarDateAttr() (see module wxCalendarDateAttr)
See
setHoliday(This, Day) -> ok
This = wxCalendarCtrl()
Day = integer()
See
resetAttr(This, Day) -> ok
This = wxCalendarCtrl()
Day = integer()
See
hitTest(This, Pos) -> Result
Result = {Res::wx_enum() (see module wx), Date::wx_datetime() (see module wx), Wd::wx_enum() (see module wx)}
This = wxCalendarCtrl()
Pos = {X::integer(), Y::integer()}
See
Wd = ?wxDateTime_Sun | ?wxDateTime_Mon | ?wxDateTime_Tue | ?wxDateTime_Wed | ?wxDateTime_Thu | ?wxDateTime_Fri | ?wxDateTime_Sat | ?wxDateTime_Inv_WeekDay
Res = ?wxCAL_HITTEST_NOWHERE | ?wxCAL_HITTEST_HEADER | ?wxCAL_HITTEST_DAY | ?wxCAL_HITTEST_INCMONTH | ?wxCAL_HITTEST_DECMONTH | ?wxCAL_HITTEST_SURROUNDING_WEEK
destroy(This::wxCalendarCtrl()) -> ok
Destroys this object, do not use object again