Method

GtkWidgetdrag_source_set_target_list

Declaration [src]

void
gtk_drag_source_set_target_list (
  GtkWidget* widget,
  GtkTargetList* target_list
)

Description [src]

Changes the target types that this widget offers for drag-and-drop. The widget must first be made into a drag source with gtk_drag_source_set().

Available since:2.4

Parameters

target_list GtkTargetList
 

List of draggable targets, or NULL for none.

 The argument can be NULL.
 The data is owned by the caller of the function.