Back to index

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

Mouse event. More...

#include <nsGUIEvent.h>

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

List of all members.

Public Types

enum  reasonType { eReal, eSynthesized }

Public Member Functions

 nsMouseEvent (PRBool isTrusted, PRUint32 msg, nsIWidget *w, reasonType aReason)

Public Attributes

PRUint32 clickCount
 The number of mouse clicks.
PRPackedBool acceptActivation
 Special return code for MOUSE_ACTIVATE to signal if the target accepts activation (1), or denies it (0)
reasonType reason: 8
PRBool isShift
 PR_TRUE indicates the shift key is down.
PRBool isControl
 PR_TRUE indicates the control key is down.
PRBool isAlt
 PR_TRUE indicates the alt key is down.
PRBool isMeta
 PR_TRUE indicates the meta key is down (or, on Mac, the Command key)
nsIWidgetwidget
 Originator of the event.
voidnativeMsg
 Internal platform specific message.
PRUint8 eventStructType
PRUint32 message
nsPoint point
nsPoint refPoint
PRUint32 time
PRUint32 flags
PRUint32 internalAppFlags
nsHashKey * userType

Detailed Description

Mouse event.

Definition at line 643 of file nsGUIEvent.h.


Member Enumeration Documentation

Enumerator:
eReal 
eSynthesized 

Definition at line 646 of file nsGUIEvent.h.


Constructor & Destructor Documentation

nsMouseEvent::nsMouseEvent ( PRBool  isTrusted,
PRUint32  msg,
nsIWidget w,
reasonType  aReason 
) [inline]

Definition at line 648 of file nsGUIEvent.h.


Member Data Documentation

Special return code for MOUSE_ACTIVATE to signal if the target accepts activation (1), or denies it (0)

Definition at line 662 of file nsGUIEvent.h.

The number of mouse clicks.

Definition at line 659 of file nsGUIEvent.h.

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.

PR_TRUE indicates the alt key is down.

Definition at line 634 of file nsGUIEvent.h.

PR_TRUE indicates the control key is down.

Definition at line 632 of file nsGUIEvent.h.

PR_TRUE indicates the meta key is down (or, on Mac, the Command key)

Definition at line 636 of file nsGUIEvent.h.

PR_TRUE indicates the shift key is down.

Definition at line 630 of file nsGUIEvent.h.

Definition at line 425 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 663 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: