Skip to main content

Calendar Class

Package: GHIElectronics.Endpoint.UI
Namespace: GHIElectronics.Endpoint.UI

Month calendar.

class Calendar : public Widget {};

Constructors​

Calendar(Widget parent)​

Calendar(const Widget& parent);

Create a calendar inside parent.

ParameterTypeDescription
parentWidgetContaining widget.

Methods​

SetShowedDate(int year, int month)​

void SetShowedDate(int32_t year, int32_t month);

Set the month shown by the calendar.

ParameterTypeDescription
yearintFour-digit year.
monthintMonth, 1 (January) to 12 (December).

SetToday(int year, int month, int day)​

void SetToday(int32_t year, int32_t month, int32_t day);

Set the day that is highlighted as "today".

ParameterTypeDescription
yearintFour-digit year.
monthintMonth, 1-12.
dayintDay of month, 1-31.