Add on_opened and on_closed handlers for PickList

This commit is contained in:
Rinat 2023-12-01 10:34:15 +05:00 committed by Héctor Ramón Jiménez
parent b5b267c31c
commit 6cf7c4645d
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 33 additions and 2 deletions

View file

@ -271,6 +271,7 @@ pub fn pick_list<'a, Message, Theme, Renderer, T>(
where
T: ToString + PartialEq + 'static,
[T]: ToOwned<Owned = Vec<T>>,
Message: Clone,
Renderer: core::text::Renderer,
Theme: pick_list::StyleSheet
+ scrollable::StyleSheet