GE Lua Documentation

Press F to search!

ListBox2

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:789
function M.ListBox2(string_label, int_current_item, functionPtr_items_getter, void_data, int_items_count, int_height_in_items)
  if int_height_in_items == nil then int_height_in_items = -1 end
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'ListBox2' cannot be nil, as the c type is 'const char *'") ; return end
  if int_current_item == nil then log("E", "", "Parameter 'int_current_item' of function 'ListBox2' cannot be nil, as the c type is 'int *'") ; return end
  if functionPtr_items_getter == nil then log("E", "", "Parameter 'functionPtr_items_getter' of function 'ListBox2' cannot be nil, as the c type is 'bool (*)(void *, int, const char **)'") ; return end
  if void_data == nil then log("E", "", "Parameter 'void_data' of function 'ListBox2' cannot be nil, as the c type is 'void *'") ; return end
  return imgui.ListBox2(string_label, int_current_item, functionPtr_items_getter, void_data, int_items_count, int_height_in_items)
end

Callers

@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if void_data == nil then log("E", "", "Parameter 'void_data' of function 'ListBox2' cannot be nil, as the c type is 'void *'") ; return end
  return imgui.ListBox2(string_label, int_current_item, functionPtr_items_getter, void_data, int_items_count, int_height_in_items)
end