Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2017
 
 

XTSOLgetPropLabel(3XTSOL)

Name

XTSOLgetPropLabel - get the label associated with a property hanging on a window

Synopsis

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

Status XTSOLgetPropLabel(display, window, property, sl);

Display *display;
Window window;
Atom property;
m_label_t *sl;

Parameters

display

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

window

Specifies the ID of the window whose property's label you want to get.

property

Specifies the property atom.

sl

Returns a sensitivity label that is the current label of the specified property.

Description

Client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. The XTSOLgetPropLabel() function retrieves the sensitivity label that is associated with a property hanging on a window.

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
Unsafe

See Also

libXtsol(3LIB), XTSOLgetPropAttributes(3XTSOL) , XTSOLsetPropLabel(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.