IconView.enableModelDragSource

void enableModelDragSource(gdk.types.ModifierType startButtonMask, gdk.content_formats.ContentFormats formats, gdk.types.DragAction actions)

Turns icon_view into a drag source for automatic DND. Calling this method sets [gtk.icon_view.IconView]:reorderable to false.

Parameters

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

Deprecated

Use [gtk.grid_view.GridView] instead