Class
GtkGestureZoom
[−]
Description [src]
final class Gtk.GestureZoom : Gtk.Gesture
{
/* No available fields */
}
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.
[−]
Constructors
gtk_gesture_zoom_new
Returns a newly created GtkGesture
that recognizes zoom
in/out gestures (usually known as pinch/zoom).
since: 3.14
[−]
Instance methods
gtk_gesture_zoom_get_scale_delta
If gesture
is active, this function returns the zooming difference
since the gesture was recognized (hence the starting point is
considered 1:1). If gesture
is not active, 1 is returned.
since: 3.14
[+]
Methods inherited from GtkGesture (19)
[+]
Methods inherited from GtkEventController (5)
[−]
Properties
[+]
Properties inherited from GtkGesture (2)
[+]
Properties inherited from GtkEventController (2)
[−]
Signals
Gtk.GestureZoom::scale-changed
This signal is emitted whenever the distance between both tracked sequences changes.
since: 3.14
[+]
Signals inherited from GtkGesture (5)
[+]