Expand description
Views are organized as a tree. A view might receive / send events and render itself.
The z-level of the n-th child of a view is less or equal to the z-level of its n+1-th child.
Events travel from the root to the leaves, only the leaf views will handle the root events, but any view can send events to its parent. From the events it receives from its children, a view resends the ones it doesn’t handle to its own parent. Hence an event sent from a child might bubble up to the root. If it reaches the root without being captured by any view, then it will be written to the main event channel and will be sent to every leaf in one of the next loop iterations.
Re-exports§
pub use self::notification::NotificationEvent;
Modules§
- action_
label - battery
- button
- calculator
- clock
- common
- dialog
- A modal dialog view that displays a message and custom buttons.
- dictionary
- file_
chooser - filler
- frontlight
- home
- icon
- image
- input_
field - intermission
- key
- keyboard
- label
- labeled_
icon - menu
- menu_
entry - named_
input - navigation
- Generic navigation UI components.
- notification
- Notification view component for displaying temporary or persistent messages.
- ota
- page_
label - preset
- presets_
list - reader
- rotation_
values - rounded_
button - search_
bar - settings_
editor - Settings editor module for managing application configuration.
- sketch
- slider
- toggle
- toggleable_
keyboard - A reusable keyboard component that can be toggled on and off.
- top_bar
- touch_
events
Structs§
Enums§
Constants§
- BIG_
BAR_ HEIGHT - BORDER_
RADIUS_ LARGE - BORDER_
RADIUS_ MEDIUM - BORDER_
RADIUS_ SMALL - CLOSE_
IGNITION_ DELAY - MAX_
UPDATE_ DELAY - SMALL_
BAR_ HEIGHT - THICKNESS_
LARGE - THICKNESS_
MEDIUM - THICKNESS_
SMALL