Method

Gtk.TreeView.enable_model_drag_dest

Declaration [src]

void
gtk_tree_view_enable_model_drag_dest (
  GtkTreeView* tree_view,
  GdkContentFormats* formats,
  GdkDragAction actions
)

Description [src]

Turns tree_view into a drop destination for automatic DND. Calling this method sets GtkTreeView:reorderable to FALSE.

Parameters

formats GdkContentFormats*
 

the target formats that the drag will support

 Ownership is not transferred to the callee
actions GdkDragAction
 

the bitmask of possible actions for a drag from this widget