SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_DropEvent Struct Reference

SDL_DropEvent Struct Reference

An event used to request a file open by the system (event.drop. More...

#include <SDL_events.h>

Data Fields

Uint32 type
 SDL_DROPFILE
char * file
 The file name, which should be freed with SDL_free()

Detailed Description

An event used to request a file open by the system (event.drop.

*) This event is disabled by default, you can enable it with SDL_EventState()

Note:
If you enable this event, you must free the filename in the event.

Definition at line 439 of file SDL_events.h.


Field Documentation

char* file

The file name, which should be freed with SDL_free()

Definition at line 443 of file SDL_events.h.

SDL_DROPFILE

Definition at line 441 of file SDL_events.h.