nsPIEventSinkStandalone

IID:912fa496-91ab-4bba-b502-524218ffb1b1
Inherits From:nsISupports

The nsPIEventSinkStandalone is implemented internally by Gecko as the conduit through which native menu events travel into Gecko. You obtain an event sink by QI'ing the top-level nsIWidget, usually a window.

This api extends nsIEventSink for events that the stand-alone mozilla client needs but embedding does not. It is not intended to be public.


Methods

PRBool dispatchMenuEvent ( voidPtr* anEvent , PRInt32 nativeResult )

PRBool dispatchMenuEvent ( voidPtr* anEvent , PRInt32 nativeResult )

Entry point for native menu events into Gecko.

Arguments:
anEvent: a native EventRecord*.
nativeResult: the result of ::MenuSelect().
Returns:
PR_TRUE if event was handled PR_FALSE if not handled

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com