IconInfo.getBuiltinPixbuf

gdkpixbuf.pixbuf.Pixbuf getBuiltinPixbuf()

Gets the built-in image for this icon, if any. To allow GTK+ to use built in icon images, you must pass the [gtk.types.IconLookupFlags.UseBuiltin] to [gtk.icon_theme.IconTheme.lookupIcon].

Returns

the built-in image pixbuf, or null.

No extra reference is added to the returned pixbuf, so if you want to keep it around, you must use [gobject.object.ObjectWrap.ref_]. The returned image must not be modified.

Deprecated

This function is deprecated, use

[gtk.icon_theme.IconTheme.addResourcePath] instead of builtin icons.