31 releases

0.9.5 Dec 19, 2024
0.9.3 Oct 31, 2024
0.9.1 Aug 27, 2024
0.9.0 Jul 10, 2024
0.2.0 Jul 12, 2021

#1588 in GUI

Download history 16640/week @ 2024-10-31 13044/week @ 2024-11-07 13506/week @ 2024-11-14 13935/week @ 2024-11-21 12297/week @ 2024-11-28 15349/week @ 2024-12-05 15896/week @ 2024-12-12 13052/week @ 2024-12-19 10838/week @ 2024-12-26 11714/week @ 2025-01-02 14706/week @ 2025-01-09 15291/week @ 2025-01-16 12679/week @ 2025-01-23 12357/week @ 2025-01-30 13401/week @ 2025-02-06 9890/week @ 2025-02-13

50,418 downloads per month
Used in 149 crates (via gtk4)

MIT license

54KB
941 lines

gtk4-macros

Project site

Macro helpers for GTK 4 bindings, part of gtk4-rs.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.70.

Documentation

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

~1.3–2.2MB
~44K SLoC