gtk.tree_drag_source

Module for [TreeDragSource] interface

Types 2

Interface for Drag-and-Drop destinations in [gtk.tree_view.TreeView].

Deprecated

List views use widgets to display their contents.

You can use [gtk.drag_source.DragSource] to implement a drag source

Methods
bool dragDataDelete(gtk.tree_path.TreePath path)Asks the [gtk.treedragsource.TreeDragSource] to delete the row at path, because it was moved somewhere else via drag-and-drop. Returns false if the deletion fails because path no longer exists, or ...
gdk.content_provider.ContentProvider dragDataGet(gtk.tree_path.TreePath path)Asks the [gtk.treedragsource.TreeDragSource] to return a [gdk.content_provider.ContentProvider] representing the row at path. Should robustly handle a path no longer found in the model!
bool rowDraggable(gtk.tree_path.TreePath path)Asks the [gtk.treedragsource.TreeDragSource] whether a particular row can be used as the source of a DND operation. If the source doesn’t implement this interface, the row is assumed draggable.