🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37921

Re: cleaning up from exit

#37921
From: jimf%saber
Date: Fri, 09 Mar 1990 14:24
20 lines
1187 bytes
|>> XtAddCleanUpProc(routine, client_data)
|>> XtRemoveCleanUpProc(routine, client_data)

|You might want to make this a more general solution.  Add the notion of
|interposition to the Xt intrinsics as XView does.

He's right, interposition is a much more general solution.  I suggest,
however, *NOT* having an interposition call for each of the events
that you want to interpose on.  The SunView/XView method, which has
generic event interposers, destroy interposers, and others (five or
six in all, I can never remember and the manuals are junk) is
overcomplex.  It would have been better to have a single interposer
and key off event types (which you have to do ANYWAY) instead of five
or six of them.

Happy hacking,

jim frost
saber software
jimf@saber.com
Technical Details
Message-ID: <9003091424.AA26239@armory>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!bloom-beacon!HARVARD.HARVARD.EDU!jimf%saber

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!bloom-beacon!HARVARD.HARVARD.EDU!jimf%saber
From: jimf%saber@HARVARD.HARVARD.EDU
Newsgroups: comp.windows.x
Subject: Re: cleaning up from exit
Message-ID: <9003091424.AA26239@armory>
Date: 9 Mar 90 14:24:28 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 20