Method

Gtk.TreeDragSource.drag_data_get

Declaration [src]

GdkContentProvider*
gtk_tree_drag_source_drag_data_get (
  GtkTreeDragSource* drag_source,
  GtkTreePath* path
)

Description [src]

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

Parameters

path GtkTreePath
 

row that was dragged

 The data is owned by the caller of the function

Return value

Returns: GdkContentProvider*

a GdkContentProvider for the given path or NULL if none exists

The caller of the function takes ownership of the data, and is responsible for freeing it
Can be NULL