This procedure cleans-up and/or destroys any open graphics or widget windows on the display.
Utility
For example, to destroy all windows on the display:: IDL> cgCleanup
FANNING SOFTWARE CONSULTING:: David W. Fanning 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com
Written, 6 October 2012.
Copyright (c) 2012, Fanning Software Consulting, Inc. procedure cleans up any open graphics windows and widget windows for ions of IDL prior to IDL 8.
all: in, optional, type=boolean, default=1 Set this keyword if you wish to clean up windows of all types. cg: in, optional, type=boolean, default=0 Set this keyword if you wish to clean up only Coyote Graphics windows. dg: in, optional, type=boolean, default=0 Set this keyword if you wish to clean up only Direct Graphics windows. fg: in, optional, type=boolean, default=0 Set this keyword if you wish to clean up only Function Graphics windows.