Global Structs and Enums
Structs
Section titled “Structs”IconButtonItem
Section titled “IconButtonItem”IconButtonItem
This structure represents a IconButtonItem with x and y coordinate
icon
(image): The icon to display in the button.tooltip
(string): The tooltip to display when hovering over the button.enabled
(bool): Whether the button is enabled.
ListItem
Section titled “ListItem”ListItem
This structure represents a ListItem with a text, supporting text, avatar icon, avatar text, avatar background, avatar foreground, and action icon.
text
(string): The text to display in the item.supporting_text
(string): The supporting text to display in the item.avatar-icon
(image): The avatar icon to display in the item.avatar-text
(string): The avatar text to display in the item.avatar-background
(color): The avatar background color to display in the item.avatar-foreground
(color): The avatar foreground color to display in the item.action-icon
(image): The action icon to display in the item.
NavigationItem
Section titled “NavigationItem”NavigationItem
This structure represents a NavigationItem with an icon, text, badge, and empty badge.
icon
(image): The icon to display in the item.icon-selected
(image): The icon to display in the item when selected.text
(string): The text to display in the item.empty-badge
(bool): Whether the badge is empty.badge
(string): The badge to display in the item.
NavigationGroup
Section titled “NavigationGroup”NavigationGroup
This structure represents a NavigationGroup with a title and items.
title
(string): The title of the group.items
([NavigationItem]): The items of the group.
SegmentedItem
Section titled “SegmentedItem”SegmentedItem
This structure represents an item in a segmented button control.
icon
(image): The icon to display for the item.text
(string): The text label for the item.
Time
This structure represents a time value with hour, minute, and second fields.
hour
(int): The hour component of the time.minute
(int): The minute component of the time.second
(int): The second component of the time.
CheckState
Section titled “CheckState”CheckState
This enum is used to define the state of a checkbox.
unchecked
: The checkbox is unchecked.partially-checked
: The checkbox is partially checked.checked
: The checkbox is checked.
FABStyle
Section titled “FABStyle”FABStyle
This enum is used to define the style of a Floating Action Button (FAB).
small
: A small floating action button.standard
: The standard floating action button size.large
: A large floating action button.
LayoutAlignment
Section titled “LayoutAlignment”LayoutAlignment
Enum representing the alignment
property of a layout
stretch
: Use the minimum size of all elements in a layout, distribute remaining space based on*-stretch
among all elements.center
: Use the preferred size for all elements, distribute remaining space evenly before the first and after the last element.start
: Use the preferred size for all elements, put remaining space after the last element.end
: Use the preferred size for all elements, put remaining space before the first element.space-between
: Use the preferred size for all elements, distribute remaining space evenly between elements.space-around
: Use the preferred size for all elements, distribute remaining space evenly before the first element, after the last element and between elements.
ScrollBarPolicy
Section titled “ScrollBarPolicy”ScrollBarPolicy
This enum describes the scrollbar visibility
as-needed
: Scrollbar will be visible only when neededalways-off
: Scrollbar never shownalways-on
: Scrollbar always visible
© 2025 SixtyFPS GmbH