Method

GimpUiResourceSelectButtonset_drag_target

Declaration [src]

void
gimp_resource_select_button_set_drag_target (
  GimpResourceSelectButton* self,
  GtkWidget* drag_region_widget,
  const GtkTargetEntry* drag_target
)

Description [src]

Called by a subclass init to specialize the instance.

Subclass knows its interior widget whose region is a drop zone. Subclass knows what things can be dropped (target.) Self (super) handles the drop.

Available since:3.0

Parameters

drag_region_widget GtkWidget
 

An interior widget to be a droppable region and emit “drag-data-received” signal.

 The data is owned by the caller of the function.
drag_target GtkTargetEntry
 

The drag target to accept.

 The data is owned by the caller of the function.