Skip to content

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.

CapitalizationMode slint::language::InputMethodHints::capitalization

The auto-capitalization behavior that the input method should apply. Defaults to sentences.

bool slint::language::InputMethodHints::auto_correct

Hint that the input method may automatically correct spelling mistakes as the user types. Defaults to true.

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