Skip to main content

Crate prism_linux

Crate prism_linux 

Source
Expand description

§prism-linux

GTK 4 backend: every Prism node is a real GTK widget (GtkLabel, GtkButton, GtkEntry, GtkSwitch…), placed by prism-native’s flexbox layout like on macOS and iOS. A small layout manager puts each widget at the frame Prism computed, so layouts match the other platforms.

Tested in Docker (docker/linux-dev.Dockerfile, Xvfb).

Functions§

run
Opens a window and runs the GTK main loop.