Package: gtk

Accessor gtk:numerable-icon-background-icon-name

Lambda List

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

Syntax

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

Arguments

object -- a gtk:numerable-icon object
name -- a string with an icon name, or nil

Details

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

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

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

Warning

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

See also

2024-12-31