Function

Gtktree_set_row_drag_data

Declaration [src]

gboolean
gtk_tree_set_row_drag_data (
  GtkSelectionData* selection_data,
  GtkTreeModel* tree_model,
  GtkTreePath* path
)

Description [src]

Sets selection data of target type GTK_TREE_MODEL_ROW. Normally used in a drag_data_get handler.

Parameters

selection_data GtkSelectionData
 

Some GtkSelectionData.

 The data is owned by the caller of the function.
tree_model GtkTreeModel
 

A GtkTreeModel.

 The data is owned by the caller of the function.
path GtkTreePath
 

A row in tree_model.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the GtkSelectionData had the proper target type to allow us to set a tree row.