summaryrefslogtreecommitdiffstats
path: root/glow/src/widget/checkbox.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--glow/src/widget/checkbox.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/glow/src/widget/checkbox.rs b/glow/src/widget/checkbox.rs
new file mode 100644
index 00000000..da0d7a84
--- /dev/null
+++ b/glow/src/widget/checkbox.rs
@@ -0,0 +1,9 @@
+//! Show toggle controls using checkboxes.
+use crate::Renderer;
+
+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`.
+pub type Checkbox<Message> = iced_native::Checkbox<Message, Renderer>;