API reference
Preparing search index…

ImGui.ImGuiSelectableFlags

Const
ImGuiSelectableFlags: Readonly<
    {
        AllowDoubleClick: 4;
        AllowItemOverlap: 16;
        AllowOverlap: 16;
        Disabled: 8;
        DontClosePopups: 1;
        Highlight: 32;
        NoAutoClosePopups: 1;
        None: 0;
        SpanAllColumns: 2;
    },
> = ...

Selection, highlighting and hit-testing options for Selectable().

Type declaration

  • ReadonlyAllowDoubleClick: 4

    Generate activation events for double-clicks too.

  • ReadonlyAllowItemOverlap: 16

    Legacy alias of AllowOverlap: permit later overlapping widgets.

  • ReadonlyAllowOverlap: 16

    Allow later widgets to overlap during hit testing.

  • ReadonlyDisabled: 8

    Prevent selection and draw the text disabled.

  • ReadonlyDontClosePopups: 1

    Legacy alias of NoAutoClosePopups: keep the parent popup open.

  • ReadonlyHighlight: 32

    Draw as hovered even when the mouse is elsewhere.

  • ReadonlyNoAutoClosePopups: 1

    Keep the parent popup open, overriding AutoClosePopups.

  • ReadonlyNone: 0

    Use normal selectable behavior.

  • ReadonlySpanAllColumns: 2

    Span the frame across table columns; text stays in the current column.

Source & inheritance

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