SDL_EventAction(3type)

SDL_EventAction3type

The type of action to request from sdl_peepevents ().

Usage

#include "SDL3/SDL.h"

typedef enum SDL_EventAction { SDL_ADDEVENT, /**< Add events to the back of the queue. */ SDL_PEEKEVENT, /**< Check but don't remove events from the queue front. */ SDL_GETEVENT /**< Retrieve/remove events from the front of the queue. */ } SDL_EventAction;

Header file

Defined in SDL3/SDL_events.h

Availability

This enum is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.