[gtk+/gestures: 100/202] rotate: Add missing documentation
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gestures: 100/202] rotate: Add missing documentation
- Date: Fri, 23 May 2014 18:04:46 +0000 (UTC)
commit dc1e8454a708b448310b7d664c4d95bbc44e400f
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Apr 9 18:28:43 2014 +0200
rotate: Add missing documentation
gtk/gtkgesturerotate.c | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkgesturerotate.c b/gtk/gtkgesturerotate.c
index 74edda4..5dd63f7 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]