Skip to content

Documentation / imgui / ImGui / ListBox

Function: ListBox()

Call Signature

ListBox(label, current_item, items, items_count?, height_in_items?): boolean

Defined in: libs/imgui/src/imgui.ts:6241

Parameters

label

string

current_item

ImAccess<number> | ImScalar<number>

items

string[]

items_count?

number

height_in_items?

number

Returns

boolean

Call Signature

ListBox<T>(label, current_item, items_getter, data, items_count, height_in_items?): boolean

Defined in: libs/imgui/src/imgui.ts:6248

Type Parameters

T

T

Parameters

label

string

current_item

ImAccess<number> | ImScalar<number>

items_getter

ListBoxItemGetter<T>

data

T

items_count

number

height_in_items?

number

Returns

boolean

Released under the MIT License.