alias ImGui::TopLevel::ImGuiTabBarFlags

Alias Definition

ImGui::ImGuiTabBarFlags

Defined in:

types.cr

Constant Summary

All = 255
AutoSelectNewTabs = 2

Automatically select new tabs when they appear

FittingPolicyDefault_ = 64
FittingPolicyMask_ = 192
FittingPolicyResizeDown = 64

Resize tabs when they don't fit

FittingPolicyScroll = 128

Add scroll buttons when tabs don't fit

NoCloseWithMiddleMouseButton = 8

Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.

None = 0
NoTabListScrollingButtons = 16

Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)

NoTooltip = 32

Disable tooltips when hovering a tab

Reorderable = 1

Allow manually dragging tabs to re-order them + New tabs are appended at the end of list

TabListPopupButton = 4

Disable buttons to open the tab list popup