30 releases

0.9.3 Oct 31, 2024
0.9.0 Jul 10, 2024
0.8.1 Mar 7, 2024
0.7.2 Aug 12, 2023
0.2.0 Jul 12, 2021

#30 in #macro-helpers

Download history 13005/week @ 2024-08-03 14463/week @ 2024-08-10 13035/week @ 2024-08-17 14173/week @ 2024-08-24 14272/week @ 2024-08-31 14203/week @ 2024-09-07 14624/week @ 2024-09-14 20608/week @ 2024-09-21 20080/week @ 2024-09-28 18425/week @ 2024-10-05 19333/week @ 2024-10-12 14522/week @ 2024-10-19 15547/week @ 2024-10-26 16534/week @ 2024-11-02 12584/week @ 2024-11-09 10805/week @ 2024-11-16

57,401 downloads per month
Used in 137 crates (via gtk4)

MIT license

54KB
932 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.3MB
~45K SLoC