TreeDragSourceT

Interface for Drag-and-Drop destinations in GtkTreeView.

Members

Functions

dragDataDelete
bool dragDataDelete(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-specific reason. Should robustly handle a @path no longer found in the model!

dragDataGet
ContentProvider dragDataGet(TreePath path)

Asks the #GtkTreeDragSource to return a #GdkContentProvider representing the row at @path. Should robustly handle a @path no longer found in the model!

getTreeDragSourceStruct
GtkTreeDragSource* getTreeDragSourceStruct(bool transferOwnership)

Get the main Gtk struct

rowDraggable
bool rowDraggable(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.

Meta