Package: gtk

Function gtk-icon-info-load-symbolic-for-context

Lambda List

gtk-icon-info-load-symbolic-for-context (info context)

Arguments

info -- a gtk-icon-info instance
context -- a gtk-style-context object

Return Value

A gdk-pixbuf object representing the loaded icon.

Details

Loads an icon, modifying it to match the system colors for the foreground, success, warning and error colors provided. If the icon is not a symbolic one, the function will return the result from the gtk-icon-info-load-icon function.

This function uses the regular foreground color and the symbolic colors with the names "success_color", "warning_color" and "error_color" from the context. This allows loading symbolic icons that will match the system theme.

See the gtk-icon-info-load-symbolic function for more details.
 

See also

2021-11-28