Widget.dragBegin
gdk.drag_context.DragContext dragBegin(gtk.target_list.TargetList targets, gdk.types.DragAction actions, int button, gdk.event.Event event = null)This function is equivalent to [gtk.widget.Widget.dragBeginWithCoordinates], passing -1, -1 as coordinates.
Parameters
targets | The targets (data formats) in which the source can provide the data |
actions | A bitmask of the allowed drag actions for this drag |
button | The button the user clicked to start the drag |
event | The event that triggered the start of the drag, or null if none can be obtained. |
Returns
the context for this drag
Deprecated
Use [gtk.widget.Widget.dragBeginWithCoordinates] instead