DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtDestroy(1vtcl)


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.


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004