examples/modal_demo

Modal demo — an advanced example: a floating yes/no confirmation modal composed entirely with gleamtea/style (borders, padding, colours, buttons) and overlaid on a backdrop with layout.overlay_center.

←/→ or Tab switch the focused button · Enter/Y/N confirm · Esc/q quit.

Run: ./bin/gleamtea-run modal_demo

Values

pub fn main() -> Nil
Search Document