Skip to main content

Module language

Module language 

Source
Expand description

This module contains some of the enums and structs from the Slint language.

See also the list of global structs and enums

Structs§

KeyEvent
This structure is generated and passed to the key press and release callbacks of the FocusScope element.
KeyboardModifiers
The KeyboardModifiers struct provides booleans to indicate possible modifier keys on a keyboard, such as Shift, Control, etc. It is provided as part of KeyEvent’s modifiers field.
PointerEvent
Represents a Pointer event sent by the windowing system. This structure is passed to the pointer-event callback of the TouchArea element.
PointerScrollEvent
Represents a Pointer scroll (or wheel) event sent by the windowing system. This structure is passed to the scroll-event callback of the TouchArea element.
StandardListViewItem
Represents an item in a StandardListView and a StandardTableView.

Enums§

ColorScheme
This enum indicates the color scheme used by the widget style. Use this to explicitly switch between dark and light schemes, or choose Unknown to fall back to the system default.
PointerEventButton
This enum describes the different types of buttons for a pointer event, typically on a mouse or a pencil.
PointerEventKind
The enum reports what happened to the PointerEventButton in the event