Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(176afb41-00a4-11d3-9f2a-00400553eef0)]
interface nsIEventQueue : nsIEventTarget

Methods


        
void enterMonitor()

        
[noscript] void eventAvailable(in PRBoolRef aResult)

        
void eventLoop()

        
void exitMonitor()

        
[noscript] PLEventPtr getEvent()

        
[notxpcom] PRInt32 getEventQueueSelectFD()

        
[noscript] PLEventQueuePtr getPLEventQueue()

        
[noscript] void handleEvent(in PLEventPtr aEvent)

        
void init(in boolean aNative)

        
[noscript] void initEvent(in PLEventPtr aEvent, in voidPtr owner, in PLHandleEventProc handler, in PLDestroyEventProc destructor)

        
[noscript] void initFromPLQueue(in PLEventQueuePtr aQueue)

        
[noscript] void initFromPRThread(in PRThreadPtr thread, in boolean aNative)

        
boolean isQueueNative()

        
boolean pendingEvents()

        
[noscript] void postSynchronousEvent(in PLEventPtr aEvent, out voidPtr aResult)

        
void processPendingEvents()
 Revoke events in this event queue and all other event queues
 for this thread that have |owner| as the event owner.
[noscript] void revokeEvents(in voidPtr owner)

        
void stopAcceptingEvents()

        
[noscript] PLEventPtr waitForEvent()