enable_drag_source


Description:

public void enable_drag_source (TargetEntry[] src_entries)

Turns Source List into a drag source.

This enables items that implement Granite.Widgets.SourceListDragSource to be dragged outside the Source List and drop data into external widgets.

Parameters:

src_entries

an array of Gtk.TargetEntrys indicating the targets that the drag will support.

Since:

0.3

See also:

Granite.Widgets.SourceListDragSource, Granite.Widgets.SourceList.disable_drag_source




2022 vala-language.org