diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2001-12-16 19:32:19 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2001-12-16 19:32:19 +0000 |
commit | a83f8f3cf174bc300999ddbfd9a6685259ffa1f9 (patch) | |
tree | f1deec74b7a247325da655561acbf81990fb91d1 /docs | |
parent | b1a099e94bc3367b906ab2f6167e1eca035961a3 (diff) | |
download | gtk+-a83f8f3cf174bc300999ddbfd9a6685259ffa1f9.tar.gz |
Add something about GdkModifierType.
* gdk/tmpl/windows.sgml: Add something about GdkModifierType.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 4 | ||||
-rw-r--r-- | docs/reference/gdk/tmpl/windows.sgml | 44 |
2 files changed, 32 insertions, 16 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 075f2cd2ab..83b67c254d 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2001-12-16 Matthias Clasen <matthiasc@poet.de> + + * gdk/tmpl/windows.sgml: Add something about GdkModifierType. + 2001-12-13 Matthias Clasen <matthiasc@poet.de> * gdk-pixbuf/tmpl/scaling.sgml, gdk/tmpl/fonts.sgml, diff --git a/docs/reference/gdk/tmpl/windows.sgml b/docs/reference/gdk/tmpl/windows.sgml index aff76384ef..c8a350c738 100644 --- a/docs/reference/gdk/tmpl/windows.sgml +++ b/docs/reference/gdk/tmpl/windows.sgml @@ -1015,22 +1015,34 @@ Deprecated equivalent of gdk_drawable_get_type(). <!-- ##### ENUM GdkModifierType ##### --> <para> - -</para> - -@GDK_SHIFT_MASK: -@GDK_LOCK_MASK: -@GDK_CONTROL_MASK: -@GDK_MOD1_MASK: -@GDK_MOD2_MASK: -@GDK_MOD3_MASK: -@GDK_MOD4_MASK: -@GDK_MOD5_MASK: -@GDK_BUTTON1_MASK: -@GDK_BUTTON2_MASK: -@GDK_BUTTON3_MASK: -@GDK_BUTTON4_MASK: -@GDK_BUTTON5_MASK: +A set of bit-flags to indicate the state of modifier keys and mouse buttons +in various event types. Typical modifier keys are Shift, Control, Meta, Super, +Hyper, Alt, Compose, Apple, CapsLock or ShiftLock. +</para> +<para> +Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons. +</para> + +@GDK_SHIFT_MASK: the Shift key. +@GDK_LOCK_MASK: a Lock key (depending on the modifier mapping of the + X server this may either be CapsLock or ShiftLock). +@GDK_CONTROL_MASK: the Control key. +@GDK_MOD1_MASK: the fourth modifier key (it depends on the modifier + mapping of the X server which key is interpreted as this modifier, but + normally it is the Alt key). +@GDK_MOD2_MASK: the fifth modifier key (it depends on the modifier + mapping of the X server which key is interpreted as this modifier). +@GDK_MOD3_MASK: the sixth modifier key (it depends on the modifier + mapping of the X server which key is interpreted as this modifier). +@GDK_MOD4_MASK: the seventh modifier key (it depends on the modifier + mapping of the X server which key is interpreted as this modifier). +@GDK_MOD5_MASK: the eighth modifier key (it depends on the modifier + mapping of the X server which key is interpreted as this modifier). +@GDK_BUTTON1_MASK: the first mouse button. +@GDK_BUTTON2_MASK: the second mouse button. +@GDK_BUTTON3_MASK: the third mouse button. +@GDK_BUTTON4_MASK: the fourth mouse button. +@GDK_BUTTON5_MASK: the fifth mouse button. @GDK_RELEASE_MASK: @GDK_MODIFIER_MASK: |