NAME
XtSetWMColormapWindows - Set the value of the WM_COLORMAP_WINDOWS property
SYNTAX
void XtSetWMColormapWindows(Widget _w_i_d_g_e_t, Widget* _l_i_s_t, Cardinal
_c_o_u_n_t);
ARGUMENTS
-
_w_i_d_g_e_t
Specifies the widget on whose window the WM_COLORMAP_WINDOWS property
-
will be stored. Must be of class Core or any subclass thereof.
-
_l_i_s_t
Specifies a list of widgets whose windows are are potentially to be
-
listed in the WM_COLORMAP_WINDOWS property.
-
_c_o_u_n_t
Specifies the number of widgets in _l_i_s_t.
-
DESCRIPTION
_X_t_S_e_t_W_M_C_o_l_o_r_m_a_p_W_i_n_d_o_w_s
returns immediately if _w_i_d_g_e_t is not realized or if _c_o_u_n_t
is zero. Otherwise,
_X_t_S_e_t_W_M_C_o_l_o_r_m_a_p_W_i_n_d_o_w_s
constructs an ordered list of windows by examining each widget in
_l_i_s_t in turn and ignoring the widget if it is not realized,
or adding the widget's window to the window list if the widget is
realized and its colormap resource is different from the colormap
resources of all widgets whose windows are already on the window
list.
Finally,
_X_t_S_e_t_W_M_C_o_l_o_r_m_a_p_W_i_n_d_o_w_s
stores the resulting window list in the WM_COLORMAP_WINDOWS property
on the specified widget's window.
SEE ALSO
_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