Function ImGui::InputTextMultiline#

Function Documentation#

bool ImGui::InputTextMultiline(std::string_view label, std::string *str, const ImVec2 &size = ImVec2(0.0f, 0.0f), ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void *userData = nullptr)#

Draw an multi-line input text field with ImGui.

Remark

Headless mode: This function is not available in headless mode.

Parameters:
  • label – Label for the text field.

  • str – String to store input to.

  • size – Size for the text field.

  • flags – Additional flags for the input field.

  • callback – Callback to implement additional functionality.

  • userData – Pointer to provide user data.

Returns:

True if input text changed, false otherwise.