Unix and Linux Discussions Tagged with update |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
26,739 |
What is on Your Mind? |
|
|
|
19 |
33,339 |
What is on Your Mind? |
|
|
|
0 |
59,548 |
Web Development |
|
|
|
1 |
4,441 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
25,526 |
Solaris |
|
|
|
3 |
20,335 |
Shell Programming and Scripting |
|
|
|
1 |
14,848 |
What is on Your Mind? |
|
|
|
6 |
10,943 |
What is on Your Mind? |
|
|
|
6 |
29,432 |
Solaris |
|
|
|
4 |
52,645 |
What is on Your Mind? |
|
|
|
2 |
4,844 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
5,470 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
13,302 |
What is on Your Mind? |
|
|
|
2 |
11,020 |
What is on Your Mind? |
|
|
|
4 |
11,055 |
What is on Your Mind? |
|
|
|
0 |
5,071 |
What is on Your Mind? |
|
|
|
2 |
4,999 |
What is on Your Mind? |
|
|
|
1 |
6,083 |
Programming |
|
|
|
1 |
1,770 |
Shell Programming and Scripting |
|
|
|
3 |
4,179 |
Web Development |
|
|
|
4 |
3,020 |
Shell Programming and Scripting |
|
|
|
3 |
10,349 |
Fedora |
|
|
|
0 |
2,800 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
13,192 |
Red Hat |
|
|
|
7 |
2,374 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,989 |
Solaris |
|
|
|
1 |
3,695 |
Shell Programming and Scripting |
|
|
|
4 |
4,329 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
7,464 |
Programming |
|
|
|
3 |
2,603 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,914 |
Solaris |
|
|
|
1 |
6,326 |
Shell Programming and Scripting |
|
|
|
5 |
4,415 |
AIX |
|
|
|
3 |
3,412 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,743 |
Programming |
|
|
|
2 |
17,418 |
Shell Programming and Scripting |
|
|
|
10 |
5,164 |
Shell Programming and Scripting |
|
|
|
1 |
14,593 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
18,289 |
AIX |
|
|
|
1 |
2,355 |
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)