Enumeration

Gtk.InputHints

Declaration

flags Gtk.InputHints

Description [src]

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.

Members

Name Nickname Value Description
GTK_INPUT_HINT_NONE "none" 0

No special behaviour suggested

GTK_INPUT_HINT_SPELLCHECK "spellcheck" 1

Suggest checking for typos

GTK_INPUT_HINT_NO_SPELLCHECK "no-spellcheck" 2

Suggest not checking for typos

GTK_INPUT_HINT_WORD_COMPLETION "word-completion" 4

Suggest word completion

GTK_INPUT_HINT_LOWERCASE "lowercase" 8

Suggest to convert all text to lowercase

GTK_INPUT_HINT_UPPERCASE_CHARS "uppercase-chars" 16

Suggest to capitalize all text

GTK_INPUT_HINT_UPPERCASE_WORDS "uppercase-words" 32

Suggest to capitalize the first character of each word

GTK_INPUT_HINT_UPPERCASE_SENTENCES "uppercase-sentences" 64

Suggest to capitalize the first word of each sentence

GTK_INPUT_HINT_INHIBIT_OSK "inhibit-osk" 128

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

GTK_INPUT_HINT_VERTICAL_WRITING "vertical-writing" 256

The text is vertical

GTK_INPUT_HINT_EMOJI "emoji" 512

Suggest offering Emoji support

GTK_INPUT_HINT_NO_EMOJI "no-emoji" 1024

Suggest not offering Emoji support

GTK_INPUT_HINT_PRIVATE "private" 2048

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