summaryrefslogtreecommitdiffstats
path: root/generic/tk.h
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-08-29 09:27:34 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-08-29 09:27:34 (GMT)
commit5f39466cc47fec5f44c90bc391fc7e0e7989571d (patch)
treefbc7cd8daee10cdaf07eed85d912688132a222f6 /generic/tk.h
parentd68bd9d7f7ffb7a923736db98f0627dfb65b1550 (diff)
downloadtk-5f39466cc47fec5f44c90bc391fc7e0e7989571d.zip
tk-5f39466cc47fec5f44c90bc391fc7e0e7989571d.tar.gz
tk-5f39466cc47fec5f44c90bc391fc7e0e7989571d.tar.bz2
TIP#165 (user data field) implementation.
Diffstat (limited to 'generic/tk.h')
-rw-r--r--generic/tk.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tk.h b/generic/tk.h
index 2ba5439..142f79a 100644
--- a/generic/tk.h
+++ b/generic/tk.h
@@ -12,7 +12,7 @@
* 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.80 2004/03/26 19:57:34 dgp Exp $
+ * RCS: @(#) $Id: tk.h,v 1.81 2004/08/29 09:27:35 dkf Exp $
*/
#ifndef _TK
@@ -681,6 +681,9 @@ typedef struct {
unsigned int state; /* key or button mask */
Tk_Uid name; /* Name of virtual event. */
Bool same_screen; /* same screen flag */
+ Tcl_Obj *user_data; /* application-specific data reference; Tk will
+ * decrement the reference count *once* when it
+ * has finished processing the event. */
} XVirtualEvent;
typedef struct {