Re: Nesting behvior of tkwait
- From: Donald Arseneau <asnd@xxxxxxxxx>
- Date: 27 Sep 2006 21:14:03 -0700
"Dave Dean" <dave.dean@xxxxxxxxxx> writes:
When run, this seems to allow a queue of commands to be built up.
It is a stack, not a queue.
proc waitVar {num} {
set cont $num
tkwait variable cont
.text insert end $num
}
As Bruce says, the event handlers do stack up: "recursive event loops".
But I'll mention that you forgot "global cont", so your test didn't
prove anything anyway.
--
Donald Arseneau asnd@xxxxxxxxx
.
- Follow-Ups:
- Re: Nesting behvior of tkwait
- From: Markus Triska
- Re: Nesting behvior of tkwait
- References:
- Nesting behvior of tkwait
- From: Dave Dean
- Nesting behvior of tkwait
- Prev by Date: Re: Pls recommend Tcl/Tk program
- Next by Date: Re: tcl running as a NT/XP service?
- Previous by thread: Re: Nesting behvior of tkwait
- Next by thread: Re: Nesting behvior of tkwait
- Index(es):