Re-exports§
pub use application::Application;pub use shell::PollSubNotifier;pub use shell::open_blocking;pub use shell::open_parented;pub use shell::poll_events;pub use shell::settings::IcedBaseviewSettings;pub use baseview;pub use iced_program as program;pub use program::core;pub use program::runtime;pub use iced_futures::futures;pub use iced_highlighter as highlighter;pub use iced_renderer::wgpu::wgpu;pub use Alignment::Center;pub use Length::Fill;pub use Length::FillPortion;pub use Length::Shrink;pub use alignment::Horizontal::Left;pub use alignment::Horizontal::Right;pub use alignment::Vertical::Bottom;pub use alignment::Vertical::Top;
Modules§
- advanced
- Leverage advanced concepts like custom widgets.
- alignment
- Align and position widgets.
- animation
- Animate your applications.
- application
- border
- Draw lines around containers.
- clipboard
- Access the clipboard.
- debug
- Debug your applications.
- event
- Handle events of a user interface.
- executor
- Choose your preferred executor to power your application.
- font
- Load and use fonts.
- gradient
- Colors that transition progressively.
- keyboard
- Listen and react to keyboard events.
- message
- Traits for the message type of a
Program. - mouse
- Listen and react to mouse events.
- overlay
- Display interactive elements on top of other widgets.
- padding
- Space stuff around the perimeter.
- shell
- stream
- Create asynchronous streams of data.
- system
- Retrieve system information.
- task
- Create runtime tasks.
- theme
- Use the built-in theme and styles.
- time
- Listen and react to time.
- touch
- Listen and react to touch events.
- widget
- Use the built-in widgets or create your own.
- window
Macros§
Structs§
- Animation
- The animation of some particular state.
- Border
- A border.
- Color
- A color in the
sRGBcolor space. - Degrees
- Degrees
- Font
- A font.
- Padding
- An amount of space to pad for each side of a box
- Pixels
- An amount of logical pixels.
- Point
- A 2D point.
- Preset
- A specific boot strategy for a
Program. - Radians
- Radians
- Rectangle
- An axis-aligned rectangle.
- Settings
- The settings of an iced program.
- Shadow
- A shadow.
- Size
- An amount of space in 2 dimensions.
- Subscription
- A request to listen to external events.
- Task
- A set of concurrent actions to be performed by the iced runtime.
- Transformation
- A 2D transformation matrix.
- Vector
- A 2D vector.
Enums§
- Alignment
- Alignment on the axis of a container.
- Background
- The background of some element.
- Content
Fit - The strategy used to fit the contents of a widget to its bounding box.
- Error
- An error that occurred while running an application.
- Event
- A user interface event.
- Gradient
- A fill which transitions colors progressively along a direction, either linearly, radially (TBD), or conically (TBD).
- Length
- The strategy used to fill space in a specific dimension.
- Never
- The error type for errors that can never happen.
- Rotation
- The strategy used to rotate the content.
- Theme
- A built-in theme.
Traits§
- Executor
- A type that can run futures.
- Function
- A trait extension for binary functions (
Fn(A, B) -> O). - Program
- An interactive, native, cross-platform, multi-windowed application.
- Window
- A window managed by iced.
Functions§
- application
- exit
- Creates a
Taskthat exits the iced runtime. - never
- A function that can never be called.