set_image


Description:

public void set_image (Widget? image)

Sets the image of this to the given widget.

Note that it depends on the show-menu-images setting whether the image will be displayed or not.

Parameters:

this

a ImageMenuItem.

image

a widget to set as the image for the menu item.