Element: treenode.delete { }

Type

callback

Description

A callback procedure invoked when an attempt is made to delete treenode interactively, by pressing the Delete key when the node is selected. The node will not be removed from the hierarchy unless done so explicitly within the callback via the treenode.kill member function.

This procedure is a class procedure so can only be set via a treenode class name not via a treenode instance name, e.g. if a treenode "mynode" is of class "database_t", then database_t.delete can be set, but mynode.delete may not.

Parameters

<treenode>.delete(<treenode>)