19 releases

0.8.1 Mar 7, 2024
0.7.2 Aug 12, 2023
0.7.0 Jul 23, 2023
0.6.3 Mar 17, 2023
0.2.0 Jul 12, 2021

#317 in GUI

Download history 1101/week @ 2023-12-21 970/week @ 2023-12-28 1164/week @ 2024-01-04 925/week @ 2024-01-11 1044/week @ 2024-01-18 910/week @ 2024-01-25 824/week @ 2024-02-01 1569/week @ 2024-02-08 1525/week @ 2024-02-15 1238/week @ 2024-02-22 1257/week @ 2024-02-29 1316/week @ 2024-03-07 1426/week @ 2024-03-14 1613/week @ 2024-03-21 1469/week @ 2024-03-28 1160/week @ 2024-04-04

5,790 downloads per month
Used in 6 crates (4 directly)

MIT license

1MB
19K SLoC

Rust GDK 4 X11 bindings

The project website is here.

Rust bindings of GDK 4's X11 backend, part of gtk4-rs.

GDK is an intermediate layer that isolates GTK from the details of the windowing system. GDK X11 contains functions specific to the X11 backend.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.70.

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-wayland = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4-wayland" }

Avoid mixing versioned and git crates like this:

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

Features

Feature Description
v4_10 Enable the new APIs part of GTK 4.10
v4_4 Enable the new APIs part of GTK 4.4
egl Integration with the khronos-egl crate
xlib Integration with the x11 crate

See Also

License

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

Dependencies

~8–18MB
~262K SLoC