Class Index

Classes


Namespace gadgets.window

Provides operations for getting information about and modifying the window the gadget is placed in.
Defined in: gadgets.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
gadgets.window.adjustHeight(opt_height)
Adjusts the gadget height
<static>  
gadgets.window.getViewportDimensions()
Detects the inner dimensions of a frame.
<static>  
gadgets.window.setTitle(title)
Sets the gadget title.
Namespace Detail
gadgets.window
Method Detail
<static> gadgets.window.adjustHeight(opt_height)
Adjusts the gadget height
Parameters:
{Number} opt_height
An optional preferred height in pixels. If not specified, will attempt to fit the gadget to its content.

<static> {Object} gadgets.window.getViewportDimensions()
Detects the inner dimensions of a frame. See: http://www.quirksmode.org/viewport/compatibility.html for more information.
Returns:
{Object} An object with width and height properties.

<static> gadgets.window.setTitle(title)
Sets the gadget title.
Parameters:
{String} title
The preferred title

Documentation generated by JsDoc Toolkit 2.0.2 on Wed Nov 12 2008 12:35:37 GMT-0800 (PST)