27 releases

0.8.2 Apr 26, 2024
0.8.1 Mar 7, 2024
0.8.0 Feb 4, 2024
0.7.2 Aug 12, 2023
0.2.0 Jul 12, 2021

#22 in #macro-helpers

Download history 7282/week @ 2024-01-27 8013/week @ 2024-02-03 11236/week @ 2024-02-10 11934/week @ 2024-02-17 10306/week @ 2024-02-24 12954/week @ 2024-03-02 10978/week @ 2024-03-09 13779/week @ 2024-03-16 13592/week @ 2024-03-23 11856/week @ 2024-03-30 10206/week @ 2024-04-06 12014/week @ 2024-04-13 14323/week @ 2024-04-20 11945/week @ 2024-04-27 14078/week @ 2024-05-04 9227/week @ 2024-05-11

51,085 downloads per month
Used in 103 crates (via gtk4)

MIT license

54KB
932 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.4–2.4MB
~47K SLoC