DropTargetAsync.setFormats

void setFormats(gdk.content_formats.ContentFormats formats = null)

Sets the data formats that this drop target will accept.

Parameters

formatsthe supported data formats or null for any format