Package: gtk

Accessor gtk-image-menu-item-image

Lambda List

gtk-image-menu-item-image (object)

Syntax

(gtk-image-menu-item-image object) => image
(setf (gtk-image-menu-item-image object) image)

Arguments

object -- a gtk-image-menu-item widget
image -- a gtk-widget object to set as the image for the menu item

Details

Accessor of the image slot of the gtk-image-menu-item class.

The slot access function gtk-image-menu-item-image gets the widget that is currently set as the image of the menu item. The slot access function (setf gtk-image-menu-item-image) sets the image. Note that it depends on the gtk-menu-images setting whether the image will be displayed or not.

Warning

The function gtk-image-menu-item-image has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-21