Method

IdeTreeset_selected_node

Declaration

void
ide_tree_set_selected_node (
  IdeTree* self,
  IdeTreeNode* node
)

Description

Sets the selected item in the tree.

If node is NULL, the current selection is cleared.

Sets propertyIde.Tree:selected-node

Parameters

node

Type: IdeTreeNode

An IdeTreeNode or NULL.

The argument can be NULL.
The data is owned by the caller of the method.