gtk-rs-core
gtk-rs-core copied to clipboard
Rust bindings for GNOME libraries
#126 added them manually. To automate this we need - gir to generate a `min_cfg_version.md` - Rust 1.54 as minimal version for `#![doc = include_str!("...")]`
The GString does not necessarily contain UTF-8 data, so being able to convert to less stringent OsString/PathBuf types would help.
I've skip all code under `auto` folders as those are auto-generated. Maybe I could update the automatic code generation as well? 🤔
See summary.
Compared to async-std/tokio it's rather verbose and inconvenient to use. Something like the following, inspired by the beforementioned APIs and how gio works. We would then step by step extend...
Similar to the builder pattern we have for creating signals, it would be nice to have something similar for `gio::SimpleAction`. We should probably do that as part of a new...
I'm not sure if I'm just looking in the wrong place, but I can't find support for using font backends other than the "toy" backend that comes with cairo. The...
It would be good if FromGlibPtr* could get some variant that can be used for borrowing, mutably and immutably. Rationale for this is 1) For types like strings, boxed types...
See above. Those could implement all kinds of conversions to the actual Rust types, e.g. via Iterator::collect() for arrays, but use the GLib allocator for memory management. These could be...
i18n
[This guide](https://developer.gnome.org/glib/unstable/glib-I18N.html) indicates the procedure to initialize the text domain for translations, however I can't find the functions `setlocale`, `bindtextdomain` & `textdomain` in `gtk-rs/glib` even though the [`dgettext`](http://gtk-rs.org/docs/glib/fn.dgettext.html) variants are...