30 releases

new 0.9.3 Oct 31, 2024
0.9.0 Jul 10, 2024
0.8.1 Mar 7, 2024
0.7.2 Aug 12, 2023
0.2.0 Jul 12, 2021

#29 in #macro-helpers

Download history 14455/week @ 2024-07-17 14754/week @ 2024-07-24 13472/week @ 2024-07-31 13691/week @ 2024-08-07 13660/week @ 2024-08-14 14076/week @ 2024-08-21 13783/week @ 2024-08-28 14952/week @ 2024-09-04 14233/week @ 2024-09-11 18432/week @ 2024-09-18 21154/week @ 2024-09-25 17743/week @ 2024-10-02 19329/week @ 2024-10-09 16338/week @ 2024-10-16 13842/week @ 2024-10-23 17215/week @ 2024-10-30

69,491 downloads per month
Used in 131 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.3–2.2MB
~44K SLoC