Public Member Functions | |
void | setCallback (in nsISupports window, in sbIWindowResizeHookCallback cb) |
Set window resize hook callback This method assigns a WindowResizeHook Callback object to the specified window. When the user resizes this window, the callback object is notified of the new position and size for the window. | |
void | resetCallback (in sbIWindowResizeHookCallback cb) |
Remove window resize hook callback This method removes the WindowResizeHookCallback object from the specified window. |
Definition at line 65 of file IWindowResizeHook.idl.
void sbIWindowResizeHook::resetCallback | ( | in sbIWindowResizeHookCallback | cb | ) |
Remove window resize hook callback This method removes the WindowResizeHookCallback object from the specified window.
window | The document associated with the window which had previously been assigned a WindowResizeHook callback object. |
void sbIWindowResizeHook::setCallback | ( | in nsISupports | window, | |
in sbIWindowResizeHookCallback | cb | |||
) |
Set window resize hook callback This method assigns a WindowResizeHook Callback object to the specified window. When the user resizes this window, the callback object is notified of the new position and size for the window.
window | The document associated with the window whose position and dimensions should be monitored. | |
cb | The callback object used to receive notifications |