TreeView.enableModelDragSource

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

Turns tree_view into a drag source for automatic DND. Calling this method sets gtk.tree_view.TreeView:reorderable to false.

Parameters

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

Deprecated