Method

Gtk.TreeDragSource.drag_data_delete

Declaration [src]

gboolean
gtk_tree_drag_source_drag_data_delete (
  GtkTreeDragSource* drag_source,
  GtkTreePath* path
)

Description [src]

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!

Parameters

path GtkTreePath
 

row that was being dragged

 The data is owned by the caller of the function

Return value

Returns: gboolean

TRUE if the row was successfully deleted