Functional specification
22
CDE/Motif PST
CDEnext
2.4
XpGetContext
2.4.1
Short Description
Get the current print context id for a display connection.
2.4.2
Long Description
NAME
XpGetContext - get the current print context id for a display connection
SYNOPSIS
#include <X11/extensions/Print.h>
XPContext XpGetContext(
Display
*display
)
ARGUMENTS
display
Specifies a pointer to the
Display
structure; returned from
XOpenDisplay
.
RETURN VALUE
id
of the current print context.
None
if there is no current print context.
DESCRIPTION
XpGetContext
returns the
id
of the current print context associated with
display
. If a print context
has not been set, a value of
None
is returned.
ERRORS/WARNINGS
This function can generate one of the following errors:
SEE ALSO
XpSetContext
2.5
XpDestroyContext
2.5.1
Short Description
Unsets and destroys a print context.