summaryrefslogtreecommitdiffstats
path: root/doc/RestrictEv.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-26 07:34:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-26 07:34:12 (GMT)
commit3efbb66596ac4683c9f362a19e3e6c4bf979d2b5 (patch)
treec6f3e3f08f9157a7ba87f0512375bb0ce1a543bf /doc/RestrictEv.3
parent3bf66eee9133ac628425b0b83043f65da1f6f8ac (diff)
downloadtk-3efbb66596ac4683c9f362a19e3e6c4bf979d2b5.zip
tk-3efbb66596ac4683c9f362a19e3e6c4bf979d2b5.tar.gz
tk-3efbb66596ac4683c9f362a19e3e6c4bf979d2b5.tar.bz2
Remove use of/documentation regarding deprecated symbols/macro's, which moved to Tcl headers long ago.
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 0d17806..b5cc907 100644
--- a/doc/RestrictEv.3
+++ b/doc/RestrictEv.3
@@ -31,7 +31,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
@@ -49,7 +49,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
@@ -75,6 +75,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