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

GI.Gsk.Objects.BlendNode

Description

No description available in the introspection data.

Synopsis

Exported types

newtype BlendNode Source #

Memory-managed wrapper type.

Instances

Instances details
Eq BlendNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

ManagedPtrNewtype BlendNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

BoxedPtr BlendNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

TypedObject BlendNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

Methods

glibType :: IO GType #

HasParentTypes BlendNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

type ParentTypes BlendNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

class (BoxedPtr o, TypedObject o, IsDescendantOf BlendNode o) => IsBlendNode o Source #

Type class for types which can be safely cast to BlendNode, for instance with toBlendNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf BlendNode o) => IsBlendNode o Source # 
Instance details

Defined in GI.Gsk.Objects.BlendNode

toBlendNode :: (MonadIO m, IsBlendNode o) => o -> m BlendNode Source #

Cast to BlendNode, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

getBlendMode

blendNodeGetBlendMode Source #

Arguments

:: (HasCallStack, MonadIO m, IsBlendNode a) 
=> a

node: a blending RenderNode

-> m BlendMode

Returns: the blend mode

Retrieves the blend mode used by node.

getBottomChild

blendNodeGetBottomChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsBlendNode a) 
=> a

node: a blending RenderNode

-> m RenderNode

Returns: the bottom child node

Retrieves the bottom RenderNode child of the node.

getTopChild

blendNodeGetTopChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsBlendNode a) 
=> a

node: a blending RenderNode

-> m RenderNode

Returns: the top child node

Retrieves the top RenderNode child of the node.

new

blendNodeNew Source #

Arguments

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

bottom: The bottom node to be drawn

-> b

top: The node to be blended onto the bottom node

-> BlendMode

blendMode: The blend mode to use

-> m BlendNode

Returns: A new RenderNode

Creates a RenderNode that will use blendMode to blend the top node onto the bottom node.