| Copyright | Will Thompson and Iñaki García Etxebarria | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
GI.Clutter.Objects.TapAction
Contents
Description
The TapAction structure contains
 only private data and should be accessed using the provided API
Since: 1.14
Synopsis
- newtype TapAction = TapAction (ManagedPtr TapAction)
 - class (GObject o, IsDescendantOf TapAction o) => IsTapAction o
 - toTapAction :: (MonadIO m, IsTapAction o) => o -> m TapAction
 - tapActionNew :: (HasCallStack, MonadIO m) => m TapAction
 - type TapActionTapCallback = Actor -> IO ()
 - afterTapActionTap :: (IsTapAction a, MonadIO m) => a -> ((?self :: a) => TapActionTapCallback) -> m SignalHandlerId
 - onTapActionTap :: (IsTapAction a, MonadIO m) => a -> ((?self :: a) => TapActionTapCallback) -> m SignalHandlerId
 
Exported types
Memory-managed wrapper type.
Instances
| Eq TapAction Source # | |
| GObject TapAction Source # | |
Defined in GI.Clutter.Objects.TapAction  | |
| ManagedPtrNewtype TapAction Source # | |
Defined in GI.Clutter.Objects.TapAction Methods toManagedPtr :: TapAction -> ManagedPtr TapAction  | |
| TypedObject TapAction Source # | |
Defined in GI.Clutter.Objects.TapAction  | |
| HasParentTypes TapAction Source # | |
Defined in GI.Clutter.Objects.TapAction  | |
| IsGValue (Maybe TapAction) Source # | Convert   | 
Defined in GI.Clutter.Objects.TapAction Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe TapAction -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe TapAction)  | |
| type ParentTypes TapAction Source # | |
Defined in GI.Clutter.Objects.TapAction  | |
class (GObject o, IsDescendantOf TapAction o) => IsTapAction o Source #
Type class for types which can be safely cast to TapAction, for instance with toTapAction.
Instances
| (GObject o, IsDescendantOf TapAction o) => IsTapAction o Source # | |
Defined in GI.Clutter.Objects.TapAction  | |
toTapAction :: (MonadIO m, IsTapAction o) => o -> m TapAction Source #
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, cancel, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActor, getData, getDevice, getEnabled, getLastEvent, getMotionCoords, getMotionDelta, getNCurrentPoints, getNTouchPoints, getName, getPressCoords, getProperty, getQdata, getReleaseCoords, getSequence, getThresholdTriggerDistance, getThresholdTriggerEdge, getThresholdTriggerEgde, getVelocity.
Setters
setData, setDataFull, setEnabled, setNTouchPoints, setName, setProperty, setThresholdTriggerDistance, setThresholdTriggerEdge.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m TapAction | Returns: the newly created   | 
Creates a new TapAction instance
Since: 1.14
Signals
tap
type TapActionTapCallback Source #
The tap signal is emitted when the tap gesture is complete.
Since: 1.14
afterTapActionTap :: (IsTapAction a, MonadIO m) => a -> ((?self :: a) => TapActionTapCallback) -> m SignalHandlerId Source #
Connect a signal handler for the tap signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after tapAction #tap callback
By default the object invoking the signal is not passed to the callback.
 If you need to access it, you can use the implit ?self parameter.
 Note that this requires activating the ImplicitParams GHC extension.
onTapActionTap :: (IsTapAction a, MonadIO m) => a -> ((?self :: a) => TapActionTapCallback) -> m SignalHandlerId Source #
Connect a signal handler for the tap signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on tapAction #tap callback