Skip to content

GTK 4 bindings and wrappers for Rust (Development)

License

Notifications You must be signed in to change notification settings

Hofer-Julian/gtk4-rs

 
 

Repository files navigation

gtk4-rs

The gtk4-rs are a group of crates that aims to provide gtk4 bindings.

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

Documentation

Development Branch

Regenerating

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

$ python3 generator.py

Development

This repository is structured as follows:

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

The crate is a "top" directory (so "gdk4" or "gtk4" 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

GTK 4 bindings and wrappers for Rust (Development)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.4%
  • C 2.5%
  • Other 0.1%