summaryrefslogtreecommitdiff
path: root/gdk/gdkevents.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-04-30 22:28:08 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-04-30 22:28:08 -0400
commit3be5c09a9055b04d5d5a4272fd12f854ca20a571 (patch)
tree64000ded380789be46269f6efba30a4205b78ada /gdk/gdkevents.h
parent333a5b4307eca43786a2ffdafb216c542ec8db66 (diff)
downloadgtk+-3be5c09a9055b04d5d5a4272fd12f854ca20a571.tar.gz
Add some more documentation about GDK_SCROLL_SMOOTH3.5.1
Diffstat (limited to 'gdk/gdkevents.h')
-rw-r--r--gdk/gdkevents.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h
index 4c42678368..73c9e83dec 100644
--- a/gdk/gdkevents.h
+++ b/gdk/gdkevents.h
@@ -736,7 +736,8 @@ struct _GdkEventTouch
* the modifier keys (e.g. Control, Shift and Alt) and the pointer
* buttons. See #GdkModifierType.
* @direction: the direction to scroll to (one of %GDK_SCROLL_UP,
- * %GDK_SCROLL_DOWN, %GDK_SCROLL_LEFT and %GDK_SCROLL_RIGHT).
+ * %GDK_SCROLL_DOWN, %GDK_SCROLL_LEFT, %GDK_SCROLL_RIGHT or
+ * %GDK_SCROLL_SMOOTH).
* @device: the device where the event originated.
* @x_root: the x coordinate of the pointer relative to the root of the
* screen.
@@ -746,6 +747,11 @@ struct _GdkEventTouch
* Generated from button presses for the buttons 4 to 7. Wheel mice are
* usually configured to generate button press events for buttons 4 and 5
* when the wheel is turned.
+ *
+ * Some GDK backends can also generate 'smooth' scroll events, which
+ * can be recognized by the %GDK_SCROLL_SMOOTH scroll direction. For
+ * these, the scroll deltas can be obtained with
+ * gdk_event_get_scroll_deltas().
*/
struct _GdkEventScroll
{