gi-clutter-1.0.3: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Objects.TapAction

Description

The TapAction structure contains only private data and should be accessed using the provided API

Since: 1.14

Synopsis

Exported types

newtype TapAction Source #

Memory-managed wrapper type.

Constructors

TapAction (ManagedPtr TapAction) 

Instances

Instances details
Eq TapAction Source # 
Instance details

Defined in GI.Clutter.Objects.TapAction

GObject TapAction Source # 
Instance details

Defined in GI.Clutter.Objects.TapAction

ManagedPtrNewtype TapAction Source # 
Instance details

Defined in GI.Clutter.Objects.TapAction

Methods

toManagedPtr :: TapAction -> ManagedPtr TapAction

TypedObject TapAction Source # 
Instance details

Defined in GI.Clutter.Objects.TapAction

Methods

glibType :: IO GType

HasParentTypes TapAction Source # 
Instance details

Defined in GI.Clutter.Objects.TapAction

IsGValue (Maybe TapAction) Source #

Convert TapAction to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

Defined in GI.Clutter.Objects.TapAction

type ParentTypes TapAction = '[GestureAction, Action, ActorMeta, Object]

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

Instances details
(GObject o, IsDescendantOf TapAction o) => IsTapAction o Source # 
Instance details

Defined in GI.Clutter.Objects.TapAction

toTapAction :: (MonadIO m, IsTapAction o) => o -> m TapAction Source #

Cast to TapAction, for types for which this is known to be safe. For general casts, use castTo.

Methods

new

tapActionNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m TapAction

Returns: the newly created TapAction

Creates a new TapAction instance

Since: 1.14

Signals

tap

type TapActionTapCallback Source #

Arguments

 = Actor

actor: the Actor attached to the action

-> IO () 

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