summaryrefslogtreecommitdiffstats
path: root/doc/EventHndlr.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/EventHndlr.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/EventHndlr.3')
-rw-r--r--doc/EventHndlr.34
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/EventHndlr.3 b/doc/EventHndlr.3
index cbc5b79..128f8ee 100644
--- a/doc/EventHndlr.3
+++ b/doc/EventHndlr.3
@@ -37,7 +37,7 @@ for which \fIproc\fR should be called.
.AP Tk_EventProc *proc in
Procedure to invoke whenever an event in \fImask\fR occurs
in the window given by \fItkwin\fR.
-.AP ClientData clientData in
+.AP void *clientData in
Arbitrary one-word value to pass to \fIproc\fR.
.BE
.SH DESCRIPTION
@@ -55,7 +55,7 @@ call \fBTk_HandleEvent\fR, such as \fBTcl_DoOneEvent\fR or
type \fBTk_EventProc\fR:
.CS
typedef void \fBTk_EventProc\fR(
- ClientData \fIclientData\fR,
+ void *\fIclientData\fR,
XEvent *\fIeventPtr\fR);
.CE
The \fIclientData\fR parameter to \fIproc\fR is a copy of the \fIclientData\fR