


XtMapWidget(3Xt)					     XtMapWidget(3Xt)
X11R5									X11R5



NAME
  XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - map and unmap widgets

SYNTAX
  XtMapWidget(_w)
       Widget _w;

  void XtSetMappedWhenManaged(_w, _m_a_p__w_h_e_n__m_a_n_a_g_e_d)
	Widget _w;
	Boolean	_m_a_p__w_h_e_n__m_a_n_a_g_e_d;

  XtUnmapWidget(_w)
       Widget _w;

ARGUMENTS

  _m_a_p__w_h_e_n__m_a_n_a_g_e_d
	    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 _T_r_u_e, _X_t_S_e_t_M_a_p_p_e_d_W_h_e_n_M_a_n_a_g_e_d maps	the window.  If	the
  widget is realized and managed and if	the new	value of map_when_managed is
  _F_a_l_s_e, it unmaps the window.	_X_t_S_e_t_M_a_p_p_e_d_W_h_e_n_M_a_n_a_g_e_d is a convenience	func-
  tion that is equivalent to (but slightly faster than)	calling	_X_t_S_e_t_V_a_l_u_e_s
  and setting the new value for	the mappedWhenManaged resource.	 As an alter-
  native to using _X_t_S_e_t_M_a_p_p_e_d_W_h_e_n_M_a_n_a_g_e_d to control mapping, a client may set
  mapped_when_managed to _F_a_l_s_e and use _X_t_M_a_p_W_i_d_g_e_t and _X_t_U_n_m_a_p_W_i_d_g_e_t expli-
  citly.

SEE ALSO
  XtManageChildren(3Xt)
  _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e





















