| 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.Functions
Description
Synopsis
- rectSnapGetDirection :: (HasCallStack, MonadIO m) => Word32 -> Side -> m SnapDirection
- rectSnapNew :: (HasCallStack, MonadIO m) => SnapDirection -> SnapDirection -> SnapDirection -> SnapDirection -> m Word32
- valueDupRenderNode :: (HasCallStack, MonadIO m) => GValue -> m (Maybe RenderNode)
- valueGetRenderNode :: (HasCallStack, MonadIO m) => GValue -> m (Maybe RenderNode)
- valueSetRenderNode :: (HasCallStack, MonadIO m, IsRenderNode a) => GValue -> a -> m ()
- valueTakeRenderNode :: (HasCallStack, MonadIO m, IsRenderNode a) => GValue -> Maybe a -> m ()
Methods
rectSnapGetDirection
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Word32 |
|
| -> Side |
|
| -> m SnapDirection | Returns: the direction the given border is snapped |
Queries the way a given border is snapped.
Since: 4.24
rectSnapNew
Arguments
| :: (HasCallStack, MonadIO m) | |
| => SnapDirection |
|
| -> SnapDirection |
|
| -> SnapDirection |
|
| -> SnapDirection |
|
| -> m Word32 | Returns: a description for how to snap rectangles |
Creates a new way to snap rectangles for the 4 given sides.
Since: 4.24
valueDupRenderNode
Arguments
| :: (HasCallStack, MonadIO m) | |
| => GValue |
|
| -> m (Maybe RenderNode) | Returns: the render node |
Retrieves the render node stored inside a GValue,
and acquires a reference to it.
Since: 4.6
valueGetRenderNode
Arguments
| :: (HasCallStack, MonadIO m) | |
| => GValue |
|
| -> m (Maybe RenderNode) | Returns: the render node |
Retrieves the render node stored inside a GValue.
Since: 4.6
valueSetRenderNode
Arguments
| :: (HasCallStack, MonadIO m, IsRenderNode a) | |
| => GValue |
|
| -> a |
|
| -> m () |
Stores the given render node inside a GValue.
The Value will acquire a reference
to the render node.
Since: 4.6
valueTakeRenderNode
Arguments
| :: (HasCallStack, MonadIO m, IsRenderNode a) | |
| => GValue |
|
| -> Maybe a |
|
| -> m () |
Stores the given render node inside a GValue.
This function transfers the ownership of the
render node to the GValue.
Since: 4.6