DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

VtDestroy(VTCL)


VtDestroy -- destroys a widget and all of its descendants

Syntax

VtDestroy widgetName [-dialog]
VtDestroyDialog widgetName

Description

VtDestroyDialog- destroys the dialog in which a widget resides

Destroys an object (and all its descendants).

Options


-dialog
Destroys the entire dialog in which the widget resides.

Returns

The name of the topmost widget destroyed.

Notes

VtDestroyDialog is provided for backward compatibility. Use VtDestroy -dialog to accomplish the same task.

Errors


NO_WIDGET
The widgetName entered was not found.

NOT_OPTION
The option is not valid for this widget.

OBJECT_NAME
No widgetName was entered.

OPTION_COUNT
Too many options were entered.


© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003