Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
nsGUIEvent.h File Reference
#include "nsPoint.h"
#include "nsRect.h"
#include "nsEvent.h"
#include "nsHashtable.h"
#include "nsString.h"
#include "nsCOMPtr.h"
#include "nsIDOMKeyEvent.h"
#include "nsWeakPtr.h"

Go to the source code of this file.

Classes

class  nsEvent
 General event. More...
class  nsGUIEvent
 General graphic user interface event. More...
class  nsScriptErrorEvent
 Script error event. More...
class  nsBeforePageUnloadEvent
class  nsSizeEvent
 Window resize event. More...
class  nsSizeModeEvent
 Window size mode event. More...
class  nsZLevelEvent
 Window z-level event. More...
class  nsPaintEvent
 Window repaint event. More...
class  nsScrollbarEvent
 Scrollbar event. More...
class  nsScrollPortEvent
class  nsInputEvent
class  nsMouseEvent
 Mouse event. More...
class  nsAccessibleEvent
 Accessible event. More...
class  nsKeyEvent
 Keyboard event. More...
struct  nsTextRange
 IME Related Events. More...
struct  nsTextEventReply
class  nsTextEvent
class  nsCompositionEvent
class  nsMouseScrollEvent
struct  nsReconversionEventReply
class  nsReconversionEvent
struct  nsQueryCaretRectEventReply
class  nsQueryCaretRectEvent
class  nsMenuEvent
 MenuItem event. More...
class  nsFormEvent
 Form event. More...
class  nsFocusEvent
 Focus event. More...
class  nsAppCommandEvent
 App Command event. More...
class  nsPopupBlockedEvent
 blocked popup window event More...
class  nsUIEvent
 DOM UIEvent. More...
class  nsPageTransitionEvent
 PageTransition event. More...
class  nsXULCommandEvent
 XUL command event. More...

Defines

#define NS_EVENT   1
 Event Struct Types.
#define NS_GUI_EVENT   2
#define NS_SIZE_EVENT   3
#define NS_SIZEMODE_EVENT   4
#define NS_ZLEVEL_EVENT   5
#define NS_PAINT_EVENT   6
#define NS_SCROLLBAR_EVENT   7
#define NS_INPUT_EVENT   8
#define NS_KEY_EVENT   9
#define NS_MOUSE_EVENT   10
#define NS_MENU_EVENT   11
#define NS_SCRIPT_ERROR_EVENT   12
#define NS_TEXT_EVENT   13
#define NS_COMPOSITION_EVENT   14
#define NS_RECONVERSION_EVENT   15
#define NS_MOUSE_SCROLL_EVENT   16
#define NS_SCROLLPORT_EVENT   18
#define NS_MUTATION_EVENT   19
#define NS_ACCESSIBLE_EVENT   20
#define NS_FORM_EVENT   21
#define NS_FOCUS_EVENT   22
#define NS_POPUP_EVENT   23
#define NS_APPCOMMAND_EVENT   24
#define NS_POPUPBLOCKED_EVENT   25
#define NS_BEFORE_PAGE_UNLOAD_EVENT   26
#define NS_UI_EVENT   27
#define NS_QUERYCARETRECT_EVENT   28
#define NS_PAGETRANSITION_EVENT   29
#define NS_XUL_COMMAND_EVENT   32
#define NS_EVENT_FLAG_NONE   0x0000
#define NS_EVENT_FLAG_INIT   0x0001
#define NS_EVENT_FLAG_BUBBLE   0x0002
#define NS_EVENT_FLAG_CAPTURE   0x0004
#define NS_EVENT_FLAG_STOP_DISPATCH   0x0008
#define NS_EVENT_FLAG_NO_DEFAULT   0x0010
#define NS_EVENT_FLAG_CANT_CANCEL   0x0020
#define NS_EVENT_FLAG_CANT_BUBBLE   0x0040
#define NS_PRIV_EVENT_FLAG_SCRIPT   0x0080
#define NS_EVENT_FLAG_NO_CONTENT_DISPATCH   0x0100
#define NS_EVENT_FLAG_SYSTEM_EVENT   0x0200
#define NS_EVENT_FLAG_STOP_DISPATCH_IMMEDIATELY   0x0400
#define NS_EVENT_FLAG_DISPATCHING   0x0800
#define NS_PRIV_EVENT_UNTRUSTED_PERMITTED   0x8000
#define NS_EVENT_CAPTURE_MASK   (~(NS_EVENT_FLAG_INIT | NS_EVENT_FLAG_BUBBLE | NS_EVENT_FLAG_NO_CONTENT_DISPATCH))
#define NS_EVENT_BUBBLE_MASK   (~(NS_EVENT_FLAG_INIT | NS_EVENT_FLAG_CAPTURE | NS_EVENT_FLAG_NO_CONTENT_DISPATCH))
#define NS_APP_EVENT_FLAG_NONE   0x00000000
#define NS_APP_EVENT_FLAG_HANDLED   0x00000001
#define NS_APP_EVENT_FLAG_TRUSTED   0x00000002
#define NS_EVENT_TYPE_NULL   0
#define NS_MOUSE_SCROLL_START   1600
#define NS_MOUSE_SCROLL   (NS_MOUSE_SCROLL_START)
#define NS_SCROLLPORT_START   1700
#define NS_SCROLLPORT_UNDERFLOW   (NS_SCROLLPORT_START)
#define NS_SCROLLPORT_OVERFLOW   (NS_SCROLLPORT_START+1)
#define NS_SCROLLPORT_OVERFLOWCHANGED   (NS_SCROLLPORT_START+2)
#define NS_ACCESSIBLE_START   1900
#define NS_GETACCESSIBLE   (NS_ACCESSIBLE_START)
#define NS_USER_DEFINED_EVENT   2000
#define NS_APPCOMMAND_START   2100
#define NS_APPCOMMAND   (NS_APPCOMMAND_START)
#define NS_APPCOMMAND_BACK   (NS_APPCOMMAND_START + 1)
#define NS_APPCOMMAND_FORWARD   (NS_APPCOMMAND_START + 2)
#define NS_APPCOMMAND_REFRESH   (NS_APPCOMMAND_START + 3)
#define NS_APPCOMMAND_STOP   (NS_APPCOMMAND_START + 4)
#define NS_APPCOMMAND_SEARCH   (NS_APPCOMMAND_START + 5)
#define NS_APPCOMMAND_FAVORITES   (NS_APPCOMMAND_START + 6)
#define NS_APPCOMMAND_HOME   (NS_APPCOMMAND_START + 7)
#define NS_COMPOSITION_EVENT_START   2200
#define NS_COMPOSITION_START   (NS_COMPOSITION_EVENT_START)
#define NS_COMPOSITION_END   (NS_COMPOSITION_EVENT_START + 1)
#define NS_COMPOSITION_QUERY   (NS_COMPOSITION_EVENT_START + 2)
#define NS_RECONVERSION_START   2300
#define NS_RECONVERSION_QUERY   (NS_RECONVERSION_START)
#define NS_TEXT_START   2400
#define NS_TEXT_TEXT   (NS_TEXT_START)
#define NS_UI_EVENT_START   2500
#define NS_UI_ACTIVATE   (NS_UI_EVENT_START)
#define NS_UI_FOCUSIN   (NS_UI_EVENT_START + 1)
#define NS_UI_FOCUSOUT   (NS_UI_EVENT_START + 2)
#define NS_QUERYCARETRECT_START   2600
#define NS_QUERYCARETRECT   (NS_QUERYCARETRECT_START)
#define NS_PAGETRANSITION_START   2700
#define NS_PAGE_SHOW   (NS_PAGETRANSITION_START + 1)
#define NS_PAGE_HIDE   (NS_PAGETRANSITION_START + 2)
#define NS_XULCOMMAND_EVENT_START   3000
#define NS_XUL_COMMAND   (NS_XULCOMMAND_EVENT_START)
#define NS_IS_MOUSE_EVENT(evnt)
#define NS_IS_DRAG_EVENT(evnt)
#define NS_IS_KEY_EVENT(evnt)
#define NS_IS_IME_EVENT(evnt)
#define NS_IS_FOCUS_EVENT(evnt)
#define NS_IS_TRUSTED_EVENT(event)   (((event)->internalAppFlags & NS_APP_EVENT_FLAG_TRUSTED) != 0)
#define NS_MARK_EVENT_DISPATCH_STARTED(event)   (event)->flags |= NS_EVENT_FLAG_DISPATCHING;
#define NS_IS_EVENT_IN_DISPATCH(event)   (((event)->flags & NS_EVENT_FLAG_DISPATCHING) != 0)
#define NS_MARK_EVENT_DISPATCH_DONE(event)
#define NS_VK_CANCEL   nsIDOMKeyEvent::DOM_VK_CANCEL
#define NS_VK_BACK   nsIDOMKeyEvent::DOM_VK_BACK_SPACE
#define NS_VK_TAB   nsIDOMKeyEvent::DOM_VK_TAB
#define NS_VK_CLEAR   nsIDOMKeyEvent::DOM_VK_CLEAR
#define NS_VK_RETURN   nsIDOMKeyEvent::DOM_VK_RETURN
#define NS_VK_ENTER   nsIDOMKeyEvent::DOM_VK_ENTER
#define NS_VK_SHIFT   nsIDOMKeyEvent::DOM_VK_SHIFT
#define NS_VK_CONTROL   nsIDOMKeyEvent::DOM_VK_CONTROL
#define NS_VK_ALT   nsIDOMKeyEvent::DOM_VK_ALT
#define NS_VK_PAUSE   nsIDOMKeyEvent::DOM_VK_PAUSE
#define NS_VK_CAPS_LOCK   nsIDOMKeyEvent::DOM_VK_CAPS_LOCK
#define NS_VK_ESCAPE   nsIDOMKeyEvent::DOM_VK_ESCAPE
#define NS_VK_SPACE   nsIDOMKeyEvent::DOM_VK_SPACE
#define NS_VK_PAGE_UP   nsIDOMKeyEvent::DOM_VK_PAGE_UP
#define NS_VK_PAGE_DOWN   nsIDOMKeyEvent::DOM_VK_PAGE_DOWN
#define NS_VK_END   nsIDOMKeyEvent::DOM_VK_END
#define NS_VK_HOME   nsIDOMKeyEvent::DOM_VK_HOME
#define NS_VK_LEFT   nsIDOMKeyEvent::DOM_VK_LEFT
#define NS_VK_UP   nsIDOMKeyEvent::DOM_VK_UP
#define NS_VK_RIGHT   nsIDOMKeyEvent::DOM_VK_RIGHT
#define NS_VK_DOWN   nsIDOMKeyEvent::DOM_VK_DOWN
#define NS_VK_PRINTSCREEN   nsIDOMKeyEvent::DOM_VK_PRINTSCREEN
#define NS_VK_INSERT   nsIDOMKeyEvent::DOM_VK_INSERT
#define NS_VK_DELETE   nsIDOMKeyEvent::DOM_VK_DELETE
#define NS_VK_0   nsIDOMKeyEvent::DOM_VK_0
#define NS_VK_1   nsIDOMKeyEvent::DOM_VK_1
#define NS_VK_2   nsIDOMKeyEvent::DOM_VK_2
#define NS_VK_3   nsIDOMKeyEvent::DOM_VK_3
#define NS_VK_4   nsIDOMKeyEvent::DOM_VK_4
#define NS_VK_5   nsIDOMKeyEvent::DOM_VK_5
#define NS_VK_6   nsIDOMKeyEvent::DOM_VK_6
#define NS_VK_7   nsIDOMKeyEvent::DOM_VK_7
#define NS_VK_8   nsIDOMKeyEvent::DOM_VK_8
#define NS_VK_9   nsIDOMKeyEvent::DOM_VK_9
#define NS_VK_SEMICOLON   nsIDOMKeyEvent::DOM_VK_SEMICOLON
#define NS_VK_EQUALS   nsIDOMKeyEvent::DOM_VK_EQUALS
#define NS_VK_A   nsIDOMKeyEvent::DOM_VK_A
#define NS_VK_B   nsIDOMKeyEvent::DOM_VK_B
#define NS_VK_C   nsIDOMKeyEvent::DOM_VK_C
#define NS_VK_D   nsIDOMKeyEvent::DOM_VK_D
#define NS_VK_E   nsIDOMKeyEvent::DOM_VK_E
#define NS_VK_F   nsIDOMKeyEvent::DOM_VK_F
#define NS_VK_G   nsIDOMKeyEvent::DOM_VK_G
#define NS_VK_H   nsIDOMKeyEvent::DOM_VK_H
#define NS_VK_I   nsIDOMKeyEvent::DOM_VK_I
#define NS_VK_J   nsIDOMKeyEvent::DOM_VK_J
#define NS_VK_K   nsIDOMKeyEvent::DOM_VK_K
#define NS_VK_L   nsIDOMKeyEvent::DOM_VK_L
#define NS_VK_M   nsIDOMKeyEvent::DOM_VK_M
#define NS_VK_N   nsIDOMKeyEvent::DOM_VK_N
#define NS_VK_O   nsIDOMKeyEvent::DOM_VK_O
#define NS_VK_P   nsIDOMKeyEvent::DOM_VK_P
#define NS_VK_Q   nsIDOMKeyEvent::DOM_VK_Q
#define NS_VK_R   nsIDOMKeyEvent::DOM_VK_R
#define NS_VK_S   nsIDOMKeyEvent::DOM_VK_S
#define NS_VK_T   nsIDOMKeyEvent::DOM_VK_T
#define NS_VK_U   nsIDOMKeyEvent::DOM_VK_U
#define NS_VK_V   nsIDOMKeyEvent::DOM_VK_V
#define NS_VK_W   nsIDOMKeyEvent::DOM_VK_W
#define NS_VK_X   nsIDOMKeyEvent::DOM_VK_X
#define NS_VK_Y   nsIDOMKeyEvent::DOM_VK_Y
#define NS_VK_Z   nsIDOMKeyEvent::DOM_VK_Z
#define NS_VK_CONTEXT_MENU   nsIDOMKeyEvent::DOM_VK_CONTEXT_MENU
#define NS_VK_NUMPAD0   nsIDOMKeyEvent::DOM_VK_NUMPAD0
#define NS_VK_NUMPAD1   nsIDOMKeyEvent::DOM_VK_NUMPAD1
#define NS_VK_NUMPAD2   nsIDOMKeyEvent::DOM_VK_NUMPAD2
#define NS_VK_NUMPAD3   nsIDOMKeyEvent::DOM_VK_NUMPAD3
#define NS_VK_NUMPAD4   nsIDOMKeyEvent::DOM_VK_NUMPAD4
#define NS_VK_NUMPAD5   nsIDOMKeyEvent::DOM_VK_NUMPAD5
#define NS_VK_NUMPAD6   nsIDOMKeyEvent::DOM_VK_NUMPAD6
#define NS_VK_NUMPAD7   nsIDOMKeyEvent::DOM_VK_NUMPAD7
#define NS_VK_NUMPAD8   nsIDOMKeyEvent::DOM_VK_NUMPAD8
#define NS_VK_NUMPAD9   nsIDOMKeyEvent::DOM_VK_NUMPAD9
#define NS_VK_MULTIPLY   nsIDOMKeyEvent::DOM_VK_MULTIPLY
#define NS_VK_ADD   nsIDOMKeyEvent::DOM_VK_ADD
#define NS_VK_SEPARATOR   nsIDOMKeyEvent::DOM_VK_SEPARATOR
#define NS_VK_SUBTRACT   nsIDOMKeyEvent::DOM_VK_SUBTRACT
#define NS_VK_DECIMAL   nsIDOMKeyEvent::DOM_VK_DECIMAL
#define NS_VK_DIVIDE   nsIDOMKeyEvent::DOM_VK_DIVIDE
#define NS_VK_F1   nsIDOMKeyEvent::DOM_VK_F1
#define NS_VK_F2   nsIDOMKeyEvent::DOM_VK_F2
#define NS_VK_F3   nsIDOMKeyEvent::DOM_VK_F3
#define NS_VK_F4   nsIDOMKeyEvent::DOM_VK_F4
#define NS_VK_F5   nsIDOMKeyEvent::DOM_VK_F5
#define NS_VK_F6   nsIDOMKeyEvent::DOM_VK_F6
#define NS_VK_F7   nsIDOMKeyEvent::DOM_VK_F7
#define NS_VK_F8   nsIDOMKeyEvent::DOM_VK_F8
#define NS_VK_F9   nsIDOMKeyEvent::DOM_VK_F9
#define NS_VK_F10   nsIDOMKeyEvent::DOM_VK_F10
#define NS_VK_F11   nsIDOMKeyEvent::DOM_VK_F11
#define NS_VK_F12   nsIDOMKeyEvent::DOM_VK_F12
#define NS_VK_F13   nsIDOMKeyEvent::DOM_VK_F13
#define NS_VK_F14   nsIDOMKeyEvent::DOM_VK_F14
#define NS_VK_F15   nsIDOMKeyEvent::DOM_VK_F15
#define NS_VK_F16   nsIDOMKeyEvent::DOM_VK_F16
#define NS_VK_F17   nsIDOMKeyEvent::DOM_VK_F17
#define NS_VK_F18   nsIDOMKeyEvent::DOM_VK_F18
#define NS_VK_F19   nsIDOMKeyEvent::DOM_VK_F19
#define NS_VK_F20   nsIDOMKeyEvent::DOM_VK_F20
#define NS_VK_F21   nsIDOMKeyEvent::DOM_VK_F21
#define NS_VK_F22   nsIDOMKeyEvent::DOM_VK_F22
#define NS_VK_F23   nsIDOMKeyEvent::DOM_VK_F23
#define NS_VK_F24   nsIDOMKeyEvent::DOM_VK_F24
#define NS_VK_NUM_LOCK   nsIDOMKeyEvent::DOM_VK_NUM_LOCK
#define NS_VK_SCROLL_LOCK   nsIDOMKeyEvent::DOM_VK_SCROLL_LOCK
#define NS_VK_COMMA   nsIDOMKeyEvent::DOM_VK_COMMA
#define NS_VK_PERIOD   nsIDOMKeyEvent::DOM_VK_PERIOD
#define NS_VK_SLASH   nsIDOMKeyEvent::DOM_VK_SLASH
#define NS_VK_BACK_QUOTE   nsIDOMKeyEvent::DOM_VK_BACK_QUOTE
#define NS_VK_OPEN_BRACKET   nsIDOMKeyEvent::DOM_VK_OPEN_BRACKET
#define NS_VK_BACK_SLASH   nsIDOMKeyEvent::DOM_VK_BACK_SLASH
#define NS_VK_CLOSE_BRACKET   nsIDOMKeyEvent::DOM_VK_CLOSE_BRACKET
#define NS_VK_QUOTE   nsIDOMKeyEvent::DOM_VK_QUOTE
#define NS_VK_META   nsIDOMKeyEvent::DOM_VK_META
#define NS_TEXTRANGE_CARETPOSITION   0x01
#define NS_TEXTRANGE_RAWINPUT   0X02
#define NS_TEXTRANGE_SELECTEDRAWTEXT   0x03
#define NS_TEXTRANGE_CONVERTEDTEXT   0x04
#define NS_TEXTRANGE_SELECTEDCONVERTEDTEXT   0x05
#define NS_EVENT_NULL   0
 GUI MESSAGES.
#define NS_WINDOW_START   100
#define NS_CREATE   (NS_WINDOW_START)
#define NS_XUL_CLOSE   (NS_WINDOW_START + 1)
#define NS_DESTROY   (NS_WINDOW_START + 2)
#define NS_SIZE   (NS_WINDOW_START + 3)
#define NS_SIZEMODE   (NS_WINDOW_START + 4)
#define NS_GOTFOCUS   (NS_WINDOW_START + 5)
#define NS_LOSTFOCUS   (NS_WINDOW_START + 6)
#define NS_ACTIVATE   (NS_WINDOW_START + 7)
#define NS_DEACTIVATE   (NS_WINDOW_START + 8)
#define NS_SETZLEVEL   (NS_WINDOW_START + 9)
#define NS_PAINT   (NS_WINDOW_START + 30)
#define NS_KEY_PRESS   (NS_WINDOW_START + 31)
#define NS_KEY_UP   (NS_WINDOW_START + 32)
#define NS_KEY_DOWN   (NS_WINDOW_START + 33)
#define NS_MOVE   (NS_WINDOW_START + 34)
#define NS_TABCHANGE   (NS_WINDOW_START + 35)
#define NS_OS_TOOLBAR   (NS_WINDOW_START + 36)
#define NS_MENU_SELECTED   (NS_WINDOW_START + 38)
#define NS_CONTROL_CHANGE   (NS_WINDOW_START + 39)
#define NS_DISPLAYCHANGED   (NS_WINDOW_START + 40)
#define NS_THEMECHANGED   (NS_WINDOW_START + 41)
#define NS_SYSCOLORCHANGED   (NS_WINDOW_START + 42)
#define NS_SCRIPT_ERROR   (NS_WINDOW_START + 50)
#define NS_RESIZE_EVENT   (NS_WINDOW_START + 60)
#define NS_SCROLL_EVENT   (NS_WINDOW_START + 61)
#define NS_PLUGIN_ACTIVATE   (NS_WINDOW_START + 62)
#define NS_MOUSE_MESSAGE_START   300
#define NS_MOUSE_MOVE   (NS_MOUSE_MESSAGE_START)
#define NS_MOUSE_LEFT_BUTTON_UP   (NS_MOUSE_MESSAGE_START + 1)
#define NS_MOUSE_LEFT_BUTTON_DOWN   (NS_MOUSE_MESSAGE_START + 2)
#define NS_MOUSE_MIDDLE_BUTTON_UP   (NS_MOUSE_MESSAGE_START + 10)
#define NS_MOUSE_MIDDLE_BUTTON_DOWN   (NS_MOUSE_MESSAGE_START + 11)
#define NS_MOUSE_RIGHT_BUTTON_UP   (NS_MOUSE_MESSAGE_START + 20)
#define NS_MOUSE_RIGHT_BUTTON_DOWN   (NS_MOUSE_MESSAGE_START + 21)
#define NS_MOUSE_ENTER   (NS_MOUSE_MESSAGE_START + 22)
#define NS_MOUSE_EXIT   (NS_MOUSE_MESSAGE_START + 23)
#define NS_MOUSE_LEFT_DOUBLECLICK   (NS_MOUSE_MESSAGE_START + 24)
#define NS_MOUSE_MIDDLE_DOUBLECLICK   (NS_MOUSE_MESSAGE_START + 25)
#define NS_MOUSE_RIGHT_DOUBLECLICK   (NS_MOUSE_MESSAGE_START + 26)
#define NS_MOUSE_LEFT_CLICK   (NS_MOUSE_MESSAGE_START + 27)
#define NS_MOUSE_MIDDLE_CLICK   (NS_MOUSE_MESSAGE_START + 28)
#define NS_MOUSE_RIGHT_CLICK   (NS_MOUSE_MESSAGE_START + 29)
#define NS_MOUSE_ACTIVATE   (NS_MOUSE_MESSAGE_START + 30)
#define NS_MOUSE_ENTER_SYNTH   (NS_MOUSE_MESSAGE_START + 31)
#define NS_MOUSE_EXIT_SYNTH   (NS_MOUSE_MESSAGE_START + 32)
#define NS_CONTEXTMENU_MESSAGE_START   500
#define NS_CONTEXTMENU   (NS_CONTEXTMENU_MESSAGE_START)
#define NS_CONTEXTMENU_KEY   (NS_CONTEXTMENU_MESSAGE_START + 1)
#define NS_SCROLLBAR_MESSAGE_START   1000
#define NS_SCROLLBAR_POS   (NS_SCROLLBAR_MESSAGE_START)
#define NS_SCROLLBAR_PAGE_NEXT   (NS_SCROLLBAR_MESSAGE_START + 1)
#define NS_SCROLLBAR_PAGE_PREV   (NS_SCROLLBAR_MESSAGE_START + 2)
#define NS_SCROLLBAR_LINE_NEXT   (NS_SCROLLBAR_MESSAGE_START + 3)
#define NS_SCROLLBAR_LINE_PREV   (NS_SCROLLBAR_MESSAGE_START + 4)
#define NS_STREAM_EVENT_START   1100
#define NS_PAGE_LOAD   (NS_STREAM_EVENT_START)
#define NS_PAGE_UNLOAD   (NS_STREAM_EVENT_START + 1)
#define NS_IMAGE_LOAD   (NS_STREAM_EVENT_START + 2)
#define NS_IMAGE_ABORT   (NS_STREAM_EVENT_START + 3)
#define NS_IMAGE_ERROR   (NS_STREAM_EVENT_START + 4)
#define NS_SCRIPT_LOAD   (NS_STREAM_EVENT_START + 5)
#define NS_BEFORE_PAGE_UNLOAD   (NS_STREAM_EVENT_START + 6)
#define NS_PAGE_RESTORE   (NS_STREAM_EVENT_START + 7)
#define NS_FORM_EVENT_START   1200
#define NS_FORM_SUBMIT   (NS_FORM_EVENT_START)
#define NS_FORM_RESET   (NS_FORM_EVENT_START + 1)
#define NS_FORM_CHANGE   (NS_FORM_EVENT_START + 2)
#define NS_FORM_SELECTED   (NS_FORM_EVENT_START + 3)
#define NS_FORM_INPUT   (NS_FORM_EVENT_START + 4)
#define NS_FOCUS_EVENT_START   1300
#define NS_FOCUS_CONTENT   (NS_FOCUS_EVENT_START)
#define NS_BLUR_CONTENT   (NS_FOCUS_EVENT_START + 1)
#define NS_DRAGDROP_EVENT_START   1400
#define NS_DRAGDROP_ENTER   (NS_DRAGDROP_EVENT_START)
#define NS_DRAGDROP_OVER   (NS_DRAGDROP_EVENT_START + 1)
#define NS_DRAGDROP_EXIT   (NS_DRAGDROP_EVENT_START + 2)
#define NS_DRAGDROP_DROP   (NS_DRAGDROP_EVENT_START + 3)
#define NS_DRAGDROP_GESTURE   (NS_DRAGDROP_EVENT_START + 4)
#define NS_DRAGDROP_OVER_SYNTH   (NS_DRAGDROP_EVENT_START + 1)
#define NS_DRAGDROP_EXIT_SYNTH   (NS_DRAGDROP_EVENT_START + 2)
#define NS_XUL_EVENT_START   1500
#define NS_XUL_POPUP_SHOWING   (NS_XUL_EVENT_START)
#define NS_XUL_POPUP_SHOWN   (NS_XUL_EVENT_START+1)
#define NS_XUL_POPUP_HIDING   (NS_XUL_EVENT_START+2)
#define NS_XUL_POPUP_HIDDEN   (NS_XUL_EVENT_START+3)
#define NS_XUL_BROADCAST   (NS_XUL_EVENT_START+5)
#define NS_XUL_COMMAND_UPDATE   (NS_XUL_EVENT_START+6)
#define NS_XUL_CLICK   (NS_XUL_EVENT_START+7)

Typedefs

typedef nsTextRangensTextRangeArray
typedef struct nsTextEventReply

Enumerations

enum  nsSizeMode { nsSizeMode_Normal = 0, nsSizeMode_Minimized, nsSizeMode_Maximized }
 Return status for event processors, nsEventStatus, is defined in nsEvent.h. More...
enum  nsWindowZ { nsWindowZTop = 0, nsWindowZBottom, nsWindowZRelative }
 different types of (top-level) window z-level positioning More...
enum  nsDragDropEventStatus { nsDragDropEventStatus_eDragEntered, nsDragDropEventStatus_eDragExited, nsDragDropEventStatus_eDrop }
 Event status for D&D Event. More...

Define Documentation

Definition at line 89 of file nsGUIEvent.h.

Definition at line 300 of file nsGUIEvent.h.

Definition at line 163 of file nsGUIEvent.h.

Definition at line 132 of file nsGUIEvent.h.

#define NS_APP_EVENT_FLAG_NONE   0x00000000

Definition at line 129 of file nsGUIEvent.h.

Definition at line 135 of file nsGUIEvent.h.

Definition at line 307 of file nsGUIEvent.h.

Definition at line 308 of file nsGUIEvent.h.

Definition at line 93 of file nsGUIEvent.h.

Definition at line 313 of file nsGUIEvent.h.

Definition at line 309 of file nsGUIEvent.h.

Definition at line 314 of file nsGUIEvent.h.

Definition at line 310 of file nsGUIEvent.h.

Definition at line 312 of file nsGUIEvent.h.

Definition at line 306 of file nsGUIEvent.h.

Definition at line 311 of file nsGUIEvent.h.

Definition at line 251 of file nsGUIEvent.h.

Definition at line 95 of file nsGUIEvent.h.

Definition at line 264 of file nsGUIEvent.h.

Definition at line 319 of file nsGUIEvent.h.

Definition at line 84 of file nsGUIEvent.h.

Definition at line 317 of file nsGUIEvent.h.

Definition at line 320 of file nsGUIEvent.h.

Definition at line 318 of file nsGUIEvent.h.

Definition at line 234 of file nsGUIEvent.h.

Definition at line 235 of file nsGUIEvent.h.

Definition at line 233 of file nsGUIEvent.h.

Definition at line 192 of file nsGUIEvent.h.

Definition at line 149 of file nsGUIEvent.h.

Definition at line 165 of file nsGUIEvent.h.

Definition at line 153 of file nsGUIEvent.h.

Definition at line 195 of file nsGUIEvent.h.

Definition at line 271 of file nsGUIEvent.h.

Definition at line 268 of file nsGUIEvent.h.

Definition at line 267 of file nsGUIEvent.h.

Definition at line 270 of file nsGUIEvent.h.

Definition at line 274 of file nsGUIEvent.h.

Definition at line 272 of file nsGUIEvent.h.

Definition at line 269 of file nsGUIEvent.h.

Definition at line 273 of file nsGUIEvent.h.

#define NS_EVENT   1

Event Struct Types.

Definition at line 71 of file nsGUIEvent.h.

Definition at line 125 of file nsGUIEvent.h.

Definition at line 124 of file nsGUIEvent.h.

Definition at line 110 of file nsGUIEvent.h.

Definition at line 115 of file nsGUIEvent.h.

Definition at line 114 of file nsGUIEvent.h.

Definition at line 111 of file nsGUIEvent.h.

Definition at line 120 of file nsGUIEvent.h.

#define NS_EVENT_FLAG_INIT   0x0001

Definition at line 109 of file nsGUIEvent.h.

Definition at line 117 of file nsGUIEvent.h.

Definition at line 113 of file nsGUIEvent.h.

#define NS_EVENT_FLAG_NONE   0x0000

Definition at line 108 of file nsGUIEvent.h.

Definition at line 112 of file nsGUIEvent.h.

Definition at line 119 of file nsGUIEvent.h.

Definition at line 118 of file nsGUIEvent.h.

GUI MESSAGES.

Definition at line 143 of file nsGUIEvent.h.

Definition at line 137 of file nsGUIEvent.h.

Definition at line 263 of file nsGUIEvent.h.

Definition at line 91 of file nsGUIEvent.h.

Definition at line 262 of file nsGUIEvent.h.

Definition at line 257 of file nsGUIEvent.h.

Definition at line 90 of file nsGUIEvent.h.

Definition at line 254 of file nsGUIEvent.h.

Definition at line 259 of file nsGUIEvent.h.

Definition at line 256 of file nsGUIEvent.h.

Definition at line 258 of file nsGUIEvent.h.

Definition at line 255 of file nsGUIEvent.h.

Definition at line 301 of file nsGUIEvent.h.

Definition at line 159 of file nsGUIEvent.h.

Definition at line 72 of file nsGUIEvent.h.

Definition at line 248 of file nsGUIEvent.h.

Definition at line 249 of file nsGUIEvent.h.

Definition at line 247 of file nsGUIEvent.h.

Definition at line 78 of file nsGUIEvent.h.

#define NS_IS_DRAG_EVENT (   evnt)
Value:
(((evnt)->message == NS_DRAGDROP_ENTER) || \
        ((evnt)->message == NS_DRAGDROP_OVER) || \
        ((evnt)->message == NS_DRAGDROP_EXIT) || \
        ((evnt)->message == NS_DRAGDROP_DROP) || \
        ((evnt)->message == NS_DRAGDROP_GESTURE) || \
        ((evnt)->message == NS_DRAGDROP_OVER_SYNTH) || \
        ((evnt)->message == NS_DRAGDROP_EXIT_SYNTH))

Definition at line 990 of file nsGUIEvent.h.

Definition at line 1026 of file nsGUIEvent.h.

Value:
(((evnt)->message == NS_GOTFOCUS) ||  \
        ((evnt)->message == NS_LOSTFOCUS) ||  \
        ((evnt)->message == NS_ACTIVATE) || \
        ((evnt)->message == NS_DEACTIVATE) || \
        ((evnt)->message == NS_PLUGIN_ACTIVATE))

Definition at line 1012 of file nsGUIEvent.h.

#define NS_IS_IME_EVENT (   evnt)
Value:
(((evnt)->message == NS_TEXT_TEXT) ||  \
        ((evnt)->message == NS_COMPOSITION_START) ||  \
        ((evnt)->message == NS_COMPOSITION_END) || \
        ((evnt)->message == NS_RECONVERSION_QUERY) || \
        ((evnt)->message == NS_QUERYCARETRECT) || \
        ((evnt)->message == NS_COMPOSITION_QUERY))

Definition at line 1004 of file nsGUIEvent.h.

#define NS_IS_KEY_EVENT (   evnt)
Value:
(((evnt)->message == NS_KEY_DOWN) ||  \
        ((evnt)->message == NS_KEY_PRESS) || \
        ((evnt)->message == NS_KEY_UP))

Definition at line 999 of file nsGUIEvent.h.

Value:
(((evnt)->message == NS_MOUSE_LEFT_BUTTON_DOWN) || \
        ((evnt)->message == NS_MOUSE_LEFT_BUTTON_UP) || \
        ((evnt)->message == NS_MOUSE_LEFT_CLICK) || \
        ((evnt)->message == NS_MOUSE_LEFT_DOUBLECLICK) || \
        ((evnt)->message == NS_MOUSE_MIDDLE_BUTTON_DOWN) || \
        ((evnt)->message == NS_MOUSE_MIDDLE_BUTTON_UP) || \
        ((evnt)->message == NS_MOUSE_MIDDLE_CLICK) || \
        ((evnt)->message == NS_MOUSE_MIDDLE_DOUBLECLICK) || \
        ((evnt)->message == NS_MOUSE_RIGHT_BUTTON_DOWN) || \
        ((evnt)->message == NS_MOUSE_RIGHT_BUTTON_UP) || \
        ((evnt)->message == NS_MOUSE_RIGHT_CLICK) || \
        ((evnt)->message == NS_MOUSE_RIGHT_DOUBLECLICK) || \
        ((evnt)->message == NS_MOUSE_ENTER) || \
        ((evnt)->message == NS_MOUSE_EXIT) || \
        ((evnt)->message == NS_MOUSE_ENTER) || \
        ((evnt)->message == NS_MOUSE_EXIT) || \
        ((evnt)->message == NS_MOUSE_ENTER_SYNTH) || \
        ((evnt)->message == NS_MOUSE_EXIT_SYNTH) || \
        ((evnt)->message == NS_MOUSE_MOVE))

Definition at line 969 of file nsGUIEvent.h.

#define NS_IS_TRUSTED_EVENT (   event)    (((event)->internalAppFlags & NS_APP_EVENT_FLAG_TRUSTED) != 0)

Definition at line 1019 of file nsGUIEvent.h.

Definition at line 175 of file nsGUIEvent.h.

Definition at line 79 of file nsGUIEvent.h.

Definition at line 171 of file nsGUIEvent.h.

Definition at line 173 of file nsGUIEvent.h.

Definition at line 161 of file nsGUIEvent.h.

Value:

Definition at line 1030 of file nsGUIEvent.h.

Definition at line 1023 of file nsGUIEvent.h.

Definition at line 81 of file nsGUIEvent.h.

Definition at line 186 of file nsGUIEvent.h.

Definition at line 229 of file nsGUIEvent.h.

Definition at line 221 of file nsGUIEvent.h.

Definition at line 230 of file nsGUIEvent.h.

Definition at line 80 of file nsGUIEvent.h.

Definition at line 222 of file nsGUIEvent.h.

Definition at line 231 of file nsGUIEvent.h.

Definition at line 216 of file nsGUIEvent.h.

Definition at line 215 of file nsGUIEvent.h.

Definition at line 226 of file nsGUIEvent.h.

Definition at line 223 of file nsGUIEvent.h.

Definition at line 213 of file nsGUIEvent.h.

Definition at line 218 of file nsGUIEvent.h.

Definition at line 217 of file nsGUIEvent.h.

Definition at line 227 of file nsGUIEvent.h.

Definition at line 224 of file nsGUIEvent.h.

Definition at line 214 of file nsGUIEvent.h.

Definition at line 220 of file nsGUIEvent.h.

Definition at line 219 of file nsGUIEvent.h.

Definition at line 228 of file nsGUIEvent.h.

Definition at line 225 of file nsGUIEvent.h.

Definition at line 290 of file nsGUIEvent.h.

Definition at line 86 of file nsGUIEvent.h.

Definition at line 289 of file nsGUIEvent.h.

Definition at line 178 of file nsGUIEvent.h.

Definition at line 88 of file nsGUIEvent.h.

Definition at line 183 of file nsGUIEvent.h.

Definition at line 344 of file nsGUIEvent.h.

Definition at line 245 of file nsGUIEvent.h.

Definition at line 252 of file nsGUIEvent.h.

Definition at line 343 of file nsGUIEvent.h.

Definition at line 246 of file nsGUIEvent.h.

Definition at line 98 of file nsGUIEvent.h.

Definition at line 342 of file nsGUIEvent.h.

Definition at line 169 of file nsGUIEvent.h.

Definition at line 76 of file nsGUIEvent.h.

Definition at line 211 of file nsGUIEvent.h.

Definition at line 92 of file nsGUIEvent.h.

Definition at line 94 of file nsGUIEvent.h.

Definition at line 116 of file nsGUIEvent.h.

Definition at line 122 of file nsGUIEvent.h.

Definition at line 339 of file nsGUIEvent.h.

Definition at line 97 of file nsGUIEvent.h.

Definition at line 338 of file nsGUIEvent.h.

Definition at line 85 of file nsGUIEvent.h.

Definition at line 324 of file nsGUIEvent.h.

Definition at line 323 of file nsGUIEvent.h.

Definition at line 208 of file nsGUIEvent.h.

Definition at line 206 of file nsGUIEvent.h.

Definition at line 82 of file nsGUIEvent.h.

Definition at line 250 of file nsGUIEvent.h.

Definition at line 209 of file nsGUIEvent.h.

Definition at line 77 of file nsGUIEvent.h.

Definition at line 241 of file nsGUIEvent.h.

Definition at line 242 of file nsGUIEvent.h.

Definition at line 237 of file nsGUIEvent.h.

Definition at line 239 of file nsGUIEvent.h.

Definition at line 240 of file nsGUIEvent.h.

Definition at line 238 of file nsGUIEvent.h.

Definition at line 87 of file nsGUIEvent.h.

Definition at line 294 of file nsGUIEvent.h.

Definition at line 295 of file nsGUIEvent.h.

Definition at line 292 of file nsGUIEvent.h.

Definition at line 293 of file nsGUIEvent.h.

Definition at line 167 of file nsGUIEvent.h.

Definition at line 155 of file nsGUIEvent.h.

Definition at line 73 of file nsGUIEvent.h.

Definition at line 157 of file nsGUIEvent.h.

Definition at line 74 of file nsGUIEvent.h.

Definition at line 244 of file nsGUIEvent.h.

Definition at line 203 of file nsGUIEvent.h.

Definition at line 181 of file nsGUIEvent.h.

Definition at line 83 of file nsGUIEvent.h.

#define NS_TEXT_START   2400

Definition at line 327 of file nsGUIEvent.h.

Definition at line 328 of file nsGUIEvent.h.

Definition at line 1169 of file nsGUIEvent.h.

Definition at line 1172 of file nsGUIEvent.h.

Definition at line 1170 of file nsGUIEvent.h.

Definition at line 1173 of file nsGUIEvent.h.

Definition at line 1171 of file nsGUIEvent.h.

Definition at line 198 of file nsGUIEvent.h.

Definition at line 333 of file nsGUIEvent.h.

#define NS_UI_EVENT   27

Definition at line 96 of file nsGUIEvent.h.

Definition at line 331 of file nsGUIEvent.h.

Definition at line 334 of file nsGUIEvent.h.

Definition at line 335 of file nsGUIEvent.h.

Definition at line 303 of file nsGUIEvent.h.

Definition at line 1069 of file nsGUIEvent.h.

Definition at line 1070 of file nsGUIEvent.h.

Definition at line 1071 of file nsGUIEvent.h.

Definition at line 1072 of file nsGUIEvent.h.

Definition at line 1073 of file nsGUIEvent.h.

Definition at line 1074 of file nsGUIEvent.h.

Definition at line 1075 of file nsGUIEvent.h.

Definition at line 1076 of file nsGUIEvent.h.

Definition at line 1077 of file nsGUIEvent.h.

Definition at line 1078 of file nsGUIEvent.h.

Definition at line 1084 of file nsGUIEvent.h.

Definition at line 1124 of file nsGUIEvent.h.

Definition at line 1051 of file nsGUIEvent.h.

Definition at line 1085 of file nsGUIEvent.h.

Definition at line 1044 of file nsGUIEvent.h.

Definition at line 1160 of file nsGUIEvent.h.

Definition at line 1162 of file nsGUIEvent.h.

Definition at line 1086 of file nsGUIEvent.h.

Definition at line 1043 of file nsGUIEvent.h.

Definition at line 1053 of file nsGUIEvent.h.

Definition at line 1046 of file nsGUIEvent.h.

Definition at line 1163 of file nsGUIEvent.h.

Definition at line 1157 of file nsGUIEvent.h.

Definition at line 1111 of file nsGUIEvent.h.

Definition at line 1050 of file nsGUIEvent.h.

Definition at line 1087 of file nsGUIEvent.h.

Definition at line 1127 of file nsGUIEvent.h.

Definition at line 1066 of file nsGUIEvent.h.

Definition at line 1128 of file nsGUIEvent.h.

Definition at line 1063 of file nsGUIEvent.h.

Definition at line 1088 of file nsGUIEvent.h.

Definition at line 1058 of file nsGUIEvent.h.

Definition at line 1048 of file nsGUIEvent.h.

Definition at line 1081 of file nsGUIEvent.h.

Definition at line 1054 of file nsGUIEvent.h.

Definition at line 1089 of file nsGUIEvent.h.

Definition at line 1129 of file nsGUIEvent.h.

Definition at line 1138 of file nsGUIEvent.h.

Definition at line 1139 of file nsGUIEvent.h.

Definition at line 1140 of file nsGUIEvent.h.

Definition at line 1141 of file nsGUIEvent.h.

Definition at line 1142 of file nsGUIEvent.h.

Definition at line 1143 of file nsGUIEvent.h.

Definition at line 1144 of file nsGUIEvent.h.

Definition at line 1145 of file nsGUIEvent.h.

Definition at line 1146 of file nsGUIEvent.h.

Definition at line 1147 of file nsGUIEvent.h.

Definition at line 1130 of file nsGUIEvent.h.

Definition at line 1148 of file nsGUIEvent.h.

Definition at line 1149 of file nsGUIEvent.h.

Definition at line 1150 of file nsGUIEvent.h.

Definition at line 1151 of file nsGUIEvent.h.

Definition at line 1152 of file nsGUIEvent.h.

Definition at line 1131 of file nsGUIEvent.h.

Definition at line 1132 of file nsGUIEvent.h.

Definition at line 1133 of file nsGUIEvent.h.

Definition at line 1134 of file nsGUIEvent.h.

Definition at line 1135 of file nsGUIEvent.h.

Definition at line 1136 of file nsGUIEvent.h.

Definition at line 1137 of file nsGUIEvent.h.

Definition at line 1090 of file nsGUIEvent.h.

Definition at line 1091 of file nsGUIEvent.h.

Definition at line 1059 of file nsGUIEvent.h.

Definition at line 1092 of file nsGUIEvent.h.

Definition at line 1065 of file nsGUIEvent.h.

Definition at line 1093 of file nsGUIEvent.h.

Definition at line 1094 of file nsGUIEvent.h.

Definition at line 1095 of file nsGUIEvent.h.

Definition at line 1060 of file nsGUIEvent.h.

Definition at line 1096 of file nsGUIEvent.h.

Definition at line 1166 of file nsGUIEvent.h.

Definition at line 1123 of file nsGUIEvent.h.

Definition at line 1097 of file nsGUIEvent.h.

Definition at line 1154 of file nsGUIEvent.h.

Definition at line 1113 of file nsGUIEvent.h.

Definition at line 1114 of file nsGUIEvent.h.

Definition at line 1115 of file nsGUIEvent.h.

Definition at line 1116 of file nsGUIEvent.h.

Definition at line 1117 of file nsGUIEvent.h.

Definition at line 1118 of file nsGUIEvent.h.

Definition at line 1119 of file nsGUIEvent.h.

Definition at line 1120 of file nsGUIEvent.h.

Definition at line 1121 of file nsGUIEvent.h.

Definition at line 1122 of file nsGUIEvent.h.

Definition at line 1098 of file nsGUIEvent.h.

Definition at line 1161 of file nsGUIEvent.h.

Definition at line 1099 of file nsGUIEvent.h.

Definition at line 1057 of file nsGUIEvent.h.

Definition at line 1056 of file nsGUIEvent.h.

Definition at line 1052 of file nsGUIEvent.h.

Definition at line 1158 of file nsGUIEvent.h.

Definition at line 1064 of file nsGUIEvent.h.

Definition at line 1100 of file nsGUIEvent.h.

Definition at line 1164 of file nsGUIEvent.h.

Definition at line 1101 of file nsGUIEvent.h.

Definition at line 1047 of file nsGUIEvent.h.

Definition at line 1062 of file nsGUIEvent.h.

Definition at line 1102 of file nsGUIEvent.h.

Definition at line 1155 of file nsGUIEvent.h.

Definition at line 1080 of file nsGUIEvent.h.

Definition at line 1125 of file nsGUIEvent.h.

Definition at line 1049 of file nsGUIEvent.h.

Definition at line 1159 of file nsGUIEvent.h.

Definition at line 1055 of file nsGUIEvent.h.

Definition at line 1126 of file nsGUIEvent.h.

Definition at line 1103 of file nsGUIEvent.h.

Definition at line 1045 of file nsGUIEvent.h.

Definition at line 1104 of file nsGUIEvent.h.

Definition at line 1061 of file nsGUIEvent.h.

Definition at line 1105 of file nsGUIEvent.h.

Definition at line 1106 of file nsGUIEvent.h.

Definition at line 1107 of file nsGUIEvent.h.

Definition at line 1108 of file nsGUIEvent.h.

Definition at line 1109 of file nsGUIEvent.h.

Definition at line 146 of file nsGUIEvent.h.

Definition at line 283 of file nsGUIEvent.h.

Definition at line 285 of file nsGUIEvent.h.

Definition at line 151 of file nsGUIEvent.h.

Definition at line 363 of file nsGUIEvent.h.

Definition at line 103 of file nsGUIEvent.h.

Definition at line 284 of file nsGUIEvent.h.

Definition at line 277 of file nsGUIEvent.h.

Definition at line 281 of file nsGUIEvent.h.

Definition at line 280 of file nsGUIEvent.h.

Definition at line 278 of file nsGUIEvent.h.

Definition at line 279 of file nsGUIEvent.h.

Definition at line 362 of file nsGUIEvent.h.

Definition at line 75 of file nsGUIEvent.h.


Typedef Documentation

typedef struct nsTextEventReply

Definition at line 731 of file nsGUIEvent.h.

Definition at line 718 of file nsGUIEvent.h.


Enumeration Type Documentation

Event status for D&D Event.

Enumerator:
nsDragDropEventStatus_eDragEntered 

The event is a enter.

nsDragDropEventStatus_eDragExited 

The event is exit.

nsDragDropEventStatus_eDrop 

The event is drop.

Definition at line 959 of file nsGUIEvent.h.

enum nsSizeMode

Return status for event processors, nsEventStatus, is defined in nsEvent.h.

sizemode is an adjunct to widget size

Enumerator:
nsSizeMode_Normal 
nsSizeMode_Minimized 
nsSizeMode_Maximized 

Definition at line 373 of file nsGUIEvent.h.

enum nsWindowZ

different types of (top-level) window z-level positioning

Enumerator:
nsWindowZTop 
nsWindowZBottom 
nsWindowZRelative 

Definition at line 382 of file nsGUIEvent.h.

               {
  nsWindowZTop = 0,   // on top
  nsWindowZBottom,    // on bottom
  nsWindowZRelative   // just below some specified widget
};