"setEnabled"

Enables or disables an item.

Synopsis

shape.setEnabled(string id, bool enabled);

Parameters

Parameter Description
shape Name of the object
id The ID of the element
enabled

TRUE = The element will be enabled.

FALSE = The element will be disabled.

Description

Enables or disables an item.

Assignment

Tree widget