Registry / other / relm4-macros

relm4-macros

JSON →
library0.11.0rscratesunverified

Macros for the Relm4 GUI library, an idiomatic Elm-inspired framework based on gtk4-rs.

# Cargo.toml [dependencies] relm4-macros = "0.11.0"
INSTALL
IMPORT
SIG · RELM4-MACROS
R
relm4-macros
otherrustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

widget
use relm4_macros::widget;

Defines a simple widget using the Relm4 widget macro.

use relm4_macros::widget; widget! { MyWidget { label: "Hello, Relm4!", } } fn main() { println!("Widget macro defined"); }
Debug
Known issues
gotchaRequires gtk4-rs and Relm4 runtime
fix
Add gtk4 and relm4 as dependencies
affects: >=0.10.0
Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
relm4-macros — cargo add relm4-macros · libregistry