Warning: load_symbolic_icon_from_gicon is deprecated since 5.2.4.
Attempts to load a symbolic icon for the given GLib.Icon with graceful fallback on the non-symbolic variant if the symbolic one does not exist.
Note that the resulting pixbuf may not be exactly the requested size; an icon theme may have icons that differ slightly from their nominal sizes, and in addition GTK+ will avoid scaling icons that it considers sufficiently close to the requested size or for which the source image would have to be scaled up too far (this maintains sharpness).
a Gdk.Pixbuf with the rendered icon; this may be a newly created icon or a new reference to an internal icon, so you must not modify the icon. Returns null if the icon was not found in the theme hierarchy. |