Button.setImage

Set the image of button to the given widget. The image will be displayed if the label text is NULL or if always-show-image is TRUE. You don’t have to call Widget.show on image yourself.

class Button
void
setImage

Parameters

image Widget

a widget to set as the image for the button, or NULL to unset

Meta