Node
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( dup_function = "g_node_copy" , free_function = "g_node_destroy" ) ]
public class Node<G>
[ CCode ( dup_function = "g_node_copy" , free_function = "g_node_destroy" ) ]
public class Node<G>
Namespace: GLib
Package: glib-2.0
Content:
Creation methods:
Methods:
- public void _unlink ()
Unlinks a GLib.Node from a tree, resulting in two separate trees.
- public unowned Node<G> append (owned Node<G> node)
- public unowned Node<G> append_data (owned G data)
- public int child_index (G data)
- public int child_position (Node<G> child)
- public void children_foreach (TraverseFlags flags, NodeForeachFunc<G> func)
- public Node<unowned G> copy ()
- public Node<G> copy_deep (CopyFunc<G> copy_func)
- public uint depth ()
- public unowned Node<G> find (TraverseType order, TraverseFlags flags, G data)
- public unowned Node<G> find_child (TraverseFlags flags, G data)
- public unowned Node<G> first_child ()
- public unowned Node<G> first_sibling ()
- public unowned Node<G> get_root ()
- public unowned Node<G> insert (int position, owned Node<G> node)
- public unowned Node<G> insert_after (Node<G> sibling, owned Node<G> node)
- public unowned Node<G> insert_before (Node<G> sibling, owned Node<G> node)
- public unowned Node<G> insert_data (int position, owned G data)
- public unowned Node<G> insert_data_before (Node<G> sibling, owned G data)
- public bool is_ancestor (Node<G> descendant)
- public bool is_leaf ()
- public bool is_root ()
- public unowned Node<G> last_child ()
- public unowned Node<G> last_sibling ()
- public uint max_height ()
- public uint n_children ()
- public uint n_nodes (TraverseFlags flags)
- public unowned Node<G> next_sibling ()
- public unowned Node<G> nth_child (uint n)
- public unowned Node<G> prepend (owned Node<G> node)
- public unowned Node<G> prepend_data (owned G data)
- public unowned Node<G> prev_sibling ()
- public void reverse_children ()
- public void traverse (TraverseType order, TraverseFlags flags, int max_depth, NodeTraverseFunc<G> func)
- public Node<G> unlink ()
Unlinks a GLib.Node from a tree, resulting in two separate trees.