implement stateful api for append action

This commit is contained in:
yggverse 2024-11-11 11:35:35 +02:00
parent a6ef61486d
commit 3a0deabc14
5 changed files with 102 additions and 17 deletions

View file

@ -18,7 +18,7 @@ impl Widget {
.build();
// Init events
gobject.connect_clicked(move |_| window_action.append().activate());
gobject.connect_clicked(move |_| window_action.append().activate_default_once());
Self { gobject }
}