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

List of all members.

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.


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:
window The 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:
window The document associated with the window whose position and dimensions should be monitored.
cb The callback object used to receive notifications
See also:
resetCallback, sbIWindowResizeHookCallback


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:56 2006 for Songbird by  doxygen 1.4.7