XtCreateApplicationContext(3Xt) X11R5 XtCreateApplicationContext(3Xt)NAME
XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetToApâ
plicationContext, XtToolkitInitialize - create, destroy, and obtain an
application context
SYNTAX
XtAppContext XtCreateApplicationContext()
void XtDestroyApplicationContext(app_context)
XtAppContext app_context;
XtAppContext XtWidgetToApplicationContext(w)
Widget w;
void XtToolkitInitialize()ARGUMENTS
app_context
Specifies the application context.
w Specifies the widget .
DESCRIPTION
The function returns an application context, which is an opaque type.
Every application must have at least one application context.
The function destroys the specified application context as soon as it
is safe to do so. If called from with an event dispatch (for example,
a callback procedure), does not destroy the application context until
the dispatch is complete.
The function returns the application context for the specified widget.
The semantics of calling more than once are undefined.
SEE ALSOXtDisplayInitialize(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
XtCreateApplicationContext(3Xt)