1XTSOLgetResAttriTbruutsetse(d3XETxStOeLn)sions to X Windows LibXrTaSrOyLgFeutnRcetsiAotntsributes(3XTSOL)
2
3
4

NAME

6       XTSOLgetResAttributes - get all label attributes associated with a win‐
7       dow or a pixmap
8

SYNOPSIS

10       cc [flag...] file... -lX11 -lXtsol [library...]
11       #include <X11/extensions/Xtsol.h>
12
13       Status XTSOLgetResAttributes(display, object, type, winattrp);
14
15       Display *display;
16       XID object;
17       ResourceType type;
18       XTSOLResAttributes *winattrp;
19
20

PARAMETERS

22       display     Specifies a pointer to the Display structure; returned from
23                   XOpenDisplay().
24
25
26       object      Specifies the ID of a window system object. Possible window
27                   system objects are windows and pixmaps.
28
29
30       type        Specifies what type of resource is being accessed. Possible
31                   values are IsWindow and IsPixmap.
32
33
34       winattrp    Client must provide a pointer to XTSOLResAttributes.
35
36

DESCRIPTION

38       The  client requires the PRIV_WIN_DAC_READ and PRIV_WIN_MAC_READ privi‐
39       leges.  The  XTSOLgetResAttributes()  function  retrieves   all   label
40       attributes  that  are  associated with a window or a pixmap in a single
41       call. The attributes include UID, sensitivity  label,  and  workstation
42       owner.
43

RETURN VALUES

45       None.
46

ERRORS

48       BadAccess    Lack of privilege.
49
50
51       BadWindow    Not a valid window.
52
53
54       BadPixmap    Not a valid pixmap.
55
56
57       BadValue     Not a valid type.
58
59

ATTRIBUTES

61       See attributes(5) for descriptions of the following attributes:
62
63
64
65
66       ┌───────────────────────────┬───────────────────────────────┐
67       │      ATTRIBUTE TYPE       │        ATTRIBUTE VALUE        │
68       ├───────────────────────────┼───────────────────────────────┤
69       │Interface Stability        │ Committed                     │
70       ├───────────────────────────┼───────────────────────────────┤
71       │MT-Level                   │ Unsafe                        │
72       └───────────────────────────┴───────────────────────────────┘
73

SEE ALSO

75       libXtsol(3LIB),    XTSOLgetClientAttributes(3XTSOL),    XTSOLgetPropAt‐
76       tributes(3XTSOL), attributes(5)
77
78
79       Obtaining Window Attributes in Solaris Trusted  Extensions  Developer's
80       Guide
81

NOTES

83       The  functionality  described  on this manual page is available only if
84       the system is configured with Trusted Extensions.
85
86
87
88SunOS 5.11                        20 Jul 2007    XTSOLgetResAttributes(3XTSOL)
Impressum