Univeristy of Alabama in Huntsville

UAH LTG IDL Library

IDL Routines from Phillip Bitzer and UAH Lightning Group

summary     class     fields     routine details     file attributes

misc/objects/

pmb_object_cleanup.pro

Objects


Generic routine handler for cleaning up object based GUIs. In the object definition, there should be a method named cleanupWidgets which takes as an input parameter the top level base to be destroyed.

This is written following the methods outlined in Mike Galloy's Modern IDL.

Examples

When registering the GUI with XManager, use this in the cleanup keyword. For example:

XMANAGER, 'pmb_ltgvideo', self.tlb, /NO_BLOCK, $ EVENT_HANDLER = 'pmb_object_event_handler', $ CLEANUP = 'pmb_object_cleanup'

Author information

Author

Phillip M. Bitzer, University of Alabama in Huntsville, pm.bitzer "AT" uah.edu

History

Modification History:

First written: Sometime in 2012 Add error handler and proper documentation 20140516 PMB

Other file information

Uses:

None

Routines

top pmb_object_cleanup

pmb_object_cleanup, tlb

Call the cleanup method for an object-based GUI.

Parameters

tlb in required type=long

The ID of the top level base for the object GUI to be cleaned up.

File attributes

Modification date: Tue Apr 4 15:07:29 2017
Lines: 12
Docformat: rst rst