gtk-rs-core
gtk-rs-core copied to clipboard
action_entry: Add activate_async helper
This is a helper function in a similar vein to
gtk4-rs's install_action_async ()
for widgets.
It allows applications to install actions
that use async/await without having to manually
create a glib::MainContext in the callback.
This should probably just call the helper function from https://github.com/gtk-rs/gtk-rs-core/pull/902 once merged.