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_show() on @image yourself.

class Button
void
setImage

Parameters

image Widget

a widget to set as the image for the button

Meta