Gtk.IconInfo.LoadIcon Method
Renders an icon previously looked up in an icon theme using IconTheme.LookupIcon()

Syntax

public Gdk.Pixbuf LoadIcon ()

Returns

a Gdk.Pixbuf, the rendered icon

Remarks

The size will be based on the size passed to IconTheme.LookupIcon(). Note that the resulting pixbuf may not be exactly this 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.)

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.4