XtMapWidget(3Xt) MIT X11R4 XtMapWidget(3Xt)Name
XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - map and unmap widgets
Syntax
XtMapWidget(w)
Widget w;
void XtSetMappedWhenManaged(w, map_when_managed)
Widget w;
Boolean map_when_managed;
XtUnmapWidget(w)
Widget w;
Arguments
map_when_managed
Specifies a Boolean value that indicates the new value of the map_when_managed field.
w Specifies the widget.
Description
If the widget is realized and managed and if the new value of map_when_managed is maps the window. If the widget is realized and managed
and if the new value of map_when_managed is it unmaps the window. is a convenience function that is equivalent to (but slightly faster
than) calling and setting the new value for the mappedWhenManaged resource. As an alternative to using to control mapping, a client may
set mapped_when_managed to and use and explicitly.
See AlsoXtManageChildren(3Xt)
X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XtMapWidget(3Xt)
Check Out this Related Man Page
XtSetMappedWhenManaged() XtSetMappedWhenManaged()
Name
XtSetMappedWhenManaged - set the value of a widget's XtNmappedWhenManaged resource and map or unmap the window.
Synopsis
void XtSetMappedWhenManaged(w, map_when_managed)
Widget w;
Boolean map_when_managed;
Inputs
w Specifies the widget. Must be of class Core or any subclass thereof.
map_when_managed
Specifies the new value of the map_when_managed field.
Description
If w is realized and managed and if map_when_managed is set to True, XtSetMappedWhenManaged() maps the widget's window. If the widget is
realized and managed and if the new value of map_when_managed is set to False, XtSetMappedWhenManaged() unmaps the widget's window. In
both cases, XtSetMappedWhenManaged() sets the value of the widget's XtNmappedWhenManaged resource as specified by the map_when_managed
argument.
XtSetMappedWhenManaged() is a convenience function that is equivalent to (but slightly faster than) calling XtSetValues() to set the new
value for the XtNmappedWhenManaged resource, and then mapping or unmapping the widget as appropriate.
Usage
A widget is normally mapped when it is managed, which is usually the desired behavior. This behavior can be overridden by setting the XtN-
mappedWhenManaged resource for the widget to False, and then calling XtSetMappedWhenManaged() to map and unmap the widget or by calling
XtMapWidget() and XtUnmapWidget() explicitly.
A widget that is managed but unmapped will have screen space allocated for it, but will not appear in that space. A widget that is unman-
aged will not have screen space allocated for it, and if mapped will likely appear in an undesirable place.
See AlsoXtManageChild(1), XtMapWidget(1), XtUnmapWidget(1).
Xt - Resource Management XtSetMappedWhenManaged()
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)