gtk-rs-core
gtk-rs-core copied to clipboard
Rust bindings for GNOME libraries
Fixes #365 We can't pass a closure directly in to `class_handler` or `override_signal_class_handler` because of safety issues, but we can use another simple macro
Continuation of https://github.com/gtk-rs/gtk3-rs/pull/266 Closes https://github.com/gtk-rs/gtk-rs-core/issues/16
After looking at the [gir file](https://github.com/gtk-rs/gir-files/blob/master/Pango-1.0.gir), an automated way to generate this seems not possible. So, I would like to suggest two possible alternatives: - Don't use gir! (How often...
It allows retrieving the application from any thread, not just the main thread (or more general the thread where the application was created). `gio::Application` is not thread-safe, so this is...
**Bug description** Before `ObjectSubclassIsExt::imp`, the private struct would only be exposed when explicitly allowed to. Now, it can be accessed publicly, even from a different module. Exposing the private struct...
Currently https://gtk-rs.org/gtk-rs-core/git/docs/glib/value/struct.GenericValueTypeChecker.html requires a StaticType implementation which is not always possible/available. I suppose we could probably stop requiring the StaticType as ValueType should be more than enough in general?
See https://github.com/gtk-rs/gtk4-rs/pull/500 for context Currently for cairo: You have a parent type `cairo::Surface` and other sub-types like `cairo::ImageSurface`. If a function takes a `cairo::Surface` and you have a `cairo::ImageSurface`, you...