Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIBaseWindow Interface Reference

The nsIBaseWindow describes a generic window and basic operations that can be performed on it. More...

import "nsIBaseWindow.idl";

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

List of all members.

Public Member Functions

void initWindow (in nativeWindow parentNativeWindow, in nsIWidget parentWidget, in long x, in long y, in long cx, in long cy)
void create ()
void destroy ()
void setPosition (in long x, in long y)
void getPosition (out long x, out long y)
void setSize (in long cx, in long cy, in boolean fRepaint)
void getSize (out long cx, out long cy)
void setPositionAndSize (in long x, in long y, in long cx, in long cy, in boolean fRepaint)
void getPositionAndSize (out long x, out long y, out long cx, out long cy)
void repaint (in boolean force)
 Tell the window to repaint itself.
void setFocus ()
 Give the window focus.

Public Attributes

attribute nsIWidget parentWidget
attribute nativeWindow parentNativeWindow
attribute boolean visibility
attribute boolean enabled
attribute boolean blurSuppression
 set blurSuppression to true to suppress handling of blur events.
readonly attribute nsIWidget mainWidget
attribute wstring title

Detailed Description

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.

Definition at line 58 of file nsIBaseWindow.idl.


Member Function Documentation

void nsIBaseWindow::initWindow ( in nativeWindow  parentNativeWindow,
in nsIWidget  parentWidget,
in long  x,
in long  y,
in long  cx,
in long  cy 
)

Tell the window to repaint itself.

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

Give the window focus.

void nsIBaseWindow::setPositionAndSize ( in long  x,
in long  y,
in long  cx,
in long  cy,
in boolean  fRepaint 
)
void nsIBaseWindow::setSize ( in long  cx,
in long  cy,
in boolean  fRepaint 
)

Member Data Documentation

set blurSuppression to true to suppress handling of blur events.

set it false to re-enable them. query it to determine whether blur events are suppressed. The implementation should allow for blur events to be suppressed multiple times.

Definition at line 205 of file nsIBaseWindow.idl.

Definition at line 198 of file nsIBaseWindow.idl.

Definition at line 212 of file nsIBaseWindow.idl.

Definition at line 185 of file nsIBaseWindow.idl.

Definition at line 174 of file nsIBaseWindow.idl.

Definition at line 222 of file nsIBaseWindow.idl.

Definition at line 192 of file nsIBaseWindow.idl.


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