Method

GtkToolPaletteset_drag_source

since: 2.20

Declaration [src]

void
gtk_tool_palette_set_drag_source (
  GtkToolPalette* palette,
  GtkToolPaletteDragTargets targets
)

Description [src]

Sets the tool palette as a drag source. Enables all groups and items in the tool palette as drag sources on button 1 and button 3 press with copy and move actions. See gtk_drag_source_set().

Available since: 2.20

Parameters

targets

Type: GtkToolPaletteDragTargets

The GtkToolPaletteDragTargets which the widget should support.