<!-- $XConsortium: UpdateDi.sgm /main/7 1996/09/08 21:20:54 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN563.rsml.1">
<RefMeta>
<RefEntryTitle>XmUpdateDisplay</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmUpdateDisplay</Function></RefName>
<RefPurpose>A function that processes all pending exposure events immediately
<IndexTerm>
<Primary>XmUpdateDisplay</Primary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988 by Digital Equipment Corporation,-->
<!-- **      Maynard, MA.  All Rights Reserved.-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>void XmUpdateDisplay (<Replaceable>widget</Replaceable>)
        Widget  <Replaceable>widget</Replaceable>;
</FuncSynopsisInfo>
<FuncDef></FuncDef>
<void>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmUpdateDisplay</Function> 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
<Function>XmUpdateDisplay</Function> 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.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">widget</Symbol></Term>
<ListItem>
<Para>Specifies any widget or gadget.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
