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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype RepeatNode Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf RepeatNode o) => IsRepeatNode o Source #

Type class for types which can be safely cast to RepeatNode, for instance with toRepeatNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf RepeatNode o) => IsRepeatNode o Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

toRepeatNode :: (MonadIO m, IsRepeatNode o) => o -> m RepeatNode Source #

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

Methods

Overloaded methods

getChild

repeatNodeGetChild Source #

Arguments

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

node: a repeat RenderNode

-> m RenderNode

Returns: a RenderNode

Retrieves the child of node.

new

repeatNodeNew Source #

Arguments

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

bounds: The bounds of the area to be painted

-> a

child: The child to repeat

-> Maybe Rect

childBounds: The area of the child to repeat or Nothing to use the child's bounds

-> m RepeatNode

Returns: A new RenderNode

Creates a RenderNode that will repeat the drawing of child across the given bounds.

peekChildBounds

repeatNodePeekChildBounds Source #

Arguments

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

node: a repeat RenderNode

-> m Rect

Returns: a bounding rectangle

Retrieves the bounding rectangle of the child of node.