• Skip to primary navigation
  • Skip to content
  • Skip to footer
GemRB GemRB Infinity Engine redone
  • News
  • Features
  • Docs
  • Feedback
  • Get involved
  • Download and run

    Button_SetPicture

    Metaclass Prototype: SetPicture (PictureResRef[, DefaultResRef])

    Description: Sets the Picture of a Button Control from a BMP file or a Sprite2D.

    Parameters:

    • PictureResRef - the name of the picture (a .bmp resref) or a Sprite2D object
    • DefaultResRef - an alternate bmp should the picture be nonexistent

    Return value: N/A

    See also: Button_SetPicture, Button_SetPLT, Button_SetSprites, Button_SetPictureClipping, Window_SetPicture


    Back to function index, GUIScript introduction.
    • Forum
    • GitHub
    • Edit this page
    • Feed
    © 2025 GemRB homepage. Powered by Jekyll & Minimal Mistakes.