API reference
Preparing search index…

ImGui.ImGuiTabBarFlags

Const
ImGuiTabBarFlags: Readonly<
    {
        AutoSelectNewTabs: 2;
        DrawSelectedOverline: 64;
        FittingPolicyDefault_: 128;
        FittingPolicyMask_: 384;
        FittingPolicyResizeDown: 128;
        FittingPolicyScroll: 256;
        NoCloseWithMiddleMouseButton: 8;
        None: 0;
        NoTabListScrollingButtons: 16;
        NoTooltip: 32;
        Reorderable: 1;
        TabListPopupButton: 4;
    },
> = ...

Tab-bar ordering, controls and overflow policy.

Type declaration

  • ReadonlyAutoSelectNewTabs: 2

    Select new tabs when they appear.

  • ReadonlyDrawSelectedOverline: 64

    Draw a line above the selected tab.

  • ReadonlyFittingPolicyDefault_: 128

    Internal default fitting policy: shrink tab widths.

  • ReadonlyFittingPolicyMask_: 384

    Internal mask of mutually exclusive fitting policies.

  • ReadonlyFittingPolicyResizeDown: 128

    Shrink tabs when their combined width does not fit.

  • ReadonlyFittingPolicyScroll: 256

    Scroll tabs when their combined width does not fit.

  • ReadonlyNoCloseWithMiddleMouseButton: 8

    Disable middle-click closing for closable tabs.

  • ReadonlyNone: 0

    Use default tab-bar behavior.

  • ReadonlyNoTabListScrollingButtons: 16

    Hide tab scrolling buttons under the scroll fitting policy.

  • ReadonlyNoTooltip: 32

    Suppress tooltips when hovering tabs.

  • ReadonlyReorderable: 1

    Allow drag reordering and append new tabs to the end.

  • ReadonlyTabListPopupButton: 4

    Show the button opening the tab-list popup.

Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0