Struct WindowDescription

Struct Documentation

struct WindowDescription

Full description of a floating sub-window with tabbed content.

Public Members

std::string title
std::array<int, 2> position = {5, 700}

Initial position hint (pixels from top-left of the parent window).

std::array<int, 2> size = {340, 0}

Initial size hint. height=0 means “auto” (let the toolkit decide).

bool starts_hidden = false

If true, the window starts hidden / collapsed.

std::vector<Tab> tabs

The tabs. If only one tab is provided the backend may omit the tab bar and render the widgets directly (saves vertical space).