| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gdk.Structs.DragSurfaceSize
Contents
Description
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.
Constructors
| DragSurfaceSize (ManagedPtr DragSurfaceSize) |
Instances
| Eq DragSurfaceSize Source # | |
Defined in GI.Gdk.Structs.DragSurfaceSize Methods (==) :: DragSurfaceSize -> DragSurfaceSize -> Bool # (/=) :: DragSurfaceSize -> DragSurfaceSize -> Bool # | |
| BoxedPtr DragSurfaceSize Source # | |
Defined in GI.Gdk.Structs.DragSurfaceSize Methods boxedPtrCopy :: DragSurfaceSize -> IO DragSurfaceSize # boxedPtrFree :: DragSurfaceSize -> IO () # | |
| ManagedPtrNewtype DragSurfaceSize Source # | |
Defined in GI.Gdk.Structs.DragSurfaceSize Methods toManagedPtr :: DragSurfaceSize -> ManagedPtr DragSurfaceSize # | |
Methods
Click to display all available methods, including inherited ones
setSize
dragSurfaceSizeSetSize Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => DragSurfaceSize |
|
| -> Int32 |
|
| -> Int32 |
|
| -> m () |
Sets the size the drag surface prefers to be resized to.
Since: 4.12