gtk.tree_drag_source

Module for TreeDragSource interface

Types 2

Methods
bool dragDataDelete(gtk.tree_path.TreePath path)Asks the #GtkTreeDragSource 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 for some model-sp...
bool dragDataGet(gtk.tree_path.TreePath path, gtk.selection_data.SelectionData selectionData)Asks the #GtkTreeDragSource to fill in selection_data with a representation of the row at path. selection_data->target gives the required type of the data. Should robustly handle a path no longer ...
bool rowDraggable(gtk.tree_path.TreePath path)Asks the #GtkTreeDragSource 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.

Fluent builder implementation template for gtk.tree_drag_source.TreeDragSource