gi-gdk-4.0.5: Gdk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Objects.CrossingEvent

Description

An event caused by a pointing device moving between surfaces.

Synopsis

Exported types

newtype CrossingEvent Source #

Memory-managed wrapper type.

Constructors

CrossingEvent (ManagedPtr CrossingEvent) 

Instances

Instances details
Eq CrossingEvent Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

BoxedPtr CrossingEvent Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

ManagedPtrNewtype CrossingEvent Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

Methods

toManagedPtr :: CrossingEvent -> ManagedPtr CrossingEvent

TypedObject CrossingEvent Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

Methods

glibType :: IO GType

HasParentTypes CrossingEvent Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

type ParentTypes CrossingEvent Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

type ParentTypes CrossingEvent = '[Event]

class (BoxedPtr o, TypedObject o, IsDescendantOf CrossingEvent o) => IsCrossingEvent o Source #

Type class for types which can be safely cast to CrossingEvent, for instance with toCrossingEvent.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf CrossingEvent o) => IsCrossingEvent o Source # 
Instance details

Defined in GI.Gdk.Objects.CrossingEvent

toCrossingEvent :: (MonadIO m, IsCrossingEvent o) => o -> m CrossingEvent Source #

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

Methods

getDetail

crossingEventGetDetail Source #

Arguments

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

event: a crossing event

-> m NotifyType

Returns: the notify detail of event

Extracts the notify detail from a crossing event.

getFocus

crossingEventGetFocus Source #

Arguments

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

event: a crossing event

-> m Bool

Returns: True if the surface is the focus surface

Checks if the event surface is the focus surface.

getMode

crossingEventGetMode Source #

Arguments

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

event: a crossing event

-> m CrossingMode

Returns: the mode of event

Extracts the crossing mode from a crossing event.