[comp.windows.x] Callbacks on widget destruction

grape@tecnet1.jcte.jcs.MIL (02/06/91)

I this this landed in a wrong place  and has not been on the list yet.

----------------------------Original message----------------------------
     I am looking for a way to add a callback to a dialog widget that is
closed by double clicking on or choosing "close" off the menu button on
the upper left corner of a motif window. I tried using the
"XtDestroyCallback", but it doesn't cause a callback. I suspect it is
because closing a window in the above fashion is done with the window
function f.kill.
Anybody have a solution to this problem?

        Mike Grapevine
        grape%tecnet1.jcte.jcs.mil@wsmr-simtel20.army.mil

ben@hpcvlx.cv.hp.com (Benjamin Ellsworth) (02/12/91)

You'll need to start by looking at the deleteResponse resource
description for VendorShell.  Then you'll need to register some
protocol callbacks.

-----------------------------------------------------------------------
Benjamin Ellsworth      | ben@cv.hp.com                | INTERNET
Hewlett-Packard Company | {backbone}!hplabs!hp-pcd!ben | UUCP
1000 N.E. Circle        | (USA) (503) 750-4980         | FAX
Corvallis, OR 97330     | (USA) (503) 757-2000         | VOICE
-----------------------------------------------------------------------
                     All relevant disclaimers apply.
-----------------------------------------------------------------------