Prototype: GemRB.LoadWindow (WindowID)

Description: Returns a Window. You must call LoadWindowPack before using this command. The window won’t be displayed. If LoadWindowPack() set nonzero natural screen size with Width and Height parameters, the loaded window is then moved by (screen size - winpack size) / 2

Parameters: a window ID, see the .chu file specification

Return value: GWindow (index)

See also: LoadWindowPack, Window_GetControl, Window_ShowModal, accessing_gui_controls

Back to function index, GUIScript introduction.