File tree 1 file changed +41
-0
lines changed 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ # gtk4-rs
2
+
3
+ The ` gtk4-rs ` are a group of crates that aims to provide gtk4 bindings.
4
+
5
+ This repository contains all the "core" crates of gtk 4. For more
6
+ information about each crate, please refer to their ` README.md ` file in their directory.
7
+
8
+ ## Regenerating
9
+
10
+ To regenerate crates using [ gir] , please use the ` generator.py `
11
+ file as follows:
12
+
13
+ ``` bash
14
+ $ python3 generator.py
15
+ ```
16
+
17
+ ## Development
18
+
19
+
20
+ This repository is structured as follows:
21
+
22
+ ``` text
23
+ - crate/
24
+ |
25
+ |-- README.md
26
+ |-- Gir.toml
27
+ |-- Cargo.toml
28
+ |-- src/
29
+ |-- sys/
30
+ ```
31
+
32
+ The ` crate ` is a "top" directory (so "gdk4" or "gtk4" in here for example). I listed some
33
+ import files, let's quickly explain them:
34
+
35
+ * ` README.md ` : Explanations about the crate itself and eventually some details.
36
+ * ` Gir.toml ` : Used by [ gir] to generate most of the crates' code.
37
+ * ` Cargo.toml ` : File describing the crate, used by ` cargo ` and ` Rust ` .
38
+ * ` src ` : Contains the source code of the crate.
39
+ * ` sys ` : Contains the 1:1 bindings of the C API.
40
+
41
+ [ gir ] : https://github.com/gtk-rs/gir
You can’t perform that action at this time.
0 commit comments