IconView.enableModelDragSource

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

Turns icon_view into a drag source for automatic DND. Calling this method sets #GtkIconView:reorderable to false.

Parameters

startButtonMaskMask of allowed buttons to start drag
targetsthe table of targets that the drag will support
actionsthe bitmask of possible actions for a drag from this widget