Mini-Calendar API
This page documents the API for the mini-calendar I am writing to replace the wxWidgets version. Our main priority is to write a mini-calendar for Chandler, but we are also keeping open the possibility to submit the mini-calendar back to wxWidgets. As such, I have indicated which items have been added to or left out from the wxWidgets API for their mini-calendar.
| Styles |
| Name | wxCal | Status |
| wxCAL_SUNDAY_FIRST | Keep | |
| wxCAL_MONDAY_FIRST | Keep | |
| wxCAL_SHOW_SURROUNDING_WEEKS | Keep | |
| wxCAL_SHOW_HOLIDAYS | Remove | |
| wxCAL_NO_YEAR_CHANGE | Remove | |
| wxCAL_NO_MONTH_CHANGE | Remove | |
| wxCAL_SEQUENTIAL_MONTH_SELECTION | Remove | |
|
| Methods |
| Name | wxCal | Status |
| wxMiniCalendarCtrl | Keep | |
| Create | Keep | |
| ~wxMiniCalendarCtrl | Keep | |
| SetDate | Keep | |
| GetDate | Keep | |
| SetHeaderColours | Keep | |
| GetHeaderColourFg | Keep | |
| GetHeaderColourBg | Keep | |
| SetHighlightColours | Keep | |
| GetHighlightColourFg | Keep | |
| GetHighlightColourBg | Keep | |
| EnableYearChange | Remove | |
| EnableMonthChange | Remove | |
| EnableHolidayDisplay | Remove | |
| SetHolidayColours | Remove | |
| GetHolidayColourFg | Remove | |
| GetHolidayColourBg | Remove | |
| GetAttr | Remove | |
| SetAttr | Remove | |
| SetHoliday | Remove | |
| ResetAttr | Remove | |
| HitTest | Remove | |
|
| Events |
| Name | In/Out | Status |
| EVT_CALENDAR | Keep | |
| EVT_CALENDAR_SEL_CHANGED | Keep | |
| EVT_CALENDAR_MONTH | Keep | |
| EVT_CALENDAR_DAY | Remove | |
| EVT_CALENDAR_YEAR | Remove | |
| EVT_CALENDAR_WEEKDAY_CLICKED | Remove | |
|