mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Add GTK_INPUT_HINT_PRIVATE
Add a flag that requests that input methods should not update personalized data (such as typing history). Fixes: #2261
This commit is contained in:
parent
c43d535aab
commit
3cf8904d0b
@ -866,6 +866,8 @@ typedef enum
|
||||
* @GTK_INPUT_HINT_VERTICAL_WRITING: The text is vertical
|
||||
* @GTK_INPUT_HINT_EMOJI: Suggest offering Emoji support
|
||||
* @GTK_INPUT_HINT_NO_EMOJI: Suggest not offering Emoji support
|
||||
* @GTK_INPUT_HINT_PRIVATE: Request that the input method should not
|
||||
* update personalized data (like typing history)
|
||||
*
|
||||
* Describes hints that might be taken into account by input methods
|
||||
* or applications. Note that input methods may already tailor their
|
||||
@ -890,7 +892,8 @@ typedef enum
|
||||
GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
|
||||
GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8,
|
||||
GTK_INPUT_HINT_EMOJI = 1 << 9,
|
||||
GTK_INPUT_HINT_NO_EMOJI = 1 << 10
|
||||
GTK_INPUT_HINT_NO_EMOJI = 1 << 10,
|
||||
GTK_INPUT_HINT_PRIVATE = 1 << 11,
|
||||
} GtkInputHints;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user