Webhosting and cheap domain registration service
  

 Home

GTK Classes
Prev GtkTree Next

GtkTree

Widget for displaying hierarchical information.

Object Hierarchy

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

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.

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.


Prev Home Next
GtkTooltips::force_window Up GtkTree Constructor

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
There is hardly any activity, any enterprise, which is started out with such tremendous hopes and expectations, and yet which fails so regularly, as love.  
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php