Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIMenuListener Class Reference

Menu event listener This interface should only be implemented by the menu manager These are registered with nsWindows to recieve menu events. More...

#include <nsIMenuListener.h>

Inheritance diagram for nsIMenuListener:
Inheritance graph
[legend]
Collaboration diagram for nsIMenuListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual nsEventStatus MenuItemSelected (const nsMenuEvent &aMenuEvent)=0
 Processes a menu item selected event.
virtual nsEventStatus MenuSelected (const nsMenuEvent &aMenuEvent)=0
 Processes a menu selected event.
virtual nsEventStatus MenuDeselected (const nsMenuEvent &aMenuEvent)=0
 Processes a menu deselect event.
virtual nsEventStatus MenuConstruct (const nsMenuEvent &aMenuEvent, nsIWidget *aParentWindow, void *aNode, void *aDocShell)=0
virtual nsEventStatus MenuDestruct (const nsMenuEvent &aMenuEvent)=0
virtual nsEventStatus CheckRebuild (PRBool &aMenuEvent)=0
virtual nsEventStatus SetRebuild (PRBool aMenuEvent)=0

Detailed Description

Menu event listener This interface should only be implemented by the menu manager These are registered with nsWindows to recieve menu events.

Definition at line 58 of file nsIMenuListener.h.


Member Function Documentation

virtual nsEventStatus nsIMenuListener::CheckRebuild ( PRBool aMenuEvent) [pure virtual]
virtual nsEventStatus nsIMenuListener::MenuConstruct ( const nsMenuEvent aMenuEvent,
nsIWidget aParentWindow,
void aNode,
void aDocShell 
) [pure virtual]
virtual nsEventStatus nsIMenuListener::MenuDeselected ( const nsMenuEvent aMenuEvent) [pure virtual]

Processes a menu deselect event.

Parameters:
aMenuEventSee nsGUIEvent.h
Returns:
whether the event was consumed or ignored. See nsEventStatus

Implemented in nsMenuX, nsMenuBarX, nsMenuItemX, nsMenuBarX, nsMenuItemX, and nsMenuX.

virtual nsEventStatus nsIMenuListener::MenuDestruct ( const nsMenuEvent aMenuEvent) [pure virtual]
virtual nsEventStatus nsIMenuListener::MenuItemSelected ( const nsMenuEvent aMenuEvent) [pure virtual]

Processes a menu item selected event.

Parameters:
aMenuEventSee nsGUIEvent.h
Returns:
whether the event was consumed or ignored. See nsEventStatus

Implemented in nsMenuX, nsMenuBarX, nsMenuItemX, nsMenuBarX, nsMenuItemX, and nsMenuX.

virtual nsEventStatus nsIMenuListener::MenuSelected ( const nsMenuEvent aMenuEvent) [pure virtual]

Processes a menu selected event.

Parameters:
aMenuEventSee nsGUIEvent.h
Returns:
whether the event was consumed or ignored. See nsEventStatus

Implemented in nsMenuX, nsMenuBarX, nsMenuItemX, nsMenuBarX, nsMenuItemX, and nsMenuX.

Here is the caller graph for this function:

virtual nsEventStatus nsIMenuListener::SetRebuild ( PRBool  aMenuEvent) [pure virtual]

The documentation for this class was generated from the following file: