API reference
Preparing search index…

ImGui.CollapsingHeader

  • Display a collapsing header and report whether it is open.

    Parameters

    label
    string | Uint8Array

    Widget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.

    flags
    number = 0

    ImGuiTreeNodeFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    boolean

    True if the header is open and its contents should be submitted. Unlike TreeNode(), this never requires TreePop().

    if returning 'true' the header is open.

    doesn't indent nor push on ID stack.

    user doesn't have to call TreePop().

    Source & inheritance

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