TreeItem Class Reference

Inheritance diagram for TreeItem:

Item List of all members.

Detailed Description

A item to display on a Tree Widget (not TreeView).

This seems to be a completelly indenpend implementation a a tree, use TreeView instead.

Deprecated:


Public Member Functions

 this ()
 Creates a new TreeItem.
 this (char[] label)
 Creates a new tree item with a label.
void RemoveSubtree ()
 remove the subtree of this item
void select ()
 selects this item
void deselect ()
 deselect this item
void expand ()
 expand all the braches of this ite,
void collapse ()
 Collapse all the branches of this item.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

void TreeItem.collapse  ) 
 

Collapse all the branches of this item.

void TreeItem.deselect  ) 
 

deselect this item

Reimplemented from Item.

void TreeItem.expand  ) 
 

expand all the braches of this ite,

GType TreeItem.getType  )  [static]
 

Gets this class type.

Returns:
this class type

Reimplemented from Item.

void TreeItem.RemoveSubtree  ) 
 

remove the subtree of this item

void TreeItem.select  ) 
 

selects this item

Reimplemented from Item.

TreeItem.this char[]  label  ) 
 

Creates a new tree item with a label.

Parameters:
label the text of the label

TreeItem.this  ) 
 

Creates a new TreeItem.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo