Gtk-rs documentation
Requirements
Crate API docs
The GTK+ Project documentation
Versions
By default the gtk
crate provides only GTK+ 3.14 APIs. You can access more
modern APIs by selecting one of the following features: v3_16
, v3_18
, v3_20
, v3_22
, v3_24
, v3_26
, v3_28
, v3_30
.
Cargo.toml
example:
[dependencies.gtk]
version = "0.1.0"
features = ["v3_16"]
Take care when choosing the version to target: some of your users might not have easy access to the latest ones. The higher the version, the fewer users will have it installed.