MG Library

Library of Michael Galloy

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

widgets/

mg_object_cleanup.pro

topmg_object_cleanup

mg_object_cleanup, tlb

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

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

Parameters

tlb in required type=structure

top-level base widget ID

File attributes

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