Expand description
Button widgets for COSMIC applications.
Re-exports§
pub use crate::theme::Button as ButtonClass;
Modules§
- Hyperlink button widget
Structs§
- A builder for constructing a custom
Button
. - A generic button which emits a message when pressed.
- The appearance of a button.
Traits§
- A set of rules that dictate the style of a button.
Functions§
- A button with a custom element for its content.
- An image button which may contain any widget as its content.
- A text button with the destructive style
- A button constructed from an icon handle, using icon button styling.
- A button constructed from an image handle, using image button styling.
- Computes the layout of a
Button
. - A hyperlink button.
- Returns the
mouse::Interaction
of aButton
. - A text button with the standard style
- A text button with the suggested style
- A text button with the text style