Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtAppInitialize(1)

XtDestroyApplicationContext(1)

XtOpenDisplay(1)

XtSetTypeConverter(1)

NAME

XtCloseDisplay − close a display and remove it from an application context. 

Synopsis

void XtCloseDisplay(display)

    Display *display;

Inputs

displaySpecifies the display. 

Description

XtCloseDisplay() calls XCloseDisplay() to close display as soon as it is safe to do so.  If called from within an event dispatch (for example, a callback procedure), XtCloseDisplay() does not close the display until the dispatch is complete.  The closed display is removed from its application context.  Any converted resources associated with that display which are cached with an XtCacheType of XtCacheByDisplay are removed from the conversion cache and have their destructors, if any, called. 

Usage

Note that applications need only call XtCloseDisplay() if they are to continue executing after closing the display; otherwise, they should call XtDestroyApplicationContext() or just exit. 

See Also

XtAppInitialize(1), XtDestroyApplicationContext(1), XtOpenDisplay(1), XtSetTypeConverter(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

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