| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
GI.Gdk.Structs.EventTouchpadPinch
Description
Generated during touchpad swipe gestures.
Synopsis
- newtype EventTouchpadPinch = EventTouchpadPinch (ManagedPtr EventTouchpadPinch)
 - newZeroEventTouchpadPinch :: MonadIO m => m EventTouchpadPinch
 - noEventTouchpadPinch :: Maybe EventTouchpadPinch
 - getEventTouchpadPinchAngleDelta :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchAngleDelta :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchDx :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchDx :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchDy :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchDy :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchNFingers :: MonadIO m => EventTouchpadPinch -> m Int8
 - setEventTouchpadPinchNFingers :: MonadIO m => EventTouchpadPinch -> Int8 -> m ()
 - getEventTouchpadPinchPhase :: MonadIO m => EventTouchpadPinch -> m Int8
 - setEventTouchpadPinchPhase :: MonadIO m => EventTouchpadPinch -> Int8 -> m ()
 - getEventTouchpadPinchScale :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchScale :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchSendEvent :: MonadIO m => EventTouchpadPinch -> m Int8
 - setEventTouchpadPinchSendEvent :: MonadIO m => EventTouchpadPinch -> Int8 -> m ()
 - getEventTouchpadPinchState :: MonadIO m => EventTouchpadPinch -> m [ModifierType]
 - setEventTouchpadPinchState :: MonadIO m => EventTouchpadPinch -> [ModifierType] -> m ()
 - getEventTouchpadPinchTime :: MonadIO m => EventTouchpadPinch -> m Word32
 - setEventTouchpadPinchTime :: MonadIO m => EventTouchpadPinch -> Word32 -> m ()
 - getEventTouchpadPinchType :: MonadIO m => EventTouchpadPinch -> m EventType
 - setEventTouchpadPinchType :: MonadIO m => EventTouchpadPinch -> EventType -> m ()
 - clearEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> m ()
 - getEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> m (Maybe Window)
 - setEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> Ptr Window -> m ()
 - getEventTouchpadPinchX :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchX :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchXRoot :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchXRoot :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchY :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchY :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 - getEventTouchpadPinchYRoot :: MonadIO m => EventTouchpadPinch -> m Double
 - setEventTouchpadPinchYRoot :: MonadIO m => EventTouchpadPinch -> Double -> m ()
 
Exported types
newtype EventTouchpadPinch Source #
Memory-managed wrapper type.
Constructors
| EventTouchpadPinch (ManagedPtr EventTouchpadPinch) | 
Instances
| Eq EventTouchpadPinch Source # | |
Defined in GI.Gdk.Structs.EventTouchpadPinch Methods (==) :: EventTouchpadPinch -> EventTouchpadPinch -> Bool # (/=) :: EventTouchpadPinch -> EventTouchpadPinch -> Bool #  | |
| WrappedPtr EventTouchpadPinch Source # | |
Defined in GI.Gdk.Structs.EventTouchpadPinch  | |
| tag ~ 'AttrSet => Constructible EventTouchpadPinch tag Source # | |
Defined in GI.Gdk.Structs.EventTouchpadPinch Methods new :: MonadIO m => (ManagedPtr EventTouchpadPinch -> EventTouchpadPinch) -> [AttrOp EventTouchpadPinch tag] -> m EventTouchpadPinch #  | |
newZeroEventTouchpadPinch :: MonadIO m => m EventTouchpadPinch Source #
Construct a EventTouchpadPinch struct initialized to zero.
noEventTouchpadPinch :: Maybe EventTouchpadPinch Source #
A convenience alias for Nothing :: Maybe EventTouchpadPinch.
Methods
Overloaded methods
Properties
angleDelta
The angle change in radians, negative angles denote counter-clockwise movements
getEventTouchpadPinchAngleDelta :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “angle_delta” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #angleDelta
setEventTouchpadPinchAngleDelta :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “angle_delta” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #angleDelta:=value ]
dx
Movement delta in the X axis of the swipe focal point
getEventTouchpadPinchDx :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “dx” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #dx
setEventTouchpadPinchDx :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “dx” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #dx:=value ]
dy
Movement delta in the Y axis of the swipe focal point
getEventTouchpadPinchDy :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “dy” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #dy
setEventTouchpadPinchDy :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “dy” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #dy:=value ]
nFingers
The number of fingers triggering the pinch
getEventTouchpadPinchNFingers :: MonadIO m => EventTouchpadPinch -> m Int8 Source #
Get the value of the “n_fingers” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #nFingers
setEventTouchpadPinchNFingers :: MonadIO m => EventTouchpadPinch -> Int8 -> m () Source #
Set the value of the “n_fingers” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #nFingers:=value ]
phase
the current phase of the gesture
getEventTouchpadPinchPhase :: MonadIO m => EventTouchpadPinch -> m Int8 Source #
Get the value of the “phase” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #phase
setEventTouchpadPinchPhase :: MonadIO m => EventTouchpadPinch -> Int8 -> m () Source #
Set the value of the “phase” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #phase:=value ]
scale
The current scale, relative to that at the time of
   the corresponding TouchpadGesturePhaseBegin event
getEventTouchpadPinchScale :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “scale” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #scale
setEventTouchpadPinchScale :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “scale” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #scale:=value ]
sendEvent
True if the event was sent explicitly
getEventTouchpadPinchSendEvent :: MonadIO m => EventTouchpadPinch -> m Int8 Source #
Get the value of the “send_event” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #sendEvent
setEventTouchpadPinchSendEvent :: MonadIO m => EventTouchpadPinch -> Int8 -> m () Source #
Set the value of the “send_event” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #sendEvent:=value ]
state
a bit-mask representing the state of
   the modifier keys (e.g. Control, Shift and Alt) and the pointer
   buttons. See ModifierType.
getEventTouchpadPinchState :: MonadIO m => EventTouchpadPinch -> m [ModifierType] Source #
Get the value of the “state” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #state
setEventTouchpadPinchState :: MonadIO m => EventTouchpadPinch -> [ModifierType] -> m () Source #
Set the value of the “state” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #state:=value ]
time
the time of the event in milliseconds
getEventTouchpadPinchTime :: MonadIO m => EventTouchpadPinch -> m Word32 Source #
Get the value of the “time” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #time
setEventTouchpadPinchTime :: MonadIO m => EventTouchpadPinch -> Word32 -> m () Source #
Set the value of the “time” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #time:=value ]
type
the type of the event (EventTypeTouchpadPinch)
getEventTouchpadPinchType :: MonadIO m => EventTouchpadPinch -> m EventType Source #
Get the value of the “type” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #type
setEventTouchpadPinchType :: MonadIO m => EventTouchpadPinch -> EventType -> m () Source #
Set the value of the “type” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #type:=value ]
window
the window which received the event
clearEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> m () Source #
Set the value of the “window” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #window
getEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> m (Maybe Window) Source #
Get the value of the “window” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #window
setEventTouchpadPinchWindow :: MonadIO m => EventTouchpadPinch -> Ptr Window -> m () Source #
Set the value of the “window” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #window:=value ]
x
The X coordinate of the pointer
getEventTouchpadPinchX :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “x” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #x
setEventTouchpadPinchX :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “x” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #x:=value ]
xRoot
The X coordinate of the pointer, relative to the root of the screen.
getEventTouchpadPinchXRoot :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “x_root” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #xRoot
setEventTouchpadPinchXRoot :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “x_root” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #xRoot:=value ]
y
The Y coordinate of the pointer
getEventTouchpadPinchY :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “y” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #y
setEventTouchpadPinchY :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “y” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #y:=value ]
yRoot
The Y coordinate of the pointer, relative to the root of the screen.
getEventTouchpadPinchYRoot :: MonadIO m => EventTouchpadPinch -> m Double Source #
Get the value of the “y_root” field.
 When overloading is enabled, this is equivalent to
get eventTouchpadPinch #yRoot
setEventTouchpadPinchYRoot :: MonadIO m => EventTouchpadPinch -> Double -> m () Source #
Set the value of the “y_root” field.
 When overloading is enabled, this is equivalent to
seteventTouchpadPinch [ #yRoot:=value ]