# GimpUi.ColorArea.prototype.enable_drag

    function enable_drag(drag_mask: Gdk.ModifierType): void {
        // Gjs wrapper for gimp_color_area_enable_drag()
    }

Allows dragging the color displayed with buttons identified by drag_mask. The drag supports targets of type "application/x-color".

Note that setting a drag_mask of 0 disables the drag ability.

drag_mask

  The bitmask of buttons that can start the drag.