gir
gir copied to clipboard
Tool to generate rust bindings and user API for glib-based libraries
Fixes #1158
The book and the tutorial need some love. The GtkSource gir file no longer exists, some of the links are outdated and some information is missing. This can make it...
Signals with a `Since` annotation will have the version annotations even if the class they belong too is already gated behind one. See https://gitlab.gnome.org/World/Rust/libadwaita-rs/-/merge_requests/38 where both the signal and class...
Add a new option for nullable functions to panic with the message set in `nullable_return_panic`
Currently `GError**` 's docs are completely ignored, instead maybe we can add a new section after ` # Return` like `# Error?` that would print the error's docs so that...
Currently, the parsing part ignores the virtual functions definitions. Ideally we would need: - [ ] Parse the XML for all the various vfuncs - [ ] Have a `[object.subclass]`...
The builder pattern uses `Vec` instead of something a bit nicer to use like `&[&str]`, it could even use `T: AsRef; &[T]` & then take ownership of the strings inside...
As per https://github.com/gtk-rs/gtk-rs-core/pull/644#discussion_r848059112
Gir currently adds an "Implements" section to the docs (e.g. see [here](https://gtk-rs.org/gtk4-rs/gtk4/struct.Switch.html)) To me it would make sense to add a "Properties" section as well. After a quick look it...