MG Library

Library of Michael Galloy

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

widgets/

mg_object_event_handler.pro

topmg_object_event_handler

mg_object_event_handler, event

Generic event handler for writing object widget programs. XMANAGER will not allow methods to be called via the EVENT_HANDLER keyword. To get around this:

  1. Specify EVENT_HANDLER='mg_object_event_handler' as a keyword to XMANAGER
  2. Put the object widget's reference in the TLB's UVALUE.
  3. Write a handleEvents method in your object widget.

Parameters

event in required type=structure

events for all widgets generating events in the widget hierarchy

File attributes

Modification date: Tue Nov 20 11:24:27 2007
Lines: 19