NAME

XpGetContext - Gets the current print context-id for a display connection.

SYNOPSIS


cc [ flag... ] file... -lXp [ library... ]
#include

XPContext XpGetContext ( display )
Display *_d_i_s_p_l_a_y;

ARGUMENTS

display
Specifies a pointer to the Display structure; returned from XOpenDisplay.

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.