awesome-glib 0.2.0

Bunch of macros to make a life of gtk/glib user easier
Documentation

Awesome GTK

Build codecov Crates.io Status

Supplemental macros for gtk-rs

Actions

TLDR;

struct MyWidget ...

#[awesome_glib::actions]
impl MyWidget {
    fn action1(&self) ...
    fn action2(&self) ...
}

impl ObjectImpl for MyWidgetPrivate {
    fn constructed(&self, obj: &Self::Type) {
        ...
        obj.register_actions(obj);
        ...
    }
}