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

Accessor of the image slot of the gtk-button class.

The gtk-button-image slot access function gets the widget that is currently set as the image of the button. This may have been explicitly set by the (setf gtk-button-image) slot access 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

2021-12-4