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§
- Drop
Event - This structure is passed to the callbacks of the
DropAreaelement - KeyEvent
- This structure is generated and passed to the key press and release callbacks of the
FocusScopeelement. - Keyboard
Modifiers - The
KeyboardModifiersstruct provides booleans to indicate possible modifier keys on a keyboard, such as Shift, Control, etc. It is provided as part ofKeyEvent’smodifiersfield. - Pointer
Event - Represents a Pointer event sent by the windowing system.
This structure is passed to the
pointer-eventcallback of theTouchAreaelement. - Pointer
Scroll Event - Represents a Pointer scroll (or wheel) event sent by the windowing system.
This structure is passed to the
scroll-eventcallback of theTouchAreaelement. - Standard
List View Item - Represents an item in a StandardListView and a StandardTableView.
- Table
Column - This is used to define the column and the column header of a TableView
Enums§
- Accessible
Role - This enum represents the different values for the
accessible-roleproperty, used to describe the role of an element in the context of assistive technology such as screen readers. - Color
Scheme - 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.
- Drag
Action - This enum describes the action negotiated between the source of a drag (
DragArea) and its target (DropArea) during a drag-and-drop operation. The source declares which actions it permits, the target picks one in itscan-dropcallback, and the chosen action is reported back to the source viadrag-finishedso that, for example, amovesource can remove the original data. The same enum is used for drags that come from another application or window once native drag-and-drop is in play. - Pointer
Event Button - This enum describes the different types of buttons for a pointer event, typically on a mouse or a pencil.
- Pointer
Event Kind - The enum reports what happened to the
PointerEventButtonin the event - Sort
Order - This enum represents the different values of the
sort-orderproperty. It’s used to sort aStandardTableViewby a column.