Skip to content
/ gtk-rs Public
forked from gtk-rs/gtk3-rs

Provides Rust bindings for GTK+ libraries

License

Notifications You must be signed in to change notification settings

ids1024/gtk-rs

 
 

Repository files navigation

gtk-rs

The gtk-rs organization aims to provide safe Rust binding over GObject-based libraries. You can find more about it on https://gtk-rs.org.

This repository contains all the "core" crates of the gtk-rs organization. For more information about each crate, please refer to their README.md file in their directory.

Documentation

You can see the all the released crates' documentation in one place.

Regenerating

To regenerate crates using gir, please use the generator.py file as follows:

$ python3 generator.py

Development

This repository is mostly split into two branches: master and crate. master contains the not yet released code and is where new developments are happening. crate contains the last release source code and isn't supposed to be updated.

This repository is structured as follows:

- crate/
   |
   |-- README.md
   |-- Gir.toml
   |-- Cargo.toml
   |-- src/
   |-- sys/

The crate is a "top" directory (so "atk" or "gdk" in here for example). I listed some import files, let's quickly explain them:

  • README.md: Explanations about the crate itself and eventually some details.
  • Gir.toml: Used by gir to generate most of the crates' code.
  • Cargo.toml: File describing the crate, used by cargo and Rust.
  • src: Contains the source code of the crate.
  • sys: Contains the 1:1 bindings of the C API.

About

Provides Rust bindings for GTK+ libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Rust 99.8%
  • Other 0.2%