X Version 11 (Release 6.1)

XtCreateApplicationContext(X3xt)


XtCreateApplicationContext -- create, destroy, and obtain an application context

Synopsis

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 for which you want the application context.

Description

The XtCreateApplicationContext function returns an application context, which is an opaque type. Every application must have at least one application context.

The XtDestroyApplicationContext 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), XtDestroyApplicationContext does not destroy the application context until the dispatch is complete.

The XtWidgetToApplicationContext function returns the application context for the specified widget.

References

XtAppInitialize(X3xt), XtDisplayInitialize(X3xt)

X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004