EventQueue

from panda3d.core import EventQueue
class EventQueue

Bases:

A queue of pending events. As events are thrown, they are added to this queue; eventually, they will be extracted out again by an EventHandler and processed.

Inheritance diagram

Inheritance diagram of EventQueue

__init__()
clear()

Empties all events on the queue, throwing them on the floor.

dequeue_event() Event
static get_global_event_queue() EventQueue

Returns a pointer to the one global EventQueue object. If the global object has not yet been created, this will create it.

is_queue_empty() bool
is_queue_full() bool

Deprecated: Always returns false; the queue can never be full.

queue_event(event: Event)