ToolPalette.addDragDest
void addDragDest(gtk.widget.Widget widget, gtk.types.DestDefaults flags, gtk.types.ToolPaletteDragTargets targets, gdk.types.DragAction actions)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 | a #GtkWidget which should be a drag destination for palette |
flags | the flags that specify what actions GTK+ should take for drops on that widget |
targets | the #GtkToolPaletteDragTargets which the widget should support |
actions | the #GdkDragActions which the widget should suppport |