diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-08-29 09:27:34 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-08-29 09:27:34 (GMT) |
commit | 90af9c5e09cfae599352ae2f24d7d8a44ad8f014 (patch) | |
tree | fbc7cd8daee10cdaf07eed85d912688132a222f6 /generic/tk.h | |
parent | 97c495ce68eece2aab9e90f92a075dcd4b310b82 (diff) | |
download | tk-90af9c5e09cfae599352ae2f24d7d8a44ad8f014.zip tk-90af9c5e09cfae599352ae2f24d7d8a44ad8f014.tar.gz tk-90af9c5e09cfae599352ae2f24d7d8a44ad8f014.tar.bz2 |
TIP#165 (user data field) implementation.
Diffstat (limited to 'generic/tk.h')
-rw-r--r-- | generic/tk.h | 5 |
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 { |