Tree Class Reference

Inheritance diagram for Tree:

Container List of all members.

Detailed Description

A container that display a tree.

This seems to be a tree implementation independent of the TreeView. Use the TreeView instead???

See also:
TreeView
Deprecated:


Public Member Functions

 this ()
 Creates a new Tree.

void append (TreeItem item)
 Appends an item to the tree.

void prepend (TreeItem item)
 Prepends an item to the tree.

void insert (TreeItem item, gint position)
 Insert an item a any position.

void removeItems (ListG items)
 Remove a list of items from the tree.

void clearItems (gint start, gint end)
 Clear a set of item from a range ???

void selectItem (gint item)
 Select and item by it's position.

void unselectItem (gint item)
 Unselect an item by it's position.

void selectChild (TreeItem item)
 Selects an item on the tree.

void unselectChild (TreeItem item)
 Unselects an item.

void selectionMode (GtkSelectionMode mode)
 Sets the selection mode.

void viewMode (GtkTreeViewMode mode)
 Sets the view mode.

void viewLines (bit flag)
 Sets if the separator lines should be visible.


Member Function Documentation

void Tree.append (  TreeItem  item  ) 
 

Appends an item to the tree.

Parameters:
item the item to add

void Tree.clearItems (  gint  start,
gint  end
) 
 

Clear a set of item from a range ???

Parameters:
start 
end 

void Tree.insert (  TreeItem  item,
gint  position
) 
 

Insert an item a any position.

Parameters:
item the item to add
position the postion of the item

void Tree.prepend (  TreeItem  item  ) 
 

Prepends an item to the tree.

Parameters:
item the item to add

void Tree.removeItems (  ListG  items  ) 
 

Remove a list of items from the tree.

Parameters:
items the list of items

void Tree.selectChild (  TreeItem  item  ) 
 

Selects an item on the tree.

Parameters:
item the item to select

void Tree.selectionMode (  GtkSelectionMode  mode  ) 
 

Sets the selection mode.

Todo:
where are the selection modes?
Parameters:
mode the new selection mode

void Tree.selectItem (  gint  item  ) 
 

Select and item by it's position.

Parameters:
item the item position

Tree.this (   ) 
 

Creates a new Tree.

void Tree.unselectChild (  TreeItem  item  ) 
 

Unselects an item.

Parameters:
item the item to unselect

void Tree.unselectItem (  gint  item  ) 
 

Unselect an item by it's position.

Parameters:
item the item position

void Tree.viewLines (  bit  flag  ) 
 

Sets if the separator lines should be visible.

Parameters:
flag it true lines will be visible

void Tree.viewMode (  GtkTreeViewMode  mode  ) 
 

Sets the view mode.

Parameters:
mode the new view mode


Generated on Sun Dec 21 02:47:13 2003 for DUI by doxygen 1.3.4