TreeView.enableModelDragSource

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

Turns tree_view into a drag source for automatic DND. Calling this method sets #GtkTreeView: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