Functional specification
51
CDE/Motif PST
CDEnext
SEE ALSO
2.24
XpGetPdmStartParams
2.24.1
Short Description
A standard convenience function to build up parameters in accordance with the PDM Selection Protocol
2.24.2
Long Description
NAME
XpGetPdmStartParams - build up parameters in accordance with the PDM Selection Protocol
SYNOPSIS
#include <X11/extensions/Print.h>
#include <X11/XpPdm.h>
Status XpGetPdmStartParams (
Display
*print_display
,
Window
print_window
,
XPContext
print_context
,
Display
*video_display
,
Window
video_window
,
Display
**selection_display
, /* return value */
Atom
*selection
, /* return value */
Atom
*type
, /* return value */
int
*format
, /* return value */
unsigned char
**data
, /* return value */
int
*nelements
) /* return value */
ARGUMENTS
print_display
Specifies a pointer to the print
Display
structure; returned from
XOpenDisplay
on the X Print Server.
print_window
Specifies a client window on any screen of
print_display
long-lived
enough for ICCCM communications of the final PDM status ("OK" or
"CANCEL"
ClientMessage
) sent to
print_window
.
print_context
An existing print context that the PDM should reference.
video_display
Specifies a pointer to the video
Display
structure; returned from
XOpenDisplay
on the Video X-Server.
video_window
Specifies the window on
video_display
off which the transient dialogs
from the PDM should be posted.