Window_HasControl

Prototype: GemRB.HasControl (WindowIndex, ControlID[, ControlType])

Metaclass Prototype: HasControl (ControlID[, ControlType])

Description: Returns true if the control exists.

Parameters:

  • WindowIndex - the window control id
  • ControlID - the id of the target control
  • ControlType - limit to controls of this type (see GUIDefines.py)

Return value: bool


Back to function index, GUIScript introduction.