Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
A DragSurface
is an interface implemented by GdkSurfaces
used
during a DND operation.
Synopsis
- newtype DragSurface = DragSurface (ManagedPtr DragSurface)
- class (GObject o, IsDescendantOf DragSurface o) => IsDragSurface o
- toDragSurface :: (MonadIO m, IsDragSurface o) => o -> m DragSurface
- dragSurfacePresent :: (HasCallStack, MonadIO m, IsDragSurface a) => a -> Int32 -> Int32 -> m Bool
Exported types
newtype DragSurface Source #
Memory-managed wrapper type.
Instances
Eq DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface (==) :: DragSurface -> DragSurface -> Bool # (/=) :: DragSurface -> DragSurface -> Bool # | |
IsGValue DragSurface Source # | Convert |
Defined in GI.Gdk.Interfaces.DragSurface toGValue :: DragSurface -> IO GValue # fromGValue :: GValue -> IO DragSurface # | |
ManagedPtrNewtype DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
TypedObject DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
GObject DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
HasParentTypes DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
type ParentTypes DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface |
class (GObject o, IsDescendantOf DragSurface o) => IsDragSurface o Source #
Type class for types which can be safely cast to DragSurface
, for instance with toDragSurface
.
Instances
(GObject o, IsDescendantOf DragSurface o) => IsDragSurface o Source # | |
Defined in GI.Gdk.Interfaces.DragSurface |
toDragSurface :: (MonadIO m, IsDragSurface o) => o -> m DragSurface Source #
Cast to DragSurface
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
present
:: (HasCallStack, MonadIO m, IsDragSurface a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m Bool | Returns: |
Present dragSurface
.