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

#49 in #gtk4

Download history 11695/week @ 2024-12-23 10881/week @ 2024-12-30 12651/week @ 2025-01-06 16750/week @ 2025-01-13 13927/week @ 2025-01-20 11670/week @ 2025-01-27 12889/week @ 2025-02-03 13668/week @ 2025-02-10 10882/week @ 2025-02-17 14468/week @ 2025-02-24 14416/week @ 2025-03-03 16778/week @ 2025-03-10 18166/week @ 2025-03-17 15965/week @ 2025-03-24 13902/week @ 2025-03-31 13495/week @ 2025-04-07

64,620 downloads per month
Used in 154 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

~2.1–3MB
~69K SLoC