Note

gtk.ToolPalette.set_drag_source

def set_drag_source(targets)

targets :

the GtkToolPaletteDragTargets which the widget should support

Note

This method is available in PyGTK 2.22 and above.

The set_drag_source() method 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.drag_source_set.