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 |
A GdkDragSurface
is an interface for surfaces used during DND.
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.
DragSurface (ManagedPtr DragSurface) |
Instances
Eq DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface (==) :: DragSurface -> DragSurface -> Bool # (/=) :: DragSurface -> DragSurface -> Bool # | |
GObject DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
ManagedPtrNewtype DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface toManagedPtr :: DragSurface -> ManagedPtr DragSurface | |
TypedObject DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
HasParentTypes DragSurface Source # | |
Defined in GI.Gdk.Interfaces.DragSurface | |
IsGValue (Maybe DragSurface) Source # | Convert |
Defined in GI.Gdk.Interfaces.DragSurface gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe DragSurface -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe 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
Click to display all available methods, including inherited ones
Methods
beep, bindProperty, bindPropertyFull, createCairoContext, createGlContext, createSimilarSurface, createVulkanContext, destroy, forceFloating, freezeNotify, getv, hide, isDestroyed, isFloating, notify, notifyByPspec, present, queueRender, ref, refSink, requestLayout, runDispose, stealData, stealQdata, thawNotify, translateCoordinates, unref, watchClosure.
Getters
getCursor, getData, getDeviceCursor, getDevicePosition, getDisplay, getFrameClock, getHeight, getMapped, getProperty, getQdata, getScaleFactor, getWidth.
Setters
setCursor, setData, setDataFull, setDeviceCursor, setInputRegion, setOpaqueRegion, setProperty.
present
:: (HasCallStack, MonadIO m, IsDragSurface a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m Bool | Returns: |
Present dragSurface
.