gtk-rs-core
gtk-rs-core copied to clipboard
Rust bindings for GNOME libraries
See https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md
Also maybe we should rename this to `IOError` instead of `IOErrorEnum`... @bilelmoussaoui ? _Originally posted by @sdroege in https://github.com/gtk-rs/gtk-rs-core/pull/717#discussion_r924342379_
E.g. currently when the number of arguments does not match one simply gets an assertion that e.g. `2 != 5` without any hints about the actual problem. CC @jf2048 @bilelmoussaoui
## Motivation #494 adds a way to declare properties on the private, implementation struct. In the future, we also want to add signals declaration using macros. It would be nice...
The implementation is a mess... I will clean it up. Take a look at the newly added test case to see how it can be used. I'm interested in comments...
[FEATURE REQUEST] Provide some kind of functionality to help with providing C bindings for a library
As far as I'm aware (I really need to experiment with it more) to create a library in gtk-rs that could be used from other languages (C, Vala, Python, C++,...
https://github.com/rust-lang-nursery/futures-rs/issues/1278#issuecomment-428071710 Problem here is that the callback-based API would give us a `Cancelled` error at that time, while simply dropping the future allows for no way of signalling that the...
Rust has great support for iterators, so I thought... Why not use them for event handling? Also, the current callback situation is a pain when dealing with async methods, because...
Having `_local` versions of functions that take closures seems fairly important since GObjects generally can't be `Send` or `Sync`. Implementing this manually is a pain; I wonder if there could...
https://docs.gtk.org/gio/method.DBusConnection.register_object_with_closures.html documents these arguments as nullable, and https://docs.gtk.org/gio/struct.DBusInterfaceVTable.html mentions: > Since 2.38, if you want to handle getting/setting D-Bus properties asynchronously, give NULL as your get_property() or set_property() function. The...