DtSetProperty(3Dt) DtSetProperty(3Dt)
NAME
DtSetProperty - create/delete properties
SYNOPSIS
#include <Dt/Desktop.h>
char *DtSetProperty(DtPropListPtr plistp, char *name, char *value,
DtAttrs attrs);
DESCRIPTION
The DtSetProperty function creates a new property or deletes
an existing property.
plistp
property list
name property
value value of name, a NULL terminated string
attrs attributes of name
If value is NULL, the specified property, name, will be
deleted from plist if found.
If value is non-NULL and the specified property, name, exists
in plist, value and attrs replace the current property. If
name does not exist, the property is added.
Return Values
On success, DtSetProperty returns a pointer to a copy of the
value string. On failure, DtSetProperty returns NULL.
Copyright 1994 Novell, Inc. Page 1