wxCalendarCtrl

wxCalendarCtrl
The calendar control allows the user to pick a date.

Creation Parameters
Functions/Procedures
Supertopics
Subtopics

wxCalendarCtrl

[func]
get_cal_days_in_month
( atom cal )

Category: wxCalendarCtrl

Returns the number of days in the currently selected month.


wxCalendarCtrl

[func]
get_date
( atom cal )

Category: wxCalendarCtrl

Returns the selected date. See read_datetime() for format information.


wxCalendarCtrl

[func]
get_date_time
( atom cal )

Category: wxCalendarCtrl

Returns a wxDateTime object for the selected date on the calendar.


wxCalendarCtrl

[proc]
set_date
( atom cal, sequence Date )

Category: wxCalendarCtrl

See wxDateTime for the proper format of Date.


wxCalendarCtrl

[proc]
set_date_back_color
( atom cal, integer day, atom color )

Category: wxCalendarCtrl

day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31.


wxCalendarCtrl

[proc]
set_date_border
( atom cal, integer day, integer border )

Category: wxCalendarCtrl

day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31

border:


wxCalendarCtrl

[proc]
set_date_border_color
( atom cal, integer day, atom color )

Category: wxCalendarCtrl

day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31


wxCalendarCtrl

[proc]
set_date_font
( atom cal, integer day, atom font )

Category: wxCalendarCtrl

day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31


wxCalendarCtrl

[proc]
set_date_holiday
( atom cal, integer day, atom color )

Category: wxCalendarCtrl

day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31.

holiday should be 1 if the day is a holiday, or 0 if not a holiday.


wxCalendarCtrl

[proc]
set_date_text_color
( atom cal, integer day, atom color )

Category: wxCalendarCtrl

day can be either a single day (integer) or a sequence containing multiple days. It should be in the range of 1..31