al_pause_event_queue(3alleg5)

al_pause_event_queue3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro.h>
void al_pause_event_queue(ALLEGRO_EVENT_QUEUE *queue, bool pause)

Overview

Pause or resume accepting new events into the event queue (to resume, pass false for pause). Events already in the queue are unaffected.

While a queue is paused, any events which would be entered into the queue are simply ignored. This is an alternative to unregistering then re-registering all event sources from the event queue, if you just need to prevent events piling up in the queue for a while.

Since

5.1.0

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.