get_drag_item


Description:

public unowned Widget get_drag_item (SelectionData selection)

Get the dragged item from the selection.

This could be a ToolItem or a ToolItemGroup.

Parameters:

this

a ToolPalette

selection

a SelectionData

Returns:

the dragged item in selection