"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.
Assignment
Tree widget