diff --git a/examples/buttons.rs b/examples/buttons.rs index 7ebb3f8..12ebd4b 100644 --- a/examples/buttons.rs +++ b/examples/buttons.rs @@ -31,6 +31,13 @@ fn main() -> gooey::Result { })) .kind(ButtonKind::Outline), ) + .and( + Button::new("Transparent Button") + .on_click(clicked_label.with_clone(|label| { + move |_| label.set(String::from("Clicked Transparent Button")) + })) + .kind(ButtonKind::Transparent), + ) .and( Button::new("Default Button") .on_click(clicked_label.with_clone(|label| {