MirOS Manual: XtMapWidget(3), XtSetMappedWhenManaged(3), XtUnmapWidget(3)


XtMapWidget(3Xt)          XT FUNCTIONS           XtMapWidget(3Xt)

NAME

     XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - map and
     unmap widgets

SYNTAX

     int XtMapWidget(Widget w);

     void XtSetMappedWhenManaged(Widget w, Boolean
          map_when_managed);

     int XtUnmapWidget(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 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.

SEE ALSO

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

XFree86                   Version 4.5.0                         1

Generated on 2017-04-03 16:26:17 by $MirOS: src/scripts/roff2htm,v 1.88 2017/01/29 00:51:06 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2017 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.