diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-04-09 18:28:49 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:27 +0200 |
commit | c10998edb5a0c87f076c0a6f9b4d128748ab9adf (patch) | |
tree | 7c8e6f31801c73f9f6038d19b8917cf6bc149faa /gtk/gtkgesturezoom.c | |
parent | dc1e8454a708b448310b7d664c4d95bbc44e400f (diff) | |
download | gtk+-c10998edb5a0c87f076c0a6f9b4d128748ab9adf.tar.gz |
zoom: Add missing documentation
Diffstat (limited to 'gtk/gtkgesturezoom.c')
-rw-r--r-- | gtk/gtkgesturezoom.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk/gtkgesturezoom.c b/gtk/gtkgesturezoom.c index f242d6d4eb..648d0bbc8e 100644 --- a/gtk/gtkgesturezoom.c +++ b/gtk/gtkgesturezoom.c @@ -17,6 +17,19 @@ * * Author(s): Carlos Garnacho <carlosg@gnome.org> */ + +/** + * SECTION:gtkgesturezoom + * @Short_description: Zoom gesture + * @Title: GtkGestureZoom + * @See_also: #GtkGestureRotate + * + * #GtkGestureZoom is a #GtkGesture implementation able to recognize + * pinch/zoom gestures, whenever the distance between both tracked + * sequences changes, the #GtkGestureZoom:scale-changed signal is + * emitted to report the scale factor. + */ + #include "config.h" #include <math.h> #include <gtk/gtkgesturezoom.h> @@ -138,6 +151,11 @@ gtk_gesture_zoom_class_init (GtkGestureZoomClass *klass) * GtkGestureZoom::scale-changed: * @controller: the object on which the signal is emitted * @scale: Scale delta, taking the initial state as 1:1 + * + * This signal is emitted whenever the distance between both tracked + * sequences changes. + * + * Since: 3.14 */ signals[SCALE_CHANGED] = g_signal_new ("scale-changed", |