GtkCalendar

A calendar date picker widget.

Preview

October
2026
SunMonTueWedThuFriSat27282930123456789101112131415161718192021222324252627282930311234567

CSS Node Tree

calendar.view
├── header
│   ├── button
│   ├── stack.month
│   ├── button
│   ├── button
│   ├── label.year
│   ╰── button
╰── grid
    ╰── label[.day-name][.week-number][.day-number][.other-month][.today]

Day labels take :selected for the selected day, :checked for the markedDays, and :focus for the keyboard cursor: the arrow keys move it, Space selects its day, and Ctrl+arrows switch months and years.

Props

Prop

Type

GTK4 Documentation →

On this page