IconInfo.loadSymbolicForStyle

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

This allows loading symbolic icons that will match the system theme.

See gtk.icon_info.IconInfo.loadSymbolic for more details.

More...

Parameters

style gtk.style.Style

a #GtkStyle to take the colors from

state gtk.types.StateType

the widget state to use for colors

wasSymbolic bool

a #gboolean, returns whether the loaded icon was a symbolic one and whether the fg color was applied to it.

Return Value

Type: gdkpixbuf.pixbuf.Pixbuf

a #GdkPixbuf representing the loaded icon

Detailed Description

Throws