[gtk+/composite-templates] Add GTK_INPUT_HINT_INHIBIT_OSK to GtkInputHints
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] Add GTK_INPUT_HINT_INHIBIT_OSK to GtkInputHints
- Date: Fri, 14 Sep 2012 21:18:50 +0000 (UTC)
commit 43272d1d32ba037d8b2cd544700ba1a97cb1f365
Author: Carlos Garnacho <carlos lanedo com>
Date: Fri Aug 24 20:41:43 2012 +0200
Add GTK_INPUT_HINT_INHIBIT_OSK to GtkInputHints
This hint may be used in text widgets to inhibit their
input methods. The most compelling usecase is calculator
applications, which already have a builtin and better
suited onscreen keyboard.
https://bugzilla.gnome.org/show_bug.cgi?id=651244
gtk/gtkenums.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 04553d6..2422e9e 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -1010,6 +1010,8 @@ typedef enum
* character of each word
* @GTK_INPUT_HINT_UPPERCASE_SENTENCES: Suggest to capitalize the
* 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).
*
* Describes hints that might be taken into account by input methods
* or applications. Note that input methods may already tailor their
@@ -1032,7 +1034,8 @@ typedef enum
GTK_INPUT_HINT_LOWERCASE = 1 << 3,
GTK_INPUT_HINT_UPPERCASE_CHARS = 1 << 4,
GTK_INPUT_HINT_UPPERCASE_WORDS = 1 << 5,
- GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6
+ GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6,
+ GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7
} GtkInputHints;
#endif /* __GTK_ENUMS_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]