|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Extended Library Functions, Volume 4 Oracle Solaris 11.1 Information Library|
- get the label associated with a window, a pixmap, or a colormap
cc [flag...] file... -lX11 -lXtsol [library...] #include <X11/extensions/Xtsol.h> Status XTSOLgetResLabel(display, object, type, sl); Display *display; XID object; ResourceType type; m_label_t *sl;
Specifies a pointer to the Display structure; returned from XOpenDisplay().
Specifies the ID of a window system object whose label you want to get. Possible window system objects are windows, pixmaps, and colormaps.
Specifies what type of resource is being accessed. Possible values are IsWindow, IsPixmap or IsColormap.
Returns a sensitivity label which is the current label of the specified object.
The client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privileges. The XTSOLgetResLabel() function retrieves the label that is associated with a window or a pixmap or a colormap.
Lack of privilege.
Not a valid pixmap.
Not a valid type.
See attributes(5) for descriptions of the following attributes:
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.