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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ButtonEvent Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf ButtonEvent o) => IsButtonEvent o Source #

Type class for types which can be safely cast to ButtonEvent, for instance with toButtonEvent.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf ButtonEvent o) => IsButtonEvent o Source # 
Instance details

Defined in GI.Gdk.Objects.ButtonEvent

toButtonEvent :: (MonadIO m, IsButtonEvent o) => o -> m ButtonEvent Source #

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

Methods

Overloaded methods

getButton

buttonEventGetButton Source #

Arguments

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

event: a button event

-> m Word32

Returns: the button of event

Extract the button number from a button event.