nsIBaseWindow

The nsIBaseWindow describes a generic window and basic operations that
can be performed on it. This is not to be a complete windowing interface
but rather a common set that nearly all windowed objects support.

Methods

initWindow(parentNativeWindow, parentWidget, x, y, cx, cy)

create()

destroy()

setPosition(x, y)

getPosition(x, y)

setSize(cx, cy, fRepaint)

getSize(cx, cy)

setPositionAndSize(x, y, cx, cy, fRepaint)

getPositionAndSize(x, y, cx, cy)

repaint(force)

Tell the window to repaint itself

Parameters

aForce - if true, repaint immediately if false, the window may defer repainting as it sees fit.

setFocus()

Give the window focus.

Attributes

parentWidget

parentNativeWindow

nativeHandle

visibility

enabled

mainWidget

unscaledDevicePixelsPerCSSPixel

title