gi-gdk-4.0.2: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Objects.CrossingEvent

Description

No description available in the introspection data.

Synopsis

Exported types

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

Overloaded 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.