Expand description
Built-in views provided by vizia.
Re-exports§
pub use crate::binding::Binding;
Modules§
- badge_
derived_ lenses - Derived lenses for
Badge
. - chip_
derived_ lenses - Derived lenses for
Chip
. - collapsible_
derived_ lenses - Derived lenses for
Collapsible
. - combo_
box_ derived_ lenses - Derived lenses for
ComboBox
. - datepicker_
derived_ lenses - Derived lenses for
Datepicker
. - dropdown_
derived_ lenses - Derived lenses for
Dropdown
. - list_
derived_ lenses - Derived lenses for
List
. - menu_
bar_ derived_ lenses - Derived lenses for
MenuBar
. - menu_
button_ derived_ lenses - Derived lenses for
MenuButton
. - pick_
list_ derived_ lenses - Derived lenses for
PickList
. - popup_
data_ derived_ lenses - Derived lenses for
PopupData
. - popup_
derived_ lenses - Derived lenses for
Popup
. - rating_
derived_ lenses - Derived lenses for
Rating
. - scroll_
view_ derived_ lenses - Derived lenses for
ScrollView
. - slider_
derived_ lenses - Derived lenses for
Slider
. - spinbox_
derived_ lenses - Derived lenses for
Spinbox
. - submenu_
derived_ lenses - Derived lenses for
Submenu
. - tab_
view_ derived_ lenses - Derived lenses for
TabView
. - textbox_
derived_ lenses - Derived lenses for
Textbox
. - tooltip_
derived_ lenses - Derived lenses for
Tooltip
. - virtual_
list_ derived_ lenses - Derived lenses for
VirtualList
.
Structs§
- ArcTrack
- Makes a knob that represents the current value with an arc
- Avatar
- An avatar view is used to visually represent a person or entity and can contain text, an icon, or an image.
- Avatar
Group - The AvatarGroup view can be used to group a series of avatars together.
- Badge
- A Badge view for showing notifications, counts, or status information.
- Button
- A simple push button with a contained view.
- Button
Group - A view which represents a group of buttons.
- Checkbox
- A checkbox used to display and toggle a boolean state.
- Chip
- A visual indicator such as a tag.
- Collapsible
- A collapsible view that can be opened or closed to hide content.
- Combo
Box - A ComboBox view which combines a textbox with a picklist, allowing users to filter to only the options matching a query.
- Datepicker
- A control used to select a date.
- Divider
- The Divider view provides a thin, unobtrusive line for visually separating views.
- Dropdown
- A dropdown is used to display some state with the ability to open a popup with options to change that state.
- Element
- A basic element with no interactivity.
- Grid
- A view which arranges its children into a grid.
- HStack
- A view which arranges its children into a horizontal stack (row).
- Image
- A view which presents an image.
- Knob
- A circular view which represents a value.
- Label
- A label used to display text.
- List
- A view for creating a list of items from a binding to an iteratable list.
- List
Item - A view which represents a selectable item within a list.
- Markdown
- A view which parses and displays markdown as rich text.
- MenuBar
- A view which represents a horizontal group of menus.
- Menu
Button - A view which represents a pressable item within a menu.
- Pick
List - A view which allows the user to select an item from a dropdown list.
- Popup
- A view for displaying popup content.
- Popup
Data - A model which can be used by views which contain a popup.
- Progress
Bar - A simple progress bar that can be used to show the progress of something.
- Radio
Button - A radio button used to display and toggle boolean state.
- Rating
- A view which represents a rating as a number of filled stars.
- Scroll
View - A container a view which allows the user to scroll any overflowed content.
- Scrollbar
- A view which represents a bar that can be dragged to manipulate a scrollview.
- Slider
- The slider control can be used to select from a continuous set of values.
- Slider
Data Internal - Internal data used by the slider.
- Spacer
- A view which can be used to add stretch space between two other views.
- Spinbox
- A view which represents a value which can be incremented or decremented.
- Submenu
- A view which represents a submenu within a menu.
- Svg
- A view which presents an SVG image.
- Switch
- A Switch used to display and toggle a boolean state.
- TabBar
- TabHeader
- TabPair
- TabView
- Text
Span - A view which represents a span of text within a label.
- Textbox
- The
Textbox
view provides an input control for editing a value as a string. - Tick
Knob - Makes a round knob with a tick to show the current value
- Ticks
- Adds tickmarks to a knob to show the steps that a knob can be set to. When added to a knob, the knob should be made smaller (depending on span), so the knob doesn’t overlap with the tick marks
- Toggle
Button - A button which can be toggled between two states.
- Tooltip
- A tooltip view.
- VStack
- A view which arranges its children into a vertical stack (column).
- Virtual
List - A view for creating a list of items from a binding to an iteratable list. Rather than creating a view for each item, items are recycled in the list.
- XYPad
- A view which allows the user to manipulate 2 floating point values simultaneously on a two dimensional pane.
- ZStack
- A view which overlays its children on top of each other.
Enums§
- Avatar
Variant - Enum which represents the geometric variants of an avatar view.
- Badge
Placement - Enum which represents the placement of a badge on its parent.
- Button
Variant - Used in conjunction with the
variant
modifier for selecting the style variant of a button or button group. - Chip
Variant - Used in conjunction with the
variant
modifier for selecting the style variant of a chip. - Collapsible
Event - Events that can be triggered by the collapsible view.
- Knob
Mode - List
Event - Events used by the List view
- Menu
Event - Events used by menus.
- Orientation
- The orientation of a widget, such as a slider or scrollbar
- Placement
- Describes the placement of a view relative to its parent element.
- Popup
Event - Events used by the Popup view.
- Scroll
Event - Events for setting the properties of a scroll view.
- Selectable
- Represents how items can be selected in a list.
- Spinbox
Icons - And enum which represents the icons that can be used for the increment and decrement buttons of the Spinbox.
- TabEvent
- Text
Event - Events for modifying a textbox.
Traits§
- Button
Modifiers - Modifiers for changing the appearance of buttons.