Enumeration

GtkInputHints

since: 3.6

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.

Available since: 3.6

Members

GTK_INPUT_HINT_NONE

No special behaviour suggested.

  • Value: 0
  • Available since: 3.6
GTK_INPUT_HINT_SPELLCHECK

Suggest checking for typos.

  • Value: 1
  • Available since: 3.6
GTK_INPUT_HINT_NO_SPELLCHECK

Suggest not checking for typos.

  • Value: 2
  • Available since: 3.6
GTK_INPUT_HINT_WORD_COMPLETION

Suggest word completion.

  • Value: 4
  • Available since: 3.6
GTK_INPUT_HINT_LOWERCASE

Suggest to convert all text to lowercase.

  • Value: 8
  • Available since: 3.6
GTK_INPUT_HINT_UPPERCASE_CHARS

Suggest to capitalize all text.

  • Value: 16
  • Available since: 3.6
GTK_INPUT_HINT_UPPERCASE_WORDS

Suggest to capitalize the first character of each word.

  • Value: 32
  • Available since: 3.6
GTK_INPUT_HINT_UPPERCASE_SENTENCES

Suggest to capitalize the first word of each sentence.

  • Value: 64
  • Available since: 3.6
GTK_INPUT_HINT_INHIBIT_OSK

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

  • Value: 128
  • Available since: 3.6
GTK_INPUT_HINT_VERTICAL_WRITING

The text is vertical. Since 3.18.

  • Value: 256
  • Available since: 3.6
GTK_INPUT_HINT_EMOJI

Suggest offering Emoji support. Since 3.22.20.

  • Value: 512
  • Available since: 3.6
GTK_INPUT_HINT_NO_EMOJI

Suggest not offering Emoji support. Since 3.22.20.

  • Value: 1024
  • Available since: 3.6