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

#31 in #macro-helpers

Download history 20051/week @ 2024-09-27 18279/week @ 2024-10-04 19241/week @ 2024-10-11 15239/week @ 2024-10-18 15027/week @ 2024-10-25 16562/week @ 2024-11-01 12460/week @ 2024-11-08 13450/week @ 2024-11-15 14001/week @ 2024-11-22 12184/week @ 2024-11-29 15918/week @ 2024-12-06 15430/week @ 2024-12-13 12707/week @ 2024-12-20 10963/week @ 2024-12-27 11449/week @ 2025-01-03 13095/week @ 2025-01-10

49,995 downloads per month
Used in 145 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
~44K SLoC