API reference
Preparing search index…

ImGui.ImGuiTabItemFlags

Const
ImGuiTabItemFlags: Readonly<
    {
        Leading: 64;
        NoAssumedClosure: 256;
        NoCloseWithMiddleMouseButton: 4;
        None: 0;
        NoPushId: 8;
        NoReorder: 32;
        NoTooltip: 16;
        SetSelected: 2;
        Trailing: 128;
        UnsavedDocument: 1;
    },
> = ...

Individual tab selection, placement and closing behavior.

Type declaration

  • ReadonlyLeading: 64

    Place the tab at the left, after the tab-list button.

  • ReadonlyNoAssumedClosure: 256

    On a close request, select the tab and keep it until submission stops.

  • ReadonlyNoCloseWithMiddleMouseButton: 4

    Do not close this tab on middle-click.

  • ReadonlyNone: 0

    Use default tab behavior.

  • ReadonlyNoPushId: 8

    Skip automatic PushID/PopID around the tab's contents.

  • ReadonlyNoReorder: 32

    Prevent moving this tab or reordering other tabs across it.

  • ReadonlyNoTooltip: 16

    Suppress this tab's hover tooltip.

  • ReadonlySetSelected: 2

    Select this tab when BeginTabItem() is called.

  • ReadonlyTrailing: 128

    Place the tab at the right, before the scrolling buttons.

  • ReadonlyUnsavedDocument: 1

    Add an unsaved dot and enable NoAssumedClosure.

Source & inheritance

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