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: GtkWidget

A GtkWidget which should be a drag destination for palette.

The data is owned by the caller of the method.
flags

Type: GtkDestDefaults

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

targets

Type: GtkToolPaletteDragTargets

The GtkToolPaletteDragTargets which the widget should support.

actions

Type: GdkDragAction

The GdkDragActions which the widget should suppport.