Button.setImage

Set the image of button to the given widget. The image will be displayed if the label text is null or if #GtkButton:always-show-image is true. You don’t have to call gtk.widget.Widget.show on image yourself.

class Button
void
setImage

Parameters

image gtk.widget.Widget

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