ToolPalette.addDragDest

Sets palette as drag source (see gtk.tool_palette.ToolPalette.setDragSource) and sets widget as a drag destination for drags from palette. See gtk.widget.Widget.dragDestSet.

Parameters

widget gtk.widget.Widget

a #GtkWidget which should be a drag destination for palette

flags gtk.types.DestDefaults

the flags that specify what actions GTK+ should take for drops on that widget

targets gtk.types.ToolPaletteDragTargets

the #GtkToolPaletteDragTargets which the widget should support

actions gdk.types.DragAction

the #GdkDragActions which the widget should suppport