summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2005-09-06 18:45:50 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-06 18:45:50 +0000
commiteb7abab27b5bbfaec70d8ab5c1dad62d9d199347 (patch)
tree4945251e4859b4966b61d4e77188354cec27f661 /docs
parent244d41b94a045633281e47d720311e907d83aedb (diff)
downloadgtk+-eb7abab27b5bbfaec70d8ab5c1dad62d9d199347.tar.gz
Document new modifier bits.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ChangeLog4
-rw-r--r--docs/reference/gdk/tmpl/windows.sgml8
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 0045e209a4..1efbc6b606 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-06 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/tmpl/windows.sgml: Document new modifier bits.
+
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkpaned.sgml: Fix some typos.
diff --git a/docs/reference/gdk/tmpl/windows.sgml b/docs/reference/gdk/tmpl/windows.sgml
index 2527968718..6a49e718d7 100644
--- a/docs/reference/gdk/tmpl/windows.sgml
+++ b/docs/reference/gdk/tmpl/windows.sgml
@@ -1164,6 +1164,11 @@ Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
<para>
Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.
</para>
+<para>
+Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped
+to Mod2 - Mod5, and indicates this by setting %GDK_SUPER_MASK, %GDK_HYPER_MASK
+or %GDK_META_MASK in the state field of key events.
+</para>
@GDK_SHIFT_MASK: the Shift key.
@GDK_LOCK_MASK: a Lock key (depending on the modifier mapping of the
@@ -1185,6 +1190,9 @@ Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.
@GDK_BUTTON3_MASK: the third mouse button.
@GDK_BUTTON4_MASK: the fourth mouse button.
@GDK_BUTTON5_MASK: the fifth mouse button.
+@GDK_SUPER_MASK: the Super modifier. Since 2.10
+@GDK_HYPER_MASK: the Hyper modifier. Since 2.10
+@GDK_META_MASK: the Meta modifier. Since 2.10
@GDK_RELEASE_MASK: not used in GDK itself. GTK+ uses it to differentiate
between (keyval, modifiers) pairs from key press and release events.
@GDK_MODIFIER_MASK: a mask covering all modifier types.