Egui::Router
Inherits Reference < Object
The route stack + per-frame page registry, drawn by ctx.routes.
Constructors
new(ctx : Context)
SourceInstance methods
ctx
Sourcemodal(address : String, title : String | Nil = nil, width : Float64 = 480.0, &block : Ui -> ) : Nil
A modal page: an addressable overlay route — the semi-transparent scrim + centered card (Context#modal), focusable/deep-linkable like any page. "A modal is just a page."
page(address : String, title : String | Nil = nil, &block : Ui -> ) : Nil
A full-window opaque page (renders via Context#page; the back button pops the stack when a page sits below).