Top 3 Rust Glib Projects
Async binding for Tungstenite, the Lightweight stream-based WebSocket implementation
Provides Rust bindings for Gnome librariesProject mention: Gtk4 Tutorial | news.ycombinator.com | 2021-10-20
"Automatically figuring out which parent objects the class you're subclassing derives from"
AFAIK this is a language limitation, there is no way in a Rust macro to take a type and get all the traits that are implemented for that type.
"Helpers for properties and signals"
There is an open issue for this: https://github.com/gtk-rs/gtk-rs-core/issues/27
"A flat list of methods, instead of the public/imp split"
You can already do this in your code and use "pub fn" and "fn" like normal.
"I feel like I had a difficult time figuring out how to share state between widgets. You end up with lots of OnceCell, Rc, and RefCell, and it quickly becomes confusing,"
I think you are supposed to use bind_property and the gtk::Expression objects to do data binding, though that part is not so convenient to use from C or Rust either.
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Example for exporting a GObject/C API from Rust
Rust Glib related posts
What are some of the best open-source Glib projects in Rust? This list will help you:
Are you hiring? Post a new remote job listing for free.