-
-
Notifications
You must be signed in to change notification settings - Fork 124
Signal macro #1643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Signal macro #1643
Conversation
Have you seen #1577 and the comments left there? |
Just took a look; I'm not sure if they're still working on it. Where my implementation differs (as far as I can tell) is being able to specify no class handler using: #[glib::signals]
impl Base {
#[signal(run_first)]
fn one(&self);
} Without the macro, |
any plans for pushing this forward? |
Implements a macro for signals. This is still really rough around the edges and doesn't support things like extension traits. I also need to figure out how to write tests for this thing.