API reference
Preparing search index…

ImGui.ListBoxCallbackEx

  • List box with a JavaScript item getter.

    Parameters

    label
    string | Uint8Array

    Label.

    currentItem
    Int32Array

    Current selection (length 1, writable).

    itemsCount
    number

    Number of items.

    getter

    Item text callback.

    userData
    null | bigint = null

    Opaque pointer passed through to the callback.

    heightInItems
    number = -1

    Visible height in items.

    Returns

    boolean

    Whether an item was selected.

    Source & inheritance

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