sbIWindowResizeHook Interface Reference

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";

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

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...
 

Detailed Description

WindowResizeHook service interface This is an interface to the WindowResizeHook service, used to used to register callback notifications of window resizing events.

See Also
sbIWindowResizeHook

Definition at line 65 of file IWindowResizeHook.idl.

Member Function Documentation

void sbIWindowResizeHook::resetCallback ( in sbIWindowResizeHookCallback  cb)

Remove window resize hook callback This method removes the WindowResizeHookCallback object from the specified window.

Parameters
windowThe document associated with the window which had previously been assigned a WindowResizeHook callback object.
See Also
setCallback, sbIWindowResizeHookCallback
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.

Parameters
windowThe document associated with the window whose position and dimensions should be monitored.
cbThe callback object used to receive notifications
See Also
resetCallback, sbIWindowResizeHookCallback

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