summaryrefslogtreecommitdiffstats
path: root/doc/RestrictEv.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-26 07:50:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-26 07:50:49 (GMT)
commitefe49e60c2df01706cf06ffa6b7761aeb890ea13 (patch)
tree3f23e401590770c24a86fc380070f1d04fe34c9e /doc/RestrictEv.3
parent21efa20393f8b8cd50a86c9af011d55257b97ed5 (diff)
parent083d12f62fbec88cfe223c38e9d7a53f4acde39f (diff)
downloadtk-efe49e60c2df01706cf06ffa6b7761aeb890ea13.zip
tk-efe49e60c2df01706cf06ffa6b7761aeb890ea13.tar.gz
tk-efe49e60c2df01706cf06ffa6b7761aeb890ea13.tar.bz2
Merge 8.6
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 103a80b..8b3af07 100644
--- a/doc/RestrictEv.3
+++ b/doc/RestrictEv.3
@@ -30,7 +30,7 @@ Pointer to place to save argument to previous restrict procedure.
.PP
This procedure is useful in certain situations where applications
are only prepared to receive certain X events. After
-\fBTk_RestrictEvents\fR is called, \fBTk_DoOneEvent\fR (and
+\fBTk_RestrictEvents\fR is called, \fBTcl_DoOneEvent\fR (and
hence \fBTk_MainLoop\fR) will filter X input events through
\fIproc\fR. \fIProc\fR indicates whether a
given event is to be processed immediately, deferred until some
@@ -48,7 +48,7 @@ to \fBTk_RestrictEvents\fR; it may be used to provide \fIproc\fR with
information it needs to filter events. The \fIeventPtr\fR points to
an event under consideration. \fIProc\fR returns a restrict action
(enumerated type \fBTk_RestrictAction\fR) that indicates what
-\fBTk_DoOneEvent\fR should do with the event. If the return value is
+\fBTcl_DoOneEvent\fR should do with the event. If the return value is
\fBTK_PROCESS_EVENT\fR, then the event will be handled immediately.
If the return value is \fBTK_DEFER_EVENT\fR, then the event will be
left on the event queue for later processing. If the return value is
@@ -74,6 +74,6 @@ solution in these situations is to call \fBXNextEvent\fR or
\fBXWindowEvent\fR, but these procedures cannot be used because
Tk keeps its own event queue that is separate from the X event
queue. Instead, call \fBTk_RestrictEvents\fR to set up a filter,
-then call \fBTk_DoOneEvent\fR to retrieve the desired event(s).
+then call \fBTcl_DoOneEvent\fR to retrieve the desired event(s).
.SH KEYWORDS
delay, event, filter, restriction