[gtk+] input methods: Add a 'vertical text' hint
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] input methods: Add a 'vertical text' hint
- Date: Sun, 10 May 2015 05:31:22 +0000 (UTC)
commit 648c3b39f3530040af343ecb95ebfd4b4b09aa2c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun May 10 01:30:38 2015 -0400
input methods: Add a 'vertical text' hint
This has been requested in
https://bugzilla.gnome.org/show_bug.cgi?id=747150
gtk/gtkenums.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index c8dc5b5..d2ada7e 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -1033,6 +1033,7 @@ typedef enum
* first word of each sentence
* @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
*
* Describes hints that might be taken into account by input methods
* or applications. Note that input methods may already tailor their
@@ -1056,7 +1057,8 @@ typedef enum
GTK_INPUT_HINT_UPPERCASE_CHARS = 1 << 4,
GTK_INPUT_HINT_UPPERCASE_WORDS = 1 << 5,
GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6,
- GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7
+ GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
+ GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8
} GtkInputHints;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]