NAME

XtTranslateCoords - translate widget coordinates

SYNTAX

void XtTranslateCoords(Widget _w, Position _x, _y, Position *_r_o_o_t_x___r_e_t_u_r_n, *_r_o_o_t_y___r_e_t_u_r_n);

ARGUMENTS

_r_o_o_t_x___r_e_t_u_r_n
_r_o_o_t_y___r_e_t_u_r_n Returns the root-relative x and y coordinates.
_x
_y Specify the widget-relative x and y coordinates.
_w Specifies the widget.

DESCRIPTION

While _X_t_T_r_a_n_s_l_a_t_e_C_o_o_r_d_s is similar to the Xlib _X_T_r_a_n_s_l_a_t_e_C_o_o_r_d_i_n_a_t_e_s function, it does not generate a server request because all the required information already is in the widget's data structures.

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