#gtk #gtk4 #gnome #gui #gtk-rs

macro gtk4-macros

Macros helpers for GTK 4 bindings

22 releases

0.6.6 Apr 10, 2023
0.6.5 Mar 23, 2023
0.6.0 Feb 8, 2023
0.5.4 Dec 11, 2022
0.2.0 Jul 12, 2021

#800 in GUI

Download history 5947/week @ 2023-02-02 6430/week @ 2023-02-09 7760/week @ 2023-02-16 6961/week @ 2023-02-23 6523/week @ 2023-03-02 6532/week @ 2023-03-09 5805/week @ 2023-03-16 6116/week @ 2023-03-23 6011/week @ 2023-03-30 6837/week @ 2023-04-06 8437/week @ 2023-04-13 6639/week @ 2023-04-20 6577/week @ 2023-04-27 6091/week @ 2023-05-04 6314/week @ 2023-05-11 5968/week @ 2023-05-18

26,089 downloads per month
Used in 64 crates (via gtk4)

MIT license

52KB
954 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.64.0.

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

~2.4–3MB
~69K SLoC