TimePicker
import { TimePicker } from "material.slint";export component Example inherits Window { width: 400px; height: 300px; background: transparent; TimePicker { hour: 14; minute: 30; }}slint
A TimePicker allows users to select a time using a clock interface or text input.
Properties
Section titled “Properties”int (in-out) default: 0
The selected hour (0-23).
minute
Section titled “minute”int (in-out) default: 0
The selected minute (0-59).
read_only
Section titled “read_only”bool default: false
Whether the time picker is read-only.
Callbacks
Section titled “Callbacks”accepted()
Section titled “accepted()”Invoked when the time selection is confirmed.
cancelled()
Section titled “cancelled()”Invoked when the time selection is cancelled.
© 2025 SixtyFPS GmbH