Unix and Linux Discussions Tagged with update |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
26,978 |
What is on Your Mind? |
|
|
|
19 |
33,869 |
What is on Your Mind? |
|
|
|
0 |
60,017 |
Web Development |
|
|
|
1 |
4,591 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
26,077 |
Solaris |
|
|
|
3 |
20,393 |
Shell Programming and Scripting |
|
|
|
1 |
14,957 |
What is on Your Mind? |
|
|
|
6 |
11,065 |
What is on Your Mind? |
|
|
|
6 |
29,904 |
Solaris |
|
|
|
4 |
53,163 |
What is on Your Mind? |
|
|
|
2 |
4,940 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,583 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
13,461 |
What is on Your Mind? |
|
|
|
2 |
11,155 |
What is on Your Mind? |
|
|
|
4 |
11,204 |
What is on Your Mind? |
|
|
|
0 |
5,221 |
What is on Your Mind? |
|
|
|
2 |
5,138 |
What is on Your Mind? |
|
|
|
1 |
6,232 |
Programming |
|
|
|
1 |
1,773 |
Shell Programming and Scripting |
|
|
|
3 |
4,280 |
Web Development |
|
|
|
4 |
3,032 |
Shell Programming and Scripting |
|
|
|
3 |
10,560 |
Fedora |
|
|
|
0 |
2,873 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
13,498 |
Red Hat |
|
|
|
7 |
2,479 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
7,039 |
Solaris |
|
|
|
1 |
3,707 |
Shell Programming and Scripting |
|
|
|
4 |
4,416 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
7,586 |
Programming |
|
|
|
3 |
2,607 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,936 |
Solaris |
|
|
|
1 |
6,336 |
Shell Programming and Scripting |
|
|
|
5 |
4,452 |
AIX |
|
|
|
3 |
3,416 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,833 |
Programming |
|
|
|
2 |
17,433 |
Shell Programming and Scripting |
|
|
|
10 |
5,176 |
Shell Programming and Scripting |
|
|
|
1 |
14,603 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
18,322 |
AIX |
|
|
|
1 |
2,359 |
UNIX for Dummies Questions & Answers |
update(n) Tcl Built-In Commands update(n)
__________________________________________________________________________________________________________________________________________________
NAME
update - Process pending events and idle callbacks
SYNOPSIS
update ?idletasks?
_________________________________________________________________
DESCRIPTION
This command is used to bring the application ``up to date'' by entering the event loop repeatedly until all pending events (including idle
callbacks) have been processed.
If the idletasks keyword is specified as an argument to the command, then no new events or errors are processed; only idle callbacks are
invoked. This causes operations that are normally deferred, such as display updates and window layout calculations, to be performed imme-
diately.
The update idletasks command is useful in scripts where changes have been made to the application's state and you want those changes to
appear on the display immediately, rather than waiting for the script to complete. Most display updates are performed as idle callbacks,
so update idletasks will cause them to run. However, there are some kinds of updates that only happen in response to events, such as those
triggered by window size changes; these updates will not occur in update idletasks.
The update command with no options is useful in scripts where you are performing a long-running computation but you still want the applica-
tion to respond to events such as user interactions; if you occasionally call update then user input will be processed during the next
call to update.
SEE ALSO
after(n), bgerror(n)
KEYWORDS
event, flush, handler, idle, update
Tcl 7.5 update(n)