Expand description
Native GTK4 Linux Host for Whisker.
Each scene node is a GTK widget placed with Rust-computed geometry and
painted through gtk::Snapshot; text is measured and drawn with Pango.
Re-exports§
pub use gtk4;
Structs§
- Linux
AppConfig - Configuration for one standalone Linux window.
- Linux
Error - Failure while creating or running the GTK Host.
- Linux
Event Emitter - Delivers native widget events to the node that owns the widget.
- Linux
Module Definition - Linux implementation of one module, as returned by its Host crate.
- Linux
View Definition - The
View { Prop / Events / Command }portion of a Linux declaration.
Traits§
- Linux
View - Content object of one mounted module view.
Functions§
- run
- Runs a Whisker application in a GTK window until the window closes.
- run_
with_ application_ hash - Runs a Whisker application; Hot Reload remounts the root when the hash changes.