Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

<tree-node>

Open abstract instantiable class

Summary

The class of nodes in tree controls.

Superclasses

<object> 

Init-keywords

parent-nodes:
An instance of type <sequence>.

child-nodes:
An instance of type <sequence>.

generation:
An instance of type <integer>. Default value: 0.

object:
An instance of type <object>.

Library

duim-gadgets

Module

duim-gadgets

Description

The class of nodes in tree controls. A tree node represents an object, and is displayed as a text label accompanied by an icon. Tree nodes are analogous to list items in a list control or table items in a table control.

To the left of a tree node is a small plus or minus sign. If a plus sign is displayed, this indicates that the node contains subnodes that are currently not visible. If a minus sign is displayed, this indicates either that the node does not contain any subnodes, or that the subnodes are already visible.

The parent-nodes: and child-nodes: init-keywords let you specify any parents and children that the node has.

The object: init-keyword specifies the object that is represented by the tree node. For example, in the case of a file manager application, this might be a directory on disk.

Operations

contract-node expand-node node-children node-expanded? node-parents

See also

<tree-control>, page 679


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index