#iced #widgets #focus #subscribe #subscription #iced-widgets #on-focus

iced_on_focus_widget

Subscribe to focus changes on widgets

2 releases

0.1.1 Sep 18, 2024
0.1.0 Aug 12, 2024

#3 in #subscribe

Download history 167/week @ 2024-08-12 25/week @ 2024-08-19 195/week @ 2024-09-16 52/week @ 2024-09-23 129/week @ 2024-09-30 31/week @ 2024-10-07 4/week @ 2024-10-14

167 downloads per month

MIT license

30KB
152 lines

Iced Widget focus subscription

Subscribe to focus changes on widgets

let widget = text("Some text here");
let hoverable_widget = hoverable(widget.into())
   .on_focus(Messages::OnFocus)
   .on_unfocus(Messages::OnUnfocus);

Dependencies

~23–43MB
~706K SLoC