[ Version ( since = "2.6" ) ]
public void set_image (Widget? image)
Set the image of this 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 show on image
yourself.
this |
a Button |
image |
a widget to set as the image for the button, or null to unset |