Logo Search packages:      
Sourcecode: mozilla-traybiff version File versions  Download package

nsIWidget10 Class Reference

#include <nsIWidget10.h>

List of all members.

Detailed Description

The base class for all the widgets. It provides the interface for all basic and necessary functionality.

Definition at line 61 of file nsIWidget10.h.

Public Member Functions

NS_IMETHOD AddEventListener (nsIEventListener *aListener)=0
NS_IMETHOD AddMenuListener (nsIMenuListener *aListener)=0
NS_IMETHOD AddMouseListener (nsIMouseListener *aListener)=0
NS_IMETHOD BeginResizingChildren (void)=0
NS_IMETHOD CaptureMouse (PRBool aCapture)=0
NS_IMETHOD CaptureRollupEvents (nsIRollupListener *aListener, PRBool aDoCapture, PRBool aConsumeRollupEvent)=0
NS_IMETHOD ConstrainPosition (PRBool aAllowSlop, PRInt32 *aX, PRInt32 *aY)=0
virtual void ConvertToDeviceCoordinates (nscoord &aX, nscoord &aY)=0
NS_IMETHOD Create (nsNativeWidget aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)=0
NS_IMETHOD Create (nsIWidget10 *aParent, const nsRect &aRect, EVENT_CALLBACK aHandleEventFunction, nsIDeviceContext *aContext, nsIAppShell *aAppShell=nsnull, nsIToolkit *aToolkit=nsnull, nsWidgetInitData *aInitData=nsnull)=0
NS_IMETHOD Destroy (void)=0
NS_IMETHOD DispatchEvent (nsGUIEvent *event, nsEventStatus &aStatus)=0
NS_IMETHOD Enable (PRBool aState)=0
NS_IMETHOD EnableDragDrop (PRBool aEnable)=0
NS_IMETHOD EndResizingChildren (void)=0
NS_IMETHOD GetAttention (PRInt32 aCycleCount)=0
virtual nscolor GetBackgroundColor (void)=0
NS_IMETHOD GetBorderSize (PRInt32 &aWidth, PRInt32 &aHeight)=0
NS_IMETHOD GetBounds (nsRect &aRect)=0
virtual nsIEnumerator * GetChildren (void)=0
NS_IMETHOD GetClientBounds (nsRect &aRect)=0
virtual nsCursor GetCursor (void)=0
virtual nsIFontMetrics * GetFont (void)=0
virtual nscolor GetForegroundColor (void)=0
NS_IMETHOD GetLastInputEventTime (PRUint32 &aTime)=0
virtual nsIWidget10GetParent (void)=0
NS_IMETHOD GetPreferredSize (PRInt32 &aWidth, PRInt32 &aHeight)=0
NS_IMETHOD GetScreenBounds (nsRect &aRect)=0
NS_IMETHOD GetSizeMode (PRInt32 *aMode)=0
virtual nsIToolkit * GetToolkit ()=0
NS_IMETHOD GetWindowClass (char *aClass)=0
NS_IMETHOD GetWindowTranslucency (PRBool &aTranslucent)=0
NS_IMETHOD GetWindowType (nsWindowType &aWindowType)=0
NS_IMETHOD GetZIndex (PRInt32 *aZIndex)=0
NS_IMETHOD HideWindowChrome (PRBool aShouldHide)=0
NS_IMETHOD Invalidate (const nsRect &aRect, PRBool aIsSynchronous)=0
NS_IMETHOD Invalidate (PRBool aIsSynchronous)=0
NS_IMETHOD InvalidateRegion (const nsIRegion *aRegion, PRBool aIsSynchronous)=0
NS_IMETHOD IsEnabled (PRBool *aState)=0
NS_IMETHOD IsVisible (PRBool &aState)=0
NS_IMETHOD MakeFullScreen (PRBool aFullScreen)=0
NS_IMETHOD ModalEventFilter (PRBool aRealEvent, void *aEvent, PRBool *aForWindow)=0
NS_IMETHOD Move (PRInt32 aX, PRInt32 aY)=0
NS_IMETHOD Paint (nsIRenderingContext &aRenderingContext, const nsRect &aDirtyRect)=0
NS_IMETHOD PlaceBehind (nsTopLevelWidgetZPlacement aPlacement, nsIWidget10 *aWidget, PRBool aActivate)=0
NS_IMETHOD Resize (PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)=0
NS_IMETHOD Resize (PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)=0
NS_IMETHOD ScreenToWidget (const nsRect &aOldRect, nsRect &aNewRect)=0
NS_IMETHOD Scroll (PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)=0
NS_IMETHOD ScrollRect (nsRect &aSrcRect, PRInt32 aDx, PRInt32 aDy)=0
NS_IMETHOD ScrollWidgets (PRInt32 aDx, PRInt32 aDy)=0
NS_IMETHOD SetBackgroundColor (const nscolor &aColor)=0
NS_IMETHOD SetBorderStyle (nsBorderStyle aBorderStyle)=0
NS_IMETHOD SetColorMap (nsColorMap *aColorMap)=0
NS_IMETHOD SetCursor (nsCursor aCursor)=0
NS_IMETHOD SetFocus (PRBool aRaise=PR_FALSE)=0
NS_IMETHOD SetFont (const nsFont &aFont)=0
NS_IMETHOD SetForegroundColor (const nscolor &aColor)=0
NS_IMETHOD SetIcon (const nsAString &anIconSpec)=0
NS_IMETHOD SetMenuBar (nsIMenuBar *aMenuBar)=0
NS_IMETHOD SetModal (PRBool aModal)=0
NS_IMETHOD SetParent (nsIWidget10 *aNewParent)=0
NS_IMETHOD SetPreferredSize (PRInt32 aWidth, PRInt32 aHeight)=0
NS_IMETHOD SetSizeMode (PRInt32 aMode)=0
NS_IMETHOD SetTitle (const nsString &aTitle)=0
NS_IMETHOD SetWindowClass (char *aClass)=0
NS_IMETHOD SetWindowTranslucency (PRBool aTranslucent)=0
NS_IMETHOD SetZIndex (PRInt32 aZIndex)=0
NS_IMETHOD Show (PRBool aState)=0
NS_IMETHOD ShowMenuBar (PRBool aShow)=0
NS_IMETHOD Update ()=0
NS_IMETHOD UpdateTranslucentWindowAlpha (const nsRect &aRect, PRUint8 *aAlphas)=0
NS_IMETHOD Validate ()=0
NS_IMETHOD WidgetToScreen (const nsRect &aOldRect, nsRect &aNewRect)=0
virtual void AddChild (nsIWidget10 *aChild)=0
virtual void FreeNativeData (void *data, PRUint32 aDataType)=0
virtual nsIAppShell * GetAppShell ()=0
virtual nsIDeviceContext * GetDeviceContext ()=0
virtual void * GetNativeData (PRUint32 aDataType)=0
virtual nsIRenderingContext * GetRenderingContext ()=0
virtual void RemoveChild (nsIWidget10 *aChild)=0
NS_IMETHOD GetClientData (void *&aClientData)=0
NS_IMETHOD SetClientData (void *aClientData)=0

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

Generated by  Doxygen 1.6.0   Back to index