File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5465,14 +5465,16 @@ Time-based execution is also available via the eventloop API.
54655465 the type of the event. An error occurs if +'id'+ does not
54665466 match an event.
54675467
5468- +*vwait ?-signal?* 'variable'+::
5468+ +*vwait ?-signal?* 'variable' ?script? +::
54695469 A call to `vwait` enters the eventloop. `vwait` processes
54705470 events until the named (global) variable changes or all
54715471 event handlers are removed. The variable need not exist
54725472 beforehand. If there are no event handlers defined, `vwait`
5473- returns immediately. If +' -signal' + is specified, `vwait` will
5473+ returns immediately. If +* -signal* + is specified, `vwait` will
54745474 also quit if a handled signal occurs. In this case, `signal check -clear`
5475- can be used to check for the signal that occurred.
5475+ can be used to check for the signal that occurred. If +'script'+ is given
5476+ it is evaluated after each event. If it returns break, `vwait` returns.
5477+ `vwait` also returns with an error if the script returns an error.
54765478
54775479+*update ?idletasks?*+::
54785480 A call to `update` enters the eventloop to process expired events, but
You can’t perform that action at this time.
0 commit comments