Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
An event related to a broken windowing system grab.
Synopsis
- newtype GrabBrokenEvent = GrabBrokenEvent (ManagedPtr GrabBrokenEvent)
- class (BoxedPtr o, TypedObject o, IsDescendantOf GrabBrokenEvent o) => IsGrabBrokenEvent o
- toGrabBrokenEvent :: (MonadIO m, IsGrabBrokenEvent o) => o -> m GrabBrokenEvent
- grabBrokenEventGetGrabSurface :: (HasCallStack, MonadIO m, IsGrabBrokenEvent a) => a -> m Surface
- grabBrokenEventGetImplicit :: (HasCallStack, MonadIO m, IsGrabBrokenEvent a) => a -> m Bool
Exported types
newtype GrabBrokenEvent Source #
Memory-managed wrapper type.
GrabBrokenEvent (ManagedPtr GrabBrokenEvent) |
Instances
Eq GrabBrokenEvent Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent (==) :: GrabBrokenEvent -> GrabBrokenEvent -> Bool # (/=) :: GrabBrokenEvent -> GrabBrokenEvent -> Bool # | |
BoxedPtr GrabBrokenEvent Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent boxedPtrCopy :: GrabBrokenEvent -> IO GrabBrokenEvent boxedPtrFree :: GrabBrokenEvent -> IO () | |
ManagedPtrNewtype GrabBrokenEvent Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent toManagedPtr :: GrabBrokenEvent -> ManagedPtr GrabBrokenEvent | |
TypedObject GrabBrokenEvent Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent | |
HasParentTypes GrabBrokenEvent Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent | |
type ParentTypes GrabBrokenEvent Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent |
class (BoxedPtr o, TypedObject o, IsDescendantOf GrabBrokenEvent o) => IsGrabBrokenEvent o Source #
Type class for types which can be safely cast to GrabBrokenEvent
, for instance with toGrabBrokenEvent
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf GrabBrokenEvent o) => IsGrabBrokenEvent o Source # | |
Defined in GI.Gdk.Objects.GrabBrokenEvent |
toGrabBrokenEvent :: (MonadIO m, IsGrabBrokenEvent o) => o -> m GrabBrokenEvent Source #
Cast to GrabBrokenEvent
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
ref, triggersContextMenu, unref.
Getters
getAxes, getAxis, getDevice, getDeviceTool, getDisplay, getEventSequence, getEventType, getGrabSurface, getHistory, getImplicit, getModifierState, getPointerEmulated, getPosition, getSeat, getSurface, getTime.
Setters
None.
getGrabSurface
grabBrokenEventGetGrabSurface Source #
:: (HasCallStack, MonadIO m, IsGrabBrokenEvent a) | |
=> a |
|
-> m Surface | Returns: the grab surface of |
Extracts the grab surface from a grab broken event.
getImplicit
grabBrokenEventGetImplicit Source #
:: (HasCallStack, MonadIO m, IsGrabBrokenEvent a) | |
=> a |
|
-> m Bool | Returns: |
Checks whether the grab broken event is for an implicit grab.