gtk-Drag-and-Drop           package:RGtk2           R Documentation

_D_r_a_g _a_n_d _D_r_o_p

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

     Functions for controlling drag and drop handling

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkDragDestSet(object, flags, targets, actions)'
      'gtkDragDestSetProxy(object, proxy.window, protocol,
     use.coordinates)'
      'gtkDragDestUnset(object)'
      'gtkDragDestFindTarget(object, context, target.list)'
      'gtkDragDestGetTargetList(object)'
      'gtkDragDestSetTargetList(object, target.list)'
      'gtkDragDestAddTextTargets(object)'
      'gtkDragDestAddImageTargets(object)'
      'gtkDragDestAddUriTargets(object)'
      'gtkDragDestSetTrackMotion(object, track.motion)'
      'gtkDragDestGetTrackMotion(object)'
      'gtkDragFinish(object, success, del, time = "GDK_CURRENT_TIME")'
      'gtkDragGetData(object, context, target, time =
     "GDK_CURRENT_TIME")'
      'gtkDragGetSourceWidget(context)'
      'gtkDragHighlight(object)'
      'gtkDragUnhighlight(object)'
      'gtkDragBegin(object, targets, actions, button, event)'
      'gtkDragSetIconWidget(object, widget, hot.x, hot.y)'
      'gtkDragSetIconPixmap(object, colormap, pixmap, mask, hot.x,
     hot.y)'
      'gtkDragSetIconPixbuf(object, pixbuf, hot.x, hot.y)'
      'gtkDragSetIconStock(object, stock.id, hot.x, hot.y)'
      'gtkDragSetIconName(object, icon.name, hot.x, hot.y)'
      'gtkDragSetIconDefault(object)'
      'gtkDragSetDefaultIcon(colormap, pixmap, mask, hot.x, hot.y)'
      'gtkDragCheckThreshold(object, start.x, start.y, current.x,
     current.y)'
      'gtkDragSourceSet(object, start.button.mask, targets, actions)'
      'gtkDragSourceSetIcon(object, colormap, pixmap, mask = NULL)'
      'gtkDragSourceSetIconPixbuf(object, pixbuf)'
      'gtkDragSourceSetIconStock(object, stock.id)'
      'gtkDragSourceSetIconName(widget, icon.name)'
      'gtkDragSourceUnset(object)'
      'gtkDragSourceSetTargetList(object, target.list)'
      'gtkDragSourceGetTargetList(object)'
      'gtkDragSourceAddTextTargets(object)'
      'gtkDragSourceAddImageTargets(object)'
      'gtkDragSourceAddUriTargets(object)'

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

     GTK+ has a rich set of functions for doing inter-process
     communication via the drag-and-drop metaphor. GTK+ can do
     drag-and-drop (DND) via multiple protocols. The currently
     supported protocols are the Xdnd and Motif protocols.

     As well as the functions listed here, applications may need to use
     some facilities provided for Selections. Also, the Drag and Drop
     API makes use of signals in the 'GtkWidget' class.

_E_n_u_m_s _a_n_d _F_l_a_g_s:


     '_G_t_k_D_e_s_t_D_e_f_a_u_l_t_s' The 'GtkDestDefaults' enumeration specifies the
          various types of action that will be taken on behalf of the
          user for a drag destination site.

          '_m_o_t_i_o_n' If set for a widget, GTK+, during a drag over this
               widget will check if the drag matches this widget's list
               of possible targets and actions. GTK+ will then call
               'gdkDragStatus' as appropriate.

          '_h_i_g_h_l_i_g_h_t' If set for a widget, GTK+ will draw a highlight
               on this widget as long as a drag is over this widget and
               the widget drag format and action are acceptable.

          '_d_r_o_p' If set for a widget, when a drop occurs, GTK+ will
               will check if the drag matches this widget's list of
               possible targets and actions. If so,  GTK+ will call
               'gtkDragGetData' on behalf  of the widget. Whether or
               not the drop is successful, GTK+ will call
               'gtkDragFinish'. If the action was a move, then if the
               drag was successful, then 'TRUE' will be passed for the
               'delete' parameter to 'gtkDragFinish'.

          '_a_l_l' If set, specifies that all default actions should be
               taken.


     '_G_t_k_T_a_r_g_e_t_F_l_a_g_s' The 'GtkTargetFlags' enumeration is used to
          specify constraints on an entry in a 'GtkTargetTable'. 

          '_a_p_p' If this is set, the target will only be selected for
               drags within a single application.

          '_w_i_d_g_e_t' If this is set, the target will only be selected for
               drags within a single widget.


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/gtk-Drag-and-Drop.html>

