Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtDestroyAp(3x) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtCreateApplicationContext(1)

 

NAME

XtDestroyApplicationContext − destroy an application context and close its displays. 

Synopsis

void XtDestroyApplicationContext(app_context)

    XtAppContext app_context;

Inputs

app_context
Specifies the application context.

Description

XtDestroyApplicationContext() destroys the specified application context and closes any display connections in it as soon as it is safe to do so.  If called from within an event handler or a callback procedure, XtDestroyApplicationContext() does not destroy the application context until the dispatch is complete. 

Usage

X Toolkit applications need not call XtDestroyApplicationContext() unless they use multiple application contexts and want to destroy one.  Most applications can exit using the standard method for their operating system (typically, by calling exit for POSIX-based systems).  The quickest way to make the windows disappear while exiting is to call XtUnmapWidget() on each top-level shell widget.  The X Toolkit has no resources beyond those in the program image, and the X server will free its resources when its connection to the application is broken. 

See Also

XtCreateApplicationContext(1). 

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

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