GtkTree::append

void append ( GtkWidget tree_item );

Adds tree_item to the end of the tree.

Ejemplo 50. Appending nodes to a tree

<?php
$tree  =& new GtkTree;
$nodes =  array('These nodes', 'were added', 'in this order');

// Add the nodes.  When displayed they will be in readable order.
foreach ($nodes as $node) {
    $item =& new GtkTreeItem($node);
    $tree->append($item);
}
?>

See also: prepend() , insert()