Tutorial
Introduction
Here’s an introduction to Gtk-rs
crates. For the users who already know Rust and Gtk, just skip this part.
- Rust and
Gtk-rs
: This part explains how to add dependencies on theGtk-rs
crates, depending on your needs. - Gnome libraries and Rust: This part explains a bit how the bindings of the Gnome libraries work in Rust.
Full usage of Gtk-rs
crates
In this part we’ll go deeper into the mechanisms of the Gtk-rs
crates. If you’re not sure about your Rust or Gnome libraries knowledge, we recommend you to take a look at the previous tutorials first.
- Specifying version.
- Callbacks and closures.
- Upcast and downcast.
- Glade.
- Cross compiling from linux to windows.
Going further
Make sure to check the examples repository. Also you can take a look at the source code of projects using gtk-rs
.