Name

UI::ReplaceWidget

Synopsis

boolean ReplaceWidget ( symbol  id,
  term  newWidget);

Parameters

symbol id

term newWidget

Return

boolean

Description

Replaces a complete widget (or widget subtree) with an other widget (or widget tree). You can only replace the widget contained in a ReplacePoint. As parameters to ReplaceWidget specify the id of the ReplacePoint and the new widget.