API 参考
正在准备搜索索引…

ImGui.ComboCallbackEx

  • 带 JavaScript 取值回调的 Combo。

    参数

    label
    string | Uint8Array

    标签。

    currentItem
    Int32Array

    当前选中项,长度为 1,可写回。

    itemsCount
    number

    条目数量。

    getter

    条目文本回调。

    userData
    null | bigint = null

    透传给回调的指针。

    popupMaxHeightInItems
    number = -1

    弹出层最大高度,单位为条目数。

    返回值

    boolean

    选中条目的索引是否发生变化。

    源码与继承

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