1999-10-03 19:36:13 +00:00
|
|
|
#include "copyright.h"
|
|
|
|
|
|
|
|
/* Copyright Massachusetts Institute of Technology 1985 */
|
2006-02-05 23:44:47 +00:00
|
|
|
/* Copyright (C) 2002, 2003, 2004, 2005,
|
|
|
|
2006 Free Software Foundation, Inc. */
|
1999-10-03 19:36:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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) */
|