"animated"

Enables to animate expansion and collapsing of branches.

Synopsis

shape.animated(bool check);

Parameter

Parameter Description
shape Name of the object
check

TRUE = animated expansion/collapsing is enabled

FALSE = animated expansion/collapsing is disabled

Description

If it's TRUE, expansion and collapsing of branches is animated. Otherwise, the treeView will expand or collapse branches immediately without showing any animation.

EXAMPLE

Animated is set to TRUE in order to show an animation.

main()
{
  TREE1.animated(true);
}

Assignment

Tree widget