|
__init__(self)
Maintain events received from browser. |
|
|
|
pump(self)
Process events to reduce queue overflow, unnecessary if processing with other methods. |
|
|
|
get(self,
eventType=None)
Return list of events, and queue is reset.
Optional eventType argument of single or list of event type(s) to return. |
|
|
|
poll(self)
Return an event from the queue, or event type NOEVENT if none present. |
|
|
|
wait(self)
Return an event from the queue. |
|
|
|
peek(self,
eventType=None)
Check if an event of given type is present.
Optional eventType argument specifies event type or list, which defaults to all. |
|
|
|
clear(self,
eventType=None)
Remove events of a given type from queue.
Optional eventType argument specifies event type or list, which defaults to all. |
|
|
|
event_name(self,
eventType)
Return event name of a event type. |
|
|
|
set_blocked(self,
eventType)
Block specified event type(s) from queue. |
|
|
|
set_allowed(self,
eventType)
Set allowed event type(s) on queue. |
|
|
|
get_blocked(self,
eventType)
Check if specified event type is blocked from queue. |
|
|
|
post(self,
event)
Post event to queue. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|