Blob Blame History Raw
'\" t
...\" UpdateDi.sgm /main/7 1996/09/08 21:20:54 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmUpdateDisplay" "library call"
.SH "NAME"
\fBXmUpdateDisplay\fP \(em A function that processes all pending exposure events immediately
.iX "XmUpdateDisplay"
.SH "SYNOPSIS"
.PP
.nf
void XmUpdateDisplay (\fIwidget\fP)
        Widget  \fIwidget\fP;
\fB\fR(\fBvoid\fR)
.fi
.SH "DESCRIPTION"
.PP
\fBXmUpdateDisplay\fP provides the application with a mechanism for forcing all
pending exposure events to be removed from the input queue and processed immediately\&.
When a user selects a button within a menu pane, the menu panes are
unposted and then any activation callbacks registered by the application
are invoked\&. If one of the callbacks performs a time-consuming action,
the portion of the application window that was covered by the menu panes
will not have been redrawn; normal exposure processing does not occur until
all of the callbacks have been invoked\&. If the
application writer suspects that a callback
will take a long time, then the callback may choose to invoke
\fBXmUpdateDisplay\fP before starting its time-consuming operation\&.
This function is also useful any time a transient window, such as a dialog box, is unposted;
callbacks are invoked before normal exposure processing can occur\&.
.IP "\fIwidget\fP" 10
Specifies any widget or gadget\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:36