NAME | SYNOPSIS | DESCRIPTION | PARAMETERS | ATTRIBUTES | RETURN VALUES | ERRORS | SEE ALSO
#include <tsol/Xtsol.h>
Display *display; XID object; ResourceType type; bclabel_t *cmwlabel;XTSOLsetResLabel(display, object, type, cmwlabel, labelFlag);
The client must have the PRIV_WIN_DAC_WRITE
, PRIV_WIN_MAC_WRITE
, PRIV_WIN_UPGRADE_SL
, and PRIV_WIN_DOWNGRADE_SL
privileges.
XTSOLsetResLabel() is used to change the CMW label associated with a window or a pixmap.
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Specifies the ID of a window system object whose CMW label you want to change. Possible window system objects are windows and pixmaps. The CMW label is not interpreted by the server.
Specifies which portion of the CMW label will be changed. Possible values are: RES_ALL, and RES_SL.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWxwplt (available only on Trusted Solaris systems) |
MT-Level | MT-Unsafe |
None
Lack of privilege
Not a valid pixmap
Not a valid type, labelFlag, or cmwlabel
NAME | SYNOPSIS | DESCRIPTION | PARAMETERS | ATTRIBUTES | RETURN VALUES | ERRORS | SEE ALSO