Re: widget updating issue
- From: claird@xxxxxxxxx (Cameron Laird)
- Date: Wed, 11 Oct 2006 19:37:08 +0000
In article <5af8f$452d2b0e$404a99a1$3190@xxxxxxxxxxxxxxxxxxxxx>,
Robert Heller <heller@xxxxxxxxxxxx> wrote:
At 11 Oct 2006 09:08:35 -0700 "cmurphy" <murphycc@xxxxxxxxx> wrote:.
.
.
No, you don't need to use the VWAIT command. Instead, you need to just.
enter the event loop each time through the rsh loop:
foreach host {host1 host2 host3 ...} {
# Execute the remote command
catch {exec rsh $host command} commandresult
# Update screen elements (eg. labels)
$label($host) configure -text "$commandresult"
# Enter the event loop to handle pending screen update events.
update idle
}
.
.
And where it gets *really* exciting is that you can, with
a little help, launch all eight rsh-s *simultaneously*,
and have the results "light up" as they arrive, in whatever
order they finish.
.
- References:
- widget updating issue
- From: cmurphy
- Re: widget updating issue
- From: Robert Heller
- widget updating issue
- Prev by Date: Re: widget updating issue
- Next by Date: Re: widget updating issue
- Previous by thread: Re: widget updating issue
- Next by thread: Re: widget updating issue
- Index(es):
Relevant Pages
|