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
EventHandlerand processed.Inheritance diagram
digraph inheritancefca950192f { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "EventQueue" [URL="acron.core.EventQueue.html#acron.core.EventQueue",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "EventQueue" [arrowsize=0.75,style=""]; }- EventQueue.__init__()¶
- EventQueue.clear()¶
Empties all events on the queue, throwing them on the floor.
- EventQueue.dequeue_event()¶
- static EventQueue.get_global_event_queue()¶
Returns a pointer to the one global
EventQueueobject. If the global object has not yet been created, this will create it.
- EventQueue.is_queue_empty()¶
- EventQueue.is_queue_full()¶
Deprecated: Always returns false; the queue can never be full.
- EventQueue.queue_event()¶