GtkTree

GtkTree

Widget for displaying hierarchical information.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkTree

Direct subclasses

None.

Description

A GtkTree is a structure for displaying hierchical information. A tree may contain one or more nodes which themselves may contain other trees, thus creating levels or groups of nodes. A tree can be used to display information such as a map of a website or the files and folders of a directory.

GtkTree has been deprecated since GTK+ 2.0 and should not be used in newly written code.

Constructor

GtkTree (void);
-- Creates a new GtkTree.

Methods

append()
  Adds a node to the end of the tree.
prepend()
  Adds a node to the begining of the tree.
insert()
  Adds a node to the tree in the given position.
remove_item()
  Removes a node from a tree.
clear_items()
  Removes a range of nodes from the tree.
select_item()
  Selects a node of the tree by position.
unselect_item()
  Unselects a node of the tree by position.
select_child()
  Selects a node of a tree by object.
unselect_child()
  Unselects a node of a tree by object.
child_position()
  Returns the position of a node.
set_selection_mode()
  Sets the tree's selection mode.
set_view_mode()
  Sets the tree's view mode.
set_view_lines()
  Sets how lines between nodes and children are to be drawn.

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