Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtManageChildren(3Xt)

XtMapWidget(3Xt)  —  Subroutines

X11R4

NAME

XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget − map and unmap widgets

SYNOPSIS

XtMapWidget(w)
  Widget w;

void XtSetMappedWhenManaged(w, map_when_managed)
  Widget w;
  Boolean map_when_managed;

XtUnmapWidget(w)
  Widget w;

PARAMETERS

map_when_managed
Specifies a Boolean value that indicates the new value of the map_when_managed field.

wSpecifies 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 window. XtSetMappedWhenManaged is a convenience function that is equivalent to (but slightly faster than) calling XtSetValues 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.

RELATED INFORMATION

XtManageChildren(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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026