DVUI

currentWindow

Get the current dvui.Window which corresponds to the OS window we are currently adding widgets to.

Only valid between Window.beginand Window.end.

Source

Implementation

#
pub fn currentWindow() *Window {
    return current_window orelse @panic("current_window was null, most dvui functions must be between Window.begin/end");
}