Description

The GtkCTree widget is used for showing a hierarchical tree
to the user, for example a directory tree.

The tree is internally represented as a set of GtkCTreeNode structures.

The interface has much in common with the GtkCList widget: rows (nodes)
can be selected by the user etc.

Positions in the tree are often indicated by two arguments, a
parent and a sibling, both GtkCTreeNode pointers. If the parent
is NULL, the position is at the root of the tree and if the sibling
is NULL, it will be the last child of parent, otherwise it will be
inserted just before the sibling.

GtkCTree has been deprecated since GTK+ 2.0 and should not be used
in newly written code. Use GtkTreeView instead.

Details

GtkCTree

typedef struct _GtkCTree GtkCTree;

Warning

GtkCTree is deprecated and should not be used in newly-written code.

The GtkCTree contains the following user-accessible fields.
These fields should be considered read-only; to set the values,
use the methods below.

gtk_ctree_is_viewable ()

Warning

gtk_ctree_is_viewable is deprecated and should not be used in newly-written code.

This function checks whether the given node is viewable i.e. so that
all of its parent nodes are expanded. This is different from being
actually visible: the node can be viewable but outside the scrolling
area of the window.