arsa  2.7
Public Attributes | List of all members
SDL_DropEvent Struct Reference

An event used to request a file open by the system (event.drop.*) This event is enabled by default, you can disable it with SDL_EventState(). More...

#include <SDL_events.h>

Public Attributes

Uint32 type
 
Uint32 timestamp
 
char * file
 
Uint32 windowID
 

Detailed Description

An event used to request a file open by the system (event.drop.*) This event is enabled by default, you can disable it with SDL_EventState().

Note
If this event is enabled, you must free the filename in the event.

Definition at line 487 of file SDL_events.h.

Member Data Documentation

◆ file

char* SDL_DropEvent::file

The file name, which should be freed with SDL_free(), is NULL on begin/complete

Definition at line 491 of file SDL_events.h.

◆ timestamp

Uint32 SDL_DropEvent::timestamp

In milliseconds, populated using SDL_GetTicks()

Definition at line 490 of file SDL_events.h.

◆ type

Uint32 SDL_DropEvent::type

◆ windowID

Uint32 SDL_DropEvent::windowID

The window that was dropped on, if any

Definition at line 492 of file SDL_events.h.


The documentation for this struct was generated from the following file: