gtkTreeViewGetPathAtPos        package:RGtk2        R Documentation

_g_t_k_T_r_e_e_V_i_e_w_G_e_t_P_a_t_h_A_t_P_o_s

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

     Finds the path at the point ('x', 'y'), relative to widget
     coordinates.  That is, 'x' and 'y' are relative to an events
     coordinates. 'x' and 'y' must come from an event on the
     'tree.view' only where 'event->window == gtk_tree_view_get_bin ('.
     It is primarily for things  like popup menus. If 'path' is
     non-'NULL', then it will be filled with the  'GtkTreePath' at that
     point.   If 'column' is non-'NULL', then it will be filled with
     the column at that point. 'cell.x' and 'cell.y' return the
     coordinates relative to the cell background (i.e. the
     'background.area' passed to 'gtkCellRendererRender').  This
     function is only meaningful if 'tree.view' is realized.

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

     gtkTreeViewGetPathAtPos(object, x, y)

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

'object': ['GtkTreeView']  A 'GtkTreeView'.

     'x': [integer]  The x position to be identified.

     'y': [integer]  The y position to be identified.

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

     A list containing the following elements: 

  retval: [logical]  'TRUE' if a row exists at that coordinate.

  'path': ['GtkTreePath']  A pointer to a 'GtkTreePath' pointer to be
          filled in, or 'NULL'

'column': ['GtkTreeViewColumn']  A pointer to a 'GtkTreeViewColumn'
          pointer to be filled in, or 'NULL'

'cell.x': [integer]  A pointer where the X coordinate relative to the
          cell can be placed, or 'NULL'

'cell.y': [integer]  A pointer where the Y coordinate relative to the
          cell can be placed, or 'NULL'

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

     Derived by RGtkGen from GTK+ documentation

