TABLE OF CONTENTS


setChild

NAME

::guib::keywordObj::setChild -- stores the child keywordObj object name of the ID-th item

USAGE

setChild id childObj

DESCRIPTION

Some of the GUIB keywords creates new keywordObj objects (i.e. child objects). This method stores the name of the child objects. These objects have a sequential ID like the rest of the GUIB keywords items.

ARGUMENTS

id -- the ID number childObj -- the name of the child keywordObj object

RETURN VALUE

The name of the child keywordObj object.

EXAMPLE

$obj setChild $id $childObj

SOURCE

body ::guib::keywordObj::setChild {id childObj} { return [set child($id) $childObj] }