gi-gsk-4.0.9: Gsk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gsk.Functions

Description

 
Synopsis

Methods

rectSnapGetDirection

rectSnapGetDirection Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Word32

snap: a rectangle snap

-> Side

side: the border to query

-> m SnapDirection

Returns: the direction the given border is snapped

Queries the way a given border is snapped.

Since: 4.24

rectSnapNew

rectSnapNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> SnapDirection

top: How to snap the top edge

-> SnapDirection

right: How to snap the right edge

-> SnapDirection

bottom: How to snap the bottom edge

-> SnapDirection

left: How to snap the left edge

-> 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

valueDupRenderNode Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> GValue

value: a Value initialized with type GSK_TYPE_RENDER_NODE

-> 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

valueGetRenderNode Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> GValue

value: a GValue initialized with type GSK_TYPE_RENDER_NODE

-> m (Maybe RenderNode)

Returns: the render node

Retrieves the render node stored inside a GValue.

Since: 4.6

valueSetRenderNode

valueSetRenderNode Source #

Arguments

:: (HasCallStack, MonadIO m, IsRenderNode a) 
=> GValue

value: a Value initialized with type GSK_TYPE_RENDER_NODE

-> a

node: a render node

-> m () 

Stores the given render node inside a GValue.

The Value will acquire a reference to the render node.

Since: 4.6

valueTakeRenderNode

valueTakeRenderNode Source #

Arguments

:: (HasCallStack, MonadIO m, IsRenderNode a) 
=> GValue

value: a Value initialized with type GSK_TYPE_RENDER_NODE

-> Maybe a

node: a render node

-> m () 

Stores the given render node inside a GValue.

This function transfers the ownership of the render node to the GValue.

Since: 4.6