"parent";

Returns the parent of an item or an empty string if the item has no parent.

Synopsis

shape.parent(string Id);

Parameters

Parameter Description
shape The name of the object
Id The item whose parent should be returned

Description

Returns the parent of an item or an empty string if the item has no parent.

Assignment

Tree widget