Function ImGui::InputTextWithHint#
Function Documentation#
-
bool ImGui::InputTextWithHint(std::string_view label, std::string_view hint, std::string *str, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = nullptr, void *userData = nullptr)#
Draw an input text field with an additional hint with ImGui.
Remark
Headless mode: This function is not available in headless mode.
- Parameters:
label – Label for the text field.
hint – Hint to display.
str – String to store input to.
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.