Virtual Method

GtkTreeDragSourcedrag_data_get

Declaration [src]

gboolean
drag_data_get (
  GtkTreeDragSource* drag_source,
  GtkTreePath* path,
  GtkSelectionData* selection_data
)

Description [src]

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 found in the model!

Parameters

path

Type: GtkTreePath

Row that was dragged.

The data is owned by the caller of the method.
selection_data

Type: GtkSelectionData

A GtkSelectionData to fill with data from the dragged row.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if data of the required type was provided.