Method

MateDesktopImageMenuItemset_image

Declaration [src]

void
mate_image_menu_item_set_image (
  MateImageMenuItem* image_menu_item,
  GtkWidget* image
)

Description [src]

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.

Parameters

image

Type: GtkWidget

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

The argument can be NULL.
The data is owned by the caller of the method.