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_event_handler.pro

Objects


Generic event handler for object based GUIs. In the object definition, there should be a method named eventHandler which takes as an input parameter the event to be processed.

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

Examples

When registering the GUI with XManager, use this in the EVENT_HANDLER 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:

Added documentation framework: Apr 10, 2013 Added error handler and proper doc 20140516 PMB

Other file information

Uses:

None

Routines

top pmb_object_event_handler

pmb_object_event_handler, event

Call the event handler for an object based GUI.

Parameters

event in required type=structure

The event to be processed. Passed to the object's (internal) event handler.

File attributes

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