27 releases

new 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 8375/week @ 2024-01-05 7177/week @ 2024-01-12 8625/week @ 2024-01-19 7568/week @ 2024-01-26 7583/week @ 2024-02-02 11281/week @ 2024-02-09 11530/week @ 2024-02-16 10564/week @ 2024-02-23 12282/week @ 2024-03-01 11737/week @ 2024-03-08 12734/week @ 2024-03-15 14612/week @ 2024-03-22 11805/week @ 2024-03-29 10246/week @ 2024-04-05 11895/week @ 2024-04-12 11832/week @ 2024-04-19

47,656 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.5–2.4MB
~49K SLoC