enum ImGui::ImGuiTabBarFlags

Overview

enum ImGuiTabBarFlags_

Defined in:

types.cr

Enum Members

None = 0
Reorderable = 1

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

AutoSelectNewTabs = 2

Automatically select new tabs when they appear

TabListPopupButton = 4

Disable buttons to open the tab list popup

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.

NoTabListScrollingButtons = 16

Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)

NoTooltip = 32

Disable tooltips when hovering a tab

FittingPolicyResizeDown = 64

Resize tabs when they don't fit

FittingPolicyScroll = 128

Add scroll buttons when tabs don't fit

FittingPolicyMask_ = 192
FittingPolicyDefault_ = 64
All = 255

Instance Method Summary

Instance Method Detail

def auto_select_new_tabs? #

[View source]
def fitting_policy_default_? #

[View source]
def fitting_policy_mask_? #

[View source]
def fitting_policy_resize_down? #

[View source]
def fitting_policy_scroll? #

[View source]
def no_close_with_middle_mouse_button? #

[View source]
def no_tab_list_scrolling_buttons? #

[View source]
def no_tooltip? #

[View source]
def none? #

[View source]
def reorderable? #

[View source]
def tab_list_popup_button? #

[View source]