NAME
XtMapWidget, XtSetMappedWhenManaged, XtUnmapWidget - map and unmap widgets
SYNTAX
int XtMapWidget(Widget _w);
void XtSetMappedWhenManaged(Widget _w, Boolean _m_a_p___w_h_e_n___m_a_n_a_g_e_d);
int XtUnmapWidget(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 function 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 alternative 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
explicitly.
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