GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
cc @EPashkin @sdroege
Please check the docs and add all the missing getters while we're at it :)
There's at least x_root and y_root still missing here and maybe other things for the other events
Damn, I thought it was implemented in Event... I'll need to make a bigger check.
Add missing Event getters and missing Events
Added a lot of missing stuff.
Some version fixes
As the whole GdkEvent union is zero-allocated, you can
let ptr = (&self.as_ref().group as *const u8).offset(1);
I'd rather not. I prefer to just wait for the generation instead.
We can probably wait years for that, it's far from trivial to get right for the general case
I'm a patient man. :)
The users might not be :P
I'll think about it when I'll hear their complains then. :p
See https://github.com/gtk-rs/gdk/pull/232/files#r203947133, same story
Then I merge!