set-image ( gadget object -- gadget )


Vocabulary
images.viewer

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


Outputs
gadgetan image-gadget


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