GtkTreeItem::set_subtree

GtkTreeItem::set_subtree

Sets a GtkTree as the subtree (or tree of children) for a node. A GtkTreeItem may only have one subtree. Attempting to set a second tree will generate a Gtk-Warning. The orginal subtree will not be overwritten or removed.

A node that has a subtree will be shown with a box to the left containing either a plus for a collapsed tree or a minus for an expanded tree.

Controlling whether or not the subtree is visible is done using expand() and collapse() functions.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.