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";
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... | |
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.
Definition at line 99 of file IWindowMinMax.idl.
void sbIWindowMinMax::resetCallback | ( | in nsISupports | window | ) |
Remove window minmax callback This method removes the WindowMinMaxCallback object from the specified window.
window | The document associated with the window which had previously been assigned a WindowMinMax callback object. |
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.
window | The document associated with the window whose dimensions should be limited. |
cb | The callback object used to query for minimum and maximum dimensions |