CreateWindow

Prototype: GemRB.CreateWindow (WindowID, X, Y, Width, Height, MosResRef)

Description: Creates a new empty window and returns its index.

Parameters:

  • WindowID - the window’s ID
  • X, Y - the window’s position
  • Width, Height - the window’s dimensions
  • MosResRef - the background image (.mos image)

Return value: a window index

See also:


Back to function index, GUIScript introduction.