ImGui module

Combo

procedureforeign6 overloadsSource
Combo :: (
    label: *u8,
    current_item: *s32,
    items: **u8,
    items_count: s32,
    popup_max_height_in_items: s32 = -1
) -> bool #foreign

Parameters

label: *u8
current_item: *s32
items: **u8
items_count: s32
popup_max_height_in_items: s32 = -1

Returns

bool
Combo :: (
    label: *u8,
    current_item: *s32,
    items_separated_by_zeros: *u8,
    popup_max_height_in_items: s32 = -1
) -> bool #foreign

Parameters

label: *u8
current_item: *s32
items_separated_by_zeros: *u8
popup_max_height_in_items: s32 = -1

Returns

bool
Combo :: (
    label: *u8,
    current_item: *s32,
    items_getter: #type (data: *void, idx: s32, out_text: **u8) -> bool #c_call,
    data: *void,
    items_count: s32,
    popup_max_height_in_items: s32 = -1
) -> bool #foreign

Parameters

label: *u8
current_item: *s32
items_getter: #type (data: *void, idx: s32, out_text: **u8) -> bool #c_call
data: *void
items_count: s32
popup_max_height_in_items: s32 = -1

Returns

bool
Combo :: (
    label: *u8,
    current_item: *s32,
    items: **u8,
    items_count: s32,
    popup_max_height_in_items: s32 = -1
) -> bool #foreign

Parameters

label: *u8
current_item: *s32
items: **u8
items_count: s32
popup_max_height_in_items: s32 = -1

Returns

bool
Combo :: (
    label: *u8,
    current_item: *s32,
    items_separated_by_zeros: *u8,
    popup_max_height_in_items: s32 = -1
) -> bool #foreign

Parameters

label: *u8
current_item: *s32
items_separated_by_zeros: *u8
popup_max_height_in_items: s32 = -1

Returns

bool
Combo :: (
    label: *u8,
    current_item: *s32,
    items_getter: #type (data: *void, idx: s32, out_text: **u8) -> bool #c_call,
    data: *void,
    items_count: s32,
    popup_max_height_in_items: s32 = -1
) -> bool #foreign

Parameters

label: *u8
current_item: *s32
items_getter: #type (data: *void, idx: s32, out_text: **u8) -> bool #c_call
data: *void
items_count: s32
popup_max_height_in_items: s32 = -1

Returns

bool

See also