create_child


Description:

public unowned Node create_child (string operation)

Creates a new processing node that performs the specified operation.

All properties of the operation will have their default values. This is included as an addition to new_child in the public API to have a non varargs entry point for bindings as well as sometimes simpler more readable code.

Parameters:

this

a Node

operation

the type of node to create.

Returns:

a newly created node. The node will be destroyed by the parent. Calling g_object_unref on a node will cause the node to be dropped by the parent. (You may also add additional references using g_object_ref/g_object_unref, but in general relying on the parents reference counting is easiest.)