EventQueue
from panda3d.core import EventQueue
- class EventQueue
Bases:
DTOOL_SUPER_BASE
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
- __init__(*args, **kwargs)
- clear()
C++ Interface: clear(const EventQueue self)
- /**
Empties all events on the queue, throwing them on the floor.
*/
- getGlobalEventQueue()
C++ Interface: get_global_event_queue()
- /**
Returns a pointer to the one global EventQueue object. If the global
object has not yet been created, this will create it.
*/
- get_global_event_queue()
C++ Interface: get_global_event_queue()
- /**
Returns a pointer to the one global EventQueue object. If the global
object has not yet been created, this will create it.
*/
- isQueueFull()
C++ Interface: is_queue_full(EventQueue self)
- /**
@deprecated Always returns false; the queue can never be full.
*/