Node.this

Creates a new #GNode containing the given data. Used to create the first node in a tree.

  1. this(GNode* gNode, bool ownedRef)
  2. this(void* data)
    class Node
    this
    (
    void* data
    )

Parameters

data void*

the data of the new node

Return: a new #GNode

Throws

ConstructionException GTK+ fails to create the object.

Meta