API reference
Preparing search index…

ImGui.TreeNodeStrUnformatted

  • Display a tree node with a separate identifier and label.

    Parameters

    str_id
    string | Uint8Array

    String identifier hashed with the current ID stack to distinguish this item or scope.

    text
    string | Uint8Array

    UTF-8 text to read. JS strings are encoded for this call; a nonempty Uint8Array ending in NUL is passed directly, otherwise its bytes are copied and NUL-terminated.

    Returns

    boolean

    True if the node is open and children should be submitted. Call TreePop() after submitting those children.

    helper variation to easily decorelate the id from the displayed string.

    Read the FAQ about why and how to use ID.

    to align arbitrary text at the same level as a TreeNode() you can use Bullet().

    Source & inheritance

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