The DragDrop class / ui.DragDrop methods |
Define the MIME type of the dragged object.
Objects dragged from the program to an external application need to be identified with a MIME type and the program must provide the data. The MIME type can be specified with the setMimeType() method.
The setMimeType() method is typically used in an ON DRAG_START block in conjunction with setBuffer().
By default, the source target will use the text/plain MIME type and copy the data of the selected rows into the Drag & Drop buffer.