ToolPalette.setDragSource

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.

class ToolPalette
void
setDragSource

Parameters

targets gtk.types.ToolPaletteDragTargets

the #GtkToolPaletteDragTargets which the widget should support