sbIWindowResizeHookCallback Interface Reference

WindowResizeHook callback interface This interface describes a callback for the WindowResizeHook service, used to receive notifications of window resizing events. More...

import"IWindowResizeHook.idl";

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

Public Member Functions

void onResize (in PRInt32 x, in PRInt32 y, in PRInt32 w, in PRInt32 h)
 Window resize callback This method is called by the WindowResizeHook service to notify the callback object that the window being monitored has been resized. More...
 

Detailed Description

WindowResizeHook callback interface This interface describes a callback for the WindowResizeHook service, used to receive notifications of window resizing events.

See Also
sbIWindowResizeHook

Definition at line 43 of file IWindowResizeHook.idl.

Member Function Documentation

void sbIWindowResizeHookCallback::onResize ( in PRInt32  x,
in PRInt32  y,
in PRInt32  w,
in PRInt32  h 
)

Window resize callback This method is called by the WindowResizeHook service to notify the callback object that the window being monitored has been resized.

Parameters
xThe new x position of the window.
yThe new y position of the window.
wThe new width of the window.
hThe new height of the window.

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