Method

IdeTreeNodeget_root

Declaration

IdeTreeNode*
ide_tree_node_get_root (
  IdeTreeNode* self
)

Description

Gets the root IdeTreeNode, or self if it has no parent.

Return value

Type: IdeTreeNode

An IdeTreeNode.

The data is owned by the instance.