VtDestroyDialog(VTCL)

VtDestroyDialog(VTCL)


VtDestroyDialog -- destroys the specified dialog and its descendents

Syntax

VtDestroyDialog widgetName

Description

Destroys the Dialog specified by widgetName. As a convenience you can pass the name of any descendants of the dialog. That way you can destroy the dialog from a callback without needing to know the name of the dialog. For example:
pushButtonCB {cbs} {
   	set w [keylget cbs widget]
	# w is a reference to the push button
	VtDestroyDialog $w
   }