Synced
ImGuiTabItemFlags
Section titled “ImGuiTabItemFlags”
- Defines the supported tab item flags choices at the Editor presentation boundary.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: System.Enum
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public enum InnoEditor.ImGui.ImGuiTabItemFlags : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | ImGuiTabItemFlags.Leading | Enforce the tab position to the left of the tab bar (after the tab list popup button) |
| Fields | ImGuiTabItemFlags.NoAssumedClosure | Tab is selected when trying to close + closure is not immediately 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. |
| Fields | ImGuiTabItemFlags.NoCloseWithMiddleMouseButton | 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. |
| Fields | ImGuiTabItemFlags.None | Uses the ordinary behavior without additional options. |
| Fields | ImGuiTabItemFlags.NoPushId | Don’t call PushID()/PopID() on BeginTabItem()/EndTabItem() |
| Fields | ImGuiTabItemFlags.NoReorder | Disable reordering this tab or having another tab cross over this tab |
| Fields | ImGuiTabItemFlags.NoTooltip | Disable tooltip for the given tab |
| Fields | ImGuiTabItemFlags.SetSelected | Trigger flag to programmatically make the tab selected when calling BeginTabItem() |
| Fields | ImGuiTabItemFlags.Trailing | Enforce the tab position to the right of the tab bar (before the scrolling buttons) |
| Fields | ImGuiTabItemFlags.UnsavedDocument | Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure. |