Package: gtk

Accessor gtk:button-image

Lambda List

gtk:button-image (object)

Syntax

(gtk:button-image object) => image
(setf (gtk:button-image object) image)

Arguments

object -- a gtk:button widget
image -- a gtk:widget to set as the image for the button

Details

The accessor for the image slot gets or sets the widget that is currently set as the image of the button. The image may have been explicitly set by this function or constructed by the gtk:button-new-from-icon-name function.

Note that it depends on the always-show-image property whether the image will allways be displayed or not. You do not have to call the gtk:widget-show function on the image yourself.
 

See also

2026-06-21