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

#32 in #macro-helpers

Download history 18865/week @ 2024-10-06 18801/week @ 2024-10-13 14192/week @ 2024-10-20 16040/week @ 2024-10-27 16135/week @ 2024-11-03 12774/week @ 2024-11-10 12856/week @ 2024-11-17 13490/week @ 2024-11-24 13875/week @ 2024-12-01 14705/week @ 2024-12-08 15780/week @ 2024-12-15 11814/week @ 2024-12-22 10479/week @ 2024-12-29 12255/week @ 2025-01-05 17077/week @ 2025-01-12 12479/week @ 2025-01-19

53,837 downloads per month
Used in 146 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
~43K SLoC