Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XmUpdateDisplay(3Xm)  —  UNIX Programmer’s Manual

NAME

XmUpdateDisplay — a function that processes all pending exposure events immediately.

SYNOPSIS

void XmUpdateDisplay (widget)
Widgetwidget;

DESCRIPTION

XmUpdateDisplay provides the application with a mechanism for forcing all pending exposure events to be removed from the input queue and to be processed immediately. 

When a user selects a button within a MenuPane, the MenuPanes 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 which had been covered by the MenuPanes 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 XmUpdateDisplay before starting its time-consuming operation. 

This function is also useful any time a transient window is unposted, such as a dialog box; callbacks are invoked before normal exposure processing can occur. 

widgetSpecifies any widget or gadget. 

7th Edition

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026