enum ImGui::ImGuiTabItemFlags

Overview

enum ImGuiTabItemFlags_

Defined in:

types.cr

Enum Members

None = 0
UnsavedDocument = 1

Append '*' to title without affecting the ID, as a convenience to avoid using the ### operator. Also: tab is selected on closure and closure is deferred by one frame to allow code to undo it without flicker.

SetSelected = 2

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

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.

NoPushId = 8

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

NoTooltip = 16

Disable tooltip for the given tab

NoReorder = 32

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

Leading = 64

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

Trailing = 128

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

Instance Method Summary

Instance Method Detail

def leading? #

[View source]
def no_close_with_middle_mouse_button? #

[View source]
def no_push_id? #

[View source]
def no_reorder? #

[View source]
def no_tooltip? #

[View source]
def none? #

[View source]
def set_selected? #

[View source]
def trailing? #

[View source]
def unsaved_document? #

[View source]