gtkTreeGetRowDragData         package:RGtk2         R Documentation

_g_t_k_T_r_e_e_G_e_t_R_o_w_D_r_a_g_D_a_t_a

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

     Obtains a 'tree.model' and 'path' from selection data of target
     type 'GTK_TREE_MODEL_ROW'. Normally called from a
     drag_data_received handler. This function can only be used if
     'selection.data' originates from the same process that's calling
     this function, because a pointer to the tree model is being passed
     around. If you aren't in the same process, then you'll get memory
     corruption. In the 'GtkTreeDragDest' drag_data_received handler,
     you can assume that selection data of type 'GTK_TREE_MODEL_ROW' is
     in from the current process.

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

     gtkTreeGetRowDragData(object)

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

'object': ['GtkSelectionData']  a 'GtkSelectionData'

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

     A list containing the following elements: 

  retval: [logical] 'TRUE' if 'selection.data' had target type
          'GTK_TREE_MODEL_ROW' and is otherwise valid

'tree.model': ['GtkTreeModel']  a 'GtkTreeModel'

  'path': ['GtkTreePath']  row in 'tree.model'

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

     Derived by RGtkGen from GTK+ documentation

