Ian Douglas Scott
Ian Douglas Scott
I don't think there's any reason not to do it this way, and it seems neater.
As I understand, Pipewire is (going to be) the modern way to support this kind of thing on Linux, which seems nicer than a special kernel module. I haven't looked...
[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++,...
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...
When defining a GObject type in Rust, it is necessary to define a `ObjectImpl::signals()` function, and useful to define the `emit_` and `connect_` functions like the ones generated by `gir`....
At the moment, Gir doesn't seem to be able to generate the async constructors for `DBusObjectManagerClient`, but the blocking versions should work anyway...
https://github.com/gtk-rs/gtk/tree/master/src/subclass has a lot of similar code, but still leaves various gtk widgets impossible to subclass from Rust (with safe code anyway). I'm not sure exactly what difficulties are involved,...
This isn't terrible, but I don't like the way it ends up being a DSL that isn't quite Rust (`@extends`?), and that it looks like a definition for a struct...
I've found it annoying to add commands to `ectool`, which should be nicer with this. Plus more static checking.