DVUI

subwindowCurrentId

Id of current subwindow (the one widgets run now will be in).

Only valid between Window.beginand Window.end.

Source

Implementation

#
pub fn subwindowCurrentId() Id {
    const cw = currentWindow();
    return cw.subwindows.current_id;
}