Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsKeyEvent Class Reference

#include <nsGUIEvent.h>

Inheritance diagram for nsKeyEvent:

nsGUIEvent nsEvent

List of all members.

Detailed Description

Keyboard event

Definition at line 686 of file nsGUIEvent.h.

Public Member Functions

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

Public Attributes

PRUint32 charCode
 OS translated Unicode char.
PRUint8 eventStructType
PRUint32 flags
PRUint32 internalAppFlags
PRBool isAlt
 PR_TRUE indicates the alt key is down.
PRBool isChar
PRBool isControl
 PR_TRUE indicates the control key is down.
PRBool isMeta
 PR_TRUE indicates the meta key is down (or, on Mac, the Command key).
PRBool isShift
 PR_TRUE indicates the shift key is down.
PRUint32 keyCode
 see NS_VK codes
PRUint32 message
void * nativeMsg
 Internal platform specific message.
nsPoint point
nsPoint refPoint
PRUint32 time
nsHashKey * userType
 Originator of the event.

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

Generated by  Doxygen 1.6.0   Back to index