NAME
XtDisplayToApplicationContext − retrieve the application context associated with a Display.
Synopsis
XtAppContext XtDisplayToApplicationContext( display )
Display *display;
Inputs
displaySpecifies an open and initialized display connection.
Returns
The application context of display.
Description
XtDisplayToApplicationContext() returns the application context in which the specified display was initialized. If the display has not been initialized with XtDisplayInitialize() (which is called by XtOpenDisplay() and XtAppInitialize()), an error message is issued.
See Also
XtCreateApplicationContext(1), XtDisplayInitialize(1).
Copyright O’Reilly & Assoc. — X Toolkit Intrinsics Reference Manual © O’Reilly & Associates