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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype FocusEvent Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf FocusEvent o) => IsFocusEvent o Source #

Type class for types which can be safely cast to FocusEvent, for instance with toFocusEvent.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf FocusEvent o) => IsFocusEvent o Source # 
Instance details

Defined in GI.Gdk.Objects.FocusEvent

toFocusEvent :: (MonadIO m, IsFocusEvent o) => o -> m FocusEvent Source #

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

Methods

Overloaded methods

getIn

focusEventGetIn Source #

Arguments

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

event: a focus change event

-> m Bool

Returns: True of the focus is entering

Extracts whether this event is about focus entering or leaving the surface.