Widget.dragSourceSet

void dragSourceSet(gdk.types.ModifierType startButtonMask, gtk.target_entry.TargetEntry[] targets, gdk.types.DragAction actions)

Sets up a widget so that GTK+ will start a drag operation when the user clicks and drags on the widget. The widget must have a window.

Parameters

startButtonMaskthe bitmask of buttons that can start the drag
targetsthe table of targets that the drag will support, may be null
actionsthe bitmask of possible actions for a drag from this widget