1 .\" Copyright 1993 X Consortium
3 .\" Permission is hereby granted, free of charge, to any person obtaining
4 .\" a copy of this software and associated documentation files (the
5 .\" "Software"), to deal in the Software without restriction, including
6 .\" without limitation the rights to use, copy, modify, merge, publish,
7 .\" distribute, sublicense, and/or sell copies of the Software, and to
8 .\" permit persons to whom the Software is furnished to do so, subject to
9 .\" the following conditions:
11 .\" The above copyright notice and this permission notice shall be
12 .\" included in all copies or substantial portions of the Software.
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 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 .\" OTHER DEALINGS IN THE SOFTWARE.
22 .\" Except as contained in this notice, the name of the X Consortium shall
23 .\" not be used in advertising or otherwise to promote the sale, use or
24 .\" other dealings in this Software without prior written authorization
25 .\" from the X Consortium.
28 .ds xT X Toolkit Intrinsics \- C Language Interface
30 .ds xW X Toolkit Athena Widgets \- C Language Interface
31 .ds xL Xlib \- C Language X Interface
32 .ds xC Inter-Client Communication Conventions Manual
35 .hw XtMap-Widget XtSet-Mapped-When-Managed XtUnmap-Widget wid-get
42 .\".if \\n(VS>=40 .vs \\n(VSu
43 .\".if \\n(VS<=39 .vs \\n(VSp
66 .de IN \" send an index entry to the stderr
73 .\" choose appropriate monospace font
74 .\" the imagen conditional, 480,
75 .\" may be changed to L if LB is too
76 .\" heavy for your eyes...
78 .ie "\\*(.T"480" .ft L
79 .el .ie "\\*(.T"300" .ft L
80 .el .ie "\\*(.T"202" .ft PO
81 .el .ie "\\*(.T"aps" .ft CW
84 .ie \\n(VS>40 .vs \\n(VSu
92 .ie t \\$1\fB\^\\$2\^\fR\\$3
93 .el \\$1\fI\^\\$2\^\fP\\$3
96 .ie t \fB\^\\$1\^\fR\\$2
97 .el \fI\^\\$1\^\fP\\$2
102 .if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
103 .if \\n(.$ .if !'\\$1'C' .ds NO \\$1
117 . \" Note End -- doug kraft 3/85
126 .TH XtMapWidget __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
128 XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget \- map and unmap widgets
131 int XtMapWidget(Widget \fIw\fP\^);
133 void XtSetMappedWhenManaged(Widget \fIw\fP, Boolean \fImap_when_managed\fP);
135 int XtUnmapWidget(Widget \fIw\fP\^);
137 .IP \fImap_when_managed\fP 1i
138 Specifies a Boolean value that indicates the new value of the map_when_managed
141 Specifies the widget.
143 If the widget is realized and managed
144 and if the new value of map_when_managed is
146 .ZN XtSetMappedWhenManaged
148 If the widget is realized and managed
149 and if the new value of map_when_managed is
151 it unmaps the window.
152 .ZN XtSetMappedWhenManaged
153 is a convenience function that is equivalent to (but slightly faster than)
156 and setting the new value for the mappedWhenManaged resource.
157 As an alternative to using
158 .ZN XtSetMappedWhenManaged
160 a client may set mapped_when_managed to
168 XtManageChildren(3Xt)