XtCreateApplicationContext(3Xt)NAME XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetToApplicationContext, XtToolkitInitialize - create, destroy, and get an application context SYNOPSIS XtAppContext XtCreateApplicationContext() void XtDestroyApplicationContext(app-context) XtAppContext app-context; XtAppContext XtWidgetToApplicationContext(w) Widget w; void XtToolkitInitialize() DESCRIPTION The XtCreateApplicationContext function returns an applica- tion context, which is an opaque type. Every application must have at least one application context. The XtDestroyApplicationContext function destroys the speci- fied application context as soon as it is safe to do so. If called from within an event dispatch (for example, a call- back procedure), XtDestroyApplicationContext does not des- troy the application context until the dispatch is complete. The XtWidgetToApplicationContext function returns the appli- cation context for the specified widget. The semantics of calling XtToolkitInitialize more than once are undefined. Arguments These functions accept the following arguments: app-context Specifies the application context. w Specifies the widget for which you want the applica- tion context. SEE ALSO XtDisplayInitialize(3Xt)X Toolkit Intrinsics - C Language InterfaceXlib - C Language Interface November, 1990 1