Back to index

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

App Command event. More...

#include <nsGUIEvent.h>

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

List of all members.

Public Member Functions

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

Public Attributes

PRUint32 appCommand
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

App Command event.

Custom commands from the operating system. eg. WM_APPCOMMAND on Windows

Definition at line 882 of file nsGUIEvent.h.


Constructor & Destructor Documentation

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

Definition at line 885 of file nsGUIEvent.h.

    : nsInputEvent(isTrusted, msg, w, NS_APPCOMMAND_EVENT),
      appCommand(0)
  {
  }

Member Data Documentation

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