Button_SetAnchor

Prototype: GemRB.SetButtonAnchor (WindowIndex, ControlIndex, x, y)

Metaclass Prototype: SetAnchor (x, y)

Description: Sets explicit anchor point used for drawing button label.

Parameters:

  • WindowIndex, ControlIndex - control IDs
  • x, y - anchor position

Return value: N/A

See also: Button_SetPushOffset


Back to function index, GUIScript introduction.