|
1 .\" Copyright 2008 Sun Microsystems, Inc. All Rights Reserved |
|
2 .\" |
|
3 .\" Permission is hereby granted, free of charge, to any person obtaining a |
|
4 .\" copy of this software and associated documentation files (the "Software"), |
|
5 .\" to deal in the Software without restriction, including without limitation |
|
6 .\" the rights to use, copy, modify, merge, publish, distribute, |
|
7 .\" sublicense, and/or sell copies of the Software, and to permit persons |
|
8 .\" to whom the Software is furnished to do so, subject to the following |
|
9 .\" conditions: |
|
10 .\" |
|
11 .\" The above copyright notice and this permission notice shall be |
|
12 .\" included in all copies or substantial portions of the Software. |
|
13 .\" |
|
14 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
15 .\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
16 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
|
17 .\" IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
|
18 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
|
19 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR |
|
20 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
|
21 .\" |
|
22 .\" Except as contained in this notice, the names of the copyright holders |
|
23 .\" shall not be used in advertising or otherwise to promote the sale, use |
|
24 .\" or other dealings in this Software without prior written authorization |
|
25 .\" from said copyright holders. |
|
26 .\" |
|
27 .TH XSolarisOvlSetWindowTransparent __libmansuffix__ __xorgversion__ "X FUNCTIONS" |
|
28 .IX "XSolarisOvlSetWindowTransparent" "" "\f3XSolarisOvlSetWindowTransparent\f1(3) \(em sets the background state of an overlay window to be transparent. |
|
29 .SH NAME |
|
30 XSolarisOvlSetWindowTransparent \- sets the background state of an overlay window to be transparent |
|
31 .SH SYNOPSIS |
|
32 .LP |
|
33 \&#include <X11/extensions/transovl.h> |
|
34 |
|
35 .IP \f3void\f1 5n |
|
36 .B XSolarisOvlSetWindowTransparent |
|
37 .B (Display |
|
38 .I *display, |
|
39 .B Window |
|
40 .I w) |
|
41 .SH Arguments |
|
42 .TP |
|
43 .I display |
|
44 Specifies the connection to the X server. |
|
45 .TP |
|
46 .I w |
|
47 Specifies the window. |
|
48 .SH DESCRIPTION |
|
49 This routine sets the background state of the given overlay to be transparent. |
|
50 Any background rendering that occurs after this request will cause the |
|
51 background to be transparent. Use |
|
52 .BR XChangeWindowAttributes (3) , |
|
53 .BR XSetWindowBackground (3) , |
|
54 or |
|
55 .BR XSetWindowBackgroundPixmap (3) |
|
56 to change background state to any other value. |
|
57 .LP |
|
58 If |
|
59 .I w |
|
60 is not an overlay window, |
|
61 .SB BadMatch |
|
62 is generated. |
|
63 .SH ERRORS |
|
64 .LP |
|
65 .nf |
|
66 .SB BadMatch |
|
67 .fi |