.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_pause_event_queue" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_pause_event_queue - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_pause_event_queue(ALLEGRO_EVENT_QUEUE *queue, bool pause) \f[R] .fi .SH DESCRIPTION .PP Pause or resume accepting new events into the event queue (to resume, pass false for \f[V]pause\f[R]). Events already in the queue are unaffected. .PP 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. .SH SEE ALSO .PP al_is_event_queue_paused(3alleg5) .SH SINCE .PP 5.1.0