in reply to Refresh data ina entry widget
If you have alot of banks and entries, put them all in a hash, and loop thru them, like this pseudocode:$mw->repeat(1000, \&status_bank); sub status_bank{ ......... do your extraction from file $mw->update; }
my %box_banamex; $box_banamex{$bank}{'entry'} = $upperframe->Entry(......... -textvariable => \$box_banamex{$bank}{'status'}, foreach my $bank (keys %box_banamex){ #read each value from file $box_banamex{$bank}{'status'} = whatever from file parsing; $box_banamex{$bank}{'entry'}->update; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Refresh data ina entry widget
by padawan_linuxero (Scribe) on May 29, 2008 at 15:24 UTC | |
by zentara (Cardinal) on May 29, 2008 at 19:16 UTC |