Gsk.RepeatNode

g Gsk.RenderNode Gsk.RenderNode Gsk.RepeatNode Gsk.RepeatNode Gsk.RenderNode->Gsk.RepeatNode

Subclasses:

None

Methods

Inherited:

Gsk.RenderNode (10)

class

new (bounds, child, child_bounds)

get_child ()

get_child_bounds ()

get_child_snap ()

get_snap ()

Virtual Methods

None

Fields

None

Class Details

class Gsk.RepeatNode
Bases:

Gsk.RenderNode

Abstract:

No

A render node repeating its single child node.

classmethod new(bounds, child, child_bounds)
Parameters:
Returns:

A new GskRenderNode

Return type:

Gsk.RepeatNode

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

get_child()
Returns:

a GskRenderNode

Return type:

Gsk.RenderNode

Retrieves the child of self.

get_child_bounds()
Returns:

a bounding rectangle

Return type:

Graphene.Rect

Retrieves the bounding rectangle of the child of self.

get_child_snap()
Returns:

the snap value

Return type:

int

Retrieves the snap value for the child’s bounding rectangle.

Added in version 4.24.

get_snap()
Returns:

the snap value

Return type:

int

Retrieves the snap value for this node

Added in version 4.24.