1XmUpdateDisplay(library call) XmUpdateDisplay(library call)
2
3
4
6 XmUpdateDisplay — A function that processes all pending exposure events
7 immediately
8
10 void XmUpdateDisplay (widget)
11 Widget widget;
12 (void)
13
15 XmUpdateDisplay provides the application with a mechanism for forcing
16 all pending exposure events to be removed from the input queue and pro‐
17 cessed immediately. When a user selects a button within a menu pane,
18 the menu panes are unposted and then any activation callbacks regis‐
19 tered by the application are invoked. If one of the callbacks performs
20 a time-consuming action, the portion of the application window that was
21 covered by the menu panes will not have been redrawn; normal exposure
22 processing does not occur until all of the callbacks have been invoked.
23 If the application writer suspects that a callback will take a long
24 time, then the callback may choose to invoke XmUpdateDisplay before
25 starting its time-consuming operation. This function is also useful
26 any time a transient window, such as a dialog box, is unposted; call‐
27 backs are invoked before normal exposure processing can occur.
28
29 widget Specifies any widget or gadget.
30
31
32
33 XmUpdateDisplay(library call)