sbIWindowRegion Interface Reference

Window region service interface This is an interface to the window region service, used to assign a region to a window at the OS level. This allows cutting out portions of a window without relying on mozilla's internal transparency management, which may interfere with the window content. More...

import"IWindowRegion.idl";

Inheritance diagram for sbIWindowRegion:
[legend]
Collaboration diagram for sbIWindowRegion:
[legend]

Public Member Functions

void setWindowRegion (in nsISupports window, in nsISupports region)
 Set a region to a window This method assigns a region to a window at the OS level. You should first construct an nsIRegion object, and pass it alongside the window to which you wish to assign the region. More...
 

Detailed Description

Window region service interface This is an interface to the window region service, used to assign a region to a window at the OS level. This allows cutting out portions of a window without relying on mozilla's internal transparency management, which may interfere with the window content.

Definition at line 43 of file IWindowRegion.idl.

Member Function Documentation

void sbIWindowRegion::setWindowRegion ( in nsISupports  window,
in nsISupports  region 
)

Set a region to a window This method assigns a region to a window at the OS level. You should first construct an nsIRegion object, and pass it alongside the window to which you wish to assign the region.

Parameters
windowThe document associated with the window to which you wish to assign the region
regionThe region object to use as the window region

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