"selectedItems"

The attribute returns the IDs of the selected items.

Synopsis

shape.selectedItems();

shape.selectedItems(dyn_string s); (only for selection list)

Parameters

Parameter Description
shape Name of the object
s Entries that shall be returned.

Description

The attribute returns the list of the IDs of the selected items within the object.

For a tree widget the multi selection mode is required to return the selected items.

The selection list also allows to set the selected items.

Assignment

Tree Widget, Selection List