set_drag_source


Description:

public void set_drag_source (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 drag_source_set.

Parameters:

this

a ToolPalette

targets

the ToolPaletteDragTargets which the widget should support