gdk-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:

     'gdkDragGetSelection(object)'
      'gdkDragAbort(object, time)'
      'gdkDropReply(object, ok, time = "GDK_CURRENT_TIME")'
      'gdkDragContextNew()'
      'gdkDragDrop(object, time)'
      'gdkDragFindWindow(object, drag.window, x.root, y.root)'
      'gdkDragFindWindowForScreen(object, drag.window, screen, x.root,
     y.root)'
      'gdkDragBegin(object, targets)'
      'gdkDragMotion(object, dest.window, protocol, x.root, y.root,
     suggested.action, possible.actions, time)'
      'gdkDropFinish(object, success, time = "GDK_CURRENT_TIME")'
      'gdkDragGetProtocol(xid)'
      'gdkDragGetProtocolForDisplay(display, xid)'
      'gdkDragStatus(object, action, time = "GDK_CURRENT_TIME")'
      'gdkDragDropSucceeded(object)'
      'gdkDragContext()'

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

     These functions provide a low level interface for drag and drop.
     The X backend of GDK supports both the Xdnd and Motif drag and
     drop protocols  transparently, the Win32 backend supports the
     WM_DROPFILES protocol.

     GTK+ provides a higher level abstraction based on top of these
     functions, and so they are not normally needed in GTK+
     applications. See the Drag and Drop section of the GTK+
     documentation for more information.

_S_t_r_u_c_t_u_r_e_s:


     '_G_d_k_D_r_a_g_C_o_n_t_e_x_t' A 'GdkDragContext' holds information about a 
          drag in progress. It is used on both source and destination
          sides.

          '_p_r_o_t_o_c_o_l' ['GdkDragProtocol'] the parent instance

          '_i_s_S_o_u_r_c_e' [logical] the DND protocol which governs this
               drag.

          '_s_o_u_r_c_e_W_i_n_d_o_w' ['GdkWindow'] 'TRUE' if the context is used on
               the source side.

          '_d_e_s_t_W_i_n_d_o_w' ['GdkWindow'] the source of this drag.

          '_t_a_r_g_e_t_s' [list] the destination window of this drag.

          '_a_c_t_i_o_n_s' ['GdkDragAction'] a list of targets offered by the
               source.

          '_s_u_g_g_e_s_t_e_d_A_c_t_i_o_n' ['GdkDragAction'] a bitmask of actions
               proposed by the source when  'suggested.action' is
               'GDK_ACTION_ASK'.

          '_a_c_t_i_o_n' ['GdkDragAction'] the action suggested by the
               source.

          '_s_t_a_r_t_T_i_m_e' [numeric] the action chosen by the destination.


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gdkDragContext' is the equivalent of 'gdkDragContextNew'.

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


     '_G_d_k_D_r_a_g_P_r_o_t_o_c_o_l' Used in 'GdkDragContext' to indicate the
          protocol according to which DND is done.

          '_m_o_t_i_f' The Motif DND protocol.

          '_x_d_n_d' The Xdnd protocol.

          '_r_o_o_t_w_i_n' An extension to the Xdnd protocol for unclaimed
               root window drops.

          '_n_o_n_e' no protocol.

          '_w_i_n_3_2-_d_r_o_p_f_i_l_e_s' The simple WM_DROPFILES protocol.

          '_o_l_e_2' The complex OLE2 DND protocol (not implemented).

          '_l_o_c_a_l' Intra-application DND.


     '_G_d_k_D_r_a_g_A_c_t_i_o_n' Used in 'GdkDragContext' to indicate what the
          destination should do with the dropped data.

          '_d_e_f_a_u_l_t' Means nothing, and should not be used.

          '_c_o_p_y' Copy the data.

          '_m_o_v_e' Move the data, i.e. first copy it, then delete it from
               the source using the DELETE target of the X selection
               protocol.

          '_l_i_n_k' Add a link to the data. Note that this is only useful
               if source and destination agree on what it means.

          '_p_r_i_v_a_t_e' Special action which tells the source that the
               destination will do something that the source doesn't
               understand.

          '_a_s_k' Ask the user what to do with the data.


_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/gdk/gdk-Drag-and-Drop.html>

