Gtk.GestureZoom¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Gesture (17), Gtk.EventController (13), GObject.Object (37)
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted whenever the distance between both tracked sequences changes. |
Fields¶
- Inherited:
Class Details¶
- class Gtk.GestureZoom(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GtkGestureZoom
is aGtkGesture
for 2-finger pinch/zoom gestures.Whenever the distance between both tracked sequences changes, the [signal`Gtk`.GestureZoom::scale-changed] signal is emitted to report the scale factor.
Signal Details¶
- Gtk.GestureZoom.signals.scale_changed(gesture_zoom, scale)¶
- Signal Name:
scale-changed
- Flags:
- Parameters:
gesture_zoom (
Gtk.GestureZoom
) – The object which received the signalscale (
float
) – Scale delta, taking the initial state as 1:1
Emitted whenever the distance between both tracked sequences changes.