Package: gtk

GFlags gtk-input-hints

Details

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 gtk-input-purpose value of the entry.

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

This flags may be extended in the future. Input methods should ignore unknown values.
(define-g-flags "GtkInputHints" gtk-input-hints
  (:export t
   :type-initializer "gtk_input_hints_get_type")
  (:none 0)
  (:spellcheck          #.(ash 1 0))
  (:no-spellcheck       #.(ash 1 1))
  (:word-completion     #.(ash 1 2))
  (:lowercase           #.(ash 1 3))
  (:uppercase-chars     #.(ash 1 4))
  (:uppercase-words     #.(ash 1 5))
  (:uppercase-sentences #.(ash 1 6))
  (:inhibit-osk         #.(ash 1 7))
  (:vertical-writing    #.(ash 1 8))
  (:emoji               #.(ash 1 9))
  (:no-emoji            #.(ash 1 10)))  
:none
No special behaviour suggested.
:spellcheck
Suggest checking for typos.
:no-spellcheck
Suggest not checking for typos.
:word-completion
Suggest word completion.
:lowercase
Suggest to convert all text to lowercase.
:uppercase-chars
Suggest to capitalize all text.
:uppercase-words
Suggest to capitalize the first character of each word.
:uppercase-sentences
Suggest to capitalize the first word of each sentence.
:inhibit-osk
Suggest to not show an onscreen keyboard, e.g. for a calculator that already has all the keys.
:vertical-writing
The text is vertical. Since 3.18
:emoji
Suggest offering Emoji support. Since 3.22
:no-emoji
Suggest not offering Emoji support. Since 3.22
 

See also

2021-11-2