Crates.io | awesome-glib |
lib.rs | awesome-glib |
version | 0.5.0 |
source | src |
created_at | 2021-08-31 22:30:17.781387 |
updated_at | 2024-08-10 14:32:40.003646 |
description | Bunch of macros to make a life of gtk/glib user easier |
homepage | https://github.com/andy128k/awesome-gtk/ |
repository | https://github.com/andy128k/awesome-gtk/ |
max_upload_size | |
id | 445334 |
size | 39,783 |
Supplemental macros for glib/gio
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);
...
}
}