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.
PRBool dispatchMenuEvent ( voidPtr* anEvent , PRInt32 nativeResult )
Entry point for native menu events into Gecko.
- anEvent: a native
- nativeResult: the result of ::MenuSelect().
PR_TRUEif event was handled
PR_FALSEif not handled
Reference documentation is generated from Mozilla's source.