summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-09-02 08:42:18 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-09-02 08:48:00 -0400
commitf3df85e52888147153b3a8b1b147903bcec0f274 (patch)
treea9115b84bfeddb1dd382f34a4fb5a3ccc1681da2 /gtk/gtkenums.h
parentf120334700372684286c3a47a8572beeb0f9e351 (diff)
downloadgtk+-f3df85e52888147153b3a8b1b147903bcec0f274.tar.gz
Add input hints for Emoji input
Allow hinting input methods about whether Emoji support is useful or not.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 18e2895c99..64104bc949 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -1036,6 +1036,8 @@ typedef enum
* @GTK_INPUT_HINT_INHIBIT_OSK: Suggest to not show an onscreen keyboard
* (e.g for a calculator that already has all the keys).
* @GTK_INPUT_HINT_VERTICAL_WRITING: The text is vertical. Since 3.18
+ * @GTK_INPUT_HINT_EMOJI: Suggest offering Emoji support. Since 3.22.20
+ * @GTK_INPUT_HINT_NO_EMOJI: Suggest not offering Emoji support. Since 3.22.20
*
* Describes hints that might be taken into account by input methods
* or applications. Note that input methods may already tailor their
@@ -1060,7 +1062,9 @@ typedef enum
GTK_INPUT_HINT_UPPERCASE_WORDS = 1 << 5,
GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6,
GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
- GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8
+ GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8,
+ GTK_INPUT_HINT_EMOJI = 1 << 9,
+ GTK_INPUT_HINT_NO_EMOJI = 1 << 10
} GtkInputHints;
/**