Amiga Unix — 68040 · 68060

Manual pages › X Window and screen libraries (3X)

XtMapWid(3X)

map and unmap widgets

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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 True, XtSetMappedWhenManaged maps the
window.  If the widget is realized and managed and if the
new value of map_when_managed is False, it unmaps the win-
dow.  XtSetMappedWhenManaged is a convenience function that
is equivalent to (but slightly faster than) calling XtSet-
Values and setting the new value for the mappedWhenManaged
resource.  As an alternative to using XtSetMappedWhenManaged
to control mapping, a client may set mapped_when_managed to
False and use XtMapWidget and XtUnmapWidget explicitly.

SEE ALSO

     XtManageChildren(3Xt)
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XWIN 3.0               Last change: 9/1/88                 .ie t

XWIN 3.0               Last change: 9/1/88                 .ie t