nsIAppShell

IID:a0757c31-eeac-11d1-9ec1-00aa002fb821
Inherits From:nsISupports

Methods

void Create ( inout int argc , inout char* argv ) void DispatchNativeEvent ( PRBool realEvent , voidPtr* event ) void Exit ( ) void GetNativeEvent ( PRBoolRef realEvent , voidPtrRef event ) void ListenToEventQueue ( nsIEventQueue queue , PRBool listen ) void Run ( ) void Spindown ( ) void Spinup ( )

void Create ( inout int argc , inout char* argv )

Creates an application shell

Arguments:
argc
argv

void DispatchNativeEvent ( PRBool realEvent , voidPtr* event )

After event dispatch execute app specific code

Arguments:
realEvent
event

void Exit ( )

Exit the handle event loop


void GetNativeEvent ( PRBoolRef realEvent , voidPtrRef event )

After event dispatch execute app specific code

Arguments:
realEvent
event

void ListenToEventQueue ( nsIEventQueue queue , PRBool listen )

An event queue has been created or destroyed. Hook or unhook it from your system, as necessary.

Arguments:
queue: the queue in question
listen: PR_TRUE for a new queue wanting hooking up. PR_FALSE for a queue wanting to be unhooked.

void Run ( )

Enter an event loop. Don't leave until application exits.


void Spindown ( )

Prepare to stop processing events.


void Spinup ( )

Prepare to process events.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com