Coyote Graphics Routines

Date: Fri Mar 27 12:14:20 2015

single page | use frames     summary     class     fields     routine details     file attributes

.\

cgdelete.pro


top cgDelete

Graphics

cgDelete [, selection] [, /ALL] [, /OBJECT] [, /WIDGETID] [, /TITLE]

Allows the user to delete one or more cgWindow applications. The cgWindow can be identifed by window index number, widget identifier, title, or object reference, depending on which keywords are set.

Parameters

selection in optional type=varies

Normally, a window index number of an cgWindow application. But, the selection can be a widget identifier, an object reference, or a window title, depending on which keywords are set. The cgWindow matching the selection is deleted. If not provided, the current cgWindow is deleted.

Keywords

ALL in optional type=boolean default=0

If this keyword is set, all the cgWindow applications currently on the display are deleted.

OBJECT in optional type=boolean

If this keyword is set, the selection is assumed to be an object reference.

WIDGETID in optional type=boolean

If this keyword is set, the selection is assumed to be a widget identifier.

TITLE in optional type=boolean

If this keyword is set, the selection is assumed to be a window title. All matching is done in uppercase characters.

Examples

Used to delete an cgWindow application:

IDL> cgDelete, 'Window 1', /TITLE

Author information

Author:

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

Copyright:

Copyright (c) 2011, Fanning Software Consulting, Inc.

History:

Change History:

Written, 24 January 2011. DWF.

File attributes

Modification date: Fri Mar 27 11:07:39 2015
Lines: 154
Docformat: rst rst