TreeView.enableModelDragDest

void enableModelDragDest(gdk.content_formats.ContentFormats formats, gdk.types.DragAction actions)

Turns tree_view into a drop destination for automatic DND. Calling this method sets [gtk.tree_view.TreeView]:reorderable to false.

Parameters

formatsthe target formats that the drag will support
actionsthe bitmask of possible actions for a drag from this widget

Deprecated

Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead