sbIWindowMinMax Interface Reference

WindowMinMax service interface This is an interface to the WindowMinMax service, used to set and reset callbacks for querying the application for minimum and maximum dimensions. More...

import"IWindowMinMax.idl";

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

Public Member Functions

void setCallback (in nsISupports window, in sbIWindowMinMaxCallback cb)
 Set window minmax callback This method assigns a WindowMinMaxCallback object to the specified window. When the user resizes this window, the callback object is queried for minimum and maximum window dimensions. More...
 
void resetCallback (in nsISupports window)
 Remove window minmax callback This method removes the WindowMinMaxCallback object from the specified window. More...
 

Detailed Description

WindowMinMax service interface This is an interface to the WindowMinMax service, used to set and reset callbacks for querying the application for minimum and maximum dimensions.

See Also
sbIWindowMinMaxCallback

Definition at line 99 of file IWindowMinMax.idl.

Member Function Documentation

void sbIWindowMinMax::resetCallback ( in nsISupports  window)

Remove window minmax callback This method removes the WindowMinMaxCallback object from the specified window.

Parameters
windowThe document associated with the window which had previously been assigned a WindowMinMax callback object.
See Also
setCallback, sbIWindowMinMaxCallback
void sbIWindowMinMax::setCallback ( in nsISupports  window,
in sbIWindowMinMaxCallback  cb 
)

Set window minmax callback This method assigns a WindowMinMaxCallback object to the specified window. When the user resizes this window, the callback object is queried for minimum and maximum window dimensions.

Parameters
windowThe document associated with the window whose dimensions should be limited.
cbThe callback object used to query for minimum and maximum dimensions
See Also
resetCallback, sbIWindowMinMaxCallback

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