Package: gtk

Accessor gtk:numerable-icon-background-icon

Lambda List

gtk:numerable-icon-background-icon (object)

Syntax

(gtk:numerable-icon-background-icon object) => icon
(setf (gtk:numerable-icon-background-icon object) icon)

Arguments

object -- a gtk:numerable-icon object
icon -- a g:icon object, or nil

Details

Accessor of the background-icon slot of the gtk:numerable-icon class. The gtk:numerable-icon-background-icon function returns the icon that was set as the base background image, or nil if there is none. The (setf gtk:numerable-icon-background-icon) function updates the background icon.

If icon is nil, the numerable icon will go back using style information or default theming for its background image.

If this method is called and an icon name was already set as background for the numerable icon, icon will be used, that is, the last method called between the gtk:numerable-icon-background-icon and gtk:numerable-icon-background-icon-name functions has always priority.

Warning

The gtk:numerable-icon-background-icon function has been deprecated since version 3.14 and should not be used in newly written code.
 

See also

2024-12-31