SDL2::DropEvent - File drop event structure
use SDL2 qw[:all]; # TODO: I need to whip up a quick example
A SDL2::DropEvent structure is generated to request a file open by the system. This event is enabled by default, you can disable it with SDL_EventState( ... ).
SDL_EventState( ... )
Note: if this event is enabled, you must free the filename in the event.
type
SDL_DROPBEGIN
SDL_DROPFILE
SDL_DROPTEXT
SDL_DROPCOMPLETE
timestamp
SDL_GetTicks( )
file
windowID
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
Sanko Robinson <sanko@cpan.org>
To install SDL2::FFI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SDL2::FFI
CPAN shell
perl -MCPAN -e shell install SDL2::FFI
For more information on module installation, please visit the detailed CPAN module installation guide.