Skip to main content

Crate nrelm_macros

Crate nrelm_macros 

Source
Expand description

A collection of macros for gtk-rs, Relm4 and Rust in general.

Docs of related crates: nrelm | nrelm-macros | nrelm-components | nrelm-css | gtk3-rs | gtk-rs-core

GitLab

Macros§

menu
A macro to create menus.
menu_list
The menu_list! macro allows you to create a gtk::ListBox with rows that send messages to a component’s sender, like a menu.
view
The view! macro allows you to construct your UI easily and cleanly.

Attribute Macros§

component
Macro that implements nrelm::Component or nrelm::SimpleComponent and generates the corresponding widgets struct.
factory
Macro that implements nrelm::factory::FactoryComponent and generates the corresponding widgets struct.
widget_template
A macro to generate widget templates.