Window_GetControl

Prototype: GemRB.GetControl (WindowID, ControlID)

Metaclass Prototype: GetControl (ControlID)

Description: Returns a control.

Parameters:

  • WindowIndex - the return value of a previous LoadWindow call.
  • ControlID - a control ID, see the .chu file specification

Return value: a GControl object

See also: LoadWindowPack, LoadWindow


Back to function index, GUIScript introduction.