Widget.dragBegin

This function is equivalent to [gtk.widget.Widget.dragBeginWithCoordinates], passing -1, -1 as coordinates.

Parameters

targetsThe targets (data formats) in which the source can provide the data
actionsA bitmask of the allowed drag actions for this drag
buttonThe button the user clicked to start the drag
eventThe 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