"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.

Figure 1. Open/Close signs are shown

(rootIsDecorated = TRUE)

Figure 2. Open/Close signs are not shown

(rootIsDecorated = FALSE)

Assignment

Tree widget, DpTreeView