Method

GtkImageMenuItemset_image

deprecated: 3.10 

Declaration [src]

void
gtk_image_menu_item_set_image (
  GtkImageMenuItem* 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.

Deprecated since: 3.10

Please do not use it in newly written code.

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.