diff options
author | hobbs <hobbs@noemail.net> | 2000-06-03 08:58:14 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-06-03 08:58:14 (GMT) |
commit | d3d7a663b147a1e4b1648a37400c7ea2fb8ee3df (patch) | |
tree | d2aac881f8b1a76c3caac0cfa24863e99dc2569a /generic/tk.h | |
parent | 43fa932aab7e24d3d3944a3a005c31edc28513a7 (diff) | |
download | tk-d3d7a663b147a1e4b1648a37400c7ea2fb8ee3df.zip tk-d3d7a663b147a1e4b1648a37400c7ea2fb8ee3df.tar.gz tk-d3d7a663b147a1e4b1648a37400c7ea2fb8ee3df.tar.bz2 |
* generic/tk.h: added typdef for Tk_ClientMessageProc
* generic/tkStubInit.c:
* generic/tkDecls.h:
* generic/tk.decls: Added Tk_CreateClientMessageHandler and
Tk_DeleteClientMessageHandler declarations.
* generic/tkEvent.c (Tk_HandleEvent): Added
Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to
allow adding event handlers that invoke for ClientMessage events.
This is necessary to support unix dnd protocols.
FossilOrigin-Name: 4796e716c5c1f9ba0b66cab909d6f057c440ce77
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tk.h b/generic/tk.h index 3542015..d833b25 100644 --- a/generic/tk.h +++ b/generic/tk.h @@ -7,12 +7,12 @@ * Copyright (c) 1989-1994 The Regents of the University of California. * Copyright (c) 1994 The Australian National University. * Copyright (c) 1994-1998 Sun Microsystems, Inc. - * Copyright (c) 1998-2000 Scriptics Corporation. + * Copyright (c) 1998-2000 Ajuba Solutions. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tk.h,v 1.44 2000/05/29 01:42:47 hobbs Exp $ + * RCS: @(#) $Id: tk.h,v 1.45 2000/06/03 08:58:15 hobbs Exp $ */ #ifndef _TK @@ -1340,6 +1340,8 @@ typedef void (Tk_EventProc) _ANSI_ARGS_((ClientData clientData, XEvent *eventPtr)); typedef int (Tk_GenericProc) _ANSI_ARGS_((ClientData clientData, XEvent *eventPtr)); +typedef int (Tk_ClientMessageProc) _ANSI_ARGS_((Tk_Window tkwin, + XEvent *eventPtr)); typedef int (Tk_GetSelProc) _ANSI_ARGS_((ClientData clientData, Tcl_Interp *interp, char *portion)); typedef void (Tk_LostSelProc) _ANSI_ARGS_((ClientData clientData)); |