man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2014
 
 

XTSOLgetPropAttributes(3XTSOL)

Name

XTSOLgetPropAttributes - get the label attributes associated with a property hanging on a window

Synopsis

cc [flag...] file... -lX11 -lXtsol [library...]
#include <X11/extensions/Xtsol.h>

Status XTSOLgetPropAttributes(display, window, property, propattrp);

Display *display;
Window window;
Atom property;
XTSOLPropAttributes *propattrp;

Parameters

display

Specifies a pointer to the Display structure; returned from XOpenDisplay().

window

Specifies the ID of a window system object.

property

Specifies the property atom.

propattrp

Client must provide a pointer to XTSOLPropAttributes.

Description

The client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. The XTSOLgetPropAttributes() function retrieves the label attributes that are associated with a property hanging out of a window in a single call. The attributes include UID and sensitivity label.

Return Values

None

Errors

BadAccess

Lack of privilege

BadWindow

Not a valid window

BadAtom

Not a valid atom

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
MT-Unsafe

See also

libXtsol(3LIB), XTSOLgetClientAttributes(3XTSOL), XTSOLgetResAttributes(3XTSOL), attributes (5)

Setting Window Polyinstantiation Information in Trusted Extensions Developer’s Guide

Notes

The functionality described on this manual page is available only if the system is configured with Trusted Extensions.