slint::language::InputMethodHints Struct
struct InputMethodHints;C++
#include <slint.h>C++
This structure holds the hints that a TextInput gives to the platform’s input method (e.g. a soft keyboard) about the expected input. The input method may take these hints into account, but might also ignore them.
Public Attributes
Section titled “Public Attributes” capitalization
Section titled “ capitalization”CapitalizationMode slint::language::InputMethodHints::capitalization
The auto-capitalization behavior that the input method should apply. Defaults to sentences.
auto_correct
Section titled “ auto_correct”bool slint::language::InputMethodHints::auto_correct
Hint that the input method may automatically correct spelling mistakes as the user types. Defaults to true.
auto_complete
Section titled “ auto_complete”bool slint::language::InputMethodHints::auto_complete
Hint that the input method may offer auto-completion suggestions for the entered text. Defaults to true.
© 2026 SixtyFPS GmbH