enum ImGui::ImGuiTabItemFlags

Overview

enum ImGuiTabItemFlags_

Defined in:

types.cr

Enum Members

None = 0
UnsavedDocument = 1

Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure.

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 may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.

NoPushId = 8

Don't call PushID()/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)

NoAssumedClosure = 256

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.

All = 511

Instance Method Summary

Instance Method Detail

def leading? #

Returns true if this enum value contains Leading


[View source]
def no_assumed_closure? #

Returns true if this enum value contains NoAssumedClosure


[View source]
def no_close_with_middle_mouse_button? #

Returns true if this enum value contains NoCloseWithMiddleMouseButton


[View source]
def no_push_id? #

Returns true if this enum value contains NoPushId


[View source]
def no_reorder? #

Returns true if this enum value contains NoReorder


[View source]
def no_tooltip? #

Returns true if this enum value contains NoTooltip


[View source]
def none? #

Returns true if this enum value contains None


[View source]
def set_selected? #

Returns true if this enum value contains SetSelected


[View source]
def trailing? #

Returns true if this enum value contains Trailing


[View source]
def unsaved_document? #

Returns true if this enum value contains UnsavedDocument


[View source]