User talk:Gerbrant/gui/window.js

From Wikipedia, the free encyclopedia

Gerbrant.gui.window
A very primitive window class. You can't even drag it yet :-(

[edit] Constructor

window(caption)
You can specify a caption on creation.

[edit] Exports

{get|set}Caption
The caption, or title, of the window.
{get|set}Visible
Visibility of the window.
{get|set}ContentHTML
What's the use of a window if you can't fill it with stuff?
getContent
Gets the content-area DOM-node.