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 slot access function gtk-numerable-icon-background-icon returns the icon that was set as the base background image, or nil if there is none. The slot access function (setf gtk-numerable-icon-background-icon) 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, i.e. the last method called between the functions gtk-numerable-icon-background-icon and gtk-numerable-icon-background-icon-name has always priority.

Warning

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

See also

2021-7-21