WindowResizeHook service interface This is an interface to the WindowResizeHook service, used to used to register callback notifications of window resizing events. More...
import"IWindowResizeHook.idl";
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. More... | |
void | resetCallback (in sbIWindowResizeHookCallback cb) |
Remove window resize hook callback This method removes the WindowResizeHookCallback object from the specified window. More... | |
WindowResizeHook service interface This is an interface to the WindowResizeHook service, used to used to register callback notifications of window resizing events.
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 |