data_received


Description:

public abstract DragAction data_received (DragContext context, SelectionData data)

If a data drop is deemed possible, then this method is called when the data is actually dropped into this item. Any actions consequence of the data received should be handled here.

Parameters:

context

The drag context.

data

Gtk.SelectionData containing source data.

Returns:

The action taken, or 0 to indicate that the dropped data was not accepted.

Since:

0.3




2022 vala-language.org