Package: gtk

Class gtk:gesture-zoom

Superclasses

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

Documented Subclasses

None

Direct Slots

None

Details

The gtk:gesture-zoom class is a gtk:gesture implementation for 2-finger 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      
gesture
The gtk:gesture-zoom object on which the signal is emitted.
scale
The double float with the scale delta, taking the initial state as 1:1.
The signal is emitted whenever the distance between both tracked sequences changes.
 

Returned by

Inherited Slot Access Functions

See also

2024-7-27