ATTR_SELECTED

Type: Tree Item attribute
Description: Specifies whether the tree item is selected. This attribute is only settable when the tree selection mode is VAL_SELECTION_MULTIPLE. If the selection mode is VAL_SELECTION_SINGLE, the active item is always the only item selected. If the selection mode is VAL_SELECTION_NONE, there are never any selected items.
Data Type: integer
Default Value: 0

Values

0 False
1 True