Method

GtkToolPaletteget_drag_item

since: 2.20

Declaration [src]

GtkWidget*
gtk_tool_palette_get_drag_item (
  GtkToolPalette* palette,
  const GtkSelectionData* selection
)

Description [src]

Get the dragged item from the selection. This could be a GtkToolItem or a GtkToolItemGroup.

Available since: 2.20

Parameters

selection

Type: GtkSelectionData

A GtkSelectionData.

The data is owned by the caller of the method.

Return value

Type: GtkWidget

The dragged item in selection.

The returned data is owned by the instance.