ToolPalette.setDragSource

void setDragSource(gtk.types.ToolPaletteDragTargets targets)

Sets the tool palette as a drag source. Enables all groups and items in the tool palette as drag sources on button 1 and button 3 press with copy and move actions. See [gtk.widget.Widget.dragSourceSet].

Parameters

targetsthe #GtkToolPaletteDragTargets which the widget should support