| 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.Gsk.Objects.PasteNode
Contents
Description
A render node for a paste.
Since: 4.22
Synopsis
- newtype PasteNode = PasteNode (ManagedPtr PasteNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf PasteNode o) => IsPasteNode o
- toPasteNode :: (MonadIO m, IsPasteNode o) => o -> m PasteNode
- pasteNodeGetDepth :: (HasCallStack, MonadIO m, IsPasteNode a) => a -> m CSize
- pasteNodeNew :: (HasCallStack, MonadIO m) => Rect -> CSize -> m PasteNode
Exported types
Memory-managed wrapper type.
Constructors
| PasteNode (ManagedPtr PasteNode) |
Instances
| Eq PasteNode Source # | |
| BoxedPtr PasteNode Source # | |
Defined in GI.Gsk.Objects.PasteNode | |
| ManagedPtrNewtype PasteNode Source # | |
Defined in GI.Gsk.Objects.PasteNode Methods | |
| TypedObject PasteNode Source # | |
| HasParentTypes PasteNode Source # | |
Defined in GI.Gsk.Objects.PasteNode | |
| type ParentTypes PasteNode Source # | |
Defined in GI.Gsk.Objects.PasteNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf PasteNode o) => IsPasteNode o Source #
Type class for types which can be safely cast to PasteNode, for instance with toPasteNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf PasteNode o) => IsPasteNode o Source # | |
Defined in GI.Gsk.Objects.PasteNode | |
toPasteNode :: (MonadIO m, IsPasteNode o) => o -> m PasteNode Source #
Methods
Click to display all available methods, including inherited ones
Methods
draw, ref, serialize, unref, writeToFile.
Getters
getBounds, getChildren, getDepth, getNodeType, getOpaqueRect.
Setters
None.
getDepth
Arguments
| :: (HasCallStack, MonadIO m, IsPasteNode a) | |
| => a |
|
| -> m CSize | Returns: the index of the copy to paste. |
Retrieves the index of the copy that should be pasted.
Since: 4.22
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Rect |
|
| -> CSize |
|
| -> m PasteNode | Returns: A new |
Creates a GskRenderNode that will paste copied contents.
Since: 4.22