Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

add-node

Generic function

Summary

Adds node to the specified tree control.

Signature

add-node tree parent node #key after setting-roots? => node

Arguments

tree
An instance of <tree-control>.

parent
An instance of <tree-control>.

node
An instance of type <tree-node>.

after
An instance of type <tree-node>.

setting-roots?
An instance of type <boolean>.

Values

node
An instance of type <tree-node>.

Library

duim-gadgets

Module

duim-gadgets

Description

Adds a node to the specified tree with the specified parent. The new item is created via a call to make-node.

The after argument indicates which node to place the new node after. If setting-roots? is true, then the new node is added at the root of tree.

See also

find-node, page 548

make-node, page 612

remove-node, page 637

<tree-control>, page 679


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index