Method

GtkTreeDragDestrow_drop_possible

Declaration [src]

gboolean
gtk_tree_drag_dest_row_drop_possible (
  GtkTreeDragDest* drag_dest,
  GtkTreePath* dest_path,
  GtkSelectionData* selection_data
)

Description [src]

Determines whether a drop is possible before the given dest_path, at the same depth as dest_path. i.e., can we drop the data in selection_data at that location. dest_path does not have to exist; the return value will almost certainly be FALSE if the parent of dest_path doesn’t exist, though.

Parameters

dest_path

Type: GtkTreePath

Destination row.

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

Type: GtkSelectionData

The data being dragged.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if a drop is possible before dest_path.