Functional specification
42
CDE/Motif PST
CDEnext
SEE ALSO
XpSelectInput, XpSetContext, XrmGetStringDatabase
2.17
XpSetAttributes
SHORT DESCRIPTION
Set or update an attribute pool in the specified print context.
2.17.1
Long Description
NAME
XpSetAttributes - set or update an attribute pool in the specified print context
SYNOPSIS
#include <X11/extensions/Print.h>
void XpSetAttributes (
Display
*display
,
XPContext
context,
XPAttributes
type
,
char
*pool,
XPAttrReplacement
replacement_rule
)
ARGUMENTS
display
Specifies a pointer to the
Display
structure; returned from
XOpenDisplay
.
context
The print context in which an attribute pool is to be set.
type
Specifies the type of the attribute pool to be set.
pool
An attribute pool represented as a resource string. String encoded in
COMPOUND_TEXT
.
replacement_rule
One of
XPAttrReplace
or
XPAttrMerge
.
RETURN VALUE
None.
DESCRIPTION
XpSetAttributes
accepts
pool
, a
COMPOUND_TEXT
resource string representing new name-value
pairs for the attribute pool specified by
type
. The attribute pool is modified by the new name-value pairs
according to
replacement_rule
. For
XPAttrReplace
, the exisiting attribute pool is discarded and