Logo Search packages:      
Sourcecode: iceape version File versions

nsButton Class Reference

#include <nsButton.h>

Inheritance diagram for nsButton:

nsIButton nsWindow nsIButton nsWindow nsIButton nsWindow nsIButton nsWidget nsIButton nsWidget

List of all members.


Detailed Description

Native Win32 button wrapper

Native GTK+ button wrapper

Definition at line 52 of file nsButton.h.


Public Types

enum  {
  CREATE = 0x0101, CREATE_NATIVE, DESTROY, SET_FOCUS,
  GOT_FOCUS, KILL_FOCUS, SET_CURSOR, CREATE_HACK,
  ONMOUSE, ONDROP, ONWHEEL, ONPAINT,
  ONSCROLL, ONRESIZE, CLOSEWINDOW, MENU,
  ONKEY, BTNCLICK, ONACTIVATE, ONMOVE,
  ONWORKSPACE
}
enum  PluginType { PluginType_NONE = 0, PluginType_XEMBED, PluginType_NONXEMBED }

Public Member Functions

PRBool AcceptFocusOnClick ()
virtual void AcceptFocusOnClick (PRBool aBool)
virtual void AddChild (nsIWidget *aChild)
PRBool AddDeleteObserver (nsDeleteObserver *aDeleteObserver)
NS_IMETHOD AddEventListener (nsIEventListener *aListener)
NS_IMETHOD AddEventListener (nsIEventListener *aListener)
NS_IMETHOD AddEventListener (nsIEventListener *aListener)
NS_IMETHOD AddEventListener (nsIEventListener *aListener)
NS_IMETHOD AddMenuListener (nsIMenuListener *aListener)
NS_IMETHOD AddMenuListener (nsIMenuListener *aListener)
NS_IMETHOD AddMenuListener (nsIMenuListener *aListener)
NS_IMETHOD AddMenuListener (nsIMenuListener *aListener)
NS_IMETHOD AddMouseListener (nsIMouseListener *aListener)
NS_IMETHOD AddMouseListener (nsIMouseListener *aListener)
NS_IMETHOD AddMouseListener (nsIMouseListener *aListener)
NS_IMETHOD AddMouseListener (nsIMouseListener *aListener)
void ApplyTransparencyBitmap ()
void ApplyTransparencyBitmap ()
PRBool AreBoundsSane (void)
virtual PRBool AutoErase ()
virtual PRBool AutoErase ()
NS_IMETHOD BeginResizingChildren (void)
NS_IMETHOD BeginResizingChildren (void)
NS_IMETHOD BeginResizingChildren (void)
NS_IMETHOD BeginResizingChildren (void)
PRBool BlurEventsSuppressed ()
virtual void CalcWindowRegions ()
virtual BOOL CallMethod (MethodInfo *info)
virtual BOOL CallMethod (MethodInfo *info)
virtual bool CallMethod (MethodInfo *info)
NS_IMETHOD CancelIMEComposition ()
NS_IMETHOD CancelIMEComposition ()
NS_IMETHOD CancelIMEComposition ()
NS_IMETHOD CaptureMouse (PRBool aCapture)
NS_IMETHOD CaptureMouse (PRBool aCapture)
NS_IMETHOD CaptureMouse (PRBool aCapture)
NS_IMETHOD CaptureRollupEvents (nsIRollupListener *aListener, PRBool aDoCapture, PRBool aConsumeRollupEvent)
NS_IMETHOD CaptureRollupEvents (nsIRollupListener *aListener, PRBool aDoCapture, PRBool aConsumeRollupEvent)
NS_IMETHOD CaptureRollupEvents (nsIRollupListener *aListener, PRBool aDoCapture, PRBool aConsumeRollupEvent)
NS_IMETHOD CaptureRollupEvents (nsIRollupListener *aListener, PRBool aDoCapture, PRBool aConsumeRollupEvent)
void * CheckParent (long ThisWindow)
void * CheckParent (long ThisWindow)
void CommonCreate (nsIWidget *aParent, PRBool aListenForResizes)
NS_IMETHOD ConstrainPosition (PRBool aAllowSlop, PRInt32 *aX, PRInt32 *aY)
NS_IMETHOD ConstrainPosition (PRBool aAllowSlop, PRInt32 *aX, PRInt32 *aY)
NS_IMETHOD ConstrainPosition (PRBool aAllowSlop, PRInt32 *aX, PRInt32 *aY)
NS_IMETHOD ConstrainPosition (PRBool aAllowSlop, PRInt32 *aX, PRInt32 *aY)
gint ConvertBorderStyles (nsBorderStyle aStyle)
gint ConvertBorderStyles (nsBorderStyle bs)
PRBool ConvertStatus (nsEventStatus aStatus)
PRBool ConvertStatus (nsEventStatus aStatus)
virtual void ConvertToDeviceCoordinates (nscoord &aX, nscoord &aY)
void ConvertToDeviceCoordinates (nscoord &aX, nscoord &aY)
virtual void ConvertToDeviceCoordinates (nscoord &aX, nscoord &aY)
NS_IMETHOD Create (nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_IMETHOD Create (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_IMETHOD Create (nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_DECL_ISUPPORTS_INHERITED
NS_IMETHOD 
Create (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_IMETHOD Create (nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_DECL_ISUPPORTS_INHERITED
NS_IMETHOD 
Create (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_IMETHOD Create (nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_DECL_ISUPPORTS_INHERITED
NS_IMETHOD 
Create (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)
NS_IMETHOD Destroy ()
NS_IMETHOD Destroy ()
NS_IMETHOD Destroy (void)
NS_IMETHOD Destroy (void)
virtual void DestroyNative (void)
virtual void DispatchActivateEvent (void)
virtual void DispatchActivateEvent (void)
virtual void DispatchDeactivateEvent (void)
virtual void DispatchDeactivateEvent (void)
virtual PRBool DispatchDestroyEvent (void)
NS_IMETHOD DispatchEvent (nsGUIEvent *event, nsEventStatus &aStatus)
NS_IMETHOD DispatchEvent (nsGUIEvent *event, nsEventStatus &aStatus)
NS_IMETHOD DispatchEvent (nsGUIEvent *event, nsEventStatus &aStatus)
NS_IMETHOD DispatchEvent (nsGUIEvent *event, nsEventStatus &aStatus)
PRBool DispatchFocus (nsGUIEvent &aEvent)
PRBool DispatchFocus (nsGUIEvent &aEvent)
void DispatchGotFocusEvent (void)
virtual PRBool DispatchKeyEvent (nsKeyEvent &aKeyEvent)
virtual void DispatchLostFocusEvent (void)
virtual void DispatchLostFocusEvent (void)
virtual PRBool DispatchMouseEvent (PRUint32 aEventType, WPARAM wParam=NULL, nsPoint *aPoint=nsnull)
virtual PRBool DispatchMouseEvent (nsMouseEvent &aEvent)
virtual PRBool DispatchMouseEvent (PRUint32 aEventType, nsPoint aPoint, PRUint32 clicks, PRUint32 mod)
virtual PRBool DispatchMouseEvent (nsMouseEvent &aEvent)
PRBool DispatchMouseEvent (nsMouseEvent &aEvent)
PRBool DispatchMouseEvent (nsMouseEvent &aEvent)
void DispatchResizeEvent (nsRect &aRect, nsEventStatus &aStatus)
virtual void DispatchSetFocusEvent (void)
virtual void DispatchSetFocusEvent (void)
PRBool DispatchStandardEvent (PRUint32 aMsg)
PRBool DispatchStandardEvent (PRUint32 aMsg)
virtual PRBool DispatchWindowEvent (nsGUIEvent &event, nsEventStatus &aStatus)
virtual PRBool DispatchWindowEvent (nsGUIEvent &event)
PRBool DispatchWindowEvent (nsGUIEvent &aEvent)
void DoPaint (nsIRegion *aClipRegion)
NS_IMETHOD Enable (PRBool aState)
NS_IMETHOD Enable (PRBool aState)
NS_IMETHOD Enable (PRBool aState)
NS_IMETHOD Enable (PRBool aState)
NS_IMETHOD EnableDragDrop (PRBool aEnable)
NS_IMETHOD EnableDragDrop (PRBool aEnable)
NS_IMETHOD EnableFileDrop (PRBool aEnable)
virtual void EndDraw ()
NS_IMETHOD EndDrawPlugin (void)
NS_IMETHOD EndResizingChildren (void)
NS_IMETHOD EndResizingChildren (void)
NS_IMETHOD EndResizingChildren (void)
NS_IMETHOD EndResizingChildren (void)
void EnsureGrabs (void)
virtual nsWindowFindWidgetHit (Point aThePoint)
void Flash (nsPaintEvent &aEvent)
virtual void FreeNativeData (void *aDatum, PRUint32 aDataType)
virtual void FreeNativeData (void *data, PRUint32 aDataType)
virtual nsIAppShell * GetAppShell ()
NS_IMETHOD GetAttention (PRInt32 aCycleCount)
NS_IMETHOD GetAttention (PRInt32 aCycleCount)
virtual nscolor GetBackgroundColor (void)
NS_IMETHOD GetBorderSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetBorderSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetBorderSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetBorderSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetBounds (nsRect &aRect)
NS_IMETHOD GetBounds (nsRect &aRect)
NS_IMETHOD GetBoundsAppUnits (nsRect &aRect, float aAppUnits)
NS_IMETHOD GetBoundsAppUnits (nsRect &aRect, float aAppUnits)
NS_IMETHOD GetBoundsAppUnits (nsRect &aRect, float aAppUnits)
NS_IMETHOD GetBoundsAppUnits (nsRect &aRect, float aAppUnits)
NS_IMETHOD GetClientBounds (nsRect &aRect)
NS_IMETHOD GetClientBounds (nsRect &aRect)
NS_IMETHOD GetClientData (void *&aClientData)
NS_IMETHOD GetClientData (void *&aClientData)
NS_IMETHOD GetClientData (void *&aClientData)
NS_IMETHOD GetClientData (void *&aClientData)
void GetCompositionWindowPos (HIMC hIMC, PRUint32 aEventType, COMPOSITIONFORM *cpForm)
nsCursor GetCursor ()
virtual nsCursor GetCursor ()
virtual nsIDeviceContext * GetDeviceContext ()
nsIWidgetGetFirstChild () const
nsIWidgetGetFirstChild () const
nsIWidgetGetFirstChild () const
nsIWidgetGetFirstChild () const
virtual nsIFontMetricsGetFont (void)
virtual nsIFontMetricsGetFont (void)
nsIFontMetricsGetFont (void)
nsIFontMetricsGetFont (void)
virtual nscolor GetForegroundColor (void)
GdkWindow * GetGdkGrabWindow (void)
NS_IMETHOD GetIMEOpenState (PRBool *aState)
NS_IMETHOD GetIMEOpenState (PRBool *aState)
NS_IMETHOD GetIMEOpenState (PRBool *aState)
NS_IMETHOD GetLabel (nsString &aBuffer)
NS_IMETHOD GetLabel (nsString &aBuffer)
NS_IMETHOD GetLabel (nsString &aBuffer)
NS_IMETHOD GetLabel (nsString &aBuffer)
NS_IMETHOD GetLabel (nsString &aBuffer)
nsIWidgetGetLastChild () const
nsIWidgetGetLastChild () const
nsIWidgetGetLastChild () const
nsIWidgetGetLastChild () const
NS_IMETHOD GetLastInputEventTime (PRUint32 &aTime)
NS_IMETHOD GetLastInputEventTime (PRUint32 &aTime)
nsPoint * GetLastPoint ()
virtual GdkWindow * GetLayeringWindow ()
virtual GdkWindow * GetLayeringWindow ()
virtual HWND GetMainWindow () const
virtual nsIMenuBarGetMenuBar ()
virtual void * GetNativeData (PRUint32 aDataType)
virtual void * GetNativeData (PRUint32 aDataType)
void * GetNativeData (PRUint32 aDataType)
void * GetNativeData (PRUint32 aDataType)
PRInt32 GetNewCmdMenuId ()
ULONG GetNextID ()
nsIWidgetGetNextSibling () const
nsIWidgetGetNextSibling () const
nsIWidgetGetNextSibling () const
nsIWidgetGetNextSibling () const
virtual GtkWidget * GetOwningWidget ()
virtual GtkWidget * GetOwningWidget ()
nsWindowGetOwningWindow ()
nsWindowType GetOwningWindowType ()
virtual nsIWidgetGetParent (void)
virtual nsIWidgetGetParent (void)
nsIWidgetGetParent (void)
nsIWidgetGetParent (void)
NS_IMETHOD GetPluginClipRect (nsRect &outClipRect, nsPoint &outOrigin, PRBool &outWidgetVisible)
NS_IMETHOD GetPreferredSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetPreferredSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetPreferredSize (PRInt32 &aWidth, PRInt32 &aHeight)
NS_IMETHOD GetPreferredSize (PRInt32 &aWidth, PRInt32 &aHeight)
nsIWidgetGetPrevSibling () const
nsIWidgetGetPrevSibling () const
nsIWidgetGetPrevSibling () const
nsIWidgetGetPrevSibling () const
WNDPROC GetPrevWindowProc ()
nsIRegion * GetRegion ()
virtual nsIRenderingContext * GetRenderingContext ()
virtual GdkWindow * GetRenderWindow (GtkObject *aGtkWidget)
virtual GdkWindow * GetRenderWindow (GtkObject *aGtkWidget)
NS_IMETHOD GetRequestedBounds (nsRect &aRect)
NS_IMETHOD GetRequestedBounds (nsRect &aRect)
NS_IMETHOD GetScreenBounds (nsRect &aRect)
NS_IMETHOD GetScreenBounds (nsRect &aRect)
NS_IMETHOD GetSizeMode (PRInt32 *aMode)
NS_IMETHOD GetSizeMode (PRInt32 *aMode)
NS_IMETHOD GetSizeMode (PRInt32 *aMode)
NS_IMETHOD GetSizeMode (PRInt32 *aMode)
nsToolkitGetToolkit ()
virtual nsIToolkit * GetToolkit ()
virtual GtkWindow * GetTopLevelWindow (void)
virtual GtkWindow * GetTopLevelWindow (void)
nsIWeakReference GetWeakReference ()
NS_IMETHOD GetWindowClass (char *aClass)
NS_IMETHOD GetWindowClass (char *aClass)
HWND GetWindowHandle ()
NS_IMETHOD GetWindowTranslucency (PRBool &aTranslucent)
NS_IMETHOD GetWindowTranslucency (PRBool &aTranslucent)
NS_IMETHOD GetWindowTranslucency (PRBool &aTranslucent)
NS_IMETHOD GetWindowTranslucency (PRBool &aTranslucent)
NS_IMETHOD GetWindowType (nsWindowType &aWindowType)
NS_IMETHOD GetWindowType (nsWindowType &aWindowType)
NS_IMETHOD GetWindowType (nsWindowType &aWindowType)
NS_IMETHOD GetWindowType (nsWindowType &aWindowType)
NS_IMETHOD GetZIndex (PRInt32 *aZIndex)
NS_IMETHOD GetZIndex (PRInt32 *aZIndex)
NS_IMETHOD GetZIndex (PRInt32 *aZIndex)
NS_IMETHOD GetZIndex (PRInt32 *aZIndex)
PRBool GrabInProgress (void)
void GrabKeyboard (void)
void GrabPointer (void)
GdkCursor * GtkCreateCursor (nsCursor aCursorType)
void HandleGDKEvent (GdkEvent *event)
PRBool HandleMouseActionOfIME (PRInt32 aAction, POINT *ptPos)
void HandleMozAreaFocusIn (void)
void HandleMozAreaFocusOut (void)
PRBool HandlePopup (PRInt32 inMouseX, PRInt32 inMouseY)
PRBool HandlePopup (PRInt32 inMouseX, PRInt32 inMouseY)
virtual nsresult HandleUpdateEvent (RgnHandle regionToValidate)
void HandleXlibConfigureNotifyEvent (XEvent *event)
NS_IMETHOD HideWindowChrome (PRBool aShouldHide)
NS_IMETHOD HideWindowChrome (PRBool aShouldHide)
virtual void IMECommitEvent (GdkEventKey *aEvent)
virtual void IMECommitEvent (GdkEventKey *aEvent)
PRBool IMECompositionHitTest (PRUint32 aEventType, POINT *ptPos)
PRBool IMEMouseHandling (PRUint32 aEventType, PRInt32 aAction, LPARAM lParam)
void InitButtonEvent (nsMouseEvent &aEvent, GdkEventButton *aGdkEvent)
void InitEvent (nsGUIEvent &event, PRUint32 aEventType, nsPoint *aPoint=nsnull)
void InitEvent (nsGUIEvent &event, nsPoint *aPoint=nsnull)
void InitEvent (nsGUIEvent &event, PRUint32 aEventType, nsPoint *aPoint=nsnull)
void InitEvent (nsGUIEvent &event, nsPoint *aPoint=nsnull)
void InitKeyEvent (nsKeyEvent &aEvent, GdkEventKey *aGdkEvent)
void InitMouseScrollEvent (nsMouseScrollEvent &aEvent, GdkEventScroll *aGdkEvent)
virtual void InstallFocusInSignal (GtkWidget *aWidget)
virtual void InstallFocusOutSignal (GtkWidget *aWidget)
NS_IMETHOD Invalidate (const nsRect &, int)
NS_IMETHOD Invalidate (const nsRect &aRect, PRBool aIsSynchronous)
NS_IMETHOD Invalidate (PRBool aIsSynchronous)
NS_IMETHOD Invalidate (const nsRect &aRect, PRBool aIsSynchronous)
NS_IMETHOD Invalidate (PRBool aIsSynchronous)
NS_IMETHOD Invalidate (const nsRect &aRect, PRBool aIsSynchronous)
NS_IMETHOD Invalidate (PRBool aIsSynchronous)
NS_IMETHOD Invalidate (const nsRect &aRect, PRBool aIsSynchronous)
NS_IMETHOD Invalidate (PRBool aIsSynchronous)
NS_IMETHOD InvalidateRegion (const nsIRegion *aRegion, PRBool aIsSynchronous)
NS_IMETHOD InvalidateRegion (const nsIRegion *aRegion, PRBool aIsSynchronous)
NS_IMETHOD InvalidateRegion (const nsIRegion *aRegion, PRBool aIsSynchronous)
void InvalidateWindowPos (void)
virtual PRBool IsChild () const
PRBool IsDrawing () const
NS_IMETHOD IsEnabled (PRBool *aState)
NS_IMETHOD IsEnabled (PRBool *aState)
NS_IMETHOD IsEnabled (PRBool *aState)
NS_IMETHOD IsEnabled (PRBool *aState)
PRBool IsMouseInWindow (Window window, PRInt32 inMouseX, PRInt32 inMouseY)
PRBool IsMouseInWindow (Window window, PRInt32 inMouseX, PRInt32 inMouseY)
PRBool IsShown ()
PRBool IsTopLevelWidgetWindow () const
NS_IMETHOD IsVisible (PRBool &aState)
NS_IMETHOD IsVisible (PRBool &aState)
NS_IMETHOD IsVisible (PRBool &aState)
NS_IMETHOD IsVisible (PRBool &aState)
void LocalToWindowCoordinate (nsRect &aRect)
void LocalToWindowCoordinate (nscoord &aX, nscoord &aY)
void LocalToWindowCoordinate (nsPoint &aPoint)
void LockCursor (PRBool aLock)
void LockCursor (PRBool aLock)
virtual void LoseFocus (void)
virtual void LoseFocus (void)
void LoseNonXEmbedPluginFocus (void)
NS_IMETHOD MakeFullScreen (PRBool aFullScreen)
NS_IMETHOD MakeFullScreen (PRBool aFullScreen)
nsresult MakeFullScreenInternal (PRBool aFullScreen)
nsresult MakeFullScreenInternal (PRBool aFullScreen)
nsresult MakeFullScreenInternal (PRBool aFullScreen)
nsresult MakeFullScreenInternal (PRBool aFullScreen)
NS_IMETHOD ModalEventFilter (PRBool aRealEvent, void *aEvent, PRBool *aForWindow)
NS_IMETHOD ModalEventFilter (PRBool aRealEvent, void *aEvent, PRBool *aForWindow)
NS_IMETHOD Move (PRInt32 aX, PRInt32 aY)
NS_IMETHOD Move (PRInt32 aX, PRInt32 aY)
NS_IMETHOD Move (PRInt32 aX, PRInt32 aY)
NS_IMETHOD Move (PRInt32 aX, PRInt32 aY)
nsresult NativeCreate (nsIWidget *aParent, nsNativeWidget aNativeParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData)
void NativeResize (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
void NativeResize (PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
void NativeShow (PRBool aAction)
void NS2PM (RECTL &rcl)
void NS2PM (POINTL &ptl)
void NS2PM_PARENT (POINTL &ptl)
 NS_IMETHOD_ (nsrefcnt) Release(void)
 NS_IMETHOD_ (nsrefcnt) AddRef(void)
 NS_IMETHOD_ (nsrefcnt) Release(void)
 NS_IMETHOD_ (nsrefcnt) AddRef(void)
void OnButtonPressEvent (GtkWidget *aWidget, GdkEventButton *aEvent)
virtual void OnButtonPressSignal (GdkEventButton *aGdkButtonEvent)
void OnButtonReleaseEvent (GtkWidget *aWidget, GdkEventButton *aEvent)
virtual void OnButtonReleaseSignal (GdkEventButton *aGdkButtonEvent)
PRBool OnComposition (nsCompositionEvent &aEvent)
PRBool OnComposition (nsCompositionEvent &aEvent)
gboolean OnConfigureEvent (GtkWidget *aWidget, GdkEventConfigure *aEvent)
void OnContainerFocusInEvent (GtkWidget *aWidget, GdkEventFocus *aEvent)
void OnContainerFocusOutEvent (GtkWidget *aWidget, GdkEventFocus *aEvent)
void OnDeleteEvent (GtkWidget *aWidget, GdkEventAny *aEvent)
virtual PRBool OnDeleteWindow (void)
virtual void OnDestroy (void)
virtual void OnDestroy ()
virtual void OnDestroy ()
void OnDragDataReceivedEvent (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, GtkSelectionData *aSelectionData, guint aInfo, guint aTime, gpointer aData)
gboolean OnDragDropEvent (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime, gpointer *aData)
void OnDragEnter (nscoord aX, nscoord aY)
void OnDragLeave (void)
void OnDragLeaveEvent (GtkWidget *aWidget, GdkDragContext *aDragContext, guint aTime, gpointer aData)
gboolean OnDragMotionEvent (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime, void *aData)
void OnEnterNotifyEvent (GtkWidget *aWidget, GdkEventCrossing *aEvent)
virtual void OnEnterNotifySignal (GdkEventCrossing *aGdkCrossingEvent)
virtual PRBool OnExpose (nsPaintEvent &event)
gboolean OnExposeEvent (GtkWidget *aWidget, GdkEventExpose *aEvent)
virtual void OnFocusInSignal (GdkEventFocus *aGdkFocusEvent)
virtual void OnFocusOutSignal (GdkEventFocus *aGdkFocusEvent)
PRBool OnInput (nsInputEvent &aEvent)
PRBool OnInput (nsInputEvent &aEvent)
PRBool OnKey (nsKeyEvent &aEvent)
PRBool OnKey (nsKeyEvent &aEvent)
gboolean OnKeyPressEvent (GtkWidget *aWidget, GdkEventKey *aEvent)
gboolean OnKeyReleaseEvent (GtkWidget *aWidget, GdkEventKey *aEvent)
void OnLeaveNotifyEvent (GtkWidget *aWidget, GdkEventCrossing *aEvent)
virtual void OnLeaveNotifySignal (GdkEventCrossing *aGdkCrossingEvent)
void OnMotionNotifyEvent (GtkWidget *aWidget, GdkEventMotion *aEvent)
virtual void OnMotionNotifySignal (GdkEventMotion *aGdkMotionEvent)
virtual PRBool OnMove (PRInt32 aX, PRInt32 aY)
virtual PRBool OnMove (PRInt32 aX, PRInt32 aY)
virtual PRBool OnMove (PRInt32 aX, PRInt32 aY)
virtual PRBool OnPaint (nsPaintEvent &event)
virtual PRBool OnPaint (nsRect &r)
virtual PRBool OnPaint ()
virtual PRBool OnPaint ()
PRBool OnResize (nsSizeEvent event)
PRBool OnResize (nsSizeEvent *event)
virtual PRBool OnResize (nsSizeEvent &event)
PRBool OnResize (nsSizeEvent event)
PRBool OnResize (nsSizeEvent *event)
virtual PRBool OnResize (nsRect &aWindowRect)
virtual PRBool OnResize (nsRect &aWindowRect)
virtual PRBool OnResize (nsRect &aWindowRect)
void OnScrollEvent (GtkWidget *aWidget, GdkEventScroll *aEvent)
void OnSizeAllocate (GtkWidget *aWidget, GtkAllocation *aAllocation)
PRBool OnText (nsTextEvent &aEvent)
PRBool OnText (nsTextEvent &aEvent)
void OnVisibilityNotifyEvent (GtkWidget *aWidget, GdkEventVisibility *aEvent)
void OnWindowStateEvent (GtkWidget *aWidget, GdkEventWindowState *aEvent)
NS_IMETHOD Paint (nsIRenderingContext &aRenderingContext, const nsRect &aDirtyRect)
NS_IMETHOD Paint (nsIRenderingContext &aRenderingContext, const nsRect &aDirtyRect)
NS_IMETHOD Paint (nsIRenderingContext &aRenderingContext, const nsRect &aDirtyRect)
NS_IMETHOD Paint (nsIRenderingContext &aRenderingContext, const nsRect &aDirtyRect)
NS_IMETHOD PlaceBehind (nsTopLevelWidgetZPlacement aPlacement, nsIWidget *aWidget, PRBool aActivate)
NS_IMETHOD PlaceBehind (nsTopLevelWidgetZPlacement aPlacement, nsIWidget *aWidget, PRBool aActivate)
virtual PRBool PointInWidget (Point aThePoint)
NS_IMETHOD PreCreateWidget (nsWidgetInitData *aWidgetInitData)
NS_IMETHOD PreCreateWidget (nsWidgetInitData *aInitData)
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)
void QueueDraw ()
void ReleaseGrabs (void)
virtual void RemoveChild (nsIWidget *aChild)
PRBool RemoveDeleteObserver (nsDeleteObserver *aDeleteObserver)
NS_IMETHOD RemoveTooltips ()
NS_IMETHOD RemoveTooltips ()
NS_IMETHOD ResetInputState ()
NS_IMETHOD ResetInputState ()
NS_IMETHOD ResetInputState ()
virtual void ResetInternalVisibility ()
void ResetZOrder ()
void ResetZOrder ()
NS_IMETHOD Resize (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IMETHOD Resize (PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
void ResizeTransparencyBitmap (PRInt32 aNewWidth, PRInt32 aNewHeight)
void ResizeTransparencyBitmap (PRInt32 aNewWidth, PRInt32 aNewHeight)
PRBool RgnIntersects (RgnHandle aTheRegion, RgnHandle aIntersectRgn)
NS_IMETHOD ScreenToWidget (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD ScreenToWidget (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD ScreenToWidget (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD ScreenToWidget (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD Scroll (PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)
NS_IMETHOD Scroll (PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)
NS_IMETHOD Scroll (PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)
NS_IMETHOD Scroll (PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)
NS_IMETHOD ScrollRect (nsRect &aSrcRect, PRInt32 aDx, PRInt32 aDy)
NS_IMETHOD ScrollRect (nsRect &aRect, PRInt32 aDx, PRInt32 aDy)
NS_IMETHOD ScrollWidgets (PRInt32 aDx, PRInt32 aDy)
NS_IMETHOD ScrollWidgets (PRInt32 aDx, PRInt32 aDy)
NS_IMETHOD SetBackgroundColor (const nscolor &aColor)
NS_IMETHOD SetBackgroundColor (const nscolor &aColor)
NS_IMETHOD SetBackgroundColor (const nscolor &aColor)
NS_IMETHOD SetBackgroundColor (const nscolor &aColor)
NS_IMETHOD SetBorderStyle (nsBorderStyle aBorderStyle)
NS_IMETHOD SetBorderStyle (nsBorderStyle aBorderStyle)
NS_IMETHOD SetBounds (const nsRect &aRect)
NS_IMETHOD SetBounds (const nsRect &aRect)
NS_IMETHOD SetClientData (void *aClientData)
NS_IMETHOD SetClientData (void *aClientData)
NS_IMETHOD SetClientData (void *aClientData)
NS_IMETHOD SetClientData (void *aClientData)
NS_IMETHOD SetColorMap (nsColorMap *aColorMap)
NS_IMETHOD SetColorMap (nsColorMap *aColorMap)
NS_IMETHOD SetColorMap (nsColorMap *aColorMap)
NS_IMETHOD SetColorMap (nsColorMap *aColorMap)
NS_IMETHOD SetCursor (imgIContainer *aCursor, PRUint32 aHotspotX, PRUint32 aHotspotY)
NS_IMETHOD SetCursor (nsCursor aCursor)
NS_IMETHOD SetCursor (imgIContainer *aCursor, PRUint32 aHotspotX, PRUint32 aHotspotY)
NS_IMETHOD SetCursor (nsCursor aCursor)
NS_IMETHOD SetCursor (nsCursor aCursor)
NS_IMETHOD SetCursor (nsCursor aCursor)
NS_IMETHOD SetFocus (PRBool aRaise)
NS_IMETHOD SetFocus (PRBool aRaise=PR_FALSE)
NS_IMETHOD SetFocus (PRBool aRaise)
NS_IMETHOD SetFont (const nsFont &aFont)
NS_IMETHOD SetFont (const nsFont &aFont)
NS_IMETHOD SetFont (const nsFont &aFont)
NS_IMETHOD SetFont (const nsFont &aFont)
virtual void SetFontNative (GdkFont *aFont)
NS_IMETHOD SetForegroundColor (const nscolor &aColor)
NS_IMETHOD SetForegroundColor (const nscolor &aColor)
NS_IMETHOD SetIcon (const nsAString &aIcon)
NS_IMETHOD SetIcon (const nsAString &anIconSpec)
NS_IMETHOD SetIMEOpenState (PRBool aState)
NS_IMETHOD SetIMEOpenState (PRBool aState)
NS_IMETHOD SetIMEOpenState (PRBool aState)
void SetIonic (PRBool isIonic)
void SetIonic (PRBool isIonic)
NS_DECL_ISUPPORTS_INHERITED
NS_IMETHOD 
SetLabel (const nsString &aText)
NS_DECL_ISUPPORTS_INHERITED
NS_IMETHOD 
SetLabel (const nsString &aText)
NS_IMETHOD SetLabel (const nsString &aText)
NS_IMETHOD SetLabel (const nsString &aText)
NS_IMETHOD SetLabel (const nsString &aText)
NS_IMETHOD SetMenuBar (nsIMenuBar *aMenuBar)
NS_IMETHOD SetMenuBar (nsIMenuBar *aMenuBar)
NS_IMETHOD SetMenuBar (nsIMenuBar *aMenuBar)
NS_IMETHOD SetMenuBar (nsIMenuBar *aMenuBar)
NS_IMETHOD SetModal (PRBool aModal)
NS_IMETHOD SetModal (PRBool aModal)
NS_IMETHOD SetName (const char *aName)
NS_IMETHOD SetName (const char *aName)
void SetNextSibling (nsIWidget *aSibling)
void SetNextSibling (nsIWidget *aSibling)
void SetNextSibling (nsIWidget *aSibling)
void SetNextSibling (nsIWidget *aSibling)
void SetNonXEmbedPluginFocus (void)
NS_IMETHOD SetParent (nsIWidget *aNewParent)
NS_IMETHOD SetParent (nsIWidget *aNewParent)
void SetPluginType (PluginType aPluginType)
NS_IMETHOD SetPreferredSize (PRInt32 aWidth, PRInt32 aHeight)
NS_IMETHOD SetPreferredSize (PRInt32 aWidth, PRInt32 aHeight)
NS_IMETHOD SetPreferredSize (PRInt32 aWidth, PRInt32 aHeight)
NS_IMETHOD SetPreferredSize (PRInt32 aWidth, PRInt32 aHeight)
void SetPrevSibling (nsIWidget *aSibling)
void SetPrevSibling (nsIWidget *aSibling)
void SetPrevSibling (nsIWidget *aSibling)
void SetPrevSibling (nsIWidget *aSibling)
NS_IMETHOD SetSizeMode (PRInt32 aMode)
NS_IMETHOD SetSizeMode (PRInt32 aMode)
NS_IMETHOD SetTitle (const nsAString &aTitle)
NS_IMETHOD SetTitle (const nsAString &title)
NS_IMETHOD SetTitle (const nsAString &aTitle)
NS_IMETHOD SetTitle (const nsAString &aTitle)
NS_IMETHOD SetTooltips (PRUint32 aNumberOfTips, nsRect *aTooltipAreas[])
NS_IMETHOD SetTooltips (PRUint32 aNumberOfTips, nsRect *aTooltipAreas[])
virtual void SetUpForPaint (HDC aHDC)
void SetVisibility (int aState)
void SetVisibility (int aState)
NS_IMETHOD SetWindowClass (char *aClass)
NS_IMETHOD SetWindowClass (char *aClass)
NS_IMETHOD SetWindowTranslucency (PRBool aTranslucent)
NS_IMETHOD SetWindowTranslucency (PRBool aTranslucent)
NS_IMETHOD SetWindowTranslucency (PRBool aTranslucent)
NS_IMETHOD SetWindowTranslucency (PRBool aTranslucent)
NS_IMETHOD SetWindowType (nsWindowType aWindowType)
NS_IMETHOD SetWindowType (nsWindowType aWindowType)
NS_IMETHOD SetWindowType (nsWindowType aWindowType)
NS_IMETHOD SetWindowType (nsWindowType aWindowType)
NS_IMETHOD SetZIndex (PRInt32 aZIndex)
NS_IMETHOD SetZIndex (PRInt32 aZIndex)
NS_IMETHOD Show (PRBool bState)
NS_IMETHOD Show (PRBool bState)
NS_IMETHOD Show (PRBool state)
NS_IMETHOD Show (PRBool state)
NS_IMETHOD ShowMenuBar (PRBool aShow)
NS_IMETHOD ShowMenuBar (PRBool aShow)
NS_IMETHOD ShowMenuBar (PRBool aShow)
NS_IMETHOD ShowMenuBar (PRBool aShow)
virtual nsresult StandardCreate (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData, nsNativeWidget aNativeParent=nsnull)
virtual nsresult StandardWidgetCreate (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData, nsNativeWidget aNativeParent=nsnull)
virtual nsresult StandardWindowCreate (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData, nsNativeWidget aNativeParent=nsnull)
virtual nsresult StandardWindowCreate (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData, nsNativeWidget aNativeParent=nsnull)
virtual void StartDraw (nsIRenderingContext *aRenderingContext=nsnull)
NS_IMETHOD StartDrawPlugin (void)
void SuppressBlurEvents (PRBool aSuppress)
virtual void ThemeChanged ()
void UnqueueDraw ()
NS_IMETHOD Update ()
NS_IMETHOD Update ()
NS_IMETHOD Update (void)
NS_IMETHOD Update (void)
NS_IMETHOD UpdateTooltips (nsRect *aNewTips[])
NS_IMETHOD UpdateTooltips (nsRect *aNewTips[])
NS_IMETHOD UpdateTranslucentWindowAlpha (const nsRect &aRect, PRUint8 *aAlphas)
NS_IMETHOD UpdateTranslucentWindowAlpha (const nsRect &aRect, PRUint8 *aAlphas)
NS_IMETHOD UpdateTranslucentWindowAlpha (const nsRect &aRect, PRUint8 *aAlphas)
NS_IMETHOD UpdateTranslucentWindowAlpha (const nsRect &aRect, PRUint8 *aAlphas)
virtual void UpdateWidget (nsRect &aRect, nsIRenderingContext *aContext)
NS_IMETHOD Validate ()
NS_IMETHOD Validate ()
void WidgetShow (nsWidget *aWidget)
void WidgetShow (nsWidget *aWidget)
NS_IMETHOD WidgetToScreen (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD WidgetToScreen (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD WidgetToScreen (const nsRect &aOldRect, nsRect &aNewRect)
NS_IMETHOD WidgetToScreen (const nsRect &aOldRect, nsRect &aNewRect)
Cursor XlibCreateCursor (nsCursor aCursorType)
Cursor XlibCreateCursor (nsCursor aCursorType)

Static Public Member Functions

static void ClearIconEntry (PLDHashTable *aTable, PLDHashEntryHdr *aHdr)
static void DeleteAllObjects (void)
static PRBool DragInProgress (void)
static void DragStarted (void)
static void DragStarted (void)
static void DropMotionTarget (void)
static void DropMotionTarget (void)
static Window GetFocusWindow (void)
static Window GetFocusWindow (void)
static nsWindowGetGrabWindow (void)
static nsWidgetGetInstance (PtWidget_t *pWidget)
static nsWidgetGetInstance (PtWidget_t *pWidget)
static void GetLastEventTime (guint32 *aTime)
static void GetLastEventTime (guint32 *aTime)
static HWND GetTopLevelHWND (HWND aWnd, PRBool aStopOnFirstTopLevel=PR_FALSE)
static nsWidgetGetWidgetForWindow (Window aWindow)
static nsWidgetGetWidgetForWindow (Window aWindow)
static void GlobalMsgWindowProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
static PRBool IconEntryMatches (PLDHashTable *aTable, const PLDHashEntryHdr *aHdr, const void *aKey)
static void nsRectToMacRect (const nsRect &aRect, Rect &aMacRect)
static void RawDrawFunc (PtWidget_t *pWidget, PhTile_t *damage)
static void ReleaseGlobals ()
static void ReleaseGlobals ()
static void ReleaseGlobals ()
static void SetCursorResource (short aCursorResourceNum)
static void SetInstance (PtWidget_t *pWidget, nsWidget *inst)
static void SetInstance (PtWidget_t *pWidget, nsWidget *inst)
static void SetLastEventTime (guint32 aTime)
static void SetLastEventTime (guint32 aTime)
static
NS_DECL_ISUPPORTS_INHERITED
void 
UpdateIdle (void *data)
static gboolean UpdateIdle (gpointer data)

Public Attributes

PRBool mBlockMozAreaFocusIn
PRBool mIsToplevel
Window mOldFocusWindow

Static Public Attributes

static guint32 mLastButtonPressTime = 0
static CList s_liveChain
static PRMonitor * s_liveChainMutex = PR_NewMonitor()
static gint sButtonMotionRootX = -1
static gint sButtonMotionRootX = -1
static gint sButtonMotionRootY = -1
static gint sButtonMotionRootY = -1
static nsWidgetsButtonMotionTarget = NULL
static nsWidgetsButtonMotionTarget = NULL
static gint sButtonMotionWidgetX = -1
static gint sButtonMotionWidgetX = -1
static gint sButtonMotionWidgetY = -1
static gint sButtonMotionWidgetY = -1
static nsWidgetsFocusWindow = 0
static nsWidgetsFocusWindow = 0
static Atom WMDeleteWindow = 0
static Atom WMDeleteWindow = 0
static PRBool WMProtocolsInitialized = PR_FALSE
static PRBool WMProtocolsInitialized = PR_FALSE
static Atom WMSaveYourself = 0
static Atom WMSaveYourself = 0
static Atom WMTakeFocus = 0
static Atom WMTakeFocus = 0

Protected Types

enum  {
  CREATE = 0x0101, DESTROY, SET_FOCUS, UPDATE_WINDOW,
  SET_TITLE, GET_TITLE
}
enum  {
  CREATE = 0x0101, CREATE_NATIVE, DESTROY, SET_FOCUS,
  SET_CURSOR, CREATE_HACK
}
enum  {
  CREATE = 0x0101, CREATE_NATIVE, DESTROY, SET_FOCUS,
  SET_CURSOR, CREATE_HACK
}
enum  {
  CREATE = 0x0101, CREATE_NATIVE, DESTROY, SET_FOCUS,
  SET_CURSOR, CREATE_HACK
}
enum  {
  CREATE = 0x0101, CREATE_NATIVE, DESTROY, SET_FOCUS,
  SET_CURSOR, CREATE_HACK
}
enum  {
  CREATE = 0x0101, CREATE_NATIVE, DESTROY, SET_FOCUS,
  SET_CURSOR, CREATE_HACK
}

Protected Member Functions

void AddToEventMask (GtkWidget *aWidget, gint aEventMask)
void AddToEventMask (GtkWidget *aWidget, gint aEventMask)
virtual void AddToStyle (ULONG style)
PRBool AreBoundsSane () const
virtual void BaseCreate (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData)
void CalcOffset (PRInt32 &aX, PRInt32 &aY)
PRBool CheckDragStatus (PRUint32 aAction, HPS *oHps)
void ClearWeakReferences ()
void ClearWeakReferences ()
void ClearWeakReferences ()
virtual bool closeEvent (QCloseEvent *)
void CombineRects (TRectArray &inRectArray)
void CommonCreate (nsIWidget *aParent, PRBool aListenForResizes)
void ConstrainZLevel (HWND *aAfter)
void ConstrainZLevel (HWND *aAfter)
PRBool ContainerHierarchyIsVisible ()
virtual bool contextMenuEvent (QContextMenuEvent *)
PRBool ConvertStatus (nsEventStatus aStatus)
virtual BView * CreateBeOSView ()
virtual void CreateNative (Window aParent, nsRect aRect)
NS_IMETHOD CreateNative (PtWidget_t *parentWindow)
NS_METHOD CreateNative (GtkObject *parentWindow)
virtual void CreateNativeWindow (Window aParent, nsRect aRect, XSetWindowAttributes aAttr, unsigned long aMask)
QWidget * createQWidget (QWidget *parent, nsWidgetInitData *aInitData)
HBITMAP CreateTransparencyMask (PRInt32 format, PRUint8 *aImageData, PRUint32 aWidth, PRUint32 aHeight)
nsresult CreateWidget (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData, nsNativeWidget aNativeParent=nsnull)
nsresult CreateWidget (nsIWidget *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData, nsNativeWidget aNativeParent=nsnull)
HBITMAP DataToBitmap (PRUint8 *aImageData, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aDepth)
void DeferPosition (HWND, HWND, long, long, long, long, ULONG)
virtual void DestroyNative ()
virtual void DestroyNative (void)
virtual void DestroyNative (void)
PRBool DispatchAppCommandEvent (PRUint32 aEventCommand)
PRBool DispatchAppCommandEvent (PRUint32 aEventCommand)
PRBool DispatchDragDropEvent (PRUint32 aMsg)
virtual PRBool DispatchFocus (PRUint32 aEventType, PRBool isMozWindowTakingFocus)
virtual PRBool DispatchFocus (PRUint32 aEventType)
void DispatchGotFocusEvent (void)
PRBool DispatchKeyEvent (PhKeyEvent_t *aPhKeyEvent)
virtual PRBool DispatchKeyEvent (PRUint32 aEventType, WORD aCharCode, UINT aVirtualCharCode, LPARAM aKeyCode, PRUint32 aFlags=0)
virtual PRBool DispatchKeyEvent (PRUint32 aEventType, PRUint32 aCharCode, PRUint32 aKeyCode, PRUint32 aFlags=0)
PRBool DispatchKeyEvent (PhKeyEvent_t *aPhKeyEvent)
virtual PRBool DispatchMouseEvent (PRUint32 aEventType, MPARAM mp1, MPARAM mp2)
void DispatchPendingEvents ()
virtual PRBool DispatchResizeEvent (PRInt32 aClientX, PRInt32 aClientY)
PRBool DispatchStandardEvent (PRUint32 aMsg)
virtual PRBool DispatchWindowEvent (nsGUIEvent *event, nsEventStatus &aStatus)
virtual PRBool DispatchWindowEvent (nsGUIEvent *event)
PRBool DispatchWindowEvent (nsGUIEvent *event)
PRBool DispatchWindowEvent (nsGUIEvent *event)
void DoCreate (HWND hwndP, nsWindow *wndP, const nsRect &rect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsIToolkit *aToolkit, nsWidgetInitData *aInitData)
void DoPaint (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, nsIRegion *aClipRegion)
virtual bool dragEnterEvent (QDragEnterEvent *)
virtual bool dragLeaveEvent (QDragLeaveEvent *)
virtual bool dragMoveEvent (QDragMoveEvent *)
virtual void DrawScaledLine (nsIRenderingContext &aRenderingContext, nscoord aSX, nscoord aSY, nscoord aEX, nscoord aEY, float aScale, float aAppUnits, PRBool aIsHorz)
virtual void DrawScaledRect (nsIRenderingContext &aRenderingContext, const nsRect &aRect, float aScale, float aAppUnits)
virtual bool dropEvent (QDropEvent *)
virtual bool enterEvent (QEvent *)
void FireDragLeaveTimer (void)
void FireDragMotionTimer (void)
virtual bool focusInEvent (QFocusEvent *)
virtual bool focusOutEvent (QFocusEvent *)
virtual PRInt32 GetClientHeight ()
void GetCompositionString (HIMC aHIMC, DWORD aIndex, nsString *aStrUnicode, nsCString *aStrAnsi)
virtual long GetEventMask ()
virtual long GetEventMask ()
virtual ULONG GetFCFlags ()
virtual PRInt32 GetHeight (PRInt32 aProposedHeight)
virtual PRInt32 GetHeight (PRInt32 aProposedHeight)
HWND GetHWND () const
void GetNonClientBounds (nsRect &aRect)
void GetNonClientBounds (nsRect &aRect)
nsWindowGetParent (PRBool aStopOnFirstTopLevel)
HWND GetParentHWND () const
PFNWP GetPrevWP () const
virtual ULONG GetSWPFlags (ULONG flags)
void GetTextRangeList (PRUint32 *textRangeListLengthResult, nsTextRangeArray *textRangeListResult)
PRBool GetWindowPos (nscoord &x, nscoord &y)
virtual nsresult GetWindowText (nsString &str, PRUint32 *rc)
void HandleEndComposition (void)
PRBool HandleEvent (PtWidget_t *, PtCallbackInfo_t *aCbInfo)
PRBool HandleEvent (PtWidget_t *, PtCallbackInfo_t *aCbInfo)
BOOL HandleStartComposition (HIMC hIMEContext)
void HandleTextEvent (HIMC hIMEContext, PRBool aCheckAttr=PR_TRUE)
PRBool HasWeakReferences () const
PRBool HasWeakReferences () const
PRBool HasWeakReferences () const
virtual bool hideEvent (QHideEvent *)
void HideKids (PRBool state)
bool ignoreEvent (nsEventStatus aStatus) const
virtual bool imComposeEvent (QIMEvent *)
void IMEComposeEnd (guint aTime)
void IMEComposeStart (guint aTime)
void IMEComposeText (GdkEventKey *, const PRUnichar *aText, const PRInt32 aLen, const char *aFeedback)
virtual bool imEndEvent (QIMEvent *)
virtual bool imStartEvent (QIMEvent *)
virtual void InitCallbacks (char *aName=nsnull)
void InitDragEvent (nsMouseEvent &aEvent)
void Initialize (QWidget *widget)
void InitKeyEvent (nsKeyEvent *nsEvent, QKeyEvent *qEvent)
void InitKeyEvent (PhKeyEvent_t *aPhKeyEvent, nsKeyEvent &anEvent)
void InitKeyEvent (PhKeyEvent_t *aPhKeyEvent, nsKeyEvent &anEvent)
void InitKeyPressEvent (PhKeyEvent_t *aPhKeyEvent, nsKeyEvent &anEvent)
void InitKeyPressEvent (PhKeyEvent_t *aPhKeyEvent, nsKeyEvent &anEvent)
void InitMouseEvent (nsMouseEvent *nsEvent, QMouseEvent *qEvent, int aClickCount)
void InitMouseEvent (PhPointerEvent_t *aPhButtonEvent, nsWidget *aWidget, nsMouseEvent &anEvent, PRUint32 aEventType)
void InitMouseEvent (GdkEventButton *aGdkButtonEvent, nsMouseEvent &anEvent)
void InitMouseEvent (PhPointerEvent_t *aPhButtonEvent, nsWidget *aWidget, nsMouseEvent &anEvent, PRUint32 aEventType)
void InitMouseEvent (GdkEventButton *aGdkButtonEvent, nsMouseEvent &anEvent)
void InitMouseWheelEvent (nsMouseScrollEvent *aEvent, QWheelEvent *qEvent)
void InstallButtonPressSignal (GtkWidget *aWidget)
void InstallButtonPressSignal (GtkWidget *aWidget)
void InstallButtonReleaseSignal (GtkWidget *aWidget)
void InstallButtonReleaseSignal (GtkWidget *aWidget)
void InstallEnterNotifySignal (GtkWidget *aWidget)
void InstallEnterNotifySignal (GtkWidget *aWidget)
virtual void InstallFocusInSignal (GtkWidget *aWidget)
virtual void InstallFocusOutSignal (GtkWidget *aWidget)
void InstallLeaveNotifySignal (GtkWidget *aWidget)
void InstallLeaveNotifySignal (GtkWidget *aWidget)
void InstallRealizeSignal (GtkWidget *aWidget)
void InstallRealizeSignal (GtkWidget *aWidget)
void InstallSignal (GtkWidget *aWidget, gchar *aSignalName, GtkSignalFunc aSignalFunction)
void InstallSignal (GtkWidget *aWidget, gchar *aSignalName, GtkSignalFunc aSignalFunction)
virtual bool keyPressEvent (QKeyEvent *)
virtual bool keyReleaseEvent (QKeyEvent *)
virtual bool leaveEvent (QEvent *)
void Map (void)
void Map (void)
UINT MapFromNativeToDOM (UINT aNativeKeyCode)
virtual bool mouseDoubleClickEvent (QMouseEvent *)
virtual bool mouseMoveEvent (QMouseEvent *)
virtual bool mousePressEvent (QMouseEvent *)
virtual bool mouseReleaseEvent (QMouseEvent *)
virtual bool moveEvent (QMoveEvent *)
void NativeGrab (PRBool aGrab)
PRUint32 nsConvertKey (PhKeyEvent_t *aPhKeyEvent)
PRUint32 nsConvertKey (PhKeyEvent_t *aPhKeyEvent)
virtual void OnButtonPressSignal (GdkEventButton *aGdkButtonEvent)
virtual void OnButtonReleaseSignal (GdkEventButton *aGdkButtonEvent)
BOOL OnChar (UINT charCode, PRUint32 aFlags=0)
virtual PRBool OnControl (MPARAM mp1, MPARAM mp2)
virtual HBRUSH OnControlColor ()
virtual void OnDestroy ()
virtual void OnDestroySignal (GtkWidget *aGtkWidget)
virtual void OnDestroySignal (GtkWidget *aGtkWidget)
void OnDragDataReceived (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, GtkSelectionData *aSelectionData, guint aInfo, guint32 aTime, gpointer aData)
virtual PRBool OnDragDropMsg (ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &mr)
gint OnDragDropSignal (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime, void *aData)
void OnDragEnter (nscoord aX, nscoord aY)
void OnDragLeave (void)
void OnDragLeaveSignal (GtkWidget *aWidget, GdkDragContext *aDragContext, guint aTime, gpointer aData)
gint OnDragMotionSignal (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime, void *aData)
virtual void OnEnterNotifySignal (GdkEventCrossing *aGdkCrossingEvent)
virtual void OnFocusInSignal (GdkEventFocus *aGdkFocusEvent)
virtual void OnFocusOutSignal (GdkEventFocus *aGdkFocusEvent)
virtual PRBool OnHScroll (MPARAM mp1, MPARAM mp2)
BOOL OnIMEChar (BYTE aByte1, BYTE aByte2, LPARAM aKeyState)
BOOL OnIMEComposition (LPARAM aGCS)
BOOL OnIMECompositionFull ()
BOOL OnIMEEndComposition ()
BOOL OnIMENotify (WPARAM aIMN, LPARAM aData, LRESULT *oResult)
BOOL OnIMEQueryCharPosition (LPARAM aData, LRESULT *oResult, PRBool aUseUnicode)
BOOL OnIMEReconvert (LPARAM aData, LRESULT *oResult, PRBool aUseUnicode)
BOOL OnIMERequest (WPARAM aIMR, LPARAM aData, LRESULT *oResult, PRBool aUseUnicode)
BOOL OnIMESelect (BOOL aSelected, WORD aLangID)
BOOL OnIMESetContext (BOOL aActive, LPARAM &aISC)
BOOL OnIMEStartComposition ()
BOOL OnInputLangChange (HKL aHKL, LRESULT *oResult)
virtual PRBool OnKey (MPARAM mp1, MPARAM mp2)
BOOL OnKeyDown (UINT aVirtualKeyCode, UINT aScanCode, LPARAM aKeyCode)
virtual PRBool OnKeyDown (PRUint32 aEventType, const char *bytes, int32 numBytes, PRUint32 mod, PRUint32 bekeycode, int32 rawcode)
BOOL OnKeyUp (UINT aVirtualKeyCode, UINT aScanCode, LPARAM aKeyCode)
virtual PRBool OnKeyUp (PRUint32 aEventType, const char *bytes, int32 numBytes, PRUint32 mod, PRUint32 bekeycode, int32 rawcode)
virtual void OnLeaveNotifySignal (GdkEventCrossing *aGdkCrossingEvent)
virtual void OnMotionNotifySignal (GdkEventMotion *aGdkMotionEvent)
virtual PRBool OnPaint (HDC aDC=nsnull)
virtual PRBool OnPaint (nsPaintEvent &aEvent)
virtual PRBool OnPaint (nsRect &r, const nsIRegion *nsreg=nsnull)
virtual PRBool OnPresParamChanged (MPARAM mp1, MPARAM mp2)
virtual void OnRealize (GtkWidget *aWidget)
virtual void OnRealize (GtkWidget *aWidget)
virtual PRBool OnRealizePalette ()
virtual PRBool OnReposition (PSWP pNewSwp)
virtual PRBool OnResize (PRInt32 aX, PRInt32 aY)
virtual PRBool OnScroll (UINT scrollCode, int cPos)
virtual PRBool OnScroll (ULONG msgid, MPARAM mp1, MPARAM mp2)
virtual PRBool OnScroll ()
virtual PRBool OnVScroll (MPARAM mp1, MPARAM mp2)
virtual bool paintEvent (QPaintEvent *)
virtual void PostCreateWidget ()
virtual PRBool ProcessMessage (UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *aRetValue)
virtual PRBool ProcessMessage (ULONG m, MPARAM p1, MPARAM p2, MRESULT &r)
void QueueDraw ()
virtual void RealDoCreate (HWND hwndP, nsWindow *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell, nsWidgetInitData *aInitData, HWND hwndOwner=0)
void RelayMouseEvent (UINT aMsg, WPARAM wParam, LPARAM lParam)
PRBool ReleaseIfDragHPS (HPS aHps)
virtual void RemoveFromStyle (ULONG style)
PRBool ReportDestroyEvent ()
PRBool ReportMoveEvent ()
PRBool ReportSizeEvent ()
void ResetDragMotionTimer (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime)
virtual void ResetInternalVisibility ()
virtual bool resizeEvent (QResizeEvent *)
virtual void ResolveIconName (const nsAString &aIconName, const nsAString &aIconSuffix, nsILocalFile **aResult)
void ScreenToWidgetPos (PhPoint_t &pt)
void ScreenToWidgetPos (PhPoint_t &pt)
void ScrollBits (Rect &foo, PRInt32 inLeftDelta, PRInt32 inTopDelta)
virtual void SetBackgroundColorNative (GdkColor *aColorNor, GdkColor *aColorBri, GdkColor *aColorDark)
virtual void SetInternalVisibility (PRBool aVisible)
virtual void SetInternalVisibility (PRBool aVisible)
virtual void SetupForPrint (HWND)
void SetUpWMHints (void)
void SetUpWMHints (void)
virtual BOOL SetWindowPos (HWND hwndInsertBehind, long x, long y, long cx, long cy, unsigned long flags)
virtual bool showEvent (QShowEvent *)
void SortRectsLeftToRight (TRectArray &inRectArray)
virtual void SubclassWindow (BOOL bState)
virtual void SubclassWindow (BOOL bState)
virtual void ThemeChanged ()
void Unmap (void)
void Unmap (void)
void UnqueueDraw ()
void UpdateDragStatus (nsMouseEvent &aEvent, GdkDragContext *aDragContext, nsIDragService *aDragService)
virtual bool wheelEvent (QWheelEvent *)
void WidgetMove (nsWidget *aWidget)
void WidgetMove (nsWidget *aWidget)
void WidgetMoveResize (nsWidget *aWidget)
void WidgetMoveResize (nsWidget *aWidget)
void WidgetPut (nsWidget *aWidget)
void WidgetPut (nsWidget *aWidget)
void WidgetResize (nsWidget *aWidget)
void WidgetResize (nsWidget *aWidget)
PRBool WidgetVisible (nsRect &aBounds)
PRBool WidgetVisible (nsRect &aBounds)
virtual LPCTSTR WindowClass ()
virtual PCSZ WindowClass ()
virtual LPCWSTR WindowClassW ()
virtual DWORD WindowExStyle ()
virtual ULONG WindowExStyle ()
virtual LPCTSTR WindowPopupClass ()
virtual LPCWSTR WindowPopupClassW ()
virtual DWORD WindowStyle ()
virtual ULONG WindowStyle ()

Static Protected Member Functions

static void AddRectToArray (Rect *r, void *data)
static OSStatus AddRectToArrayProc (UInt16 message, RgnHandle rgn, const Rect *rect, void *refCon)
static void AddWindowCallback (Window aWindow, nsWidget *aWidget)
static void AddWindowCallback (Window aWindow, nsWidget *aWidget)
static BOOL CALLBACK BroadcastMsg (HWND aTopWindow, LPARAM aMsg)
static BOOL CALLBACK BroadcastMsgToChildren (HWND aWnd, LPARAM aMsg)
static gint ButtonPressSignal (GtkWidget *aWidget, GdkEventButton *aGdkButtonEvent, gpointer aData)
static gint ButtonPressSignal (GtkWidget *aWidget, GdkEventButton *aGdkButtonEvent, gpointer aData)
static gint ButtonReleaseSignal (GtkWidget *aWidget, GdkEventButton *aGdkButtonEvent, gpointer aData)
static gint ButtonReleaseSignal (GtkWidget *aWidget, GdkEventButton *aGdkButtonEvent, gpointer aData)
static gint ClientEventSignal (GtkWidget *widget, GdkEventClient *event, void *data)
static PRBool ConvertStatus (nsEventStatus aStatus)
static void CountRect (Rect *r, void *data)
static OSStatus CountRectProc (UInt16 message, RgnHandle rgn, const Rect *rect, void *refCon)
static HBITMAP CreateOpaqueAlphaChannel (PRUint32 aWidth, PRUint32 aHeight)
static PRUint8 * Data8BitTo1Bit (PRUint8 *aAlphaData, PRUint32 aAlphaBytesPerRow, PRUint32 aWidth, PRUint32 aHeight)
static PRUint8 * DataToAData (PRUint8 *aImageData, PRUint32 aImageBytesPerRow, PRUint8 *aAlphaData, PRUint32 aAlphaBytesPerRow, PRUint32 aWidth, PRUint32 aHeight)
static HBITMAP DataToBitmap (PRUint8 *aImageData, PRUint32 aWidth, PRUint32 aHeight, PRUint32 aDepth)
static BOOL DealWithPopups (HWND inWnd, UINT inMsg, WPARAM inWParam, LPARAM inLParam, LRESULT *outResult)
static BOOL DealWithPopups (ULONG inMsg, MRESULT *outResult)
static PRBool DealWithPopups (uint32 methodID, nsPoint pos)
static LRESULT CALLBACK DefaultWindowProc (HWND hWns, UINT msg, WPARAM wParam, LPARAM lParam)
static void DeleteWindowCallback (Window aWindow)
static void DeleteWindowCallback (Window aWindow)
static int DestroyedCallback (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static int DestroyedCallback (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static void DestroyNativeChildren (Display *aDisplay, Window aWindow)
static void DestroyNativeChildren (Display *aDisplay, Window aWindow)
static gint DestroySignal (GtkWidget *aGtkWidget, nsWidget *aWidget)
static gint DestroySignal (GtkWidget *aGtkWidget, nsWidget *aWidget)
static BOOL CALLBACK DispatchStarvedPaints (HWND aTopWindow, LPARAM aMsg)
static void DragDataReceived (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, GtkSelectionData *aSelectionData, guint aInfo, guint32 aTime, gpointer aData)
static gint DragDropSignal (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime, void *aData)
static void DragLeaveSignal (GtkWidget *aWidget, GdkDragContext *aDragContext, guint aTime, gpointer aData)
static void DragLeaveTimerCallback (nsITimer *aTimer, void *aClosure)
static gint DragMotionSignal (GtkWidget *aWidget, GdkDragContext *aDragContext, gint aX, gint aY, guint aTime, void *aData)
static guint DragMotionTimerCallback (gpointer aClosure)
static gint EnterNotifySignal (GtkWidget *aWidget, GdkEventCrossing *aGdkCrossingEvent, gpointer aData)
static gint EnterNotifySignal (GtkWidget *aWidget, GdkEventCrossing *aGdkCrossingEvent, gpointer aData)
static PRBool EventIsInsideWindow (UINT Msg, nsWindow *aWindow)
static PRBool EventIsInsideWindow (nsWindow *aWindow)
static PRBool EventIsInsideWindow (nsWindow *aWindow, nsPoint pos)
static gint FocusInSignal (GtkWidget *aWidget, GdkEventFocus *aGdkFocusEvent, gpointer aData)
static gint FocusInSignal (GtkWidget *aWidget, GdkEventFocus *aGdkFocusEvent, gpointer aData)
static gint FocusOutSignal (GtkWidget *aWidget, GdkEventFocus *aGdkFocusEvent, gpointer aData)
static gint FocusOutSignal (GtkWidget *aWidget, GdkEventFocus *aGdkFocusEvent, gpointer aData)
static Window GetInnerMostWindow (Window aOriginWindow, Window aWindow, nscoord x, nscoord y, nscoord *retx, nscoord *rety, int depth)
static nsWindowGetnsWindowFromXWindow (Window aWindow)
static nsWindowGetNSWindowPtr (HWND aWnd)
static nsWindowGetNSWindowPtr (HWND aWnd)
static int GotFocusCallback (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static int GotFocusCallback (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static VOID CALLBACK HookTimerForPopups (HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime)
static gint LeaveNotifySignal (GtkWidget *aWidget, GdkEventCrossing *aGdkCrossingEvent, gpointer aData)
static gint LeaveNotifySignal (GtkWidget *aWidget, GdkEventCrossing *aGdkCrossingEvent, gpointer aData)
static int LostFocusCallback (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static int LostFocusCallback (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static LRESULT CALLBACK MozSpecialMouseProc (int code, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK MozSpecialMsgFilter (int code, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK MozSpecialWndProc (int code, WPARAM wParam, LPARAM lParam)
static void PaintUpdateRect (Rect *r, void *data)
static OSStatus PaintUpdateRectProc (UInt16 message, RgnHandle rgn, const Rect *rect, void *refCon)
static void PostSleepWakeNotification (const char *aNotification)
static int RawEventHandler (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static int RawEventHandler (PtWidget_t *widget, void *data, PtCallbackInfo_t *cbinfo)
static gint RealizeSignal (GtkWidget *aWidget, gpointer aData)
static gint RealizeSignal (GtkWidget *aWidget, gpointer aData)
static void RegisterSpecialDropdownHooks ()
static void ScheduleHookTimer (HWND aWnd, UINT aMsgId)
static BOOL SetNSWindowPtr (HWND aWnd, nsWindow *ptr)
static BOOL SetNSWindowPtr (HWND aWnd, nsWindow *ptr)
static void UnregisterSpecialDropdownHooks ()
static LRESULT CALLBACK WindowProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

Protected Attributes

CList m_link
PRPackedBool mAcceptFocusOnClick
nsCOMPtr< nsIAppShell > mAppShell
nsCOMPtr< nsIAppShell > mAppShell
nsCOMPtr< nsIAppShell > mAppShell
nsCOMPtr< nsIAppShell > mAppShell
nscolor mBackground
nscolor mBackground
nscolor mBackground
nscolor mBackground
unsigned long mBackgroundPixel
unsigned long mBackgroundPixel
Window mBaseWindow
Window mBaseWindow
PRBool mBlockFocusEvents
PRUint32 mBlurEventSuppressionLevel
HWND mBorderlessParent
BView * mBorderlessParent
unsigned long mBorderPixel
unsigned long mBorderPixel
PRUint32 mBorderRGB
PRUint32 mBorderRGB
nsBorderStyle mBorderStyle
nsBorderStyle mBorderStyle
nsBorderStyle mBorderStyle
nsBorderStyle mBorderStyle
nsRect mBounds
nsRect mBounds
nsRect mBounds
nsRect mBounds
HBRUSH mBrush
BButton * mButton
nscoord mCachedX
nscoord mCachedY
BOOL mChromeHidden
void * mClientData
void * mClientData
void * mClientData
void * mClientData
nsContentType mContentType
nsIDeviceContext * mContext
nsIDeviceContext * mContext
nsIDeviceContext * mContext
nsIDeviceContext * mContext
PRBool mCreated
HPOINTER mCssCursorHPtr
nsCOMPtr< imgIContainermCssCursorImg
nsCursor mCursor
nsCursor mCursor
nsCursor mCursor
nsCursor mCursor
VDKEY mDeadKey
HDWP mDeferredPositioner
int mDepth
int mDepth
PRPackedBool mDestructorCalled
Display * mDisplay
Display * mDisplay
HPS mDragHps
nsCOMPtr< nsITimermDragLeaveTimer
GdkDragContext * mDragMotionContext
guint mDragMotionTime
guint mDragMotionTimerID
GtkWidget * mDragMotionWidget
gint mDragMotionX
gint mDragMotionY
PRUint32 mDragStatus
PRPackedBool mDrawing
PRPackedBool mEnabled
PRBool mEnabled
EVENT_CALLBACK mEventCallback
EVENT_CALLBACK mEventCallback
EVENT_CALLBACK mEventCallback
EVENT_CALLBACK mEventCallback
nsIEventListener * mEventListener
nsIEventListener * mEventListener
nsIEventListener * mEventListener
nsIEventListener * mEventListener
nsCOMPtr< nsIWidgetmFirstChild
nsCOMPtr< nsIWidgetmFirstChild
nsCOMPtr< nsIWidgetmFirstChild
nsCOMPtr< nsIWidgetmFirstChild
nsFont * mFont
nsIFontMetricsmFontMetrics
nscolor mForeground
nscolor mForeground
nscolor mForeground
nscolor mForeground
HPOINTER mFrameIcon
HWND mFrameWnd
PRPackedBool mHas3DBorder
PRBool mHasFocus
PRBool mHasFocus
BOOL mHaveDeadKey
BOOL mInSetFocus
PRPackedBool mInternalShown
PRPackedBool mInternalShown
PRPackedBool mInUpdate
PRPackedBool mIsAltDown
PRPackedBool mIsAltDown
PRPackedBool mIsControlDown
PRPackedBool mIsControlDown
PRPackedBool mIsDestroyed
PRPackedBool mIsDestroying
PRPackedBool mIsDestroying
PRPackedBool mIsInMouseCapture
PRPackedBool mIsInMouseWheelProcessing
PRBool mIsMetaDown
BOOL mIsScrollBar
PRBool mIsScrolling
PRPackedBool mIsShiftDown
PRPackedBool mIsShiftDown
PRPackedBool mIsShown
PRBool mIsShown
PRBool mIsShown
PRBool mIsTooSmall
PRPackedBool mIsTopLevel
PRPackedBool mIsToplevel
PRPackedBool mIsTopWidgetWindow
PRBool mIsTopWidgetWindow
PRBool mIsUpdating
PRPackedBool mIsVisible
BOOL mIsVisible
PRBool mIsVisible
PRBool mJustGotActivate
PRBool mJustGotDeactivate
nsString mLabel
nsIWidgetmLastChild
nsIWidgetmLastChild
nsIWidgetmLastChild
nsIWidgetmLastChild
PRPackedBool mLastGrabFailed
HKL mLastKeyboardLayout
nsPoint mLastPoint
nsSize mLastSize
char mLeadByte
ULONG mlHave
PRPackedBool mListenForResizes
PRBool mListenForResizes
PRPackedBool mListenForResizes
ULONG mlUsed
PRPackedBool mMapped
PRPackedBool mMapped
nsIMenuBarmMenuBar
PRInt32 mMenuCmdId
nsIMenuListenermMenuListener
nsIMenuListenermMenuListener
nsIMenuListenermMenuListener
nsIMenuListenermMenuListener
nsIMouseListener * mMouseListener
nsIMouseListener * mMouseListener
nsIMouseListener * mMouseListener
nsIMouseListener * mMouseListener
GtkWidget * mMozArea
GtkWidget * mMozAreaClosestParent
GtkWidget * mMozBox
GtkWidget * mMozBox
nsString mName
nsString mName
nsNativeDragTarget * mNativeDragTarget
PRPackedBool mNeedsMove
PRPackedBool mNeedsResize
PRPackedBool mNeedsShow
ULONG mNextID
nsCOMPtr< nsIWidgetmNextSibling
nsCOMPtr< nsIWidgetmNextSibling
nsCOMPtr< nsIWidgetmNextSibling
nsCOMPtr< nsIWidgetmNextSibling
DWORD mOldExStyle
DWORD mOldStyle
PRBool mOnDestroyCalled
PRPackedBool mOnDestroyCalled
nsRect * mOriginalBounds
nsRect * mOriginalBounds
nsRect * mOriginalBounds
nsRect * mOriginalBounds
nsToolkitmOS2Toolkit
PRPackedBool mPainting
nsIWidgetmParent
nsIWidgetmParent
nsCOMPtr< nsIWidgetmParent
nsIWidgetmParentWidget
nsIWidgetmParentWidget
Window mParentWindow
Window mParentWindow
PRBool mPlaced
nsPluginPort * mPluginPort
PRInt32 mPreferredHeight
PRUint32 mPreferredHeight
PRInt32 mPreferredWidth
PRUint32 mPreferredWidth
nsIWidgetmPrevSibling
nsIWidgetmPrevSibling
nsIWidgetmPrevSibling
nsIWidgetmPrevSibling
WNDPROC mPrevWndProc
PFNWP mPrevWndProc
QMSG mQmsg
nsRect mRequestedSize
nsRect mRequestedSize
PRPackedBool mResizingChildren
PRPackedBool mSaveVisible
Screen * mScreen
Screen * mScreen
GC mScrollGC
GtkWidget * mShell
PRBool mShown
PRPackedBool mShown
nsSizeMode mSizeMode
nsSizeMode mSizeMode
nsSizeMode mSizeMode
nsSizeMode mSizeMode
GdkSuperWin * mSuperWin
PSWP mSWPs
nsIRenderingContext * mTempRenderingContext
PRPackedBool mTempRenderingContextMadeHere
nsIToolkit * mToolkit
nsIToolkit * mToolkit
nsIToolkit * mToolkit
nsIToolkit * mToolkit
PRPackedBool mUnicodeWidget
nsCOMPtr< nsIRegion > mUpdateArea
nsCOMPtr< nsIRegion > mUpdateArea
BView * mView
int mVisibility
int mVisibility
PRPackedBool mVisible
RgnHandle mVisRegion
Visual * mVisual
Visual * mVisual
QWidget * mWidget
PtWidget_t * mWidget
GtkWidget * mWidget
WindowPtr mWindowPtr
RgnHandle mWindowRegion
PRInt32 mWindowState
nsWindowType mWindowType
nsWindowType mWindowType
nsWindowType mWindowType
nsWindowType mWindowType
HWND mWnd
XlibRgbHandle * mXlibRgbHandle
XlibRgbHandle * mXlibRgbHandle
PRInt32 mZIndex
PRInt32 mZIndex
PRInt32 mZIndex
PRInt32 mZIndex

Static Protected Attributes

static UINT gCurrentKeyboardCP = 0
static nsWindowgCurrentWindow = nsnull
static imgIContainergCursorImgContainer = nsnull
static HCURSOR gHCursor = NULL
static HKL gKeyboardLayout = 0
static PRBool gRollupConsumeRollupEvent = PR_FALSE
static PRBool gRollupConsumeRollupEvent = PR_FALSE
static nsCOMPtr
< nsIRollupListener > 
gRollupListener
static nsWeakPtr gRollupWidget
static GdkCursor * gsGtkCursorCache [eCursorCount]
static nsHashtable * gsWindowList = nsnull
static nsHashtable * gsWindowList = nsnull
static PRBool gSwitchKeyboardLayout = PR_FALSE
static Cursor gsXlibCursorCache [eCursorCount]
static Cursor gsXlibCursorCache [eCursorCount]
static Window mFocusWindow = 0
static Window mFocusWindow = 0
static nsWindowmLastDragMotionWindow = NULL
static GHashTable * mWindowLookupTable = NULL
static nsClipboardsClipboard = nsnull
static nsClipboardsClipboard = nsnull
static nsWidgetsFocusWidget = 0
static nsWidgetsFocusWidget = 0
static nsWindowsGrabWindow = NULL
static PLDHashTable * sIconCache
static PRUint8 * sIMEAttributeArray = NULL
static PRInt32 sIMEAttributeArrayLength = 0
static PRInt32 sIMEAttributeArraySize = 0
static PRInt32 sIMECaretHeight = 0
static RECT * sIMECompCharPos = nsnull
static PRUint32 * sIMECompClauseArray = NULL
static PRInt32 sIMECompClauseArrayLength = 0
static PRInt32 sIMECompClauseArraySize = 0
static nsStringsIMECompUnicode = NULL
static long sIMECursorPosition = 0
static PRBool sIMEIsComposing = PR_FALSE
static PRBool sIMEIsStatusChanged = PR_FALSE
static DWORD sIMEProperty = 0
static PRUnichar * sIMEReconvertUnicode = NULL
static PRUint32 sInstanceCount = 0
static PRBool sIsDraggingOutOf = PR_FALSE
static PRBool sIsGrabbing = PR_FALSE
static BOOL sIsPopupClassRegistered = FALSE
static BOOL sIsRegistered = FALSE
static guint32 sLastEventTime = 0
static guint32 sLastEventTime = 0
static nsILookAndFeel * sLookAndFeel = nsnull
static nsILookAndFeel * sLookAndFeel = nsnull
static PRUint32 sWidgetCount = 0
static PRUint32 sWidgetCount = 0
static UINT uMSH_MOUSEWHEEL = 0
static UINT uWM_ATOK_RECONVERT = 0
static UINT uWM_HEAP_DUMP = 0
static UINT uWM_MSIME_MOUSE = 0
static UINT uWM_MSIME_RECONVERT = 0

Friends

MRESULT EXPENTRY fnwpFrame (HWND, ULONG, MPARAM, MPARAM)
MRESULT EXPENTRY fnwpNSWindow (HWND, ULONG, MPARAM, MPARAM)
class InterceptContainer
class MozQWidget
nsresult NS_NewButton (nsIButton **aControl)
nsresult NS_NewButton (nsIButton **aControl)
class nsQtEventDispatcher

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

Generated by  Doxygen 1.6.0   Back to index