Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.TreeItem

Class TreeItem

Implemented interfaces:

Item
public class

TreeItem



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

Constructor Summary
protected (GtkWidget* gtkWidget)
          
public ()
          Creates a new TreeItem
(char label)
          Creates a new tree item with a label

Methods Summary
static GType getType()
          Gets this class type
void setSubtree(Widget subtree)
          
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


getType

static GType getType()
Gets this class type

Returns:
this class type



protected ctor(TreeItem)(GtkWidget* gtkWidget)



public ctor(TreeItem)()
Creates a new TreeItem



ctor(TreeItem)(char label)
Creates a new tree item with a label

Parameters:
label - the text of the label

setSubtree

void setSubtree(Widget subtree)

RemoveSubtree

void RemoveSubtree()
remove the subtree of this item

select

void select()
selects this item

deselect

void deselect()
deselect this item

expand

void expand()
expand all the braches of this ite,

collapse

void collapse()
Collapse all the branches of this item