iced-yoda/graphics/src/widget/checkbox.rs

11 lines
334 B
Rust
Raw Normal View History

2020-05-19 17:15:44 +02:00
//! Show toggle controls using checkboxes.
use crate::Renderer;
2020-05-19 17:15:44 +02:00
pub use iced_style::checkbox::{Style, StyleSheet};
/// A box that can be checked.
///
/// This is an alias of an `iced_native` checkbox with an `iced_wgpu::Renderer`.
2021-10-21 18:50:27 +07:00
pub type Checkbox<'a, Message, Backend> =
iced_native::Checkbox<'a, Message, Renderer<Backend>>;