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

Inheritance diagram of EventQueue

__init__(*args, **kwargs)
clear()

C++ Interface: clear(const EventQueue self)

/**
  • Empties all events on the queue, throwing them on the floor.

*/

dequeueEvent()

C++ Interface: dequeue_event(const EventQueue self)

/**

*/

dequeue_event()

C++ Interface: dequeue_event(const EventQueue self)

/**

*/

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.

*/

isQueueEmpty()

C++ Interface: is_queue_empty(EventQueue self)

/**

*/

isQueueFull()

C++ Interface: is_queue_full(EventQueue self)

/**
  • @deprecated Always returns false; the queue can never be full.

*/

is_queue_empty()

C++ Interface: is_queue_empty(EventQueue self)

/**

*/

is_queue_full()

C++ Interface: is_queue_full(EventQueue self)

/**
  • @deprecated Always returns false; the queue can never be full.

*/

queueEvent()

C++ Interface: queue_event(const EventQueue self, const Event event)

/**

*/

queue_event()

C++ Interface: queue_event(const EventQueue self, const Event event)

/**

*/