Package: gtk

Accessor gtk:tool-button-icon-widget

Lambda List

gtk:tool-button-icon-widget (object)

Syntax

(gtk:tool-button-icon-widget object) => icon-widget
(setf (gtk:tool-button-icon-widget object) icon-widget)

Arguments

button -- a gtk:tool-button widget
icon-widget -- a gtk:widget object used as icon, or nil

Details

Accessor of the icon-widget slot of the gtk:tool-button class. The gtk:tool-button-icon-widget function returns the widget used as icon widget on the tool button. The (setf gtk:tool-button-icon-widget) function sets icon as the widget used as icon on the tool button.

If the icon-widget argument is nil the icon is determined by the stock-id property. If the stock-id property is also nil, the tool button will not have an icon.
 

See also

#2023-2-27