panda3d.core.EventQueue

class EventQueue

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__() → None
queueEvent(event: Event) → None
clear() → None

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

isQueueEmpty() → bool
isQueueFull() → bool

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

dequeueEvent() → Event
Return type

Event

static getGlobalEventQueue() → EventQueue

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

Return type

EventQueue