Method
GtkWidgetdrag_begin
deprecated: 3.10
Declaration [src]
GdkDragContext*
gtk_drag_begin (
  GtkWidget* widget,
  GtkTargetList* targets,
  GdkDragAction actions,
  gint button,
  GdkEvent* event
)
      Description [src]
This function is equivalent to gtk_drag_begin_with_coordinates(), passing -1, -1 as coordinates.
Deprecated since: 3.10
Use gtk_drag_begin_with_coordinates() instead.
Parameters
targets- 
            
Type:
GtkTargetListThe targets (data formats) in which the source can provide the data.
The data is owned by the caller of the method.  actions- 
            
Type:
GdkDragActionA bitmask of the allowed drag actions for this drag.
 button- 
            
Type:
gintThe button the user clicked to start the drag.
 event- 
            
Type:
GdkEventThe event that triggered the start of the drag, or
NULLif none can be obtained.The argument can be NULL.The data is owned by the caller of the method.  
Return value
Type: GdkDragContext
The context for this drag.
| The returned data is owned by the instance. |