Element: treenode.check { }

Type

callback

Parameters

<treenode>.check(<treenode>,<num>)

Description

A callback procedure invoked when the check box if treenode is set interactively, by clicking on the check box, or by pressing the space bar when treenode is selected.

The new state of the check box (1 or 0) is passed to the callback as the second parameter. This callback is available only to tree windows with check boxes enabled.

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 "egnode_t", then egnode_t.check may be set, but mynode.check may not.