gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.GestureRotate

Contents

Description

GestureRotate is a Gesture implementation able to recognize 2-finger rotations, whenever the angle between both handled sequences changes, the GestureRotate::angle-changed signal is emitted.

Synopsis

Exported types

Methods

getAngleDelta

gestureRotateGetAngleDelta Source #

Arguments

:: (HasCallStack, MonadIO m, IsGestureRotate a) 
=> a

gesture: a GestureRotate

-> m Double

Returns: the angle delta in radians

If gesture is active, this function returns the angle difference in radians since the gesture was first recognized. If gesture is not active, 0 is returned.

Since: 3.14

new

gestureRotateNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWidget a) 
=> a

widget: a Widget

-> m GestureRotate

Returns: a newly created GestureRotate

Returns a newly created Gesture that recognizes 2-touch rotation gestures.

Since: 3.14

Signals

angleChanged