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

GI.Gsk.Objects.RepeatNode

Description

A render node repeating its single child node.

Synopsis

Exported types

newtype RepeatNode Source #

Memory-managed wrapper type.

Constructors

RepeatNode (ManagedPtr RepeatNode) 

Instances

Instances details
Eq RepeatNode Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

BoxedPtr RepeatNode Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

ManagedPtrNewtype RepeatNode Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

Methods

toManagedPtr :: RepeatNode -> ManagedPtr RepeatNode

TypedObject RepeatNode Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

Methods

glibType :: IO GType

HasParentTypes RepeatNode Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

type ParentTypes RepeatNode Source # 
Instance details

Defined in GI.Gsk.Objects.RepeatNode

type ParentTypes RepeatNode = '[RenderNode]

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

Click to display all available methods, including inherited ones

Expand

Methods

draw, ref, serialize, unref, writeToFile.

Getters

getBounds, getChild, getChildBounds, getNodeType.

Setters

None.

getChild

repeatNodeGetChild Source #

Arguments

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

node: a repeat GskRenderNode

-> m RenderNode

Returns: a GskRenderNode

Retrieves the child of node.

getChildBounds

repeatNodeGetChildBounds Source #

Arguments

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

node: a repeat GskRenderNode

-> m Rect

Returns: a bounding rectangle

Retrieves the bounding rectangle of 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 GskRenderNode

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