28 releases

new 0.9.0 Jul 10, 2024
0.8.1 Mar 7, 2024
0.7.2 Aug 12, 2023
0.7.0 Jul 23, 2023
0.2.0 Jul 12, 2021

#23 in #macro-helpers

Download history 12234/week @ 2024-03-14 14886/week @ 2024-03-21 12070/week @ 2024-03-28 10542/week @ 2024-04-04 11817/week @ 2024-04-11 13405/week @ 2024-04-18 12332/week @ 2024-04-25 13925/week @ 2024-05-02 11465/week @ 2024-05-09 10227/week @ 2024-05-16 10007/week @ 2024-05-23 11930/week @ 2024-05-30 11898/week @ 2024-06-06 14263/week @ 2024-06-13 12404/week @ 2024-06-20 8956/week @ 2024-06-27

49,444 downloads per month
Used in 109 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
~48K SLoC