'\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved. .TH XTSOLsetPropLabel 3XTSOL "20 Jul 2007" "SunOS 5.11" "Trusted Extensions to X Windows Library Functions" .SH NAME XTSOLsetPropLabel \- set the label associated with a property hanging on a window .SH SYNOPSIS .LP .nf \fBcc\fR [\fIflag\fR...] \fIfile\fR... \fB-lX11\fR \fB-lXtsol\fR [\fIlibrary\fR...] #include \fBStatus XTSOLsetPropLabel\fR(*\fIdisplay\fR, \fIwindow\fR, \fIproperty\fR, *\fIsl\fR); Display *\fIdisplay\fR; Window \fIwindow\fR; Atom \fIproperty\fR; m_label_t *\fIsl\fR; .fi .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIdisplay\fR\fR .ad .RS 12n .rt Specifies a pointer to the \fBDisplay\fR structure; returned from \fBXOpenDisplay()\fR. .RE .sp .ne 2 .mk .na \fB\fIwindow\fR\fR .ad .RS 12n .rt Specifies the \fBID\fR of the window whose property's label you want to change. .RE .sp .ne 2 .mk .na \fB\fIproperty\fR\fR .ad .RS 12n .rt Specifies the property atom. .RE .sp .ne 2 .mk .na \fB\fIsl\fR\fR .ad .RS 12n .rt Specifies a pointer to a sensitivity label. .RE .SH DESCRIPTION .sp .LP The \fBXTSOLsetPropLabel()\fR function changes the sensitivity label that is associated with a property hanging on a window. The client must have the \fBPRIV_WIN_DAC_WRITE\fR, \fBPRIV_WIN_MAC_WRITE\fR, and \fBPRIV_WIN_UPGRADE_SL\fR privileges. .SH RETURN VALUES .sp .LP None. .SH ERRORS .sp .ne 2 .mk .na \fB\fBBadAccess\fR\fR .ad .RS 13n .rt Lack of privilege. .RE .sp .ne 2 .mk .na \fB\fBBadWindow\fR\fR .ad .RS 13n .rt Not a valid window. .RE .sp .ne 2 .mk .na \fB\fBBadAtom\fR\fR .ad .RS 13n .rt Not a valid atom. .RE .sp .ne 2 .mk .na \fB\fBBadValue\fR\fR .ad .RS 13n .rt Not a valid \fIsl\fR. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.6i) |cw(2.9i) lw(2.6i) |lw(2.9i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelUnsafe .TE .SH SEE ALSO .sp .LP \fBlibXtsol\fR(3LIB), \fBXTSOLgetPropAttributes\fR(3XTSOL), \fBXTSOLgetPropLabel\fR(3XTSOL), \fBattributes\fR(5) .SH NOTES .sp .LP The functionality described on this manual page is available only if the system is configured with Trusted Extensions.