Method
GtkToolPaletteadd_drag_dest
since: 2.20
Declaration [src]
void
gtk_tool_palette_add_drag_dest (
GtkToolPalette* palette,
GtkWidget* widget,
GtkDestDefaults flags,
GtkToolPaletteDragTargets targets,
GdkDragAction actions
)
Description [src]
Sets palette as drag source (see gtk_tool_palette_set_drag_source())
and sets widget as a drag destination for drags from palette.
See gtk_drag_dest_set().
Available since: 2.20
Parameters
widget-
Type:
GtkWidgetA
GtkWidgetwhich should be a drag destination forpalette.The data is owned by the caller of the method. flags-
Type:
GtkDestDefaultsThe flags that specify what actions GTK+ should take for drops on that widget.
targets-
Type:
GtkToolPaletteDragTargetsThe
GtkToolPaletteDragTargetswhich the widget should support. actions-
Type:
GdkDragActionThe
GdkDragActionswhich the widget should suppport.