XPRINT FUNCTIONS XpSelectInput(3Xp)
NAME
XpSelectInput - Specifies which X Print events, from the
specified print context, the client is interested in.SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
void XpSelectInput ( display, context, event_mask )
Display *display; XPContext context;unsigned long event_mask;
ARGUMENTS display Specifies a pointer to the Display structure; returned from XOpenDisplay. context Specifies the print context from which to select events.event_mask
Specifies the event mask. This mask is the bitwise OR one or more of the valid events mask bits (see below).DESCRIPTION
XpSelectInput selects which X Print events from the speci-
fied print context the client is interest in. The X Print Events are generated from a current print context, and not from a window as is the case with XSelectInput. STRUCTURESThe bits for event_mask are defined in
: #define XPNoEventMask 0
#define XPPrintMask (1L<<0)
#define XPAttributeMask (1L<<1)
The resulting events are defined in
: #define XPPrintNotify 0
#define XPAttributeNotify 1
DIAGNOSTICSBadValue The value specified for event_mask is not
valid. XPBadContext The specified print context is not valid. FILES
X Version 11 Last change: libXp 1.0.0 1 XPRINT FUNCTIONS XpSelectInput(3Xp)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libxp ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libXp 1.0.0 2