enable_model_drag_source


Description:

public void enable_model_drag_source (ModifierType start_button_mask, ContentFormats formats, DragAction actions)

Turns this into a drag source for automatic DND.

Note:

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

Calling this method sets `GtkTreeView`reorderable to false.

Parameters:

this

a `GtkTreeView`

start_button_mask

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