An idiomatic GUI library inspired by Elm and based on gtk4-rs
pub use util::widget_plus::WidgetPlus;
pub use util::WidgetRef;
pub use gtk;
pub use adw;
pub use panel;
Defines traits and data types used to efficiently generating widgets from collections.
Utility traits for working with GTK widgets.
A macro to create menus.
A short macro for conveniently sending messages.
MicroComponent is a small component that lives in their parents model, can be modified from their parents model but at the same time have their own widgets and update function
The app that runs the main application. A
RelmAppconsists of a model that stores the application state and widgets that represent the UI.
A component that can be part of the main application or other components.
Senderthat can be used to send items to the corresponding main context receiver.
Define the behavior to update the model of the main app.
Define the behavior to initialize and update a component or worker.
Define how to initialize one or more components.
A message handler that can be used in situations where a
RelmWorkerisn’t flexible enough.
Trait that defines the types associated with the model.
Define behavior to turn the data of you model into widgets.
Sets a custom global stylesheet.
Sets a custom global stylesheet from a file.
Spawns a future on the main thread in the main event loop.
Macro that implements
relm4::factory::FactoryPrototypeand generates the corresponding widget struct.