wxErlang

Reference Manual

Version 1.8.3

Table of Contents

wxCalendarCtrl

Module

wxCalendarCtrl

Module Summary

See external documentation: wxCalendarCtrl.

Description

See external documentation: wxCalendarCtrl.

This class is derived (and can use functions) from:
wxControl
wxWindow
wxEvtHandler

DATA TYPES

wxCalendarCtrl()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

Exports

new() -> wxCalendarCtrl()

new(Parent, Id) -> wxCalendarCtrl()

Types

Id = integer()

Equivalent to new(Parent, Id, []).

new(Parent, Id, Options::[Option]) -> wxCalendarCtrl()

Types

Id = integer()
Option = {date, wx:wx_datetime()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

create(This, Parent, Id) -> boolean()

Types

Id = integer()

create(This, Parent, Id, Options::[Option]) -> boolean()

Types

Id = integer()
Option = {date, wx:wx_datetime()} | {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()}

setDate(This, Date) -> boolean()

Types

getDate(This) -> wx:wx_datetime()

Types

enableYearChange(This) -> ok

Types

This function is deprecated: deprecated function not available in wxWidgets-2.9 and later

Equivalent to enableYearChange(This, []).

enableYearChange(This, Options::[Option]) -> ok

Types

Option = {enable, boolean()}

This function is deprecated: deprecated function not available in wxWidgets-2.9 and later

See external documentation.

enableMonthChange(This) -> ok

Types

enableMonthChange(This, Options::[Option]) -> ok

Types

Option = {enable, boolean()}

enableHolidayDisplay(This) -> ok

Types

enableHolidayDisplay(This, Options::[Option]) -> ok

Types

Option = {display, boolean()}

setHeaderColours(This, ColFg, ColBg) -> ok

Types

ColFg = wx:wx_colour()
ColBg = wx:wx_colour()

getHeaderColourFg(This) -> wx:wx_colour4()

Types

getHeaderColourBg(This) -> wx:wx_colour4()

Types

setHighlightColours(This, ColFg, ColBg) -> ok

Types

ColFg = wx:wx_colour()
ColBg = wx:wx_colour()

getHighlightColourFg(This) -> wx:wx_colour4()

Types

getHighlightColourBg(This) -> wx:wx_colour4()

Types

setHolidayColours(This, ColFg, ColBg) -> ok

Types

ColFg = wx:wx_colour()
ColBg = wx:wx_colour()

getHolidayColourFg(This) -> wx:wx_colour4()

Types

getHolidayColourBg(This) -> wx:wx_colour4()

Types

getAttr(This, Day) -> wxCalendarDateAttr:wxCalendarDateAttr()

Types

Day = integer()

setAttr(This, Day, Attr) -> ok

Types

Day = integer()

setHoliday(This, Day) -> ok

Types

Day = integer()

resetAttr(This, Day) -> ok

Types

Day = integer()

hitTest(This, Pos) -> Result

Types

Result = {Res::wx:wx_enum(), Date::wx:wx_datetime(), Wd::wx:wx_enum()}
Pos = {X::integer(), Y::integer()}

See external documentation.
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