Expand description
Use the built-in widgets or create your own.
Modules
- Allow your users to perform actions by pressing a button.
- canvas
canvas
Draw 2D graphics for your users. - Show toggle controls using checkboxes.
- Decorate content and apply alignment.
- image
image
Display images in your user interface. - Display interactive elements on top of other widgets.
- Let your users split regions of your application and organize layout dynamically.
- Display a dropdown list of selectable values.
- Provide progress feedback to your users.
- qr_code
qr_code
Encode and display information in a QR code. - Create choices using radio buttons.
- Display a horizontal or vertical rule for dividing content.
- A renderer-agnostic native GUI runtime.
- Navigate an endless amount of content with a scrollbar.
- Display an interactive selector of a single value from a range of values.
- Distribute content vertically.
- svg
svg
Display vector graphics in your application. - Draw and interact with text.
- Display fields that can be filled with text.
- Show toggle controls using togglers.
- Display a widget over another.
- Display an interactive selector of a single value from a range of values.
Macros
Structs
- A generic widget that produces a message when pressed.
- A widget capable of drawing 2D graphics.
- A box that can be checked.
- A container that distributes its contents vertically.
- An element decorating some content.
- A frame that displays an image while keeping aspect ratio.
- A widget that only rebuilds its contents when necessary.
- Emit messages on mouse events.
- A collection of panes distributed using either vertical or horizontal splits to completely fill the space available.
- A widget for selecting a single value from a list of options.
- A bar that displays progress.
- A type of matrix barcode consisting of squares arranged in a grid which can be read by an imaging device, such as a camera.
- A circular button representing a choice.
- A widget that is aware of its dimensions.
- A container that distributes its contents horizontally.
- Display a horizontal or vertical rule for dividing content.
- A widget that can vertically display an infinite amount of content with a scrollbar.
- An horizontal bar and a handle that selects a single value from a range of values.
- An amount of empty space.
- A vector graphics image.
- A field that can be filled with text.
- A toggler widget.
- An element to display a widget over another.
- An vertical bar and a handle that selects a single value from a range of values.
Traits
- A reusable, custom widget that uses The Elm Architecture.
Functions
- Creates a new
Button
with the provided content. - canvas
canvas
Creates a new [Canvas
]. - Creates a new
Checkbox
. - Creates a new
Column
with the given children. - Creates a new
Container
with the provided content. - Focuses the next focusable widget.
- Focuses the previous focusable widget.
- Creates a horizontal
Rule
with the given height. - image
image
Creates a newImage
. - Creates a new
Lazy
widget with the given dataDependency
and a closure that can turn this data into a widget tree. - A container intercepting mouse events.
- Creates a new
PickList
. - Creates a new
ProgressBar
. - Creates a new
Radio
. - Creates a new
Responsive
widget with a closure that produces its contents. - Creates a new
Row
with the given children. - Creates a new
Scrollable
with the provided content. - Creates a new
Slider
. - svg
svg
- Creates a new
Text
widget with the provided content. - Creates a new
TextInput
. - Creates a new
Toggler
. - Creates a new
Tooltip
with the provided content, tooltip text, andtooltip::Position
. - Creates a vertical
Rule
with the given width. - Creates a new
VerticalSlider
.
Type Definitions
- A paragraph.