set-image ( gadget object -- gadget )


Vocabulary
images.viewer

Inputs and outputs
gadgetan image-gadget
objecta pathname, a string, or an image


Word description
Sets the image of this gadget. This word loads the image from disk if the input is a string or a pathname.If the input is a model, gadget has to be an image-control.

Definition

GENERIC: set-image ( gadget object -- gadget )


Methods