Package: gtk

Function gtk:icon-source-icon-name

Lambda List

gtk:icon-source-icon-name (source)

Syntax

(gtk:icon-source-icon-name source) => name
(setf (gtk:icon-source-icon-name source) name)

Arguments

source -- a gtk:icon-source instance
name -- a string with the name of the icon to use

Details

Accessor of the icon name of a gtk:icon-source instance. The gtk:icon-source-icon-name function retrieves the icon name of the icon source, or nil if none is set. The (setf gtk:icon-source-icon-name) function sets the name of an icon to look up in the current icon theme to use as a base image when creating icon variants for a gtk:icon-set instance.

Warning

The gtk:icon-source-icon-name function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk:icon-theme API instead.
 

See also

#2023-3-27