x-dnd-choose-type

x-dnd-choose-type is a compiled Lisp function in `x-dnd.el'.

(x-dnd-choose-type TYPES &optional KNOWN-TYPES)

Choose which type we want to receive for the drop.
TYPES are the types the source of the drop offers, a vector of type names
as strings or symbols. Select among the types in `x-dnd-known-types' or
KNOWN-TYPES if given, and return that type name.
If no suitable type is found, return nil.