#gdk #gdk4 #gnome #gui #gtk-rs

gdk4

Rust bindings of the GDK 4 library

5 releases (3 breaking)

0.3.1 Oct 8, 2021
0.3.0 Sep 21, 2021
0.2.0 Jul 12, 2021
0.1.0 Jun 22, 2021
0.0.0 Jul 25, 2019

#46 in GUI

Download history 645/week @ 2021-07-04 991/week @ 2021-07-11 1046/week @ 2021-07-18 1361/week @ 2021-07-25 1531/week @ 2021-08-01 2613/week @ 2021-08-08 1698/week @ 2021-08-15 2115/week @ 2021-08-22 1922/week @ 2021-08-29 2177/week @ 2021-09-05 2483/week @ 2021-09-12 3056/week @ 2021-09-19 3636/week @ 2021-09-26 4131/week @ 2021-10-03 2928/week @ 2021-10-10 2431/week @ 2021-10-17

9,392 downloads per month
Used in 13 crates (7 directly)

MIT license

1MB
20K SLoC

Rust GDK 4 bindings

The project website is here.

Rust bindings of GDK 4, part of gtk4-rs.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.54.0.

Documentation

Using

We recommend using crates from crates.io, as demonstrated here.

If you want to track the bleeding edge, use the git dependency instead:

[dependencies]
gdk = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4" }

Avoid mixing versioned and git crates like this:

# This will not compile
[dependencies]
gtk = {version = "0.1", package = "gtk4"}
gdk = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4" }

Features

Feature Description
v4_4 Enable the new APIs part of GTK 4.4
v4_2 Enable the new APIs part of GTK 4.2

See Also

License

The Rust bindings of gdk4 are available under the MIT License, please refer to it.

Dependencies

~8.5MB
~194K SLoC

`a