Method

GtkWidgetdrag_dest_set_target_list

Declaration [src]

void
gtk_drag_dest_set_target_list (
  GtkWidget* widget,
  GtkTargetList* target_list
)

Description [src]

Sets the target types that this widget can accept from drag-and-drop. The widget must first be made into a drag destination with gtk_drag_dest_set().

Parameters

target_list

Type: GtkTargetList

List of droppable targets, or NULL for none.

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