Button_SetPushOffset

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

Metaclass Prototype: SetPushOffset (x, y)

Description: Sets the amount pictures and label move on button press.

Parameters:

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

Return value: N/A

See also: Button_SetAnchor


Back to function index, GUIScript introduction.