enable_drag_source

@accepts(Gtk.TargetEntry, gint)
@returns(none)
def enable_drag_source(targets, n_targets)

Enables the entry view to act as a data source for drag an drop operations, using a specified set of data targets.

targets :

an array of GtkTargetEntry structures defining the drag data targets

n_targets :

the number of entries in the target array