Functional specification
37
CDE/Motif PST
CDEnext
2.13
XpSelectInput
2.13.1
Short Description
Selects which X Print events from the specified print context the client is interested in.
2.13.2
Long Description
NAME
XpSelectInput - selects which X Print events from the specified print context the client is interested in.
SYNOPSIS
#include <X11/extensions/Print.h>
void XpSelectInput (
Display
*display
,
XPContext
context,
unsigned long
event_mask
)
ARGUMENTS
display
Specifies a pointer to the
Display
structure; returned from
XOpenDisplay
.
context
The print context from which to select events.
event_mask
Specifies the event mask. This mask is the bitwise OR of one or more of
the valid events mask bits (see below).
RETURN VALUE
None.
DESCRIPTION
XpSelectInput
selects which X Print events from the specified 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
.
The bits for
event_mask
are defined in <
X11/extensions/Print.h
>:
#define XPNoEventMask
0
#define XPPrintMask
(1L<<0)
#define XPAttributeMask
(1L<<1)
The resulting events are defined in <
X11/extensions/Print.h
>:
#define XPPrintNotify
0
#define XPAttributeNotify
1