31 releases

new 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

#1518 in GUI

Download history 13885/week @ 2024-08-30 14299/week @ 2024-09-06 14354/week @ 2024-09-13 20635/week @ 2024-09-20 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 13543/week @ 2024-12-13

57,371 downloads per month
Used in 140 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