Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtMapWidget(3x) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtSetMappedWhenManaged(1)

XtUnmapWidget(1)

 

NAME

XtMapWidget − map a widget to its display. 

Synopsis

XtMapWidget(w)

    Widget w;

Inputs

wSpecifies the widget to be mapped.  Must be of class Core or any subclass thereof. 

Description

XtMapWidget() explicitly maps a widget’s window, causing it to become visible.  A widget must be realized before it can be mapped. 

Usage

A widget should be managed before it is mapped; otherwise the window may not appear at the correct location or size.  If a widget’s Core XtNmappedWhenManaged resource is set to True, the widget is automatically mapped when it is managed.  This is the case for most widgets.  Widgets with this resource False must be mapped explicitly with XtMapWidget().  To explicitly unmap a widget without unmanaging it, use XtUnmapWidget().  The XtNmappedWhenManaged resource can also be set (and the widget mapped and unmapped) with XtSetMappedWhenManaged(). 

See Also

XtSetMappedWhenManaged(1), XtUnmapWidget(1). 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

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