TreeView.enableModelDragSource

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

Parameters

startButtonMask GdkModifierType

Mask of allowed buttons to start drag

formats ContentFormats

the target formats that the drag will support

actions GdkDragAction

the bitmask of possible actions for a drag from this widget

Meta