2007-02-27 03:04:22 +00:00
|
|
|
/* Copyright Massachusetts Institute of Technology 1985 */
|
|
|
|
|
1999-10-03 19:36:13 +00:00
|
|
|
#include "copyright.h"
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* XMenu: MIT Project Athena, X Window system menu package
|
|
|
|
*
|
|
|
|
* XMenuEventHandler - Set the XMenu asynchronous event handler.
|
|
|
|
*
|
|
|
|
* Author: Tony Della Fera, DEC
|
|
|
|
* December 19, 1985
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "XMenuInt.h"
|
|
|
|
|
|
|
|
XMenuEventHandler(handler)
|
|
|
|
int (*handler)();
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
* Set the global event handler variable.
|
|
|
|
*/
|
|
|
|
_XMEventHandler = handler;
|
|
|
|
}
|
|
|
|
|
2003-09-01 15:45:59 +00:00
|
|
|
/* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
|
|
|
|
(do not change this comment) */
|