Package: gtk

Function gtk:style-context-lookup-icon-set

Lambda List

gtk:style-context-lookup-icon-set (context stock)

Arguments

context -- a gtk:style-context object
stock -- a string with an icon name

Return Value

The looked up gtk:icon-set instance, or nil.

Details

Looks up a stock icon in the icon factories associated to the style context and the default icon factory, returning an icon set if found, otherwise nil.

Warning

The gtk:style-context-lookup-icon-set function has been deprecated since version 3.10 and should not be used in newly written code. Use the gtk:icon-theme-lookup-icon function instead.
 

See also

#2023-3-27