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 gtk:image-menu-item-image function gets the widget that is currently set as the image of the menu item. The (setf gtk:image-menu-item-image) function sets the image. Note that it depends on the gtk-menu-images setting whether the image will be displayed or not.

Warning

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

See also

2024-6-27