gtk4-rs icon indicating copy to clipboard operation
gtk4-rs copied to clipboard

Rust bindings of GTK 4

Results 191 gtk4-rs issues
Sort by recently updated
recently updated
newest added

``` System: Host: rafalkom Kernel: 5.13.0-28-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: GNOME 40.5 tk: GTK 3.24.30 wm: gnome-shell dm: GDM3 Distro: Ubuntu 21.10 (Impish Indri) ``` ```...

bug

``` System: Host: rafalkom Kernel: 5.13.0-28-generic x86_64 bits: 64 compiler: gcc v: 11.2.0 Desktop: GNOME 40.5 tk: GTK 3.24.30 wm: gnome-shell dm: GDM3 Distro: Ubuntu 21.10 (Impish Indri) ``` ```...

bug

This is an example of rendering individual frames of a gif at it's encoded framerate. It is heavily based on @bilelmoussaoui's work in the incomplete #152. It makes some improvements...

Something like sending a web request to retrieve some data and then display it. Maybe using tokio or some other async runtime.

good first issue
examples

**Bug description** Setting the `text_column` of an `EntryCompletion` using its builder instead of using `set_text_column` causes weird rendering / behavior of popup completion: ```rust EntryCompletion::builder() .text_column(0) .build(); ``` [Changing the...

bug

So instead of doing ```rust append_conic_gradient(...., &[ gsk::ColorStop::new(0.0, gdk::RGBA::white()), gsk::ColorStop::new(0.333, gdk::RGBA::from_str("#FF0000").unwrap()), gsk::ColorStop::new(0.667, gdk::RGBA::from_str("#0000FF").unwrap()), gsk::ColorStop::new(1.0, gdk::RGBA::from_str("#FF0000").unwrap()), ]); ``` You could do something like ```rust append_conic_gradient(&..., &gsk::ColorStop::builder(). .stop(0.0, gdk::RGBA::white()) .stop(0.333, gdk::RGBA::from_str("FF0000").unwrap()) .stop(0.667,...

good first issue
gsk

Seems like a bunch of GskTransform methods returns a nullable but are not annotated as such... cc @alatiera

enhancement
gsk

**Bug description** The [`gdk::Paintable.snapshot()` method](https://gtk-rs.org/gtk4-rs/stable/latest/docs/gdk4/prelude/trait.PaintableExt.html#tymethod.snapshot) doesn't accept a reference to a `gtk::Snapshot`. The compiler complains with this: ``` error[E0308]: mismatched types --> src/main.rs:74:40 | 74 | paintable.snapshot(&snapshot, width.into(), height.into()); |...

bug