Package: gtk

Function gtk:icon-factory-lookup-default

Lambda List

gtk:icon-factory-lookup-default (stock-id)

Arguments

stock-id -- a string with an icon name

Return Value

The gtk:icon-set instance, or nil.

Details

Looks for an icon in the list of default icon factories. For display to the user, you should use the gtk_style_lookup_icon_set() function on the GtkStyle object for the widget that will display the icon, instead of using this function directly, so that themes are taken into account.

Warning

The gtk:icon-factory-lookup-default 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