Pike v8.1 release 6

Method GTK2.TreeSelection()->get_selected()


Method get_selected

array get_selected()

Description

Returns a W(TreeITer) with the currently selected node if this selection is set to GTK2.SELECTION_SINGLE or GTK2.SELECTION_BROWSE. Also returns W(TreeModel) as a convenience. This function will not work if you this selection is set to GTK2.SELECTION_MULTIPLE.