enable_drag_dest


Description:

public void enable_drag_dest (TargetEntry[] dest_entries, DragAction actions)

Turns Source List into a drop destination.

This enables items that implement Granite.Widgets.SourceListDragDest to receive data from external widgets via drag-and-drop.

Parameters:

dest_entries

an array of Gtk.TargetEntrys indicating the drop types that Source List items will accept.

actions

a bitmask of possible actions for a drop onto Source List items.

Since:

0.3

See also:

Granite.Widgets.SourceListDragDest, Granite.Widgets.SourceList.disable_drag_dest