pub enum Role {
Show 36 variants
Unknown(String),
Generic,
Application,
Button,
Checkbox,
HierarchyHorizontal,
HierarchyVertical,
Image,
InputDate,
InputTime,
InputPassword,
InputSlider,
Label,
Link,
List,
Menu,
MenuBar,
MenuItem,
Panel,
RadioButton,
RadioGroup,
ScrollArea,
ScrollBar,
SplitGroup,
Splitter,
TabGroup,
Table,
TableCell,
TableColumn,
TableRow,
TextEditMultiline,
TextEditSingleline,
Toolbar,
ValueIndicator,
WebView,
Window,
}
Expand description
TODO implement Display
for this type.
Variants§
Unknown(String)
Generic
The application doesn’t specify further info.
Application
An application, containing zero or more Window
s.
Button
A clickable button.
Checkbox
A button which can be either on or off.
HierarchyHorizontal
A tree view with items from left to right.
HierarchyVertical
A tree view with items from top to bottom.
Image
An image or icon.
InputDate
An input field with the date
type.
InputTime
An input field with the time
type.
InputPassword
A textual input field with its contents masked.
InputSlider
An input field where the user can select a point in a predefined range.
Label
Some static text.
Link
A label when clicked performs an action.
List
A list of items.
Menu
An item in a MenuBar
, such as File
, Edit
, Help
.
MenuBar
A menu bar (usually horizontal) containing one or more Menu
s
MenuItem
An item in a Menu
, such as Open
in the File
menu.
Panel
A (non) visual grouping of elements.
RadioButton
A button as the option in a RadioGroup
.
RadioGroup
An input field with one or more exclusive options, in the form of
RadioButton
s.
ScrollArea
A scrollable panel.
ScrollBar
The bar where the scroll depth is shown, usually on the right in a
ScrollArea
.
SplitGroup
A split up grouping of two subgroups, with the division of the total
size changeable by a Splitter
.
Splitter
A divisor of a SplitGroup
.
TabGroup
A grouping of tabs.
Table
The top-level container of a table.
TableCell
An individual cell of a table row and column.
TableColumn
The horizontal part of a table.
TableRow
The vertical part of a table.
TextEditMultiline
Text which the user can edit, with multiple lines allowed.
TextEditSingleline
Text which the user can edit, without multiple lines.
Toolbar
A grouping of buttons with actions.
ValueIndicator
A visual indicator of a certain value.
WebView
A web page or other web content inside the window.
Window
A window.