# GimpUi.ResourceChooser.prototype.set_drag_target

    function set_drag_target(drag_region_widget: Gtk.Widget, drag_target: Gtk.TargetEntry): void {
        // Gjs wrapper for gimp_resource_chooser_set_drag_target()
    }

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.

Since 3.0

drag_region_widget

  An interior widget to be a droppable region and emit "drag-data-received" signal

drag_target

  The drag target to accept