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

NO_SPELLCHECK2

Suggest not checking for typos

WORD_COMPLETION4

Suggest word completion

LOWERCASE8

Suggest to convert all text to lowercase

UPPERCASE_CHARS16

Suggest to capitalize all text

UPPERCASE_WORDS32

Suggest to capitalize the first character of each word

UPPERCASE_SENTENCES64

Suggest to capitalize the first word of each sentence

INHIBIT_OSK128

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

VERTICAL_WRITING256

The text is vertical. Since 3.18

EMOJI512

Suggest offering Emoji support. Since 3.22.20

NO_EMOJI1024

Suggest not offering Emoji support. Since 3.22.20

Meta