ToolPalette.addDragDest

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

Parameters

widget Widget

a gtk.Widget which should be a drag destination for palette

flags GtkDestDefaults

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

targets GtkToolPaletteDragTargets

the GtkToolPaletteDragTargets which the widget should support

actions GdkDragAction

the GdkDragActions which the widget should suppport

Meta

Since

2.20