1: #include <X/mit-copyright.h> 2: 3: /* $Header: XMenuEvHand.c,v 10.7 86/02/01 16:14:56 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: /* 7: * XMenu: MIT Project Athena, X Window system menu package 8: * 9: * XMenuEventHandler - Set the XMenu asynchronous event handler. 10: * 11: * Author: Tony Della Fera, DEC 12: * December 19, 1985 13: * 14: */ 15: 16: #include "XMenuInternal.h" 17: 18: XMenuEventHandler(handler) 19: int (*handler)(); 20: { 21: /* 22: * Set the global event handler variable. 23: */ 24: _XMEventHandler = handler; 25: }