load_symbolic_for_style


Description:

[ Version ( deprecated = true , deprecated_since = "3.0" , since = "3.0" ) ]
public Pixbuf load_symbolic_for_style (Style style, StateType state, out bool was_symbolic = null) throws Error

Warning: load_symbolic_for_style is deprecated since 3.0.

Loads an icon, modifying it to match the system colours for the foreground, success, warning and error colors provided.

Note:

If the icon is not a symbolic one, the function will return the result from load_icon.

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

See load_symbolic for more details.

Parameters:

this

a IconInfo

style

a Style to take the colors from

state

the widget state to use for colors

was_symbolic

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

Returns:

a Pixbuf representing the loaded icon




2022 vala-language.org