TreeSelection.getSelected

Returns an TreeIter set to the currently selected node if selection is set to GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE. This function will not work if you use selection is GTK_SELECTION_MULTIPLE.

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

Return Value

Type: TreeIter

A TreeIter for the selected node.

Meta