1
- # Rust GDK 4 X11 bindings
1
+ # Rust GDK 4 Macos bindings
2
2
3
3
The project website is [ here] ( https://gtk-rs.org/ ) .
4
4
5
- Rust bindings of [ GDK 4's X11 backend] ( https://docs.gtk.org/gdk4-x11/ ) ,
5
+ Rust bindings of GDK 4's Macos backend,
6
6
part of [ gtk4-rs] ( https://github.com/gtk-rs/gtk4-rs/ ) .
7
7
8
8
GDK is an intermediate layer that isolates GTK from the details of the windowing system.
9
- GDK X11 contains functions specific to the X11 backend.
9
+ GDK Macos contains functions specific to the Macos backend.
10
10
11
11
## Minimum supported Rust version
12
12
13
13
Currently, the minimum supported Rust version is ` 1.80 ` .
14
14
15
15
## Documentation
16
16
17
- - The Rust API [ Stable] ( https://gtk-rs.org/gtk4-rs/stable/latest/docs/gdk4_x11 ) /[ Development] ( https://gtk-rs.org/gtk4-rs/git/docs/gdk4_x11 / )
18
- - [ The C API] ( https://docs.gtk.org/gdk4-x11 / )
17
+ - The Rust API [ Stable] ( https://gtk-rs.org/gtk4-rs/stable/latest/docs/gdk4_macos ) /[ Development] ( https://gtk-rs.org/gtk4-rs/git/docs/gdk4_macos / )
18
+ - [ The C API] ( https://docs.gtk.org/gdk4-macos / )
19
19
- [ GTK Installation instructions] ( https://www.gtk.org/docs/installations/ )
20
20
21
21
## Using
@@ -35,19 +35,15 @@ Avoid mixing versioned and git crates like this:
35
35
``` toml
36
36
# This will not compile
37
37
[dependencies ]
38
- gdk-x11 = {version = " 0.1" , package = " gdk4-x11 " }
38
+ gdk-macos = {version = " 0.1" , package = " gdk4-macos " }
39
39
gdk-wayland = { git = " https://github.com/gtk-rs/gtk4-rs.git" , package = " gdk4-wayland" }
40
40
```
41
41
42
42
### Features
43
43
44
44
| Feature | Description |
45
45
| --- | ----------- |
46
- | ` v4_16 ` | Enable the new APIs part of GTK 4.16 |
47
- | ` v4_10 ` | Enable the new APIs part of GTK 4.10 |
48
- | ` v4_4 ` | Enable the new APIs part of GTK 4.4 |
49
- | ` egl ` | Integration with the [ khronos-egl] ( https://crates.io/crates/khronos-egl ) crate |
50
- | ` xlib ` | Integration with the [ x11] ( https://crates.io/crates/x11 ) crate |
46
+ | ` v4_8 ` | Enable the new APIs part of GTK 4.8 |
51
47
52
48
### See Also
53
49
@@ -59,4 +55,4 @@ gdk-wayland = { git = "https://github.com/gtk-rs/gtk4-rs.git", package = "gdk4-w
59
55
60
56
## License
61
57
62
- The Rust bindings of __ gdk4-x11 __ are available under the MIT License, please refer to it.
58
+ The Rust bindings of __ gdk4-macos __ are available under the MIT License, please refer to it.
0 commit comments