1XtCreateApplicationContext(3)    XT FUNCTIONS    XtCreateApplicationContext(3)
2
3
4

NAME

6       XtCreateApplicationContext, XtDestroyApplicationContext, XtWidgetTo‐
7       ApplicationContext, XtToolkitInitialize - create, destroy, and obtain
8       an application context
9

SYNTAX

11       #include <X11/Intrinsic.h>
12
13       XtAppContext XtCreateApplicationContext(void);
14
15       void XtDestroyApplicationContext(XtAppContext app_context);
16
17       XtAppContext XtWidgetToApplicationContext(Widget w);
18
19       void XtToolkitInitialize(void);
20

ARGUMENTS

22       app_context
23                 Specifies the application context.
24
25       w         Specifies the widget that you want the application context
26                 for.
27

DESCRIPTION

29       The XtCreateApplicationContext function returns an application context,
30       which is an opaque type.  Every application must have at least one
31       application context.
32
33       The XtDestroyApplicationContext function destroys the specified appli‐
34       cation context as soon as it is safe to do so.  If called from with an
35       event dispatch (for example, a callback procedure), XtDestroy‐
36       ApplicationContext does not destroy the application context until the
37       dispatch is complete.
38
39       The XtWidgetToApplicationContext function returns the application con‐
40       text for the specified widget.
41
42       The XtToolkitInitialize function initializes the Intrinsics internals.
43       If XtToolkitInitialize was previously called it returns immediately.
44

SEE ALSO

46       XtDisplayInitialize(3)
47       X Toolkit Intrinsics - C Language Interface
48       Xlib - C Language X Interface
49
50
51
52X Version 11                      libXt 1.2.0    XtCreateApplicationContext(3)
Impressum