summaryrefslogtreecommitdiffstats
path: root/doc/RestrictEv.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:09:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:09:58 (GMT)
commitc253a25bf983c9a6f1ac39689d16b886fbbde7bf (patch)
tree04d4d861caa4e4dc9dbe83d3ea6b1cc5b5c54aea /doc/RestrictEv.3
parente2d41cd9d979b5877eba4870b5e20df072050acc (diff)
downloadtk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.zip
tk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.tar.gz
tk-c253a25bf983c9a6f1ac39689d16b886fbbde7bf.tar.bz2
Fix Tk_CharBbox/Tk_DrawTextLayout signature (int -> Tcl_Size). Update documentation.
Diffstat (limited to 'doc/RestrictEv.3')
-rw-r--r--doc/RestrictEv.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/RestrictEv.3 b/doc/RestrictEv.3
index 8b3af07..f61e764 100644
--- a/doc/RestrictEv.3
+++ b/doc/RestrictEv.3
@@ -21,9 +21,9 @@ Tk_RestrictProc *
.AP Tk_RestrictProc *proc in
Predicate procedure to call to filter incoming X events.
NULL means do not restrict events at all.
-.AP ClientData arg in
+.AP void *arg in
Arbitrary argument to pass to \fIproc\fR.
-.AP ClientData *prevArgPtr out
+.AP void **prevArgPtr out
Pointer to place to save argument to previous restrict procedure.
.BE
.SH DESCRIPTION
@@ -40,7 +40,7 @@ is a procedure with arguments and result that match
the type \fBTk_RestrictProc\fR:
.CS
typedef Tk_RestrictAction \fBTk_RestrictProc\fR(
- ClientData \fIarg\fR,
+ void *\fIarg\fR,
XEvent *\fIeventPtr\fR);
.CE
The \fIarg\fR argument is a copy of the \fIarg\fR passed