Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: RepeatNode

[12:7] extends: object

A render node repeating its single child node.

Members

  • handleObj
  • lib
  • retainedCallbacks
  • signalHandlerNames
  • signalSetterHandlers

Methods

  • RepeatNode (bounds = null, child = null, child_bounds = null)

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

    • @p bounds is The bounds of the area to be painted.
    • @p child is The child to repeat.
    • @p child_bounds is The area of the child to repeat or %NULL to use the child's bounds.
  • toNativeHandle (Source)

    Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from fn.call(...), another generated wrapper exposing handle(), or null. Returns null when the argument carries no pointer.

    • @p Source is the raw handle, raw buffer, wrapper, or null.
    • @r A raw pointer carrier or null when no pointer is present.
  • getLib ()

    Returns the opened native library for this generated wrapper.

    • @r The opened native library.
  • handle ()

    Returns the wrapped NativeHandle.

    • @r The wrapped NativeHandle.
  • isNull ()

    Returns true when the wrapped handle is null.

    • @r A bool.
  • describe ()

    Returns a small string for debugging generated wrappers.

    • @r A string.
  • asRenderNode ()

    Wraps this handle as RenderNode.

    • @r A RenderNode object.
  • get_child ()

    Retrieves the child of @node.

  • get_child_bounds ()

    Retrieves the bounding rectangle of the child of @node.