gtk-rs-core icon indicating copy to clipboard operation
gtk-rs-core copied to clipboard

Rust bindings for GNOME libraries

Results 207 gtk-rs-core issues
Sort by recently updated
recently updated
newest added

It doesn't seem possible to create an `Object` subclass that is immutable, i.e. doesn't have setters. `glib::Object::new` insists on allocating a default object and using setters to initialize. I would...

documentation
enhancement
glib

See summary. Simpler and less easy to get wrong.

enhancement
good first issue

Kind of related to https://github.com/gtk-rs/glib/issues/637 and I would do them together in a few days. I'll write out the whole plan here once I'm at a computer again, but the...

enhancement
glib-macros

We'll have a way to create and convert to/from Variants after gtk-rs/glib#651 is merged. However, since Variant is supposed to be non-mutable, bindings for `GVariantBuilder` will be very useful to...

enhancement
glib

It would create a clone of just the instance private struct. Calling `ObjectSubclass::get_instance()` on it would then get a reference to some random memory. This needs to be prevented somehow....

bug
glib

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,...

enhancement
glib

I find the `GEnum` a bit strange. For reference: ```rust #[derive(Debug, Eq, PartialEq, Clone, Copy, glib::GEnum)] #[repr(u32)] #[genum(type_name = "SimpleObjectAnimal")] enum Animal { Goat = 0, #[genum(name = "The Dog")]...

glib-macros

For example - All the constructors assert if invalid arguments are provided - Add/subtract asserts if overflows happen - Various functions assert if an invalid date is passed in (as...

bug
glib

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...

enhancement
glib

One very cool things about GTK is the usage of GAction. You can either easily add an action to a widget that implements the necessary interfaces to be an GActionGroup...

glib-macros
gio