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

#50 in #gtk4

Download history 12255/week @ 2025-01-05 17077/week @ 2025-01-12 14508/week @ 2025-01-19 11778/week @ 2025-01-26 12608/week @ 2025-02-02 13436/week @ 2025-02-09 10825/week @ 2025-02-16 14552/week @ 2025-02-23 14745/week @ 2025-03-02 15174/week @ 2025-03-09 19018/week @ 2025-03-16 16233/week @ 2025-03-23 13366/week @ 2025-03-30 14506/week @ 2025-04-06 13913/week @ 2025-04-13 14811/week @ 2025-04-20

58,873 downloads per month
Used in 158 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