GE Lua Documentation

Press F to search!

InputTextWithHint

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:608
function M.InputTextWithHint(string_label, string_hint, string_buf, size_t_buf_size, ImGuiInputTextFlags_flags, ImGuiInputTextCallback_callback, void_user_data)
  if ImGuiInputTextFlags_flags == nil then ImGuiInputTextFlags_flags = 0 end
  -- ImGuiInputTextCallback_callback is optional and can be nil
  -- void_user_data is optional and can be nil
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'InputTextWithHint' cannot be nil, as the c type is 'const char *'") ; return end
  if string_hint == nil then log("E", "", "Parameter 'string_hint' of function 'InputTextWithHint' cannot be nil, as the c type is 'const char *'") ; return end
  if string_buf == nil then log("E", "", "Parameter 'string_buf' of function 'InputTextWithHint' cannot be nil, as the c type is 'char *'") ; return end
  return imgui.InputTextWithHint(string_label, string_hint, string_buf, size_t_buf_size, ImGuiInputTextFlags_flags, nil, void_user_data)
end

Callers

@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if string_buf == nil then log("E", "", "Parameter 'string_buf' of function 'InputTextWithHint' cannot be nil, as the c type is 'char *'") ; return end
  return imgui.InputTextWithHint(string_label, string_hint, string_buf, size_t_buf_size, ImGuiInputTextFlags_flags, nil, void_user_data)
end