API reference
Preparing search index…

ImGui.ImGuiTreeNodeFlags

Const
ImGuiTreeNodeFlags: Readonly<
    {
        AllowItemOverlap: 4;
        AllowOverlap: 4;
        Bullet: 512;
        CollapsingHeader: 26;
        DefaultOpen: 32;
        Framed: 2;
        FramePadding: 1024;
        LabelSpanAllColumns: 32768;
        Leaf: 256;
        NavLeftJumpsBackHere: 131072;
        NoAutoOpenOnLog: 16;
        None: 0;
        NoTreePushOnOpen: 8;
        OpenOnArrow: 128;
        OpenOnDoubleClick: 64;
        Selected: 1;
        SpanAllColumns: 16384;
        SpanAvailWidth: 2048;
        SpanFullWidth: 4096;
        SpanLabelWidth: 8192;
        SpanTextWidth: 8192;
    },
> = ...

Tree-node appearance, hit area and expansion behavior.

Type declaration

  • ReadonlyAllowItemOverlap: 4

    Legacy alias of AllowOverlap: allow later widgets to overlap.

  • ReadonlyAllowOverlap: 4

    Allow later widgets to overlap this node during hit testing.

  • ReadonlyBullet: 512

    Draw a bullet instead of an arrow; does not imply Leaf.

  • ReadonlyCollapsingHeader: 26

    Framed header without tree push or automatic expansion for logging.

  • ReadonlyDefaultOpen: 32

    Start with the node expanded.

  • ReadonlyFramed: 2

    Draw a frame with a background.

  • ReadonlyFramePadding: 1024

    Apply frame padding to align text with regular widget baselines.

  • ReadonlyLabelSpanAllColumns: 32768

    Allow the label to span all table columns.

  • ReadonlyLeaf: 256

    Hide the arrow and prevent collapsing a leaf node.

  • ReadonlyNavLeftJumpsBackHere: 131072

    Experimental: left navigation may return here from descendants.

  • ReadonlyNoAutoOpenOnLog: 16

    Do not automatically expand the node while logging.

  • ReadonlyNone: 0

    Use the default tree-node behavior.

  • ReadonlyNoTreePushOnOpen: 8

    Do not push indentation or an ID when open; do not call TreePop().

  • ReadonlyOpenOnArrow: 128

    Toggle on an arrow click rather than any label click.

  • ReadonlyOpenOnDoubleClick: 64

    Toggle on double-click; may be combined with OpenOnArrow.

  • ReadonlySelected: 1

    Draw the node as selected.

  • ReadonlySpanAllColumns: 16384

    Span the frame across table columns; keep the label in its column.

  • ReadonlySpanAvailWidth: 2048

    Extend the hit area to the available right edge.

  • ReadonlySpanFullWidth: 4096

    Extend the hit area to both edges, including indentation.

  • ReadonlySpanLabelWidth: 8192

    Restrict the hit area and hover highlight to the label width.

  • ReadonlySpanTextWidth: 8192

    Legacy alias of SpanLabelWidth: limit the hit area to the label.

Source & inheritance

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