summaryrefslogtreecommitdiffstats
path: root/doc/RestrictEv.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:38:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-12-13 10:38:39 (GMT)
commit276c5f4cc8912519eb23f0720ecb614ff59c3c39 (patch)
tree6e43ae1e906095f99151a3e40045231f0d54ff55 /doc/RestrictEv.3
parent43b775d29369a1dc3315abb9521b3d697069433b (diff)
parentd6bb3158bccb27b30547d3df16e75948b646b280 (diff)
downloadtk-276c5f4cc8912519eb23f0720ecb614ff59c3c39.zip
tk-276c5f4cc8912519eb23f0720ecb614ff59c3c39.tar.gz
tk-276c5f4cc8912519eb23f0720ecb614ff59c3c39.tar.bz2
(Cherry-pick): 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