GtkInputHints

Describes hints that might be taken into account by input methods or applications. Note that input methods may already tailor their behaviour according to the #GtkInputPurpose of the entry.

Some common sense is expected when using these flags - mixing @GTK_INPUT_HINT_LOWERCASE with any of the uppercase hints makes no sense.

This enumeration may be extended in the future; input methods should ignore unknown values.

Values

ValueMeaning
None0

No special behaviour suggested

Spellcheck1

Suggest checking for typos

NoSpellcheck2

Suggest not checking for typos

WordCompletion4

Suggest word completion

Lowercase8

Suggest to convert all text to lowercase

UppercaseChars16

Suggest to capitalize all text

UppercaseWords32

Suggest to capitalize the first character of each word

UppercaseSentences64

Suggest to capitalize the first word of each sentence

InhibitOsk128

Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).

VerticalWriting256

The text is vertical. Since 3.18

Emoji512

Suggest offering Emoji support. Since 3.22.20

NoEmoji1024

Suggest not offering Emoji support. Since 3.22.20