TreeSelection.getSelected

Returns an TreeIter set to the currently selected node if selection is set to Selection.SINGLE or Selection.BROWSE. This function will not work if you use selection is Selection.MULTIPLE.

  1. TreeIter getSelected()
    class TreeSelection
    getSelected
    ()
  2. bool getSelected(TreeModelIF model, TreeIter iter)

Return Value

Type: TreeIter

A TreeIter for the selected node.

Meta