Function TreeItem.root

returns topmost item

TreeItems root() @property;