diff options
author | hobbs <hobbs> | 2000-06-03 08:58:14 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-06-03 08:58:14 (GMT) |
commit | abd4bf4681dc1af59b52aab2440fcda3ee06a6b3 (patch) | |
tree | d2aac881f8b1a76c3caac0cfa24863e99dc2569a /generic/tk.h | |
parent | 26ff03f7b00c9c3188873b63186b0ebeffc0e2f4 (diff) | |
download | tk-abd4bf4681dc1af59b52aab2440fcda3ee06a6b3.zip tk-abd4bf4681dc1af59b52aab2440fcda3ee06a6b3.tar.gz tk-abd4bf4681dc1af59b52aab2440fcda3ee06a6b3.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.
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)); |