gtkDragDestFindTarget         package:RGtk2         R Documentation

_g_t_k_D_r_a_g_D_e_s_t_F_i_n_d_T_a_r_g_e_t

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

     Looks for a match between 'context->targets' and the
     'dest.target.list', returning the first matching target, otherwise
     returning 'GDK_NONE'. 'dest.target.list' should usually be the
     return value from 'gtkDragDestGetTargetList', but some widgets may
     have different valid targets for different parts of the widget; in
     that case, they will have to implement a drag_motion handler that
     passes the correct target list to this function.

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

     gtkDragDestFindTarget(object, context, target.list)

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

'object': ['GtkWidget']  drag destination widget

'context': ['GdkDragContext']  drag context

'target.list': ['GtkTargetList']  list of droppable targets, or 'NULL'
          to use gtk_drag_dest_get_target_list ('widget').

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

     ['GdkAtom']  first target that the source offers and the dest can
     accept, or 'GDK_NONE'

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

     Derived by RGtkGen from GTK+ documentation

