enableModelDragSource

open fun enableModelDragSource(startButtonMask: <Error class: unknown class>, formats: <Error class: unknown class>, actions: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.ListView or class@Gtk.ColumnView instead

---

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

Parameters

startButtonMask

Mask of allowed buttons to start drag

formats

the target formats that the drag will support

actions

the bitmask of possible actions for a drag from this widget