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)
10 programs.
11
13 XPA supports Xt programs: you can call XPANew(), XPACmdNew(), or
14 XPAInfoNew() within any C routine to add XPA server callbacks to an Xt
15 program. Since an Xt program has its own event loop call (i.e.,
16 XtAppMainLoop()), it therefore does not need or want to use the XPA
17 even loop. Thus, in order to add XPA access points to the standard Xt
18 event loop, the following routine should be called before entering the
19 loop:
20
21 int XPAXtAddInput(XtAppContext app, XPA xpa)
22
23 The XPAAddAddInput() routine will add XPA access points to the Xt event
24 loop by making calls to the standard XtAppAddInput() routine. (If the
25 XtAppContext argument is NULL, then the alternate XtAddInput() routine
26 is used instead.) If the xpa argument is NULL, then all active XPA
27 access points are added to the loop. If xpa is not NULL, then only the
28 specified access point is added. The latter type of call is used to
29 add new access points from within a callback, after the program has
30 entered the XtAppMainLoop() even loop.
31
33 See xpa(n) for a list of XPA help pages
34
35
36
37version 2.1.15 July 23, 2013 xpaxt(n)