ImageMenuItem.setImage

Warning gtk_image_menu_item_set_image is deprecated and should not be used in newly-written code. 3.10 Sets the image of image_menu_item to the given widget. Note that it depends on the show-menu-images setting whether the image will be displayed or not.

class ImageMenuItem
void
setImage

Parameters

image Widget

a widget to set as the image for the menu item. [allow-none]

Meta