Skip to content

InputMethodHints

from slint.language import InputMethodHints
python

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.

capitalization: CapitalizationMode

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

auto_correct: bool

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

auto_complete: bool

Hint that the input method may offer auto-completion suggestions for the entered text. Defaults to true.


© 2026 SixtyFPS GmbH