Macaw OS C reference

Module Drag and drop

#include <macawui.h>

Functions

ondrop
Sets a function to call when files are dropped on your window, from Files or the computer.
canpickfiles
Tells you whether pickfiles works here.
pickfiles
Asks the person to pick files from their computer.
startdrag
Starts dragging files out of your window, to Files, the Trash, the desktop or another program.
putondesktop
Puts an alias of a file, folder, program or game on the desktop.