Tab Bars
Tabs are automatically created by the docking system (when in ‘docking’ branch). Use this to create tab bars/tabs yourself.BeginTabBar
EndTabBar() if this returns true.
const char*
Unique identifier for the tab bar
ImGuiTabBarFlags
default:"0"
Tab bar flags (see ImGuiTabBarFlags_)
bool
True if tab bar is visible
EndTabBar
EndTabBar() if BeginTabBar() returns true.
Tab Items
BeginTabItem
const char*
Tab label
bool*
default:"NULL"
Optional pointer to bool to enable close button (set to false when clicked)
ImGuiTabItemFlags
default:"0"
Tab item flags (see ImGuiTabItemFlags_)
bool
True when tab is selected
EndTabItem
EndTabItem() if BeginTabItem() returns true.
TabItemButton
const char*
Button label
ImGuiTabItemFlags
default:"0"
Tab item flags
bool
True when clicked
SetTabItemClosed
BeginTabBar() and before Tab submissions. Otherwise call with a window name.
const char*
Tab or window label
Tab Bar Flags
ImGuiTabBarFlags_
Flags forBeginTabBar().
Tab Item Flags
ImGuiTabItemFlags_
Flags forBeginTabItem().