Package: gtk

Class gtk-gesture-zoom

Superclasses

gtk-gesture, gtk-event-controller, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

gtk-gesture-zoom is a gtk-gesture implementation able to recognize pinch/zoom gestures, whenever the distance between both tracked sequences changes, the "scale-changed" signal is emitted to report the scale factor.

Signal Details

The "scale-changed" signal
  lambda (gesture scale)    :run-first    
The signal is emitted whenever the distance between both tracked sequences changes.
gesture
The gtk-gesture-zoom object on which the signal is emitted.
scale
A double float with the scale delta, taking the initial state as 1:1.
 

Inherited Slot Access Functions

See also

2020-9-11