Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XtMapWidget(3)			  XT FUNCTIONS			  XtMapWidget(3)

NAME
     XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - map and unmap widgets

SYNTAX
     #include <X11/Intrinsic.h>

     void XtMapWidget(Widget w);

     void XtSetMappedWhenManaged(Widget w, Boolean map_when_managed);

     void 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_man-
     aged is True, XtSetMappedWhenManaged maps the window.  If the widget is re-
     alized 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 us-
     ing  XtSetMappedWhenManaged  to  control  mapping,   a   client   may   set
     mapped_when_managed  to False and use XtMapWidget and XtUnmapWidget explic-
     itly.

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

X Version 11			   libXt 1.3.1			  XtMapWidget(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XtMapWidget&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help