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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ShadowNode Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf ShadowNode o) => IsShadowNode o Source #

Type class for types which can be safely cast to ShadowNode, for instance with toShadowNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf ShadowNode o) => IsShadowNode o Source # 
Instance details

Defined in GI.Gsk.Objects.ShadowNode

toShadowNode :: (MonadIO m, IsShadowNode o) => o -> m ShadowNode Source #

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

Methods

Overloaded methods

getChild

shadowNodeGetChild Source #

Arguments

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

node: a shadow RenderNode

-> m RenderNode

Returns: the child render node

Retrieves the child RenderNode of the shadow node.

getNShadows

shadowNodeGetNShadows Source #

Arguments

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

node: a shadow RenderNode

-> m Word64

Returns: the number of shadows.

Retrieves the number of shadows in the node.

new

shadowNodeNew Source #

Arguments

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

child: The node to draw

-> [Shadow]

shadows: The shadows to apply

-> m ShadowNode

Returns: A new RenderNode

Creates a RenderNode that will draw a child with the given shadows below it.

peekShadow

shadowNodePeekShadow Source #

Arguments

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

node: a shadow RenderNode

-> Word64

i: the given index

-> m Shadow

Returns: the shadow data

Retrieves the shadow data at the given index i.