alias ImGui::TopLevel::ImGuiTabItemFlags

Alias Definition

ImGui::ImGuiTabItemFlags

Defined in:

types.cr

Constant Summary

Leading = 64

Enforce the tab position to the left of the tab bar (after the tab list popup button)

NoCloseWithMiddleMouseButton = 4

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

None = 0
NoPushId = 8

Don't call PushID(tab->ID)/PopID() on BeginTabItem()/EndTabItem()

NoReorder = 32

Disable reordering this tab or having another tab cross over this tab

NoTooltip = 16

Disable tooltip for the given tab

SetSelected = 2

Trigger flag to programmatically make the tab selected when calling BeginTabItem()

Trailing = 128

Enforce the tab position to the right of the tab bar (before the scrolling buttons)

UnsavedDocument = 1

Display a dot next to the title + tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.