]> Pileus Git - ~andy/gtk/commitdiff
Document new modifier bits.
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 6 Sep 2005 18:45:50 +0000 (18:45 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 6 Sep 2005 18:45:50 +0000 (18:45 +0000)
docs/reference/ChangeLog
docs/reference/gdk/tmpl/windows.sgml

index 0045e209a4886d150527b4269b9b04bf68f18d4d..1efbc6b606ec8450dd00adb04f5507f5de47224c 100644 (file)
@@ -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.
index 25279687184658f0f66e2cae9c40b8713e5e7249..6a49e718d7c7f75417ecd4520d7e26a8cbfc5910 100644 (file)
@@ -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.