"rootIsDecorated"
The attribute "rootIsDecorated" specifies whether the tree view shows open/close signs on root items.
Synopsis
shape.rootIsDecorated(bool mode);
Parameters
Parameter | Description |
shape | Name of the object |
mode |
TRUE = The open/close signs are shown. FALSE = The open/close signs are not shown. |
Description
The attribute "rootIsDecorated" specifies whether the tree view shows open/close signs on root items.
Example
The following example sets the "rootIsDecorated" to FALSE (Open/Close signs are not shown).
main() { TREE1.rootIsDecorated(FALSE); } |
Figure: Open/Close signs are shown
(rootIsDecorated = TRUE)
Figure: Open/Close signs are not shown
(rootIsDecorated = FALSE)
Assignment
Tree widget, DpTreeView
See also