Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
The GdkDragSurfaceSize
struct contains information that is useful
to compute the size of a drag surface.
Since: 4.12
Synopsis
- newtype DragSurfaceSize = DragSurfaceSize (ManagedPtr DragSurfaceSize)
- dragSurfaceSizeSetSize :: (HasCallStack, MonadIO m) => DragSurfaceSize -> Int32 -> Int32 -> m ()
Exported types
newtype DragSurfaceSize Source #
Memory-managed wrapper type.
Instances
Eq DragSurfaceSize Source # | |
Defined in GI.Gdk.Structs.DragSurfaceSize (==) :: DragSurfaceSize -> DragSurfaceSize -> Bool # (/=) :: DragSurfaceSize -> DragSurfaceSize -> Bool # | |
BoxedPtr DragSurfaceSize Source # | |
Defined in GI.Gdk.Structs.DragSurfaceSize boxedPtrCopy :: DragSurfaceSize -> IO DragSurfaceSize # boxedPtrFree :: DragSurfaceSize -> IO () # | |
ManagedPtrNewtype DragSurfaceSize Source # | |
Defined in GI.Gdk.Structs.DragSurfaceSize |
Methods
Click to display all available methods, including inherited ones
setSize
dragSurfaceSizeSetSize Source #
:: (HasCallStack, MonadIO m) | |
=> DragSurfaceSize |
|
-> Int32 |
|
-> Int32 |
|
-> m () |
Sets the size the drag surface prefers to be resized to.
Since: 4.12