< All Topics
Print

Calendar

Description

This Widget displays a calendar.

More info

Properties

Specific

Year

Number

Initially selected year.

Month

Number

Initially selected month.

Day

Number

Initially selected day.

Header

Enum

Header type for the calendar:

  • None – No header.
  • Arrow – Header with arrow buttons to navigate months/years.
  • Dropdown – Header with dropdown menus to navigate months/years.

Chinese mode

Boolean

If enabled, the calendar will use Chinese locale for month and day names. Only available in LVGL 9.x and later.

Examples

  • LVGL Widgets Demo
Page content