29 releases

0.9.1 Aug 27, 2024
0.9.0 Jul 10, 2024
0.8.2 Apr 26, 2024
0.8.1 Mar 7, 2024
0.2.0 Jul 12, 2021

#27 in #macro-helpers

Download history 9790/week @ 2024-07-02 11528/week @ 2024-07-09 13820/week @ 2024-07-16 14714/week @ 2024-07-23 13970/week @ 2024-07-30 13665/week @ 2024-08-06 13781/week @ 2024-08-13 13835/week @ 2024-08-20 13480/week @ 2024-08-27 15115/week @ 2024-09-03 13988/week @ 2024-09-10 17415/week @ 2024-09-17 21698/week @ 2024-09-24 18084/week @ 2024-10-01 18951/week @ 2024-10-08 16612/week @ 2024-10-15

78,791 downloads per month
Used in 132 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.3MB
~47K SLoC