Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsMenuEvent Class Reference

MenuItem event. More...

#include <nsGUIEvent.h>

Inheritance diagram for nsMenuEvent:
Inheritance graph
Collaboration diagram for nsMenuEvent:
Collaboration graph

List of all members.

Public Member Functions

 nsMenuEvent (PRBool isTrusted, PRUint32 msg, nsIWidget *w)

Public Attributes

PRUint32 mCommand
 Originator of the event.
 Internal platform specific message.
PRUint8 eventStructType
PRUint32 message
nsPoint point
nsPoint refPoint
PRUint32 time
PRUint32 flags
PRUint32 internalAppFlags
nsHashKey * userType

Detailed Description

MenuItem event.

When this event occurs the widget field in nsGUIEvent holds the "target" for the event

Definition at line 829 of file nsGUIEvent.h.

Constructor & Destructor Documentation

nsMenuEvent::nsMenuEvent ( PRBool  isTrusted,
PRUint32  msg,
nsIWidget w 
) [inline]

Definition at line 832 of file nsGUIEvent.h.

    : nsGUIEvent(isTrusted, msg, w, NS_MENU_EVENT),
      mMenuItem(nsnull), mCommand(0)

Member Data Documentation

Definition at line 423 of file nsGUIEvent.h.

PRUint32 nsEvent::flags [inherited]

Definition at line 436 of file nsGUIEvent.h.

Definition at line 438 of file nsGUIEvent.h.

Definition at line 839 of file nsGUIEvent.h.

Definition at line 425 of file nsGUIEvent.h.

Definition at line 838 of file nsGUIEvent.h.

Internal platform specific message.

Definition at line 466 of file nsGUIEvent.h.

nsPoint nsEvent::point [inherited]

Definition at line 428 of file nsGUIEvent.h.

Definition at line 430 of file nsGUIEvent.h.

PRUint32 nsEvent::time [inherited]

Definition at line 433 of file nsGUIEvent.h.

nsHashKey* nsEvent::userType [inherited]

Definition at line 440 of file nsGUIEvent.h.

Originator of the event.

Definition at line 464 of file nsGUIEvent.h.

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