Struct WindowDescription
Defined in File GuiWidgetDescription.h
Struct Documentation
-
struct WindowDescription
Full description of a floating sub-window with tabbed content.
Position / size semantics
Both values are treated as first-use hints:
nanogui : setPosition / setFixedWidth called unconditionally (nanogui does not persist layouts between runs).
ImGui : ImGui::SetNextWindowPos(pos, ImGuiCond_FirstUseEver) and ImGui::SetNextWindowSize(size, ImGuiCond_FirstUseEver). This is correct for the docking branch: the dock manager can override position and size freely after the first frame, and imgui.ini persists the docked layout across sessions without any extra work.
nanogui : setVisible(false).
ImGui : window is not rendered until the module sets a shared
bool visibleflag (stored alongside the description). Alternatively, ImGui::SetNextWindowCollapsed(true, FirstUseEver).