VtDestroy(VTCL)


VtDestroy -- destroys a widget and all of its descendants

VtDestroyDialog- destroys the dialog in which a widget resides

Synopsis

VtDestroy widgetName [-dialog]
VtDestroyDialog widgetName

Description

Destroys an object (and all its descendants).

Options


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

Return values

If successful, VtDestroy returns the name of the topmost widget destroyed.

If VtDestroy fails, it returns one of the following error messages:


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.

Notices

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


02 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005