dwww Home | Manual pages | Find package

SDL_EventState(3)              SDL API Reference             SDL_EventState(3)

NAME
       SDL_EventState  - This function allows you to set the state of process-
       ing certain events.

SYNOPSIS
       #include "SDL.h"

       Uint8 SDL_EventState(Uint8 type, int state);

DESCRIPTION
       This function allows you to set the state of processing  certain  event
       type's.

       If  state  is  set to SDL_IGNORE, that event type will be automatically
       dropped from the event queue and will not be filtered.

       If state is set to SDL_ENABLE, that event type will be  processed  nor-
       mally.

       If  state  is  set to SDL_QUERY, SDL_EventState will return the current
       processing state of the specified event type.

       A list of event type's can be found in the SDL_Event section.

SEE ALSO
       SDL_Event

SDL                         Tue 11 Sep 2001, 22:59           SDL_EventState(3)

Generated by dwww version 1.15 on Sun Jun 23 05:24:29 CEST 2024.