Enumeration (GI Flags)

Gtk-4.0GtkInputHints

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 InputPurpose of the entry.

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

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

Index
EMOJI: 512

Suggest offering Emoji support

INHIBIT_OSK: 128

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

LOWERCASE: 8

Suggest to convert all text to lowercase

NO_EMOJI: 1024

Suggest not offering Emoji support

NO_SPELLCHECK: 2

Suggest not checking for typos

NONE: 0

No special behaviour suggested

PRIVATE: 2048

Request that the input method should not update personalized data (like typing history)

SPELLCHECK: 1

Suggest checking for typos

UPPERCASE_CHARS: 16

Suggest to capitalize all text

UPPERCASE_SENTENCES: 64

Suggest to capitalize the first word of each sentence

UPPERCASE_WORDS: 32

Suggest to capitalize the first character of each word

VERTICAL_WRITING: 256

The text is vertical

WORD_COMPLETION: 4

Suggest word completion

Variables

$gtype