Difference between revisions of "love.filedropped"
(Created page) |
m (It is DroppedFile) |
||
Line 7: | Line 7: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param| | + | {{param|DroppedFile|file|The unopened File object representing the file that was dropped.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Revision as of 07:31, 10 December 2018
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Callback function triggered when a file is dragged and dropped onto the window.
Function
Synopsis
love.filedropped( file )
Arguments
DroppedFile file
- The unopened File object representing the file that was dropped.
Returns
Nothing.
Notes
File:open must be called on the file before reading from or writing to it. File:getFilename will return the full platform-dependent path to the file.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info