Skip to main content

Window

Function Window 

Source
pub fn Window(
    __arg0: &'static str,
    __arg1: WindowConfig,
    content: impl FnMut() + 'static,
)
Expand description

Renders content in an operating-system window owned by the current composition.

On desktop this creates or updates a separate OS window. Other platforms compose the content inline so the same UI remains usable without native sub-window support.