Node.this

Creates a new glib.Node 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 Value

a new glib.Node

Throws

ConstructionException GTK+ fails to create the object.