API reference
Preparing search index…

ImGui.ImGuiItemFlags

Const
ImGuiItemFlags: Readonly<
    {
        AllowDuplicateId: 32;
        AutoClosePopups: 16;
        ButtonRepeat: 8;
        NoNav: 2;
        NoNavDefaultFocus: 4;
        None: 0;
        NoTabStop: 1;
    },
> = ...

Shared widget behavior controlled by PushItemFlag().

Type declaration

  • ReadonlyAllowDuplicateId: 32

    Allow duplicate IDs this frame without the debug conflict tooltip.

  • ReadonlyAutoClosePopups: 16

    MenuItem/Selectable close their parent popup on activation (default).

  • ReadonlyButtonRepeat: 8

    Repeat button-like activation using IO key-repeat delay and rate.

  • ReadonlyNoNav: 2

    Reject keyboard/gamepad focus and SetKeyboardFocusHere().

  • ReadonlyNoNavDefaultFocus: 4

    Exclude the item from default-focus candidates.

  • ReadonlyNone: 0

    No additional item options.

  • ReadonlyNoTabStop: 1

    Skip the item when navigating with Tab.

Source & inheritance

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