Destroy a dialog
DESCRIPTION:
Disposes of the resources used for a dialog in the dialog handling system.
Note: This function is deprecated. For more information, see
.
USAGE:
dialog.destroy(dialog=NULL)
OPTIONAL ARGUMENTS:
- dialog
-
an object of class
dialog
, as returned by the
dialog.create
function.
Defaults to the "current" dialog in the dialog handling program.
SIDE EFFECTS:
The destroyed dialog will no longer be valid. After this call there is
no "current" dialog.
SEE ALSO:
EXAMPLES:
dialog1 <- dialog.create(list("Pick a letter"=letters))
letter <- dialog.display(dialog1)$values[[1]]
dialog.destroy(dialog1)