summaryrefslogtreecommitdiff
path: root/man/9/update
diff options
context:
space:
mode:
Diffstat (limited to 'man/9/update')
-rw-r--r--man/9/update24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/9/update b/man/9/update
new file mode 100644
index 00000000..7428e60c
--- /dev/null
+++ b/man/9/update
@@ -0,0 +1,24 @@
+.TH UPDATE 9
+.SH NAME
+update \- flush graphics
+.SH SYNOPSIS
+\f5update\fP ?\fIoptions\fP?
+.SH DESCRIPTION
+Changes made via Tk commands do not become
+visible until a call to
+.BR update .
+.B Update
+flushes any pending changes to the screen.
+The following options are supported:
+.TP
+\f5-disable\fP
+If this option is given, all updates are disabled.
+This is useful to enable a program to
+stop mouse movement causing
+automatic updates while it is making changes to the window.
+.TP
+\f5-enable\fP
+This reverses a previous \f5update -enable\fP invocation.
+.PP
+.SH BUGS
+Changes that affect window sizes are visible immediately.