Module iced::widget

source ·
Expand description

Use the built-in widgets or create your own.

Modules

  • Allow your users to perform actions by pressing a button.
  • canvascanvas
    Draw 2D graphics for your users.
  • Show toggle controls using checkboxes.
  • Display a dropdown list of searchable and selectable options.
  • Decorate content and apply alignment.
  • imageimage
    Display images in your user interface.
  • Use widgets that can provide hints to ensure continuity.
  • 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_codeqr_code
    Encode and display information in a QR code.
  • Create choices using radio buttons.
  • Display a horizontal or vertical rule for dividing content.
  • Navigate an endless amount of content with a scrollbar.
  • shaderwgpu
    A custom shader widget for wgpu applications.
  • Display an interactive selector of a single value from a range of values.
  • svgsvg
    Display vector graphics in your application.
  • Draw and interact with text.
  • Display a multi-line text input for text editing.
  • Display fields that can be filled with text.
  • Use the built-in theme and styles.
  • 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.
  • A widget for searching and selecting a single value from a list of options.
  • 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.
  • A widget which can render custom shaders with Iced’s wgpu backend.
  • 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 multi-line text input.
  • A field that can be filled with text.
  • A widget that applies any Theme to its contents.
  • 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.

Enums

Traits

  • A reusable, custom widget that uses The Elm Architecture.

Functions

Type Aliases