Available on crate feature
select only.Expand description
A dropdown for choosing one value from a list.
The select opens and closes its own list, so the app only handles the chosen value. The list floats on the shared anchored layer in the menu look, with a check mark on the selected option. Escape or a click outside closes it.
Structs§
Enums§
- Action
- What a select keyboard shortcut does.
Constants§
- HEIGHT
- Height of the closed select in logical pixels.
Functions§
- default_
keymap - The default select shortcuts:
- option_
style - An option row: the shared menu row, highlighted while hovered or pressed.
- select
- Creates a select over
options, showingselectedwhen it is set. Options are labelled with theirDisplaytext. - style
- The iced pick list style for a status.