chickadee » sdl2 » drop-event-file

drop-event-file eventprocedure
set! (drop-event-file event) valsetter
drop-event-file-set! event valsetter

Get or set the event's "file" field, as a string whose meaning depends on the event type:

  • drop-file: the path to a file that the user requested to be opened
  • drop-text: the text that the user dragged and dropped
  • drop-begin: #f
  • drop-complete: #f