gtkWidgetTranslateCoordinates     package:RGtk2     R Documentation

_g_t_k_W_i_d_g_e_t_T_r_a_n_s_l_a_t_e_C_o_o_r_d_i_n_a_t_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Translate coordinates relative to 'src.widget''s allocation to
     coordinates relative to 'dest.widget''s allocations. In order to
     perform this operation, both widgets must be realized, and must
     share a common toplevel.

_U_s_a_g_e:

     gtkWidgetTranslateCoordinates(object, dest.widget, src.x, src.y)

_A_r_g_u_m_e_n_t_s:

'object': ['GtkWidget']   a 'GtkWidget'

'dest.widget': ['GtkWidget']  a 'GtkWidget'

 'src.x': [integer]  X position relative to 'src.widget'

 'src.y': [integer]  Y position relative to 'src.widget'

_V_a_l_u_e:

     A list containing the following elements: 

  retval: [logical] 'FALSE' if either widget was not realized, or there
          was no common ancestor. In this case, nothing is stored in
          *'dest.x' and *'dest.y'. Otherwise 'TRUE'.

'dest.x': [integer]  location to store X position relative to
          'dest.widget'

'dest.y': [integer]  location to store Y position relative to
          'dest.widget'

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

