gtk-rs-core icon indicating copy to clipboard operation
gtk-rs-core copied to clipboard

action_entry: Add activate_async helper

Open BrainBlasted opened this issue 2 years ago • 1 comments

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.

BrainBlasted avatar Jan 19 '23 02:01 BrainBlasted

This should probably just call the helper function from https://github.com/gtk-rs/gtk-rs-core/pull/902 once merged.

sdroege avatar Jan 21 '23 10:01 sdroege