38 releases
Uses new Rust 2024
| new 0.11.0-alpha.3 | Feb 5, 2026 |
|---|---|
| 0.10.3 | Dec 2, 2025 |
| 0.10.1 | Sep 17, 2025 |
| 0.10.0 | Jul 15, 2025 |
| 0.2.0 | Jul 12, 2021 |
#38 in #gnome-gui
92,782 downloads per month
Used in 194 crates
(via gtk4)
54KB
941 lines
gtk4-macros
Macro helpers for GTK 4 bindings, part of gtk4-rs.
Minimum supported Rust version
Currently, the minimum supported Rust version is 1.83.
Documentation
- The Rust API Stable/Development
Available Macros
CompositeTemplate
Features
| Feature | Description |
|---|---|
xml_validation |
Check the existence of #[template_child] fields in the UI file. Only works with #[template(string = "")] |
blueprint |
Adds blueprint usage support in #[template(string = "")] |
See Also
License
The Rust bindings of gtk4-macros are available under the MIT License, please refer to it.
Dependencies
~2.2–3.5MB
~73K SLoC