User talk:Gerbrant/gui/window.js

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

Constructor

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

Exports

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