diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-04-09 18:28:43 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:27 +0200 |
commit | dc1e8454a708b448310b7d664c4d95bbc44e400f (patch) | |
tree | 2fa08849be1a5a1aefd24b8fb34d904a2c73cef6 /gtk/gtkgesturerotate.c | |
parent | 2df48ba8863adb118528da15db5dcdc5cff5d7d0 (diff) | |
download | gtk+-dc1e8454a708b448310b7d664c4d95bbc44e400f.tar.gz |
rotate: Add missing documentation
Diffstat (limited to 'gtk/gtkgesturerotate.c')
-rw-r--r-- | gtk/gtkgesturerotate.c | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/gtk/gtkgesturerotate.c b/gtk/gtkgesturerotate.c index 74edda487f..5dd63f7231 100644 --- a/gtk/gtkgesturerotate.c +++ b/gtk/gtkgesturerotate.c @@ -17,6 +17,18 @@ * * Author(s): Carlos Garnacho <carlosg@gnome.org> */ + +/** + * SECTION:gtkgesturerotate + * @Short_description: Rotate gesture + * @Title: GtkGestureRotate + * @See_also: #GtkGestureZoom + * + * #GtkGestureRotate is a #GtkGesture implementation able to recognize + * 2-finger rotations, whenever the angle between both handled sequences + * changes, the #GtkGestureRotate:angle-changed signal is emitted. + */ + #include "config.h" #include <math.h> #include <gtk/gtkgesturerotate.h> @@ -142,7 +154,12 @@ gtk_gesture_rotate_class_init (GtkGestureRotateClass *klass) * GtkGestureRotate::angle-changed: * @gesture: the object on which the signal is emitted * @angle: Current angle in radians - * @angle_delta: Difference with the starting angle in radians + * @angle_delta: Difference with the starting angle, in radians + * + * This signal is emitted when the angle between both tracked points + * changes. + * + * Since: 3.14 */ signals[ANGLE_CHANGED] = g_signal_new ("angle-changed", |