NAME

XtRegisterDrawable - register a drawable with the Intrinsics event dispatcher

SYNTAX

void XtRegisterDrawable(Display* _d_i_s_p_l_a_y, Drawable _d_r_a_w_a_b_l_e, Widget _w_i_d_g_e_t); void XtUnregisterDrawable(Display* _d_i_s_p_l_a_y, Drawable _d_r_a_w_a_b_l_e);

ARGUMENTS

_d_i_s_p_l_a_y Specifies the drawable's display.
_d_r_a_w_a_b_l_e Specifies the drawable to register.
_w_i_d_g_e_t Specifies the widget to register the drawable for.

DESCRIPTION

_X_t_R_e_g_i_s_t_e_r_D_r_a_w_a_b_l_e associates the specified drawable with the specified widget so that future calls to _X_t_W_i_n_d_o_w_T_o_W_i_d_g_e_t with the drawable will return the widget. The default event dispatcher will dispatch future core events that arrive with the drawable to the widget as though the event contained the widget's window, but the event itself will not be changed in any way when being passed to even handler or action procedures.

If the drawable is already registered with another widget, or if the drawable is the window of a widget in the client's widget tree, the results of calling _X_t_R_e_g_i_s_t_e_r_D_r_a_w_a_b_l_e are undefined.

_X_t_U_n_r_e_g_i_s_t_e_r_D_r_a_w_a_b_l_e removes an association created with _X_t_R_e_g_i_s_t_e_r_D_r_a_w_a_b_l_e. If the drawable is the window of a widget in the client's widget tree the results of calling _X_t_U_n_r_e_g_i_s_t_e_r_D_r_a_w_a_b_l_e are undefined.

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