You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the general [bindings documentation](https://gtk-rs.org/docs/glib/).
68
19
69
-
Most of the bindings ([`src/auto`](src/auto)) are generated by [gir](https://github.com/gtk-rs/gir) using [this configuration file](Gir.toml). After editing `Gir.toml` the sources can be regenerated with
20
+
This repository is structured as follows:
70
21
71
-
```shell
72
-
> make gir
22
+
```text
23
+
- crate/
24
+
|
25
+
|-- README.md
26
+
|-- Gir.toml
27
+
|-- Cargo.toml
28
+
|-- src/
29
+
|-- sys/
73
30
```
74
31
75
-
When opening a PR please put the changes to the `src/auto` directory in a separate commit.
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:
76
34
77
-
## License
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.
78
40
79
-
__gtk4__ is available under the MIT License, please refer to it.
0 commit comments