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 12691/week @ 2024-11-16 13911/week @ 2024-11-23 13203/week @ 2024-11-30 15279/week @ 2024-12-07 15645/week @ 2024-12-14 12172/week @ 2024-12-21 10671/week @ 2024-12-28 11558/week @ 2025-01-04 17646/week @ 2025-01-11 14063/week @ 2025-01-18 12023/week @ 2025-01-25 12534/week @ 2025-02-01 13090/week @ 2025-02-08 11199/week @ 2025-02-15 14159/week @ 2025-02-22 13117/week @ 2025-03-01

53,620 downloads per month
Used in 151 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–3MB
~68K SLoC