1xpaxt(n) SAORD Documentation xpaxt(n)
2
3
4
6 XPAXt: the XPA Interface to Xt (X Windows)
7
9 Describes how XPA access points can be added to X Toolkit (Xt) pro‐
10 grams.
11
13 XPA supports Xt programs: you can call XPANew(), XPACmdNew(), or XPAIn‐
14 foNew() within any C routine to add XPA server callbacks to an Xt pro‐
15 gram. Since an Xt program has its own event loop call (i.e., XtApp‐
16 MainLoop()), it therefore does not need or want to use the XPA even
17 loop. Thus, in order to add XPA access points to the standard Xt event
18 loop, the following routine should be called before entering the loop:
19
20 int XPAXtAddInput(XtAppContext app, XPA xpa)
21
22 The XPAAddAddInput() routine will add XPA access points to the Xt event
23 loop by making calls to the standard XtAppAddInput() routine. (If the
24 XtAppContext argument is NULL, then the alternate XtAddInput() routine
25 is used instead.) If the xpa argument is NULL, then all active XPA
26 access points are added to the loop. If xpa is not NULL, then only the
27 specified access point is added. The latter type of call is used to
28 add new access points from within a callback, after the program has
29 entered the XtAppMainLoop() even loop.
30
32 See xpa(n) for a list of XPA help pages
33
34
35
36version 2.1.12 January 26, 2010 xpaxt(n)